[Tools] Getting v88 localhost to work.

Edit: Fixed


---------------------------------
New problem:

I login through the client, and after it brings up the GMS patcher page, I click Okay (I've also tried pressing the escape button) and then the window goes away, and then nothing else happens...There is no post in the batch

Any ideas?

-Greatly appreciated
~DT~
 
Last edited:
I login through the client, and after it brings up the GMS patcher page, I click Okay (I've also tried pressing the escape button) and then the window goes away, and then nothing else happens...There is no post in the batch

I'm having this problem too, I've tried targeting both the MapleStory.exe and the GameLauncher.exe
 
I'm having this problem too, I've tried targeting both the MapleStory.exe and the GameLauncher.exe

That is because your Hackshield has it latest update,
you can downgrade the hackshield with this program.
Note: everytime you start ur private server you have to re-downgrade your hackshield.

Anyways here's the hackshield downgrader


.. Just like almost all the others I can't create character to:/:
If someone have a fix to solve this problem or a solution for it, please share it with us!
 
how do you Compile all the stuff to make localhost? Is there a tutorial?
and how wheres the structure.sql i need to execute?
 
Last edited:
I got question,

I got all working passed simon check etc. But iam ingame now and when i want to equip an item i can't equip it. @dispose doesnt work. Some portals i can't enter. Please any solutions?

---------- Post added at 11:24 AM ---------- Previous post was at 10:52 AM ----------

NVM FIXed :)
 
I dont get the second step. "What does it mean you must get rid of the IP check, otherwise you'll get "OutOfMemory" exception". what does that mean? where r the IP check thing? This is so confusing... :$:
 
First of all:
I take no credits for this but also I didn't take these from anywhere other than my head.
This is not going to tell you how to get rid of simon's account thingy and if you can't get rid of that you should now grab a java, c++, c# c, or whatever high level language book and read it thoroughly, then you'll get away from being a frigging noob. Flames are welcomed because I don't really care.

Firstly you download the v88 localhost : - released by Raptor Jesus

And download Microsoft Visual C# :

Secondly you must get rid of the IP check, otherwise you'll get "OutOfMemory" exception.
Here I am not converting the Hex for you so just replace the checkIP() with:
PHP:
        public static bool checkIP(string input)
        {
            return true;
        }

Then you can change the IP to your IP
PHP:
        public static string toIP = "your.ip.here.and.domains.probably.don't.work";
Compile and get your own MapleHost.exe from the Project folder/bin/release/MapleHost.exe

Lastly the checkAccount part, it will always say your server's down, so you must put this php page to your wamp server: Taken from Kerelmans
PHP:
<?php
## Database Information
$database = array(
		"host" => "localhost",
		"user" => "root",
		"pass" => "yourpassword",
		"dbse" => "yourdatabasename"
		);
		
## Connect To Database
mysql_connect($database['host'], $database['user'], $database['pass']) or die("0-Database server is offline.");
mysql_select_db($database['dbse']) or die("0-Database isn't available.");

## 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 '0-Wrong username or password.';
	}
}
?>

Name that file "accountCheck.php" and load it up to a web server(for instance your wamppy).

Now you should be able to build flawlessly and get connected, if still not, set up loopback adapters to your IP(not localhost, the IP starts with "169.")

Edit#1: Don't forget to execute the structure.sql.

Edit#2: If you disconnect after selecting channels, do the following:
Go to your CharlistRequestHandler.java and replace the whole thing with:
PHP:
package net.login.handler;

import client.MapleClient;
import net.AbstractMaplePacketHandler;
import tools.data.input.SeekableLittleEndianAccessor;
import tools.Pair;
import constants.ServerConstants;

public final class CharlistRequestHandler extends AbstractMaplePacketHandler {
        @Override
    public final boolean validateState(MapleClient c)
    {
        return true;
    }
    public final void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
        System.out.println("CharlistRequestHandler-");
        slea.readByte();
       // Pair<String, String> UPP = getUserPassPair(slea.readMapleAsciiString());
       // c.setAccountName(UPP.getLeft());
     //   performLogin(UPP);
        //slea.skip(21);
        int server = slea.readByte();
        c.setWorld(server);
        if (!c.isLoggedIn() && ServerConstants.DEBUG)
        {
            c.setAccountName("Simon");
            c.setAccID(418);
        }else{
            c.disconnect();//This isn't a noob check, this is to prevent hackers.
        }
        System.out.println("Server choice: " + server);
        int channel = slea.readByte() + 1;
        System.out.println("Channel choice: " + channel);
        c.setChannel(channel);
        c.sendCharList(server);
    }

  /*  private Pair<String, String> getUserPassPair(String authStr)
    {
        String dataSection = authStr.split(":")[4];
        String[] UserAndPass = dataSection.split("\\\\");
        return new Pair<String, String>(UserAndPass[0], UserAndPass[1]);
    }

    private void performLogin(Pair UPP)
    {
        //todo: real logic here but for now
        System.out.println("User: " + UPP.getLeft());
        System.out.println("Pass: " + UPP.getRight());
    }*/
}

Edit#4: Then edit your client's source - Program.cs: Change the
PHP:
public static string accountCheck = "http://localms.net/accountcheck.php"; //http://localms.net/accountcheck.php?username=Gay&password=Person
to
PHP:
public static string accountCheck = "http://[Your domain/IP here]/accountcheck.php";

Note: Again, this won't get you away from loging in with simon's accout.
About simon's account: Go to your Database, accounts and make an account with id 418, name simon and others don't matter.

Edit#3: You shouldn't run the server and the client on the same machine otherwise the client's redirect server won't work, unless you know an alternative to fix that e.g loopback adaptors.


Edit#4: No further help will be provided on the server side.

Edit#5: To flamers: can you guys please read properly ? Simon said it was not a noob check, the simon account isn't a check, it's just the only way to login from the host computer because it does not send auth packet. If you don't touch it and login from other computers it isn't a problem so wtf are you thinking ? Are you the noob who can't get in game here ?

Edit#6: For those who D/C on clicking channels, it's because your login from host machine and actually you aren't logged in. I changed the ServerlistRequestHandler a bit and you should log yourself in in the ClientStartHandler.java (You should know how to do that, and you should verify yourself otherwise other people would be logging in from the specified account.).

Edit#7: If you haven't installed .NET Framework 3.5 or later, or if you are having tones of error/problems working along,
download .NET Framework:

Domain is absolutely working, i am using domain in it
tip given by "csharp"
u just need to resolve the DNS

---------- Post added at 03:37 PM ---------- Previous post was at 03:36 PM ----------

To get the domain to work, enter your domain in the IP and set ResolveDNS to True...

sorry dude, nvr saw ur post >..<
 
OKAY!
I did it with the Simon account..
It works but How do I get GM powers.... I tried editing in SQL for GMs to 5
But it's not working.
 
Last edited:
What you mean by nothing happens? If you logged in successfully through the acccountCheck.php, it should open the game.
He means after hackshield nothing happens.
For that, you can download HShield Downgrader from other v88 websites or code a hackshield downgrader yourself
 
Back