Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 20.04.2006, 02:23   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Share] L2 Server Installer v0.13 (draft updated)



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)
Digital is offline  
Old 20.04.2006, 04:02   #2
Carol
Архивный участник
 
Join Date: Apr 2006
Posts: 30
Default

Niceeeeeeeee

Congratulations !
Carol is offline  
Old 20.04.2006, 04:35   #3
kok
Архивный участник
 
Join Date: Jun 2005
Posts: 39
Default

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
2 years ago the similar result there was on server MuOnline

ps: /excuse me for bad english/
ps2: nice guide for noobs =)
kok is offline  
Old 20.04.2006, 16:01   #4
shturm
Архивный участник
 
Join Date: Apr 2006
Posts: 16
Default

nice
shturm is offline  
Old 20.04.2006, 17:57   #5
wton
Архивный участник
 
Join Date: May 2005
Posts: 463
Default

^^
wton is offline  
Old 20.04.2006, 18:26   #6
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

Nice.. Will check at home!
Megatronpt is offline  
Old 21.04.2006, 03:34   #7
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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?
Digital is offline  
Old 21.04.2006, 03:46   #8
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default

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;
So ipAddress have ur wan IP

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 =)
RipperX is offline  
Old 21.04.2006, 04:45   #9
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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
Digital is offline  
Old 21.04.2006, 05:07   #10
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default

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);
I modified using namespaces and added Timeout property at 2min.

Try it.
RipperX is offline  
Old 21.04.2006, 05:18   #11
rar
Архивный участник
 
Join Date: Feb 2006
Posts: 139
Default

nice tool
rar is offline  
Old 21.04.2006, 06:03   #12
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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>";
}
Digital is offline  
Old 21.04.2006, 06:12   #13
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default

Quote:
Originally Posted by Digital
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>";
}
The code is totally fine, that can't be wrong. Works fine 4 me.
Add me to ur messenger and we will see how to fix this sh*t.

bb
RipperX is offline  
Old 23.04.2006, 16:29   #14
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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
Digital is offline  
Old 26.04.2006, 03:22   #15
GriffiN
Архивный участник
 
Join Date: Jan 2006
Posts: 39
Default

can't run the program... either version dies on me...
i have .net framework 2.0 installed... what can it be?
GriffiN is offline  
Old 26.04.2006, 12:14   #16
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

simple reason.. it's just a draft..
i'm still coding it.. lol... so far havent got time to move on with it
Digital is offline  
Old 28.04.2006, 03:23   #17
GriffiN
Архивный участник
 
Join Date: Jan 2006
Posts: 39
Default

take as long as you want... though not too long xD
hehehehe
GriffiN is offline  
Old 28.04.2006, 03:23   #18
GriffiN
Архивный участник
 
Join Date: Jan 2006
Posts: 39
Default

take as long as you want... though not too long xD
hehehehe
GriffiN is offline  
Old 29.04.2006, 11:57   #19
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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
Digital is offline  
Old 01.05.2006, 09:31   #20
GriffiN
Архивный участник
 
Join Date: Jan 2006
Posts: 39
Default

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
GriffiN is offline  
Old 01.05.2006, 15:05   #21
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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
Digital is offline  
Old 03.05.2006, 17:20   #22
GriffiN
Архивный участник
 
Join Date: Jan 2006
Posts: 39
Default

ok, i put it in the l2server folder... [see image]


and i get this...


i cant copy the whole error report
GriffiN is offline  
Old 03.05.2006, 17:20   #23
GriffiN
Архивный участник
 
Join Date: Jan 2006
Posts: 39
Default

ok, i put it in the l2server folder... [see image]


and i get this...


i cant copy the whole error report
GriffiN is offline  
Old 04.05.2006, 04:07   #24
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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?
Digital is offline  
Old 08.05.2006, 21:20   #25
GriffiN
Архивный участник
 
Join Date: Jan 2006
Posts: 39
Default

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
GriffiN is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:51.