[Release] Semi-Fix Invalid Pointer

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Account Inactive benjooo is offline
    InactiveRank
    Jan 2006 Join Date
    59Posts

    [Release] Semi-Fix Invalid Pointer


    RaGEZONE Recommends

    RaGEZONE Recommends

    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
    PHP Code:
    void MySQL::deleteRow(chartableint id){
        
    char query[255]; 
        
    sprintf_s(query255"delete from %s where ID='%d';"tableid);
        
    mysql_real_query(&maple_dbquerystrlen(query));

    ADD THIS
    PHP Code:
    void MySQL::PointerError(){
        
    char query[255];
        
    sprintf_s(query255"update Characters set map='100000000' where map='999999999'");
        
    mysql_real_query(&maple_dbquerystrlen(query));
        } 
    In Login.CPP UNDER
    PHP Code:
    LoginPacket::loginConnect(playerusernameusersize); 
    ADD THIS
    PHP Code:
    MySQL::PointerError(); 
    In MySQLM.h UNDER
    PHP Code:
        static int getSkills(int idint skills[200][2]); 
    Add this
    PHP Code:
        static void PointerError(); 
    Also add this in Players.cpp on top
    PHP Code:
    #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 by benjooo; 22-04-08 at 05:05 PM.


  2. #2
    Delta Sparks is offline
    Alpha MaleRank
    Apr 2008 Join Date
    2,073Posts

    Re: [Release] Semi-Fix Invalid Pointer

    Um......

    http://forum.ragezone.com/f427/relea...9999-a-389361/

    You're copy and paste then re-credit skills are GREAT! // sarcasm

  3. #3
    Account Inactive benjooo is offline
    InactiveRank
    Jan 2006 Join Date
    59Posts

    Re: [Release] Semi-Fix Invalid Pointer

    lol?
    Compare it, it's not the same.
    Believe it or not,
    i coded it myself without looking at that topic. =.="

  4. #4
    Delta Sparks is offline
    Alpha MaleRank
    Apr 2008 Join Date
    2,073Posts

    Re: [Release] Semi-Fix Invalid Pointer

    I know its not coded the same.

    Its still the same concept. And its still here. His works just fine

  5. #5
    Account Inactive Ruezu is offline
    InactiveRank
    Feb 2008 Join Date
    164Posts

    Re: [Release] Semi-Fix Invalid Pointer

    This is way more different :D and cleaner! Thanks :)

  6. #6
    Account Inactive benjooo is offline
    InactiveRank
    Jan 2006 Join Date
    59Posts

    Re: [Release] Semi-Fix Invalid Pointer

    Quote Originally Posted by Sparks View Post
    I know its not coded the same.

    Its still the same concept. And its still here. His works just fine
    So don't say copy and paste = ="
    Atleast i'm trying to help MS Source.

  7. #7
    Account Inactive Ruezu is offline
    InactiveRank
    Feb 2008 Join Date
    164Posts

    Re: [Release] Semi-Fix Invalid Pointer

    Quote Originally Posted by benjooo View Post
    So don't say copy and paste = ="
    Atleast i'm trying to help MS Source.
    Ignore him and move on, he is expressing their opinion. Don't be put down by it. Thanks again!

  8. #8
    Computer Science Student Vintage is offline
    True MemberRank
    Mar 2008 Join Date
    291Posts

    Re: [Release] Semi-Fix Invalid Pointer

    I like this one better as well, You can always rely on IF statements

  9. #9
    Account Inactive benjooo is offline
    InactiveRank
    Jan 2006 Join Date
    59Posts

    Re: [Release] Semi-Fix Invalid Pointer

    Quote Originally Posted by Ruezu View Post
    Ignore him and move on, he is expressing their opinion. Don't be put down by it. Thanks again!
    Hes not putting me down rofl.

  10. #10
    Account Inactive npmaple is offline
    InactiveRank
    Apr 2008 Join Date
    Israel - a bad placeLocation
    281Posts

    Re: [Release] Semi-Fix Invalid Pointer

    i gonna use it
    i actually trying to use the post from before...
    anyway i gonna change the relog map...

  11. #11
    Account Inactive benjooo is offline
    InactiveRank
    Jan 2006 Join Date
    59Posts

    Re: [Release] Semi-Fix Invalid Pointer

    Quote Originally Posted by Vintage View Post
    I like this one better as well, You can always rely on IF statements
    Exactly, at first. i tested it with !fix as gm command. lol ^^

  12. #12
    Account Inactive benjooo is offline
    InactiveRank
    Jan 2006 Join Date
    59Posts

    Re: [Release] Semi-Fix Invalid Pointer

    added #include "MySQLM.h" , forgot about that.

  13. #13
    Delta Sparks is offline
    Alpha MaleRank
    Apr 2008 Join Date
    2,073Posts

    Re: [Release] Semi-Fix Invalid Pointer

    I was only expressing my thoughts, Not trying to put anyone down.

    Anyways as much as I hate to say it this one is deffinetivly MUCH cleaner/ better.

    Less trouble too.

  14. #14
    Account Inactive BecauseChangeHZ is offline
    InactiveRank
    Nov 2007 Join Date
    108Posts

    Re: [Release] Semi-Fix Invalid Pointer

    haha sparks got banned o shi

  15. #15
    Account Inactive Hydroxygen is offline
    InactiveRank
    Jan 2009 Join Date
    Eccm.tkLocation
    64Posts

    Re: [Release] Semi-Fix Invalid Pointer

    This thread is a year and a day old. Read the dates....




Page 1 of 2 12 LastLast

Advertisement