Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 16.04.2007, 01:16   #1
reflian
Архивный участник
 
Join Date: Apr 2007
Posts: 8
Default

i think u can and if u relog to do it u only need to have a delay between login atempts =)
reflian is offline  
Old 16.04.2007, 02:16   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by reflian View Post
i think u can and if u relog to do it u only need to have a delay between login atempts =)
Yeah, thats would work, but not for 08 packet in amped settings, that was my point, you are right.
FidoW is offline  
Old 17.04.2007, 20:46   #3
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Here i share a more "optimized" way of applying this patch. Several fixes, it should work with latest php.exe (i attached the one i used on the RAR).

Just unrar to a folder, put the uid.csv on same folder, 1 account_id per line, and the program will ask YOU for $min and $max values at START (and check for min and max correct values and if nº of accounts > $max-$min it will ask you for a bigger number). It will create a new .csv with relationship between old UID and new UID (for checking and tracking purposes).

Share: ppdoesshare

Atte

Oso

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
AuthDPatchScript.rar — 1632388 байт
Osito2Dancer is offline  
Old 17.04.2007, 21:01   #4
bruj0
Архивный участник
 
Join Date: Mar 2007
Posts: 17
Default

Quote:
Originally Posted by Osito2Dancer View Post
Here i share a more "optimized" way of applying this patch. Several fixes, it should work with latest php.exe (i attached the one i used on the RAR).
Thanx for sharing, could you specify what fixes you did? I cant see any in a fast look at the code..
bruj0 is offline  
Old 17.04.2007, 21:11   #5
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Quote:
Originally Posted by bruj0 View Post
Thanx for sharing, could you specify what fixes you did? I cant see any in a fast look at the code..
From yours:

1) Instead of using "file(XXX)" i used a function proposed in php.net that opens the file with fopen, and while it doesnt find the EOF, it stores the whole line (with \n included and separator between files) on an array. Slower, but for servers with a lot of accounts, it functions in a better way.

2) I eliminated the funtion "UniqueRands" and made a secuential program (it doesnt get called, but it just works in a "while" loop). It feeds "rands" array with the uid and the new uid (in the form: rand[0] = uid1, rand[1] = newuid1, rand[2] = uid2, rand[3] = newuid2, etc.

3) Added some messages for display (so the user can know that the program is doing something ).

4) Fixed some errors on the query part (you had $uid inside the " " and didnt take the value from outside, but instead did a query with '$uid' rather than the actual value).

5) Added a new file writing part that writes the whole temporal array "rands" to a file, so you can check which ID got which number.

6) Fixed some "OOB" problems with some of the arrays.

7) Just asks for uid.csv (not builderuid.csv, that can be fixed by own server admins).

Nothing much, just fixed it to be more secuential and more easy to understand. I kept the credits to you on the file and just added myself below you .

Atte

Oso
Osito2Dancer is offline  
Old 17.04.2007, 23:22   #6
bruj0
Архивный участник
 
Join Date: Mar 2007
Posts: 17
Default

Quote:
Originally Posted by reflian View Post
i think u can and if u relog to do it u only need to have a delay between login atempts =)
How do you set a delay if not in amped? I checked all the other .ini and couldnt find a variable that even looks like a delay.
bruj0 is offline  
Old 27.04.2007, 04:03   #7
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default packets to change

This is what I did;
1. Increase the delay on x08
2. Set a delay AND action for x0D
3. Recreated all account ids and REALLY spread them out across the 2 billion limit
4. Changed my registration system to no longer increment the uid, instead using a random one

Now I just need that DLL :P
Firedaemon is offline  
Old 27.04.2007, 06:30   #8
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by Firedaemon View Post
This is what I did;
1. Increase the delay on x08
2. Set a delay AND action for x0D
If you read what i wrote... that have no effect... you must increment relog time, not delay between 08 packet....

new login = new user = amped delay have no effect

(only wondering, if i wrong, correct me please)

Anyway, right now there at least 3 dlls fixing this exploit without need to change anything on db/SP/regsystem
FidoW is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:52.