Jump to content
  • 0

L2 Classic 2.0 Client localhost


Question

Posted

Good morning people.

Since I stopped to play L2, around 5 years ago, now I'm trying to build a localhost L2 Classic 2.0 server. I have the files and all, and I ran it correctly.

But I didn't expect my problem would be the client! I downloaded the Helios L2 Classic 2.0 clean client but I can't find the way how to set the game to connect it to localhost.

As far I remember, I used to do it editing the L2.ini line "ServerAddr" but when I edit it, nothing happens. It connects me to another private server, no matter how many times I try to modify the l2.ini. Did this connection way changed? Anyone could tell me how to connect it to localhost with my client?

Sorry for my ignorance, it's like I've been sleeping for 5 years and now I feel really lost.

Thanks in advance for your answers.

9 answers to this question

Recommended Posts

  • 0
Posted

probably your l2.exe is hooked by the other server's patch, try hooking getsockaddr or unhook theirs

  • Like 1
  • 0
Posted

copy l2.bin and rename it to l2.exe

open a notepad and write :

start l2.exe IP=localhost

 

save it with name "start.bat"   [include quotes when you are saving]

 

run the bat file you just created

thank me later

 

 

PS: This will work in case u r using the retail client files, otherwise good luck RE or finding a proper system

  • 0
Posted
2 hours ago, xxdem said:

hooking getsockadd

I have no idea how to do that. In fact I think the system is from another server... and don't know where to find a clean system.

  • 0
Posted
1 hour ago, `Son said:

copy l2.bin and rename it to l2.exe

open a notepad and write :

start l2.exe IP=localhost

 

save it with name "start.bat"   [include quotes when you are saving]

 

run the bat file you just created

thank me later

 

 

PS: This will work in case u r using the retail client files, otherwise good luck RE or finding a proper system

 

The thing is I think I've downloaded a system from another server. Maybe could you give me a link of a clean system or send me one? I'd thank you absolutely.

  • 0
Posted

Open visual studio and create a new x86 DLL

Find a hooking API if you can't write your own and hook gethostaddr

  • 0
Posted (edited)
1 minute ago, sepultribe said:

what about the old L2J way, hosts file editing, tried it yet?

 

Good, but again, if they hooked gethostaddr that would bypass the hosts file :)

Edited by xxdem
  • 0
Posted
On 7/5/2018 at 5:55 PM, koolshen said:

I have no idea how to do that. In fact I think the system is from another server... and don't know where to find a clean system.

Son already gave you solution, get NCwest clear system, could be also from 4game but not sure if it will work due to frost changes. Priv servers often have dsetup.dll modified by antibots, also dont use l2.exe at all, you can remove it and start l2.bin directly with arguments from Son's post.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock