QuestionHelpNo confuse and proxy.

Posts 1–6 of 6 · Page 1 of 1
No confuse and proxy.
On old clients, back when Modselector was a thing I used to make those,
but now the contents of the texts have been changed
and we no longer have access to orape. (so i could look where it changes stuff)

Was wondering if anyone could give me where to add and what to add on the client,
so I will be able to do that when next builds comes up.

Thanks in advance!
While we are here, mind helping with hotkey swap aswell?
Thanks again!
Quote Originally Posted by morganna View Post
While we are here, mind helping with hotkey swap aswell?
Thanks again!
It should already be built in.
Quote Originally Posted by Heaven's Husband View Post
It should already be built in.
I'm asking how to do that without orape itself.
Quote Originally Posted by morganna View Post
I'm asking how to do that without orape itself.
If you're able to edit as3 all you have to do is add two functions in GameServerConnectionConcrete class:

Code:
	public function swapEquip(go:GameObject, param2:int, xml:XML):Boolean {
		var loc4:int = 0;
		var loc5:Vector.<int> = null;
		var loc6:int = 0;
		var loc7:int = 0;
		if (xml && !go.isPaused() && xml.hasOwnProperty("SlotType")) {
			loc4 = int(xml.SlotType);
			loc5 = go.slotTypes_.slice(0, 4);
			loc6 = 0;
			for each(loc7 in loc5) {
				if (loc7 == loc4) {
					this.swapItems(go, loc6, param2);
					return true;
				}
				loc6++;
			}
		}
		return false;
	}

	public function swapItems(go:GameObject, slot1:int, slot2:int):void {
		var _loc4_:Vector.<int> = go.equipment_;
		this.invSwap(go as Player, go, slot1, _loc4_[slot1], go, slot2, _loc4_[slot2]);
	}
Then in the useItem_new() function, right before these lines:
SoundEffectLibrary.play("error");
return false;

Add this:
if (this.swapEquip(itemOwner, slotId, objectXML)) {
return true;
}


You'll probably need to do these in bytecode though.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us