Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 21:13

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

Advertisement



[Request] 5165 Launcher for dynamic dns that updates IP from no-ip.com

Discussion on [Request] 5165 Launcher for dynamic dns that updates IP from no-ip.com within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 14
Received Thanks: 3
[Request] 5165 Launcher for dynamic dns that updates IP from no-ip.com

So the main idea is that the launcher checks the ip from an account at the site no-ip.com and replaces the ip in the server.dat.

This has been released for previous versions but for 5165 the format of the server.dat is completely different. (see attachments for previous version)

I have been trying for many days now but i can't get this thing to work.

<field name="id">101</field>
<field name="ServerName">Conquer</field>
<field name="ServerIP">xx.***.***.***</field> <--- ip needs to be changed
<field name="ServerPort">9958</field>
<field name="FlashName">Conquer</field>
<field name="FlashIcon">Group3/server8.swf</field>
<field name="FlashHint"></field>
<field name="Child">0</field>

Attachment for server.dat and a previous version of the launcher.

Thanks in advance.
Attached Files
File Type: rar Conquer Launcher.rar (272.1 KB, 144 views)
File Type: rar Server.rar (2.2 KB, 63 views)
FireDown is offline  
Old 01/07/2011, 15:43   #2
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 458
The spoiler down contains a little of the one that i maked to use...


btw your pproblem should be that you have to re-write the entire server dat or just make it read and serach where it calls the IP and update that line....
12tails is offline  
Old 01/07/2011, 19:36   #3


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,445
Received Thanks: 1,176
Quote:
Originally Posted by FireDown View Post
[...]
Haha, my old launcher. I lost the source, but it was very simple.

Dns.GetHostByName for getting the IP and StreamWriter.WriteLine for writing the file Badly coded, but working.
CptSky is offline  
Old 01/07/2011, 20:50   #4
 
elite*gold: 0
Join Date: Jan 2008
Posts: 14
Received Thanks: 3
Thanks for both ur replies.
@12tails thanks i appreciate the effort, yes i try to let it change only the ip address and leave the rest alone cuz there is alot of information in this server.dat.
But thats where my problem lies i cant just change the ip, i tried many ways but just doesnt work for me.
@CptSky yea indeed these are the 2 head commands needed for doing this.
FireDown is offline  
Old 01/07/2011, 22:42   #5
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 782
Received Thanks: 458
try to use the null loader.... i think it works with 5165 client...
12tails is offline  
Old 01/08/2011, 12:00   #6
 
elite*gold: 0
Join Date: Jan 2008
Posts: 14
Received Thanks: 3
@12tails tried all versions and with few dyndns and no-ip domains on different ports but it wasn't a succes. This is such a little thing but gives me so much problems. xD
FireDown is offline  
Old 01/08/2011, 15:37   #7
 
elite*gold: 0
Join Date: Apr 2007
Posts: 208
Received Thanks: 43
may i ask why you want to do this?
DePredaTe is offline  
Old 01/08/2011, 16:22   #8
 
elite*gold: 0
Join Date: Jan 2008
Posts: 14
Received Thanks: 3
@DePredaTe Sure, im trying to find a way for people with a dynamic ip to update the ip without the need of a patcher.
FireDown is offline  
Old 01/08/2011, 23:46   #9
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
A server shouldn't have dynamic ip, else is fail.

You could convert server.dat to html.
Get html element as you see the server.dat is using tags like xml etc. <field name="ServerIP">
(In that case elementid = "ServerIP")
Get the new ip.
Change element to new ip.
Save it as server.dat
Syst3m_W1z4rd is offline  
Old 01/10/2011, 15:40   #10
 
elite*gold: 0
Join Date: Jan 2008
Posts: 14
Received Thanks: 3
Smile

Thanks all for looking at my problem but it is solved, saw a post here on elitepvpers that i did not find before. . It Works perfectly. Many thanks to the uploader felipeboladao.
FireDown is offline  
Reply


Similar Threads Similar Threads
[Release]Dynamic Maps(5165 Houses)
07/28/2019 - CO2 PServer Guides & Releases - 60 Replies
Alright well I found this on another forum and I got the creator's permission to post here with all credits towards him. 100% credits to pringle, you may know him. DO NOT PRESS THANKS! THIS IS NOT MY WORK! After following my guide previous guide, then proceed with the following. in DMaps.cs under: public static ArrayList MapsNeeded = new ArrayList() { 601, 700, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1018, 1020, 1021,...
[RELEASE] Conquer Online Launcher (Run your conquer server on a Dynamic IP!)
07/09/2013 - Conquer Online 2 - 6 Replies
http://i37.tinypic.com/2053uok.png Small application i created, Basically its for people who want to run a private server and they have a dynamic IP and because Conquer doesn't accept hostnames such as (No-ip.org) i have created this. It simply gets the hostname from config.ini and gets the ip address then writes the ip address to server.dat then runs conquer. How to use: Open config.ini, 1. Edit the darkviper.servegame.org to your hostname (etc blahblah.no-ip.org) 2. Edit...
[Request] CO 5165 Launcher
01/08/2011 - CO2 Programming - 7 Replies
Hello, I'm Looking For SomeOne Who Can Do This Program Demonstration: Window : 500X300 pixels A Webpage : 180X180 pixels That shows a website (a download page of the server , ex: www.elitepvpers.com/downloads), like this Everyone Will Be Able To Know/see If There is new patchs/events or not 3Buttons : 1-To Run Start The Game (private server 5165)
How to add Dynamic Maps(5165 Houses) in conquer-sx's source?
07/06/2010 - CO2 Private Server - 0 Replies
like my title ... I'm see the Arco's shared method ... but it don't work on... when i go home .... the client display



All times are GMT +1. The time now is 21:17.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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