Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-01-24 16:02:49

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Send message for aura style and color

So I basically tried sending (worldkey + a, auraColor, auraStyle) and also tried switching it around, but they don't work.
Nor does sending (worldkey + a, auraColorColor), so I assume aura has either a different name, or separate send message names for color and style?

Anybody has any knowledge about what the correct send message is?

Offline

#2 2016-01-24 16:15:28, last edited by capasha (2016-01-24 16:22:57)

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: Send message for aura style and color

      public function addColor(param1:ItemAuraColor) : void
      {
         var that:* = undefined;
         var color:ItemAuraColor = param1;
         that = this;
         this.auraSelector.addColor(new AuraColorButton(color,function(param1:MouseEvent):void
         {
            that.ui2.setSelectedAuraColor(color.id);
         }));
      }




I looked into the ee code and found this.

public function setSelectedAuraColor(param1:int = 0) : void
      {
         this.connection.send("aura",Global.playerObject.aura,param1);
         Global.playerObject.auraColor = param1;
         this.smileyAuraMenu.auraSelector.setSelectedAura(Global.playerObject.aura);
      }

and this from simpleplayerobject

if(this.client.connectUserId != "simpleguest")
            {
               this.requestRemoteMethod("getMySimplePlayerObject",function(param1:Message):void
               {
                  var _loc4_:ItemSmiley = null;
                  var _loc2_:SimplePlayerObject = new SimplePlayerObject();
                  var _loc3_:* = -1;
                  _loc2_.loaded = new Date();
                  _loc2_.name = param1.getString(++_loc3_);
                  _loc2_.smiley = param1.getInt(++_loc3_);
                  _loc2_.aura = param1.getInt(++_loc3_);
 

Offline

Wooted by:

#3 2016-01-24 16:47:02

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: Send message for aura style and color

Summary: Send("aura", auraColor, auraStyle)

Thanks capasha, didn't think about doing that myself.

Offline

#4 2016-01-24 18:27:29

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: Send message for aura style and color

den3107 wrote:

Summary: Send("aura", auraColor, auraStyle)

Thanks capasha, didn't think about doing that myself.

Auracolor should be at end.

Offline

capasha1453656449577590

Board footer

Powered by FluxBB

[ Started around 1732758907.7893 - Generated in 0.052 seconds, 12 queries executed - Memory usage: 1.37 MiB (Peak: 1.47 MiB) ]