[Share] Shaiya 5.4 with game.exe fixed

07/16/2014 23:39 sominus#16
192.168.1.77
07/18/2014 15:23 [GM]Riot#17
hey
Any chanse you give us 1 download link for your client?
08/02/2014 10:43 wallerus#18
Having problems getting the ps_game to work, anyone got the same problems or have insight on my problem?

Here's my log, any help appreciated and I apologise if I missed something obvious.
P.S. I do have a ps_game.pdb created and using all the files uploaded.

08/02/2014 17:20 JuuF#19
Quote:
Originally Posted by wallerus View Post
Having problems getting the ps_game to work, anyone got the same problems or have insight on my problem?

Here's my log, any help appreciated and I apologise if I missed something obvious.
P.S. I do have a ps_game.pdb created and using all the files uploaded.


Probably you installed server to D: so you should edit your ini files.
08/02/2014 22:19 wallerus#20
PSM_Service.ini ?

If yes, then they're already directed to the D: drive, here's how it looks.


These are fresh from the download too, I didn't actually change them. I've reopened the zip and they're even directed to D: in there.
08/12/2014 21:22 Truth1010#21
For anyone with the 'O' & 'P' client crash problem i have worked out a slight fix.
You will need OllyDBG for the fix, and it will disable the use of both the O and P keys ingame (only on the main interface screen, not on chat or other menu's)

You need to attach your game.exe to Olly, then Goto Expression (ctrl + G)
Find the address 0048C968 (this is the O key)
Change the MOV EBX,1 to MOV EBX,0 Click Assemble.
Find the address 0048CA07 (this is the P key)
Change the MOV DWORD PTR DS:[EDI+20],1 to MOV DWORD PTR DS:[EDI+20],0 Click Assemble.

Then right click, Copy to executable. Right Click new window and Save File.

If anyone knows how to keep the keys working and open up the proper windows (or option menu) without a client crash, then i would welcome the info :)
08/16/2014 15:25 .Curious.#22
Hello Everybody ,


I have a problem with the ip address of the game.exe . It is 192.168.1.77 and my ip address is 108.252.235.118 . When I changed the ip with mine it tries to connect to host-108-252-235-1.routergate.com . I also tried to start from the former two digits in the exe and that time it tried to connect to 8.252.235.118 not including the first two digits.Is there a part where you arrange the length of the ip address in the game exe?

Thanks in advance.
08/17/2014 03:34 castor4878#23
where does the string "host-108-252-235-1.routergate.com" come from ??
is it an IP trace or the client (or updater) that displays it as an (invalid) url?

the length of a IPv4 address is 32 bits, since the very first day and till their deaths ... but the game stores them as strings - and as for ALL strings - the code stores somewhere the zero-terminated string and use that offset wherever it needs it (to request page or establish connection).

so, you must start your own IP at the right offset (meaning exactly where the IP to be changed starts) and you must end it with a zero char (a byte '00'), without that end-of-string-marker, the code will follow to read all data (printable or not) as the address until it reachs a '00'.
08/17/2014 04:12 sominus#24
It's a strange case, if you write 200.130.120.110, the game will try to connect to just '200.130.120.1' and ignore the rest (...10).
The string starting offset is correct, since using e.g. '192.168.1.1' works fine. Same if you use an IP like '64.64.64.64', it works. Just 'long string ips' doesn't work.

It's the only game.exe (exe size 3.289.088 bytes) I've seen do that. And it seems to do the same with all the IPs inside it.
08/17/2014 13:22 hatwas#25
Quote:
Originally Posted by Truth1010 View Post
For anyone with the 'O' & 'P' client crash problem i have worked out a slight fix.
You will need OllyDBG for the fix, and it will disable the use of both the O and P keys ingame (only on the main interface screen, not on chat or other menu's)

You need to attach your game.exe to Olly, then Goto Expression (ctrl + G)
Find the address 0048C968 (this is the O key)
Change the MOV EBX,1 to MOV EBX,0 Click Assemble.
Find the address 0048CA07 (this is the P key)
Change the MOV DWORD PTR DS:[EDI+20],1 to MOV DWORD PTR DS:[EDI+20],0 Click Assemble.

Then right click, Copy to executable. Right Click new window and Save File.

If anyone knows how to keep the keys working and open up the proper windows (or option menu) without a client crash, then i would welcome the info :)
Its dont work for me can you pls upload your fixed game.exe?
08/17/2014 14:12 Psycnosis#26
virus scan of ps_game.exe

[Only registered and activated users can see links. Click Here To Register...]

might explain why it wont load...
08/17/2014 14:21 hatwas#27
Quote:
Originally Posted by Psycnosis View Post
virus scan of ps_game.exe

[Only registered and activated users can see links. Click Here To Register...]

might explain why it wont load...
I use a other ps_game.exe.
08/17/2014 15:24 Truth1010#28
Those may be due to the fact that it is packed with Molebox.. false positives.

Another slight fix for those wanting the Guild Menu to appear in battle zone maps with the game.exe supplied here.
In Olly, goto expression > 4c9410
Then change the MOVZX ECX,WORD PTR DS:[ECX+10DC] to MOVZX ECX,WORD PTR DS:[ECX+10D8]
This should let you use guild menu in those battle maps without any problems.
08/18/2014 12:28 bboytata#29
Hello how to change font in this ? Whats thr offsets
08/19/2014 14:38 Psycnosis#30
anyone can unpack the ps_game.exe then?