Description:
Everytime you enter map's that are bugged, you get logged off MapleStory with the error "Invalid Pointer" Such as when entering the elevator.
Your character Map ID gets changed to the bug map.
Now you cannot login untill you change it manually in Query Browser SQL.
Fix:
*NOTE*
It's an semi-fix,
What i mean with this is that, you will get warped to bug map when using bugged portal's, however. When starting maple you can just login, and you will be in hennesys again.
This will become handy to public MS server's who get's alot of complain's about this.
What to do:
In MySQLM.CPP UNDER
ADD THIS
In Login.CPP UNDER
ADD THIS
In MySQLM.h UNDER
Add this
Also add this in Players.cpp on top
It's a simple code i wrote, Everytime you login, it fixes the map bug.
Untill theres a full fix for it, i advice you to use this.
Greets.
Everytime you enter map's that are bugged, you get logged off MapleStory with the error "Invalid Pointer" Such as when entering the elevator.
Your character Map ID gets changed to the bug map.
Now you cannot login untill you change it manually in Query Browser SQL.
Fix:
*NOTE*
It's an semi-fix,
What i mean with this is that, you will get warped to bug map when using bugged portal's, however. When starting maple you can just login, and you will be in hennesys again.
This will become handy to public MS server's who get's alot of complain's about this.
What to do:
In MySQLM.CPP UNDER
PHP:
void MySQL::deleteRow(char* table, int id){
char query[255];
sprintf_s(query, 255, "delete from %s where ID='%d';", table, id);
mysql_real_query(&maple_db, query, strlen(query));
}
ADD THIS
PHP:
void MySQL::PointerError(){
char query[255];
sprintf_s(query, 255, "update Characters set map='100000000' where map='999999999'");
mysql_real_query(&maple_db, query, strlen(query));
}
In Login.CPP UNDER
PHP:
LoginPacket::loginConnect(player, username, usersize);
ADD THIS
PHP:
MySQL::PointerError();
In MySQLM.h UNDER
PHP:
static int getSkills(int id, int skills[200][2]);
Add this
PHP:
static void PointerError();
Also add this in Players.cpp on top
PHP:
#include "MySQLM.h"
It's a simple code i wrote, Everytime you login, it fixes the map bug.
Untill theres a full fix for it, i advice you to use this.
Greets.
Last edited: