Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Sharing] Changing default port of your l2server.exe (https://postpacific.mmorpg-game.online/showthread.php?t=1877)

MoSs 21.09.2005 13:32

[Sharing] Changing default port of your l2server.exe
 
Well It occured to me, the l2server is always running at port 7777 and well someone posted if he can change that in the help section so i figured why not experiment a bit :P

And success! :D
you need of course to hex the l2server.exe
so here goes:

find address: .0052BD65
bold part is the default port (7777) : 68611E0000
you can change it to whatever you like :P
(use windows calculator to convert decimal -> hexadecimal)
I changed it to: 8888 (HEX: 22B8) (edit to: B822) so like this: 68B8220000

This can prevent unwanted site connections (that show server status) so no more connection flooding at your l2server (if no one knows your l2 port, he has to search to find it, this prevents a lot of unwanted connections!)
This can also prevent connection from bots at some level :)

Change the entry of your server in the lin2db, server table to outerport you selected :D so that the authd knows the new server port and people can connect from your client!

http://www.lineage2.gr/shots/success.jpg

MoSs 21.09.2005 13:50

I forgot you also have to change your l2.ini
and change the port from 7777 to whatever you chose for your server :)

UStas 21.09.2005 13:56

https://postpacific.mmorpg-game.onli...pic.php?t=2006 :)

MoSs 21.09.2005 14:23

ustas maybe u posted the same thing
i dun know if this 12bd60 is the same as this .0052BD60 (in addressing)
since i dont know a lot about hexing and i am doing my first steps
i thought i share my success in hexing with all the people that might be
interested in this

and since i did not understand your post, it was just as a hint to me
so i actually searched in the decoded file for this: 7777 -> 611E or 1E61
i found a couple of addresses containing these hex values
i failed at first but then i succeded at last to changing the port...

dont spoil it for me :(

kungfu71186 21.09.2005 16:09

Only problem is that it takes a second to decode the l2.ini and get port from that.

Stazis 21.09.2005 16:14

newbies =)

UserPort=<whatever port you want>

in l2server.ini

Adelaide 21.09.2005 17:13

In L2walker is hardcoded 7777 as game server port and cannot be changed. (Find me someone that can disassemble L2Walker...)

Will this be then a possible solution together with L2Player to avoid L2walker (at least) to connect to the server?

L2.ini can be modified by anybody, but L2Walker cant.

hr 21.09.2005 18:39

Quote:

In L2walker is hardcoded 7777 as game server port and cannot be changed. (Find me someone that can disassemble L2Walker...)

Will this be then a possible solution together with L2Player to avoid L2walker (at least) to connect to the server?

L2.ini can be modified by anybody, but L2Walker cant.
Tested - nope :( L2Server starts at new port (checked by telnetting to new and old ports), but client (and L2Walker) still can connect with old settings.

Livid 21.09.2005 19:07

Of course it can! Because port is not hardcoded, but being get from AuthD.

MoSs 21.09.2005 21:42

Ok 3 thinks, l2walker gets the l2server port from the authd,
so maybe we should change the authd default port and maybe patch the client

Second every one assumes that l2server.exe is running at 7777 so expect all attacks even DDOS to that port

Third i found out that you dont need to modify the port on l2.ini since the client gets the server port from authd.

But eitherway it never hurts not to run at the default port... cause you minimize as much as possible the attacks mainly from newbies and script kiddies :P

See my point?

ps. Didn't see any value in l2server.ini :P so i figured it cannot be changed from there but anyways I achieved something I thought I could never do :P

Adelaide 21.09.2005 22:49

Quote:

Originally Posted by Livid
Of course it can! Because port is not hardcoded, but being get from AuthD.

Didnt know this.

khul 17.10.2005 10:56

mmmmmmmm

when you connect with client to server just :

cmd>netstat -n

and IP and active ports will be displayed in the console window....
wouldnt this just show up the port you are using w/e it is ?


ps.: not my intemption to flame.Just trying to colaborate all i can =)

demon 17.10.2005 19:32

Quote:

i dun know if this 12bd60 is the same as this .0052BD60 (in addressing)
LOL

i guess you dont know what search is also :)

top-gear 21.10.2005 20:18

both client and walker redirects you automatically to the new port. you can't prevent anything by changng the port


All times are GMT. The time now is 21:45.