3G Server

NotMeAgainAgain

Dedicated Member
Dedicated Member
Feb 29, 2004
140
0
42
Demonic said:
Well this exe gets wierdier by the second - I done a bit of random hexing, comparing and matching with 6-30 exe, I run it and not only do I get with a bog standard client (776K and a few others) but the magic works. I do a bit more hexing so it reads my JOB NPCs (cos by default it errors on ever single one of them) and we are way back to square one - Wrong client version .. ARGHHH

So what I did was hex ONE hex at a time, try it and now cannot get at all the server to accept any client - so this is a tad puzzling now to say the least. As far as Im aware the client version is encoded into the server itself, i found the hex codes to change it even. It does not seem to take any notice from what I can see of the setup thing, i even removed the file and it ran anyhow.

My only main thing to get working really was the server itself, the NPCs etc Im not fussed about - this can be done on the 6-30 version (6 extra magics made on 30th Nov). Ill keep plugging away and you never know, i may get lucky...
i think i have a way around the NPC errors :) will post back in about an hour after reinstall
 

NotMeAgainAgain

Dedicated Member
Dedicated Member
Feb 29, 2004
140
0
42
NotMeAgainAgain said:
i think i have a way around the NPC errors :) will post back in about an hour after reinstall
eh can get ingame, but get the client version error.

bugger :P
 

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
165
NotMeAgainAgain said:
i think i have a way around the NPC errors :) will post back in about an hour after reinstall

I found a way around the npc errors no problem, in fact at one point it was working 100% sweet until that was I stopped it and restarted server - without changing any code anywhere, it was back to wrong client - wonder if its time based, ie.e you have to leave it running for a while?
 

NotMeAgainAgain

Dedicated Member
Dedicated Member
Feb 29, 2004
140
0
42
Demonic said:
I found a way around the npc errors no problem, in fact at one point it was working 100% sweet until that was I stopped it and restarted server - without changing any code anywhere, it was back to wrong client - wonder if its time based, ie.e you have to leave it running for a while?
Best not be, one problem i have now

THe files i have ARE related to those seen on this thread, but newer, they involve a launcher, that was protected and timebombed, ripped that and its working fine, this new KingEi uses sql for the items/mobs/magic and has a specialised dbsrv,

Now can get ingame with 312k client included with the crappy 3gfiles, but its like 1fp2s

1 frame per 2 seconds, reguardless whether im on the host machine or a seperate pooter

Wierd no? O_o

but its slow for all other clients also, uberly wierd tbh
 

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
165
Let me tell you about the new tricks the chinese are playing with, not happy with ASPACK, EncryptPE and also a hardware key based system, they are putting check bytes at the end of the file, so when it gets unpacked it wont work - sneaky eh !!!

Right lets see what this "wrong client" is all about - the coding inside the server has a version number, which is also inside the client like so:

分享]客户端验证码修改UE地址....


*服务端版本修改(脱壳任何GT-eiserver)
查找 81B898080000F0A43101 (其汇编代码为 cmp dword ptr ds:[eax+898],131A4F0 )
其中F0 A4 31 01为版本 => 131A4F0 => 20030704
自己随便改

*客户端版本修改(脱壳1.45的mir3.exe)
查找 C705D8974B00F0A43101 (其汇编代码为 mov dword ptr ds:[4B97D8],131A4F0 )
其中F0 A4 31 01为版本 => 131A4F0 => 20030704
改成和服务端版本一样,提供给你的用户

*3G脱壳的客户的MIR3.EXE
查找
C70588284C00F0A43101
其中F0 A4 31 01为版本 => 131A4F0 => 20030704
改成和服务端版本一样,提供给你的用户


Now the bottom line is as long as they match up, the client stays inside the game. To make sure this was not sheer nonsense - I changed the coding on one client and my 6 magic server and it worked 100% as expected - the game chucked out any other client apart from the one I had re-coded.

So we can brush that aside then on a "normal" server /client - but this server (king) has a few tricks up its sleeve - I hexed one version, deleted the ini file and ran the server. I logged in using ANY of my clients i have and they all worked, I could read my books, cast the magic and god knows what else. I sat back and thought my work had been done.

Of course as Im running a test server, it gets restarted every 5 mins as i play with various things, changing NOTHING at all and back to square one - no man on screen, No map Names, Wrong client and it bombs out.

In fact It has never ran since, i did a bit more hexing and now would probably have to start again on the hex codes - I took my time on hexing it, one hex at a time and tested. If you hex the wrong bits then one of the following happens:

* Create run error
* Starttime errror on loading server
* HumanProcess error
* Not loading npc script in properly

Now here is something to try for a laugh, rename the exe to something else, anything you like. This runs the server, you can get in fine and play - but NONE of the new magics at all work apart from the normal ones that came with JOB in the first place. This tells me all the new magics are indeed in the .dll file. I am wondering you know - if you take the dll and rename it to Visio.dll - would that make the 6 magic visio one sudenly have all the magics.

For interest - what they have done in effect by the eay is extend the code by using DLL - the coding Buffs will understand this fully, i have no idea as I dont do C++...
 

NotMeAgainAgain

Dedicated Member
Dedicated Member
Feb 29, 2004
140
0
42
Nightwolf said:
o.O still working on these damn npcs lol
Ok well an idea the files im using you can change the client version number either by the server config menu or by text editing the ini, now where can i find the client version information, short of downloading the entire client just to get at the cmlist.dat?
 

NotMeAgainAgain

Dedicated Member
Dedicated Member
Feb 29, 2004
140
0
42
NotMeAgainAgain said:
Ok well an idea the files im using you can change the client version number either by the server config menu or by text editing the ini, now where can i find the client version information, short of downloading the entire client just to get at the cmlist.dat?
The chinese as Demonic said are havinf problems with the new interface exe, after hours of digging i've came to a conclusion that they are using the oldinterface merged with the new files etc

If i could only hex0rz teh euromir client to work with it heh, thats got game version in the cmlist.dat tbh

Demonic any ideas j00 uber hex0r?
 

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
165
CMLIST is not the problem, I have a cmlist that works with all clients,, old and new. I took the chinese one, un-encrytped it used Kaori web page, translated it, re-encrytped and bugger me it works with all the clients.

Why are you trying so hard with the euromir3 client when if you go grab the Chinese 3G client (or i can supply the exe either way) it will log in, allow you to run around and play. You will still have the same problem though.

Now in regards to the clients - I think the chinese are hold back on us and are talking crap in there forums. If you grab the OLD interface chinese client from the proper site, ever single one I tried had the very same problem as the latest interface one. My guess is they took a working oldish one and kept adding to it though to get the newer features.

Now if they can pull that off - they could in there sleep without any new rungate / server and so forth get the new client to work fine. To give a example, I keep seeing screen shots of the old style client but with a lot more added, such as HP numbers and the groups down the top left side (like Euromir) as well as Dual HP/MP bars. Now i went to there site (they advertising servers) and tried to grab there clients but as the speed was like 0.01K sec it might have taken a while if it ever finished that was.

I have already tried Hexing the chinese 3G client as it goes to match up but as of yet no success. The only problem the client has that i can see if its sending diff information to the server, the info coming back is mis-read by the client thus why you cannot drop things, mobs give Zero exp and so forth.
 

NotMeAgainAgain

Dedicated Member
Dedicated Member
Feb 29, 2004
140
0
42
Demonic said:
CMLIST is not the problem, I have a cmlist that works with all clients,, old and new. I took the chinese one, un-encrytped it used Kaori web page, translated it, re-encrytped and bugger me it works with all the clients.

Why are you trying so hard with the euromir3 client when if you go grab the Chinese 3G client (or i can supply the exe either way) it will log in, allow you to run around and play. You will still have the same problem though.

