Request auto update -> Server.dat

09/20/2008 22:15 © Haydz#16
Quote:
Originally Posted by taguro View Post
[Only registered and activated users can see links. Click Here To Register...] provides a program that automatically updates the dynamic ip as part of their service. Perhaps this would be a viable option for you guys =P
thats what they're planning on doing... using a domain from dyndns as their website domain (which auto updates the host using their DynDns which is provided) and then getting the IP from that webhost and writing to Server.dat for their clients... and urm i'll just show you all the code :P
here is how i did it for Project-X:
Code:
 
string IP = Dns.GetHostEntry("projectxco.noip.biz").AddressList[0].ToString();
if (IP == null)
MessageBox.Show("Server Offline...");
else
{
string[] Lines = new string[] { "[Header]", "GroupAmount=1","Group1=GroupPic8","
","[Group1]","ServerAmount=1","","Server1=Project-X",
"Ip1="+IP,"Port1=9958","ServerName1=Project-X",
"HintWord1=","Pic1=servericon58"};
File.WriteAllLines(@"Server.dat", Lines);
}
Any questions feel free to ask - cause i won't reply :o
09/20/2008 22:33 ~Yuki~#17
Quote:
Originally Posted by © Haydz View Post


Any questions feel free to ask - cause i won't reply :o
ROFLMAO
09/20/2008 22:36 © Haydz#18
Quote:
Originally Posted by glupkotrup View Post
Hey Haydz when you started makin' them... When you finish your season on FIFA 08/09 can you make one for me? +k if you do (I can't do it myself right now, I'm wayyyy to busy)
Finished that season ... currently playing on fight night Beating many people up :pimp: cause im pro liek that :rolleyes:
09/20/2008 22:48 _Emme_#19
You cant beat people up haydz,you only get beaten down.
09/20/2008 22:52 © Haydz#20
Quote:
Originally Posted by emildayan1 View Post
You cant beat people up haydz,you only get beaten down.
how dare you crush my dreams, you could atleast let me pretend


ONTOPIC:

To add an object to a hashtable:

Code:
Clients.Add(Client.Char.UID,Client);
Clients being your Hashtable Variable the parameter Client.Char.UID Being your hashtable Key and the paramater Client being the object to be added.
09/20/2008 22:55 ~*NewDuuDe*~#21
Quote:
Originally Posted by © Haydz View Post
how dare you crush my dreams, you could atleast let me pretend
U be kick ass :handsdown:
09/20/2008 22:59 © Haydz#22
Quote:
Originally Posted by BERGHUIS1 View Post
U be kick ass :handsdown:
aww :o Don't make me blush
09/20/2008 23:00 ~*NewDuuDe*~#23
Quote:
Originally Posted by © Haydz View Post
aww :o Don't make me blush
okay, i be kick u ass
09/21/2008 00:35 glupkotrup#24
@Haydz Lol wanna play vs. me on EA Online? If you do PM me with your nick.

P.S. I'm 48th ranked on EA online top list :o
09/21/2008 05:47 elragal_30#25
Thank you
i don't need it but i learn some commands from it
+thanks