|
You last visited: Today at 23:53
Advertisement
[Guide] Using Dynamic IP Addresses [Without Hamachi]
Discussion on [Guide] Using Dynamic IP Addresses [Without Hamachi] within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
02/26/2012, 15:04
|
#16
|
elite*gold: 0
Join Date: Jan 2011
Posts: 9
Received Thanks: 0
|
So If I get it right,
I can setup CoLoader 5.2 to use a domain instead of IP?
|
|
|
02/26/2012, 19:49
|
#17
|
elite*gold: 0
Join Date: Aug 2011
Posts: 314
Received Thanks: 90
|
Quote:
Originally Posted by Akhlis
So If I get it right,
I can setup CoLoader 5.2 to use a domain instead of IP?
|
no, u can code a launcher to update the IP used by the ConquerLoader, the open it with the IP updated
|
|
|
02/26/2012, 21:27
|
#18
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Conquer Loader 5.2 can use No-Ip domains.... stop over complicating things.
All the no-ip domain is doing is redirecting you to an ip. When Conquer starts up, it starts up with that ip... not the domain.
|
|
|
02/27/2012, 10:08
|
#19
|
elite*gold: 0
Join Date: Oct 2009
Posts: 63
Received Thanks: 10
|
allready released a loader using this method a while ago all it does is obtains the ip from a domain and writes it to a predefined resourcefile server.dat or loaderset.ini most probably
|
|
|
02/27/2012, 10:24
|
#20
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Quote:
Originally Posted by marlyandedsel
is what I use For Co Loader Client and its working fine......
HTML Code:
try
{
try
{
IPHostEntry serverHE;
try
{
serverHE = Dns.GetHostEntry(Strings.DNS);
}
catch (Exception)
{
MessageBox.Show("Host not found");
Environment.Exit(1);
return;
}
IPAddress IP = serverHE.AddressList[0];
Strings.DNS = IP.ToString();
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
if (File.Exists(System.Windows.Forms.Application.StartupPath + @"\LoaderSet.ini"))
{
File.Delete(System.Windows.Forms.Application.StartupPath + @"\LoaderSet.ini");
List<string> Lines = new List<string>();
Lines.Add("[Loader]");
Lines.Add("IPAddress="+Strings.DNS);
Lines.Add("LoginPort=" + Strings.AuthPort);
Lines.Add("GamePort="+Strings.GamePort);
File.WriteAllLines("LoaderSet.ini", Lines.ToArray());
try
{
Process p = new Process();
p.StartInfo.FileName = "ConquerLoader.exe";
p.StartInfo.CreateNoWindow = true;
p.StartInfo.Arguments = "/r";
p.Start();
Environment.Exit(1);
}
catch
{
MessageBox.Show("ConquerLoader.exe not found!");
}
}
else
{
List<string> Lines = new List<string>();
Lines.Add("[Loader]");
Lines.Add("IPAddress=" + Strings.DNS);
Lines.Add("LoginPort=" + Strings.AuthPort);
Lines.Add("GamePort=" + Strings.GamePort);
File.WriteAllLines("LoaderSet.ini", Lines.ToArray());
try
{
Process p = new Process();
p.StartInfo.FileName = "ConquerLoader.exe";
p.StartInfo.CreateNoWindow = true;
p.StartInfo.Arguments = "/r";
p.Start();
Environment.Exit(1);
}
catch
{
MessageBox.Show("ConquerLoader.exe not found!");
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
Environment.Exit(1);
}
|
Damn you overuse try/catch...
|
|
|
02/27/2012, 17:27
|
#21
|
elite*gold: 0
Join Date: Aug 2011
Posts: 314
Received Thanks: 90
|
Quote:
Originally Posted by marlyandedsel
is what I use For Co Loader Client and its working fine......
HTML Code:
try
{
try
{
IPHostEntry serverHE;
try
{
serverHE = Dns.GetHostEntry(Strings.DNS);
}
catch (Exception)
{
MessageBox.Show("Host not found");
Environment.Exit(1);
return;
}
IPAddress IP = serverHE.AddressList[0];
Strings.DNS = IP.ToString();
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
if (File.Exists(System.Windows.Forms.Application.StartupPath + @"\LoaderSet.ini"))
{
File.Delete(System.Windows.Forms.Application.StartupPath + @"\LoaderSet.ini");
List<string> Lines = new List<string>();
Lines.Add("[Loader]");
Lines.Add("IPAddress="+Strings.DNS);
Lines.Add("LoginPort=" + Strings.AuthPort);
Lines.Add("GamePort="+Strings.GamePort);
File.WriteAllLines("LoaderSet.ini", Lines.ToArray());
try
{
Process p = new Process();
p.StartInfo.FileName = "ConquerLoader.exe";
p.StartInfo.CreateNoWindow = true;
p.StartInfo.Arguments = "/r";
p.Start();
Environment.Exit(1);
}
catch
{
MessageBox.Show("ConquerLoader.exe not found!");
}
}
else
{
List<string> Lines = new List<string>();
Lines.Add("[Loader]");
Lines.Add("IPAddress=" + Strings.DNS);
Lines.Add("LoginPort=" + Strings.AuthPort);
Lines.Add("GamePort=" + Strings.GamePort);
File.WriteAllLines("LoaderSet.ini", Lines.ToArray());
try
{
Process p = new Process();
p.StartInfo.FileName = "ConquerLoader.exe";
p.StartInfo.CreateNoWindow = true;
p.StartInfo.Arguments = "/r";
p.Start();
Environment.Exit(1);
}
catch
{
MessageBox.Show("ConquerLoader.exe not found!");
}
}
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
Environment.Exit(1);
}
|
Jacob is right.
things like this
try
{
Process p = new Process();
p.StartInfo.FileName = "ConquerLoader.exe";
p.StartInfo.CreateNoWindow = true;
p.StartInfo.Arguments = "/r";
p.Start();
Environment.Exit(1);
}
catch
{
MessageBox.Show("ConquerLoader.exe not found!");
}
can be changed for things like
if(File.Exists("ConquerLoader.exe"))
{......
......
}
else
MessageBox.Show("ConquerLoader.exe not found!");
|
|
|
02/27/2012, 21:49
|
#22
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
You don't need to do ANY of that though. You can just put the no-ip address directly into conquerloader's ini file. Stop over complicating it. o.o
|
|
|
03/03/2012, 00:03
|
#23
|
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
|
Quote:
Originally Posted by Fаng
Hey everyone.
I've noticed that people seems to be obsessed with making their IP Address static. I know that in some cases (such as my case), a router might reject a static address because of the internet service provider's forced settings on the network.
A month ago, *** Communications (my ISP) forced my router to DELETE the option of having a static address. I hate using Hamachi, so I come up with this solution:
Code:
if (server.NoIpHost != String.Empty)
{
IPHostEntry ip = Dns.GetHostEntry(server.NoIpHost);
server.IPAddress = ip.AddressList[0].ToString();
}
All you have to do is get a No-IP host and load that instead of the IP Address. Have the client connect to the host and it's good to go. I tested it and I use it for Burning Skies's test server. I can use this to launch my server from any location as well.
Hope this helps someone.
Sincerely,
Spirited Fang
|
Haha
I am a proud user of NO-IP for a while yet  , have used it for my Open Tibia servers back in the days. Never needed it for CO yet though, im not hosting a server yet. I might need it in future again though.
Curious if I will see more no-ip servers in future! >.>
You got my thanks.
|
|
|
03/05/2012, 09:00
|
#24
|
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
|
if i have an network assigned IP and an external IP , can i make so that i can host an server without hamachi ?
|
|
|
03/05/2012, 09:07
|
#25
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Quote:
Originally Posted by mujake
if i have an network assigned IP and an external IP , can i make so that i can host an server without hamachi ?
|
That's exactly what this thread is meant for. I recommend that you code a switch between your no-ip and your local connection so you can launch the server without bringing it online.
|
|
|
03/05/2012, 09:44
|
#26
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Quote:
Originally Posted by jackpotsvr
Curious if I will see more no-ip servers in future! >.>
|
I hope not.
|
|
|
03/05/2012, 10:57
|
#27
|
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
|
|
|
|
03/06/2012, 17:52
|
#28
|
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
|
Quote:
Originally Posted by Fаng
Hey everyone.
I've noticed that people seems to be obsessed with making their IP Address static. I know that in some cases (such as my case), a router might reject a static address because of the internet service provider's forced settings on the network.
A month ago, *** Communications (my ISP) forced my router to DELETE the option of having a static address. I hate using Hamachi, so I come up with this solution:
Code:
if (server.NoIpHost != String.Empty)
{
IPHostEntry ip = Dns.GetHostEntry(server.NoIpHost);
server.IPAddress = ip.AddressList[0].ToString();
}
All you have to do is get a No-IP host and load that instead of the IP Address. Have the client connect to the host and it's good to go. I tested it and I use it for Burning Skies's test server. I can use this to launch my server from any location as well.
Hope this helps someone.
Sincerely,
Spirited Fang
|
Wasn't the problem with NO-IP servers they didn't work on old clients in the server.dat?
|
|
|
03/06/2012, 18:17
|
#29
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Quote:
Originally Posted by jackpotsvr
Wasn't the problem with NO-IP servers they didn't work on old clients in the server.dat?
|
You could always use ConquerLoader 5.2.
|
|
|
03/07/2012, 06:12
|
#30
|
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
|
so i place taht script in Loaderset.ini and in scource in C# or in config.ini in debug?
and make an switch something like:
if my ip =***.***.***.***
switch
my ip = yyy.yyy.yyy.yyy
??? and in loader set i should put yyy.yyy.yyy.yyy???
***.***.***.*** = my network assigned ip
yyy.yyy.yyy.yyy = my external ip
smoething like that?
|
|
|
 |
|
Similar Threads
|
guide: debug pwi, find function addresses and offsets, write a bot(c++ code included)
09/04/2022 - PW Hacks, Bots, Cheats, Exploits - 123 Replies
hi,
let's start right away.
what you can learn:
- trace and call ingame-functions like attack, cast spell, pick up, moveto, ...
- traverse object lists like items, mobs, players
- read ingame structures (class objects) and how they play together
- write your own fully client-side bot that doesnt need to simulate mouse/keyboard input and doesnt need to read pixels
|
[GUIDE] how to make ur server non hamachi guide on youtube
12/12/2010 - EO PServer Guides & Releases - 11 Replies
Well i found this guide on Youtube i though it might help
link : YouTube - MAking Server Public No hamachi
have fun ;)
feel free to ask
|
[GUIDE] Einen eigenen Metin2 Hamachi Pserver [EINFACHER GUIDE]
12/08/2010 - Metin2 Guides & Templates - 20 Replies
Mir war ein bisschen Langweilig da dacht ich, ich mach mal einen Metin2 Hamachi Pserver Guide.
Ich hoffe er gefällt euch ;)
Es ist zwar eine Menge zu Lesen aber der Spaß ist gigantisch.
Folgendes Wird Gebraucht:
1. Hamachi
2. ServerFiles (Per Pn natürlich)
3. Einen Pc oder Laptop mit mindestens 2GB Ram
4. Eine Menge Geduld für den ersten Anlauf
|
[GUIDE]Dynamic Ip
09/24/2010 - EO PServer Guides & Releases - 8 Replies
Most of ppl thats have Dynamic ip and they cant get it static for many of reasons this guide will help you to run ur server without the effected with the changing of ip in sure it will not be as static but will be good for Dynamic users
1st you have to download the following :
1-DynDns Play tool By hio
2-AutoPatchServer 3.0 By forcer
3-No-IP Windows Dynamic Update Client v3.0.4
|
[Addresses to help Wsuo] GMS v.52- 53 addresses
05/09/2008 - MapleStory - 7 Replies
Thought i'd leech this to save you some time for what you are looking for.
|
All times are GMT +1. The time now is 23:56.
|
|