How to edit dragonica.exe

04/21/2019 03:07 G-bo#1
Hello,

Im working on a private server and i need edit the IP from dragonica.EXE.

I used "Unicode" to find the IP addr used in the client, then when i got the ADDR, i tried to edit the hex code with my own ip using unicode too.

but when i start dragonica.exe and click on login, the client crash instantly without error or log ...

The client was working perfectly when i was using 127.0.0.1 so i edited 127.0.0.1 with an Hex Editor, to my new server IP (multiplayer) but the game crash instantly when i click on "login".

can someone help me ?
04/21/2019 23:52 darkyfiz#2
Hi
I did the same thing and the client crash instantly
In 127.0.0.1 i didn't get error
04/22/2019 19:23 G-bo#3
Quote:
Originally Posted by darkyfiz View Post
Hi
I did the same thing and the client crash instantly
In 127.0.0.1 i didn't get error
I am reassured not to be the only one, yet I respect everything I did not add any additional string ...

I even edited config.ini and config.inb
04/22/2019 22:43 Octrpus#4
I don't have experience with hex editing the client exe but i believe there are 3 ip checks so did you look for more instances of 127.0.0.1 to modify?

the crash is caused by the ip check if the ips in the client.exe don't match the server you are trying to connect it to it will kill the client on login

according to source code i believe there is 2 ip checks in lwUILogin.cpp and one check in
PgMobileSuit.cpp
04/23/2019 00:49 G-bo#5
Hey @[Only registered and activated users can see links. Click Here To Register...]

Thank you for the reply, yes we have 2 IP's to change, and i did it, i think it's because when we edit something with an Hex Editor we need to respect string, so if the .exe got peer exemple 300 000 string before editing, after you edit all you want, the file need to have 300 000 string.

After that depends on the .EXE, I know that you have to be very careful that everything stays aligned to avoid functional corruption.

I do not know what to do, after taking care to edit both IPS and have everything to align, I always have the client crash after entering the connection information ...

(I click on "thank" to thank you for taking the time to open the sources and answer this topic)
04/23/2019 04:24 Octrpus#6
If you want to write with me through discord I can probably help you further, epvp is not great for communicating or problem solving as the feedback is delayed.

My discord is linked to my profile.

Or maybe someone else will post here with a solution.
04/23/2019 06:29 G-bo#7
I will add you on discord.
Thank you again !
04/23/2019 19:13 Octrpus#8
We resolved this issue by using a different client.exe that already had a public ip address being used instead of a local ip and just changed that public ip to match the desired one through hex.

if anyone else needs help with that issue feel free to contact me.
04/24/2019 23:39 G-bo#9
Quote:
Originally Posted by Octrpus View Post
We resolved this issue by using a different client.exe that already had a public ip address being used instead of a local ip and just changed that public ip to match the desired one through hex.

if anyone else needs help with that issue feel free to contact me.
Just want to add, my .exe was also corrupted, cause when we edit back to 127 0 0 1 the client.exe he gived me, it worked too.
05/04/2019 22:45 kuplumosk#10
Lol, to edit .exe u need edit c++ source code and compile it after editing
wtf u doing with hex? doomed way
05/05/2019 13:47 yoga3001#11
Quote:
Originally Posted by kuplumosk View Post
Lol, to edit .exe u need edit c++ source code and compile it after editing
wtf u doing with hex? doomed way
But if you dont have source? Reverse Engineering will be ur friend.