Now lets try to solve the dynamic IP problem with game.exe
Shaiya game.exe use socket connection which can be made only by IP not by host name.
To solve this thing i made an executable in C# invisible for end user. This is working in this manner:
My executable has the name game.exe and need to be in the same folder with original exe which will be renamed to gameIP.exe . You need to create a txt file named host.txt near game.exe. Edit this file and insert your host name(myhostname.com for example). From now you can use updater or a shortcut to my game.exe to start shaiya. User will not see anything except a small delay at starting game maximum 1sec.
The idea is the following : the new game exe connects to internet and obtain the IP of your host name. After that it injects in gameIP.exe this IP and start it.
To get a host name for your server use no-ip.com or other dynamic dns hosting site if you dont have one yet.
Problem: It may be seen as virus since it inject code in an executable.
I will post also the source project (C#) soon so anyone can change it for other versions of shaiya.
PS: dont forget to put in ps_game.ini same as in host.txt
Edit: added source of the project as i promised







