[Sammelthread] Emulator

07/03/2011 11:01 programator-pro#1186
Please upload db serverfiles 2005
07/03/2011 11:52 » Fabi202cool#1187
Download havelok's server
07/03/2011 12:08 dsfgd#1188
Quote:
Originally Posted by wizatek View Post
Everyone its own thing :P
I like it to discover stuff

Just had many troubles discovering the weird algorythm the packages use.
There is something with the package size that wants me to add emtpy bytes in the end of it.
if the amount of bytes of in the data part of the package without the opcode is in the range of
1 + 8 +8 +8+8+8+8+8+8 then add 8 bytes
2 +8 +8 +8 +8 +8 +8 etc add 7 bytes
etc etc until 8

Thats also the problem u sayd before why the login package only let u do 8 channels.
And also why my character names also could be 6 in size only.

But im sure u have some mathematics to show me why this is haha

since i found out about this everything goes better and better
but sadly because i was never schooled in programming so i have no idea what is the right way or what is the wrong way of programming.

but in the end is having fun in what u do, and being proud on what is accomplished is the most important
Yes it's easy ^^ in EP2 the Packages are encrypted, the Encryption is Trippel-DES

Trippel-DES can only work when you have a multiple of 8 (because it de/encrypt in 2x 4 Byte blocks), so the package must be a multiple of 8 or it will never get parsed.

The calculation would be this:
Code:
AddByteSize = 8 - ((EncryptedDataLength - 2) Modulus 8)
- 2 because it ignores the opcodes

You can add this to the Build function, it should work with every package.
[Only registered and activated users can see links. Click Here To Register...]
07/03/2011 12:51 Wizatek#1189
And indeed it works.
Verry nice!
Now i dont have to add 1 byte, try, doesnt work, add 1 more byte, try, doesnt work add 1 more byte works
It used a lot of time that way.

Thanks a lot! (again)
07/03/2011 13:24 alptraum123#1190
Wiza comes the update today ?
07/03/2011 13:26 Wizatek#1191
Yes, it will come soon, i just uploaded a version for the testers, and if no big bugs come up i will release what i have for now.
07/03/2011 13:28 Gimli11195#1192
hey hab mal ne frage kann ich eigl noch ma das normale 777 runterladen und dann den emu und 777 spielen?
07/03/2011 13:31 RatedR#1193
hat i-wer die Fehlermeldung das der Gameserver nicht funktioniert und weis da ne Lösung
07/03/2011 13:34 IGhOsTI#1194
Quote:
Originally Posted by RatedR View Post
hat i-wer die Fehlermeldung das der Gameserver nicht funktioniert und weis da ne Lösung
Du musst 777 patchen lassen und aus wiza's forum den EP2 LastChaos Emulator Pack v0.0209 runterladen, die neue DB einspielen und dann sollte es laufen. das tat es bei mir zumindest ^^
07/03/2011 13:44 deathcursed#1195
Kleine Frage, bin grad am runterladen von 777, muss ich das komplett fertig patchen lassen? Habe vor den Alpha Server zu testen
07/03/2011 14:19 RatedR#1196
Quote:
Originally Posted by IGhOsTI View Post
Du musst 777 patchen lassen und aus wiza's forum den EP2 LastChaos Emulator Pack v0.0209 runterladen, die neue DB einspielen und dann sollte es laufen. das tat es bei mir zumindest ^^
mit dem v0.0209 gehts nicht, wenn ich das nehme was im ersten post steht geht alles sobald ich das andere nehme funkzt der Gameserver nicht mehr
07/03/2011 15:10 Gefallener_Engel#1197
hi ich wollte den emu mal mit meinem bruder spielen, aber wenn ich das nach dem video tut mache bekomme ich die meldung:
"Verbindung zum Login Server fehlgeschlagen"
wieso das denn? >.<
07/03/2011 15:14 Basti180#1198
Quote:
Originally Posted by Gefallener_Engel View Post
hi ich wollte den emu mal mit meinem bruder spielen, aber wenn ich das nach dem video tut mache bekomme ich die meldung:
"Verbindung zum Login Server fehlgeschlagen"
wieso das denn? >.<
Hi du musst 4 IPs ändern

1.Login 2xIPs
2. Gameserver 1xIP
und in der sl.dta
07/03/2011 15:22 kamii554#1199
Hat sich erledigt seite geht wieder :)
07/03/2011 15:26 Gefallener_Engel#1200
Quote:
Originally Posted by Basti180 View Post
Hi du musst 4 IPs ändern

1.Login 2xIPs
2. Gameserver 1xIP
und in der sl.dta
hab ich getan bin mir nur nicht sicher was ich mit der 4101 in der sl.dta
der 4110 im gamesever
und der 4101 und der 4110 im loginserver machen soll...