Right i think you know what this is first of let me tell you what each slot is...
Attack will change due to combat level:
Attack "if players cb level is lower then your own"* Slot 1
Walk here"is client side"
Attack "if players cb level is higher then your own"* Slot 1
Challenge "duel arena" Slot 2
Follow "follow player" slot 3
Trade with "trade with player" Slot 4
Whack/Take-from: "whack or take from" Slot 5
I think thats right but, if your not stupid you can see if you walk in cw with a chicken you will Fu0k up the Whack/Take-from option so i need to check that out..
Code:
outStream.createFrameVarSize(104);
outStream.writeByteC(1);
outStream.writeByteA(0);
outStream.writeString("Attack");
outStream.endFrameVarSize();
outStream.createFrameVarSize(104);
outStream.writeByteC(2);
outStream.writeByteA(0);
outStream.writeString("Challenge");
outStream.endFrameVarSize();
outStream.createFrameVarSize(104);
outStream.writeByteC(3);
outStream.writeByteA(0);
outStream.writeString("Follow");
outStream.endFrameVarSize();
outStream.createFrameVarSize(104);
outStream.writeByteC(4);
outStream.writeByteA(0);
outStream.writeString("Trade with");
outStream.endFrameVarSize();
outStream.createFrameVarSize(104);
outStream.writeByteC(5);
outStream.writeByteA(0);
outStream.writeString("Whack");
outStream.endFrameVarSize();
//Or ..
outStream.createFrameVarSize(104);
outStream.writeByteC(5);
outStream.writeByteA(0);
outStream.writeString("Take-from");
outStream.endFrameVarSize();
Code:
case 128:/* Right Click Player "Attack" */
break;
case 153:/*Right click player "Challenge"*/
break;
case 73:/*Right click player "Follow"*/
break;
case 139:/*Right Click Player "Trade Send/Accept"*/
break;
case 39:/*Right click player "Whack/Take-from" */
break;
Working on this now so don't ***** if there wrong i only just started working on it and its the right way! case 73: is not attack player, every server out there is wrong! this is the right way.
If you think wrong then tell me why