Feefty Posted January 24, 2013 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 175 Reputation: 14 Joined: 11/21/11 Last Seen: April 18, 2020 Share Posted January 24, 2013 how can i host my char server on a different machine? Quote Link to comment Share on other sites More sharing options...
Asura Posted January 24, 2013 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 707 Reputation: 168 Joined: 01/26/12 Last Seen: February 7, 2014 Share Posted January 24, 2013 Hi Feefty, I recommend that you just copy the Athena server files over to your 2nd machine, and then re-compile. Then configure the char_athena.conf and map_athena.conf to use the 2nd machine's IP for the char_ip, and the inter_athena.conf to use the correct IP for where the MySQL server is located. After this, you can simply run './char-server_sql' on the 2nd machine and it'll just run that by itself. However, I don't see why you'd want to do this... I can somewhat understand doing it for the map-server, but char-server doesn't use that much resources to have to have it moved to another machine. Quote Link to comment Share on other sites More sharing options...
Feefty Posted January 24, 2013 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 175 Reputation: 14 Joined: 11/21/11 Last Seen: April 18, 2020 Author Share Posted January 24, 2013 Hi Feefty, I recommend that you just copy the Athena server files over to your 2nd machine, and then re-compile. Then configure the char_athena.conf and map_athena.conf to use the 2nd machine's IP for the char_ip, and the inter_athena.conf to use the correct IP for where the MySQL server is located. After this, you can simply run './char-server_sql' on the 2nd machine and it'll just run that by itself. However, I don't see why you'd want to do this... I can somewhat understand doing it for the map-server, but char-server doesn't use that much resources to have to have it moved to another machine. thanks, ill try it out. my char server keeps disconnecting and i want to try it on different machine. Quote Link to comment Share on other sites More sharing options...
Winz Posted January 25, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted January 25, 2013 (edited) Hello Feefty, Seems that you are having a great curiosity in one of your servers. Therefore, 1.) copy the entire server files to the second machine. 2.) If you are doing this with your PC (2 PCs, connected to the same router): Forward port 6900 and 5121 to PC A's IP and 6121 to PC B's IP 3.) configure: /conf/char_athena.conf:login_ip: PC A's IP bind_ip: PC B's IP char_ip: PC B's IP /conf/login_athena.conf:bind_ip: PC A's IP /conf/map_athena.conf:bind_ip: PC A's IP map_ip: PC A's IP char_ip: PC B's IP Now, you would need to reserve an IP to your router. If you are using windows: Windows Vista / 7 / 8: 1.) click on Start > control panel > search: "Network and Sharing Center" (or you can simply click the connections icon on the left of clock on start menu then click Network and Sharing Center) 2.) Click on the "Local area Connection" link and click properties. Windows XP: 1.) click Start > Control Panel > Network and Internet > Network Connections (or skip to Network connections if you are not using the Category mode) 2.) double click on your Local Area Connection both: 3.) Double click on "Internet Protocol Version 4 (TCP/IPv4)" 4.) click on the text: "Use the following IP address: " 5.) Set IP address to each your PC's assigned (when you are forwarding ports on your router to each PC, assign PC A with A's IP (192.168.1.A's IP) as well as then subnet mask: 255.255.255.0, Default Gateway: your router's IP. can be 192.168.1.1 or 192.168.0.1 or others. 6.) leave the DNS settings empty 7.) click on "Validate settings upon exit" 8.) click OK and close all the Dialog boxes. **Warning: If you lost your internet connection for the next 3 minutes or above after changing the setting, please revert them by clicking "Obtain IP address automatically" and "Obtain DNS server address automatically" and PM me for what happened and what have you done.*** after done doing it, you can start the server in each PC and you will be able to satisfy your curiosity. Hope this helps. Have a nice day! Edited January 25, 2013 by Winz Quote Link to comment Share on other sites More sharing options...
Feefty Posted January 25, 2013 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 175 Reputation: 14 Joined: 11/21/11 Last Seen: April 18, 2020 Author Share Posted January 25, 2013 im running it on 2 different vps/linux but still thanks for the info. Quote Link to comment Share on other sites More sharing options...
Winz Posted January 25, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 1479 Reputation: 174 Joined: 12/14/11 Last Seen: November 21, 2016 Share Posted January 25, 2013 Hello Feefty, Well said. Therefore, you can follow the guide through no. 3, and you can ignore the IP reservation and the rest of the line. Be sure to connect the client to PC A's IP, which holds the login server. Other questions, you are welcomed to ask me privately through PM, MSN / YM / Skype. Have a nice day! Quote Link to comment Share on other sites More sharing options...
Question
Feefty
how can i host my char server on a different machine?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.