![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
![]() 15mins work ![]() mostly just copy n pasting from projectc2 guide will improve on it and do more things internally when i have free time if anything is wrong/needs to be added just leave a reply... (which i probably left out alot... didnt have time to do a proper job gf)(Edit: written in C# using VS2005, so .net 2.0 is required to run this) |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2006
Posts: 30
|
Niceeeeeeeee
![]() Congratulations ! |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2005
Posts: 39
|
Digital , when will operate time bomb in your Extra 2 ?
Code:
3) Under \System32\Drivers\Etc\ Open hosts file and add the following line into it 2xx.xx.xx.xx auth3.tfqj.com ps: /excuse me for bad english/ ps2: nice guide for noobs =) |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2006
Posts: 16
|
nice
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 463
|
^^
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Nice.. Will check at home!
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
updated version... v0.11
suppose to show LAN IPs and WAN IPs on the status bar (wan ip is buggy... if anyone have good c# code for this drop me them thanks) button to open boot.ini to edit... [Edit] next up.. probably work on mssql auto detection, auto insert of DSN if possible someone do give me a hand n make a sql script to create all databases i know u guys could do it, dun disappoint me :P then i'll write a procedure to run the script to create all the database and data inside, it'll help us all isnt it? |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
C# WAN IP (Fix) =P
Code:
string ipAddress = null;
System.Net.WebRequest webRequest = System.Net.HttpWebRequest.Create("http://ripper.net.ar/ip.php");
System.Net.HttpWebResponse webResponse = (System.Net.HttpWebResponse)webRequest.GetResponse();
System.IO.StreamReader streamReader = new System.IO.StreamReader(webResponse.GetResponseStream());
string response = streamReader.ReadToEnd();
streamReader.Close();
ipAddress=response;
![]() bb, good luck Pd: U can use the url ripper.net.ar/ip.php it's 24hs hosting, so no problem ![]() [edit] Here I created a querydb to create each db and run the script of each one. Test it =) |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
i've tried that way of getting the wan ip but somehow it encounter error on webRequest.GetResponse();
System.Net.WebException was unhandled Message="The underlying connection was closed: An unexpected error occurred on a receive." Source="System" StackTrace: at System.Net.HttpWebRequest.GetResponse() at L2ServerInstaller.Form1.GetExternalIP() i'll look into the database query code after lunch bbl
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Maybe This ?
Code:
using System.Net;
using System.IO;
WebRequest webRequest = HttpWebRequest.Create("http://ripper.net.ar/ip.php");
webRequest.Timeout = 120000;
HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse();
StreamReader streamReader = new StreamReader(webResponse.GetResponseStream());
IPAddress = streamReader.ReadToEnd();
streamReader.Close();
MessageBox.Show(IPAddress);
Try it. |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Feb 2006
Posts: 139
|
nice tool
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
well.. it doesnt work :S
same problem persist... this is my code... // Send the request and hopefully we'll get response. // Try to parse out the IP address from the returned HTML try { //http://dynupdate.no-ip.com/ip.php //http://www.whatismyip.com //http://www.getmyipaddress.com //http://checkip.dyndns.org //http://ripper.net.ar/ip.php WebRequest myRequest = WebRequest.Create("http://ripper.net.ar/ip.php"); myRequest.Timeout = 320000; // Send request, get response, and parse out the IP address on the page. //HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse(); using (WebResponse res = myRequest.GetResponse()) { using (Stream s = res.GetResponseStream()) using (StreamReader sr = new StreamReader(s, Encoding.UTF8)) { string html = sr.ReadToEnd(); Regex regex = new Regex(@"\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b"); string ipString = regex.Match(html).Value; return ipString; } } } catch (Exception ex) { string a = ex.Message; return "<Unable to resolve>"; } |
|
|
|
|
#13 | |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Quote:
Add me to ur messenger and we will see how to fix this sh*t. bb |
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
oh well... didnt have much time to finish up the dsn coding... so those wont work for now... (same for datagridview controls)
hopefully the create databases would work... :P will work on it more when i'm free... so in the meantime it'll look like this... have fun :P |
|
|
|
|
#15 |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
can't run the program... either version dies on me...
i have .net framework 2.0 installed... what can it be? |
|
|
|
|
#16 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
simple reason.. it's just a draft..
i'm still coding it.. lol... so far havent got time to move on with it |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
take as long as you want... though not too long xD
hehehehe |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
take as long as you want... though not too long xD
hehehehe |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
updated v0.13
should work this time round... (hope) if possible help me check out the sql script and odbc.reg making sure they all work out... (if possible fix them for me.. seriously no time) [Edit] attachment on first post. -out |
|
|
|
|
#20 |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
so.... how do i try it to c all the stuff mentioned, cause even though its still beta-alpha-beta-beta-version and stuff... i c that ppl can run it and check stuff... but i still cant... do i need something special? T_T
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
this is indeed a odd problem... hmmm
basically all u need is .net 2.0 installed and extract the .rar contents into your base l2 folder and run the l2serverinstaller.exe nothing else is required ![]() do give it another try, if u cant report the error/screenshot of what happened |
|
|
|
|
#22 |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
hmm.. really weird.. it works fine for me :S
(same way it is for me) as well for a couple of other ppl... and from the error log.. there isnt anything much i could use to pinpoint where the error was occurring from... it died on u when u tried to run it right? u didnt even saw any of the main screen? |
|
|
|
|
#25 |
|
Архивный участник
Join Date: Jan 2006
Posts: 39
|
yep... did not show anything... it died before it even showed anything
could be because i did not have mssql installed... cause cant find an installer for windows xp x64... gonna install windows 2003 server in vmware... so as to try before i format xD |
|
|
|
|