![]() |
loader should protect against walker
|
probably works with IG walker too, most exploits like buff stacking seem to.
|
Livid,
Could you tell us then what to look into to catch them? |
Quote:
avoid of using it. |
what bug ?
|
Yes, what bug?
|
Quote:
|
Livid could you tell us on the server side, what we should look out for?!
|
Cant we check with L2Worker in the logs in /CacheD/In for a buy/sell/trade from X player to himself?
I suppose we can Livid. |
Quote:
But I don't want to put it here 'cause it in russian. I'm to lazy to change some text :) Still it's not a solution. Our programmers works on hexing l2server.exe to restrict dual access and clone creation. Results are optimistic, maybe by tomorrow we will have solution, but don't think that I put it here for free. Maybe in exchange for C3 stuff... |
Is there any other ways? There is should be only one block of code which responsible for this.
|
This modification is my first instinct upon hearing of the exploit, and I've only tested this on my personal test server.
The following code is responsible for disconnecting both connections on a duplicate login. Code:
004668E4 8D4D B8 LEA ECX,DWORD PTR SS:[EBP-48]Code:
LEA ECX,DWORD PTR SS:[EBP-48] |
Currently when a duplicate login is detected, it closes both connections without removing the chars from the world. My modification calls the LeaveWorld member function on each char before disconnecting them.
I may post a binary fix for it later after further testing. I posted the information in the mean time since it may be of some value to people who are familiar with asm, such as yourself. |
We're relying on you tontor. You're the serverside fix master so far :)
|
Ok. We've got the fix. Already tested on several servers :)
Don't want to post it for free, but ready to exchange for C3 stuff or... well, i guess it forbidden by forum rules :)... pm me. |
Well, I just checked if there's a char loged in already... if it is - just drop *new* login packet and leave old one. It worked.
|
Quote:
|
following tontor suggestion i made this, not tested yet, correct me if i m wrong ...
(edited - wrong code) Regards :) |
wrong... yours patch:
.4668ef e8b4520900 call .4fbba8 but based on fix it should be: CALL L2Server.004FBBA0 or possible i dont understand the fix and this is some kind of rebasing because other call offsets are wrong too :) |
Oh. No, this looks like mistake...
0006690B: E8B4509000 call 00096B9C4 this call are TOTALY wrong because its out of virtual address space... |
This is it:
Quote:
|
you are right tx :D it would be better like that:
(edited, wrong code :cry: ) |
still don't tested it but all thanks goes to the patch creator - tontor.
arigato :) |
yeah me too, i ll test it tonight cause my 1st attempt was wrong and server crashed after having loadd npc-server... cu :)
|
tested this morning - crashing after caching HTMLs, before NPC loading :\ ErrorLog will post later...
Edited: here it is Code:
Server Up Time Sat Oct 15 09:55:11 2005 |
same here :roll:
|
| All times are GMT. The time now is 22:58. |