Now in regards to the clients - I think the chinese are hold back on us and are talking crap in there forums. If you grab the OLD interface chinese client from the proper site, ever single one I tried had the very same problem as the latest interface one. My guess is they took a working oldish one and kept adding to it though to get the newer features.

Now if they can pull that off - they could in there sleep without any new rungate / server and so forth get the new client to work fine. To give a example, I keep seeing screen shots of the old style client but with a lot more added, such as HP numbers and the groups down the top left side (like Euromir) as well as Dual HP/MP bars. Now i went to there site (they advertising servers) and tried to grab there clients but as the speed was like 0.01K sec it might have taken a while if it ever finished that was.

I have already tried Hexing the chinese 3G client as it goes to match up but as of yet no success. The only problem the client has that i can see if its sending diff information to the server, the info coming back is mis-read by the client thus why you cannot drop things, mobs give Zero exp and so forth.

As i sad on msn yestrday, if i use old mirx client, i can drop/equip/kill mobbage andget correct exp etc using the king base set, but if i use the newer client i get the non droppable items etc, so its not a rungate proble.

the filesi have were meant to be payed for, and the only difference is the dbsrv and eiserve the included client (657k) doesnt allow you to login at all but in he setupinfo folder is an app calledlogin.exe maybe thats the answer to my problems....
 

RoNeZ

Golden Oldie
Golden Oldie
Jun 2, 2004
682
8
154
Boro
i can get ingame thats all im botherd about and i started translating a few things

got my npcs n stuff working in middle of translating ^_^ :ppunk:

samuri.JPG
drag.JPG
 
Last edited:

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
165
Im sure i already said all about to type, byt just for completness really here is my dealing with Kingforei so far:

Using the un-touched 3G2.51 on a system and running instead Collage.exe instead of KingforEI - I can get in game no problems. Running it on Windows 2000 is a non starter (for collage.exe) and running Kingforei server on its own always gets the Wrong version error.

Now ive proven already (to myself anyhow) that if you rename the exe (king) it runs without a hitch - meaning it dont read or look at the DLL at all - none of the new magics work though - so pretty pointless.

All I was trying to esablish really, the people who got it working out of the box - did you run kingfor Eiserver or the collage.exe (which brings up a console first then the server). Did you leave it running for ages before loggin in and what exe (size) did you use, i have 776K version that supposted to work but dont.

The whole point of running king is the ability to hex it - Books for example are (<Somechinese rubbish) - where most im sure would preffer (*) - thats why i perosnally stopped banging away at it myself like.
 

NotMeAgainAgain

Dedicated Member
Dedicated Member
Feb 29, 2004
140
0
42
Demonic said:
Im sure i already said all about to type, byt just for completness really here is my dealing with Kingforei so far:

Using the un-touched 3G2.51 on a system and running instead Collage.exe instead of KingforEI - I can get in game no problems. Running it on Windows 2000 is a non starter (for collage.exe) and running Kingforei server on its own always gets the Wrong version error.

Now ive proven already (to myself anyhow) that if you rename the exe (king) it runs without a hitch - meaning it dont read or look at the DLL at all - none of the new magics work though - so pretty pointless.

All I was trying to esablish really, the people who got it working out of the box - did you run kingfor Eiserver or the collage.exe (which brings up a console first then the server). Did you leave it running for ages before loggin in and what exe (size) did you use, i have 776K version that supposted to work but dont.

The whole point of running king is the ability to hex it - Books for example are (<Somechinese rubbish) - where most im sure would preffer (*) - thats why i perosnally stopped banging away at it myself like.

Heres something a bit iffy...

To begin with in my ForEiserver.king file, the client date is set to: 20030704

