Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Guides & Releases
You last visited: Today at 07:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release]Dynamic IP variant for hosting shaiya server ep4.5

Discussion on [Release]Dynamic IP variant for hosting shaiya server ep4.5 within the Shaiya PServer Guides & Releases forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2009
Posts: 21
Received Thanks: 7
Post [Release]Dynamic IP variant for hosting shaiya server ep4.5

Hello to all first
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
Attached Files
File Type: zip host.zip (60.4 KB, 190 views)
File Type: zip ConsoleApplication1.zip (62.3 KB, 171 views)
ilie321 is offline  
Thanks
4 Users
Old 10/24/2014, 13:57   #2
 
elite*gold: 0
Join Date: Sep 2014
Posts: 2
Received Thanks: 0
Hi !

thank you greatly for this awsome release !!!

But it works only a bit for me ....

- added my DynDNS in host.txt
- added same in ps_game.ini

Now I can finaly launch my game ... I can provide account credentials ... but when I select my server in servers list, and check "OK" button, it waits, waits, and then gives me the error "Time over, failed to connect to game server"

I guess I'm blocked because of the Game Public IP ...
in PS_Game.ini :
GamePublicIP=mydyndns.ddns.net

Is that good ?
Have you got an idea of what is going wrong with my pserver now that I have a Dyn IP ?
(I had NO problems with my pserver when my IP was a static one)
TheWolf0508 is offline  
Old 10/25/2014, 11:06   #3
 
elite*gold: 0
Join Date: Jun 2009
Posts: 21
Received Thanks: 7
Are you using a router. If yes did you configure it for shaiya. Noip fails alot for me so i changed with another free dns host. Is ok what you did. Is ep4.5 game exe. Check with hex editor that ip is injrcted in exe corectly if not you need to put new hex adres in project and recompile. Don't write http in front of your address. Is working great for me.
ilie321 is offline  
Old 10/25/2014, 11:35   #4
 
elite*gold: 0
Join Date: Sep 2014
Posts: 2
Received Thanks: 0
My router natively supports No-Ip, DynDns and DtDns services ...
For some other programs (like my web server) it worked great ...

I checked IP in exe, it was ok, the good actual one was injected (if not the game wouldn't even start)... and I only wrote pure domain name (w/o http)...

I didn't find what was going wrong with your great release (coz it would serv loads of ppl here), so I simply ordered a static IP to my ISP ... 3 hours later I got it ...

Now I'm facing another weird problem (probably NAT / Firewall issues) ... ***, why did I move ??? Everything was working well before I changed home/isp ... lol

So now I've got no more questions about your release as I don't need it anymore ... Thanks again anyway for creating and sharing this !
TheWolf0508 is offline  
Old 11/06/2016, 07:46   #5
 
elite*gold: 0
Join Date: Nov 2016
Posts: 60
Received Thanks: 12
What should i do with the console application? sorry for being noob. Will I just need to copy it into the client folder?
balongskie123 is offline  
Reply

Tags
dynamic ip, shaiya


Similar Threads Similar Threads
Dynamic IP simple variant to host shaiya server 4.5
10/21/2014 - Shaiya Private Server - 1 Replies
anyone needs help with hosting server on dynamic ip? i made an exe that solve somehow this problem and is invisible for user . i can share it if need it . is for ep4.5 client game exe . i can share source also is in C# so you can adapt it for other versions



All times are GMT +1. The time now is 07:14.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.