Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Xevarz - Redirector(Works for v141!)

Status
Not open for further replies.
Elite Diviner
Joined
May 4, 2011
Messages
491
Reaction score
105
Yep.

Simply edit startMapleStory to start GameLauncher.exe.

routeIP();
startMapleStory("GameLaunching");
ClientSession.Listen();

Like that? or the acutal "MapleStory" part? the above^ still opens patcher when using Hamachi, using my wan ip still gives firewall..
 
Joined
Apr 10, 2008
Messages
4,087
Reaction score
1,264
Hey could you tell me how or what URL i should change to? Does it have to reference a URL?

Put the .php accountcheck file on your webhost and use that link.

yourserver.com/accountcheck.php, for example.

routeIP();
startMapleStory("GameLaunching");
ClientSession.Listen();

Like that? or the acutal "MapleStory" part? the above^ still opens patcher when using Hamachi, using my wan ip still gives firewall..

Replace startMapleStory line with:

Code:
Process.Start(Application.StartupPath + @"\GameLauncher.exe");

GameLaunching still launches Patcher as far as I know.
 
Newbie Spellweaver
Joined
Apr 2, 2013
Messages
78
Reaction score
7
PHP:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.Sockets.SocketException (0x80004005): An attempt was made to access a socket in a way forbidden by its access permissions
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at System.Net.Sockets.TcpListener.Start(Int32 backlog)
   at Xevarz.ClientSession.Listen()
   at WindowsFormsApplication1.frmMain.minimizeToTaskbar()
   at WindowsFormsApplication1.frmMain.frmMain_VisibleChanged(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   at WindowsFormsApplication1.frmMain.minimizeToTaskbar()
   at WindowsFormsApplication1.frmMain.frmMain_VisibleChanged(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Xevarz
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Games/MapleStory/Xevarz.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18044 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

how to fix it i run Xevarz.exe show is message

PHP:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at WindowsFormsApplication1.frmLogin.loginButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Xevarz
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Games/MapleStory/Xevarz.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18044 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Elite Diviner
Joined
May 4, 2011
Messages
491
Reaction score
105
Put the .php accountcheck file on your webhost and use that link.

yourserver.com/accountcheck.php, for example.




Replace startMapleStory line with:

Code:
Process.Start(Application.StartupPath + @"\GameLauncher.exe");

GameLaunching still launches Patcher as far as I know.

Seems to just load gms now as much as I want this to work I think I should give up I can't even get a redirector to work :p
 
Junior Spellweaver
Joined
Apr 3, 2013
Messages
177
Reaction score
24
Put the .php accountcheck file on your webhost and use that link.

yourserver.com/accountcheck.php, for example.



Replace startMapleStory line with:

Code:
Process.Start(Application.StartupPath + @"\GameLauncher.exe");

GameLaunching still launches Patcher as far as I know.


I get this error:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at WindowsFormsApplication1.frmLogin.loginButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
Newbie Spellweaver
Joined
Nov 19, 2009
Messages
83
Reaction score
2
it dies here :
listener.Start();

in the listen function in clientsession.cs

*I removed uac, firewall and ran it as admin.
 
Newbie Spellweaver
Joined
Nov 19, 2009
Messages
83
Reaction score
2
ohhhhhhhhhhhhhhhhhhhhhhhhh....
does loopback fix this?

thanks for reply.
 
Newbie Spellweaver
Joined
Nov 19, 2009
Messages
83
Reaction score
2
Code:
netsh int ip add addr 1 8.31.99.141

This will loopback MapleStory to you. To remove, change "add" to "delete".

Could you explain what it does?

It says object already exists.
 
Skilled Illusionist
Joined
Feb 15, 2013
Messages
323
Reaction score
10
WTF is error in Fraysa Redirector ???

 
Newbie Spellweaver
Joined
Nov 19, 2009
Messages
83
Reaction score
2
One last qn.
Can others still connect to me if i set up the loopback?
or do i have to remove it?

thanks for all your help :)
 
Skilled Illusionist
Joined
Feb 15, 2013
Messages
323
Reaction score
10
Again, place breakpoints to see why this happens. It's a problem in your PHP Script.

how is breakpoints looks like ?

accountcheck.php
Code:
<?php
## Database Information
$database = array(
        "host" => "localhost",
        "user" => "root",
        "pass" => "",
        "dbse" => "fuckms"
        );
         
## Connect To Database
mysql_connect($database['host'], $database['user'], $database['pass']) or die("Unable to connect to Database");
mysql_select_db($database['dbse']) or die("Unable to connect to server.");
 
## All the other stuff...
if (!empty($_GET['username']) && !empty($_GET['password'])) {
    $username = htmlspecialchars(mysql_real_escape_string($_GET['username']));
    $password = mysql_real_escape_string($_GET['password']);
 
    $AQuery = sprintf("
    SELECT COUNT('id')  
    FROM accounts  
    WHERE name = '%s' AND password = '%s'",
    $username, $password);
    $aresult = mysql_query($AQuery);
    $atotal = mysql_result($aresult, 0);
    $reply = ($atotal > 0) ? true : false;
 
    // return $reply;
    if ($reply) {
        echo '1';
    } else {
        echo 'Incorrect Username or Password.';
    }
}
?>

accountdata.php
Code:
<?php
## Database Information
$database = array(
        "host" => "localhost",
        "user" => "root",
        "pass" => "",
        "dbse" => "fuckms"
        );
         
## Connect To Database
mysql_connect($database['host'], $database['user'], $database['pass']) or die("Unable to connect to Database");
mysql_select_db($database['dbse']) or die("Unable to connect to server.");


$username = htmlspecialchars(mysql_real_escape_string($_GET['username']));


$result = mysql_query($con,"SELECT * FROM accounts WHERE name = '$username'");


while($row = mysql_fetch_array($result))
  {
    echo $row['gm'];
    echo "<>";
    echo $row['vpoints'];
    echo "<>";
    echo $row['ACash'];
   }
?>
 
Last edited:
Status
Not open for further replies.
Back
Top