upon placing an 800kb client exe in the folder, and rebooting server the client date changed to 20040810, now i didn't modify a thing, just moved a new client in, and the date changed on its own, but recently i've ran into a problem, i reverted back to the original rar but used my stolen exe's and i still run into the same problem. after char selection i move onto the "Connecting to server blah blah" dialogue at which point it hangs, the gamegate shows me connected, and no error messages on any gameserver window, weird, i'm sure its because im using an old dbsrv, but i cant load the new one as the console app that originally came with it has timebombed, and the modified one that i leached from a server has an error trying to start the dbsrv, "cannot find D:\Mud3\Mir3 Console.exe" to be precise, extremely weird problem is it not, if anyone else has had this then please reply with a fix ;-)

Psst - my KingForEiserver.exe = 2.54mb
the dll = 895k
and it reads the mon/stditem/magic db's from sql

i'd release the files if they are working tbh, so any help helps you :P
 

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
165
Well the other parts (rungate, Dbsrv etc) are no different tbh - the one supplied have extra features like blocking IP's etc but you will find it runs fine with the normal rungates as we used before.

As i said - run the collage.exe, this only runs properly on a XP system and maybe Windows 2003, it def dont run at all on Windows 2000 Server thats for sure and this is backed up by Loads of people on chinese forums.

As for the SQL part (magic and so forth), this is a option to use either the old way (.db) or SQL - all they have done is move them back into SQL where they used to live like 2.9.

Running Collage.exe, contains a console and the server in one exe, the server not only runs fine but also allows any client (within reason) to connect. Running King on its own Always says wrong client. Remember, the chinese dont have to worry too much about what they run, its all in chinese anyhow so runs out of the box for them, they dont have to worry about book names and all that jazz.

I had another thought, in reference to this mir2 1.9 thing - nothing talks on my systems outside without my permission, if it cannot "call home" then maybe this is the end result? Personally as I keep saying, it dont offer me anything really I aint already have - so i loose a few magics..but is it really spending all this time banging your head off a wall for?
 

NotMeAgainAgain

Dedicated Member
Dedicated Member
Feb 29, 2004
140
0
42
Demonic said:
Well the other parts (rungate, Dbsrv etc) are no different tbh - the one supplied have extra features like blocking IP's etc but you will find it runs fine with the normal rungates as we used before.

As i said - run the collage.exe, this only runs properly on a XP system and maybe Windows 2003, it def dont run at all on Windows 2000 Server thats for sure and this is backed up by Loads of people on chinese forums.

As for the SQL part (magic and so forth), this is a option to use either the old way (.db) or SQL - all they have done is move them back into SQL where they used to live like 2.9.

Running Collage.exe, contains a console and the server in one exe, the server not only runs fine but also allows any client (within reason) to connect. Running King on its own Always says wrong client. Remember, the chinese dont have to worry too much about what they run, its all in chinese anyhow so runs out of the box for them, they dont have to worry about book names and all that jazz.

I had another thought, in reference to this mir2 1.9 thing - nothing talks on my systems outside without my permission, if it cannot "call home" then maybe this is the end result? Personally as I keep saying, it dont offer me anything really I aint already have - so i loose a few magics..but is it really spending all this time banging your head off a wall for?
It's something to do until something better comes along

On the Collage.exe
This doesnt run with my server exe, i just get a no load, i've been browsing Kings forum lately and its all abuzz about v1.3serverKingEdition, supposedly bugfree, fully supported, any client, and above all, Free.

So im just kicking back and waiting for the release of the new files, whilst bashing on with a clean translation, but its a bit hard when you can't even get to the notice screen heh -_-
 
Last edited:

RoNeZ

Golden Oldie
Golden Oldie
Jun 2, 2004
682
8
154
Boro
i forworded the ports 2 run a server but its showing ports as stealth still any1 know why
 

Demonic

LOMCN VIP
VIP
Dec 1, 2003
1,806
2
165
Which files? the 3G ones (king for EI)???? they kinda dont work properly for most of us...
what do you mean by 1.9? is that mir2 thing?

Mir2 suck BTW... lol