-
Member
Modifying wow.exe to run a certain request int32 instead of int16?
Currently having troubles how to actually do this.
We're sending a datapacket from the server to the client, that's a int16. In order for our project to actually work, the client would need it to be a int32 (due to massive amount of numbers). Is it possible to modify the wow.exe client to read it as a int32 instead of int16?
Kinda hard to explain without revealing too much..
Edit: It's the wotlk 3.3.5a client.
-
Change the call from CDataStore::PutInt16 to CDataStore::PutInt32
-
Post Thanks / Like - 1 Thanks
stoneharry (1 members gave Thanks to Jadd for this useful post)
-
What Jadd said. If that doesn't work this sort of question is usually more suited to this area: https://www.ownedcore.com/forums/wor...emory-editing/
You could always go down the route of a hacky implementation that overrides the default behaviour. The interface FrameXML and AddOn client code uses the Lua & XML addon API and can be modified. Use addon messages or custom packets to send the data in whatever format you want, and call the event hook function with that data. You would need to ignore the normal data and/or not send it.
-
Member
Originally Posted by
Jadd
Change the call from CDataStore::PutInt16 to CDataStore::PutInt32
Never even thought about this.. Wow I fell stupid, I'll try it tomorrow. Thanks a lot!
Originally Posted by
stoneharry
What Jadd said. If that doesn't work this sort of question is usually more suited to this area:
https://www.ownedcore.com/forums/wor...emory-editing/
You could always go down the route of a hacky implementation that overrides the default behaviour.
The interface FrameXML and AddOn client code uses the Lua & XML addon API and can be modified. Use addon messages or custom packets to send the data in whatever format you want, and call the event hook function with that data. You would need to ignore the normal data and/or not send it.
We'd hate going into some hacky implementation :P