Thread: Pets AS3

Results 1 to 4 of 4
  1. #1
    bog624's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    873
    Reputation
    95
    Thanks
    1,982
    My Mood
    Aggressive

    Pets AS3

    So Ive used two fixes so far brand new source, used the one desire mentioned in helps section for database error and that fixed my main problem then I got hp pots problem turned UpdateNeeded = true; to true rather the flase default but Im having problems with the pet actually registering without me having to relog. if you keep clicking follow it does act like ive followed but anything beyond that isnt noticeable

    Good Day.



    Quote Originally Posted by DimitriSavage View Post
    *le wild bog is hunting in his natural habitat....le wild bog sees pray...le wild bog uses HACK....le wild bog wins....le wild bog is evolving....le wild bog is now le wild gob*

    LE WILD BOG IN LE POKEDEX : POKEDEX ENTRY

    LE WILD GOB IN LE POKEDEX : POKEDEX ENTRY

    TEH FINAL EVOLUTION OF LE WILD BOG : POKEDEX ENTRY


  2. #2
    _Abyssal_'s Avatar
    Join Date
    Feb 2019
    Gender
    male
    Posts
    14
    Reputation
    21
    Thanks
    2
    My Mood
    Hot
    Quote Originally Posted by bog624 View Post
    So Ive used two fixes so far brand new source, used the one desire mentioned in helps section for database error and that fixed my main problem then I got hp pots problem turned UpdateNeeded = true; to true rather the flase default but Im having problems with the pet actually registering without me having to relog. if you keep clicking follow it does act like ive followed but anything beyond that isnt noticeable

    Go to server.sln
    Find db => database.cs
    Now inside the database.cs find: public int GetNextPetId(string accId)
    Below you'll see: int ret:...
    Replace the entire line with this: int ret = Convert.ToInt32(cmd.ExecuteScalar()) + 1;


    Hope it was useful for you.

  3. The Following User Says Thank You to _Abyssal_ For This Useful Post:

    bog624 (12-26-2019)

  4. #3
    bog624's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    873
    Reputation
    95
    Thanks
    1,982
    My Mood
    Aggressive
    Quote Originally Posted by _Abyssal_ View Post
    Go to server.sln
    Find db => database.cs
    Now inside the database.cs find: public int GetNextPetId(string accId)
    Below you'll see: int ret:...
    Replace the entire line with this: int ret = Convert.ToInt32(cmd.ExecuteScalar()) + 1;


    Hope it was useful for you.
    you know whats weird is this actually fixed my problem and it added a db file to the list to load so maybe replacing it fixed it idk? for some reason I had the same line of code but indented so maybe that was why? Thanks for the help man!@_Abyssal_ ill be sure to rep for this.
    Side note this is in 4k so it looks weird.

    P.S. First thanks, And thanks for the help.
    Last edited by bog624; 12-26-2019 at 11:46 PM.
    Good Day.



    Quote Originally Posted by DimitriSavage View Post
    *le wild bog is hunting in his natural habitat....le wild bog sees pray...le wild bog uses HACK....le wild bog wins....le wild bog is evolving....le wild bog is now le wild gob*

    LE WILD BOG IN LE POKEDEX : POKEDEX ENTRY

    LE WILD GOB IN LE POKEDEX : POKEDEX ENTRY

    TEH FINAL EVOLUTION OF LE WILD BOG : POKEDEX ENTRY


  5. #4
    _Abyssal_'s Avatar
    Join Date
    Feb 2019
    Gender
    male
    Posts
    14
    Reputation
    21
    Thanks
    2
    My Mood
    Hot
    Quote Originally Posted by bog624 View Post

    you know whats weird is this actually fixed my problem and it added a db file to the list to load so maybe replacing it fixed it idk? for some reason I had the same line of code but indented so maybe that was why? Thanks for the help man!@_Abyssal_ ill be sure to rep for this.
    Side note this is in 4k so it looks weird.

    P.S. First thanks, And thanks for the help.
    Haha. If it are running without problems, then that's good.

    4K Rotmg Stonks.

Similar Threads

  1. [FSOD] [AS3] How to add new pet skins, new pet families and new pet rarities!
    By BurgerLoverMx in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 14
    Last Post: 08-30-2017, 08:39 AM
  2. [Solved] Rotmg [Fsod/As3] Error with adding pets
    By Wojtasowy1234 in forum Realm of the Mad God Private Servers Help
    Replies: 0
    Last Post: 03-19-2017, 09:50 AM
  3. [Solved] Adding latest pet skins in AS3 FSOD error
    By 9Gold in forum Realm of the Mad God Private Servers Help
    Replies: 2
    Last Post: 12-31-2016, 07:58 AM
  4. [Solved] PLEASE HELP ME!!AS3 PET HEAL ERROR!! PLEASE HELP!!!!
    By OGgurk in forum Realm of the Mad God Private Servers Help
    Replies: 7
    Last Post: 04-30-2016, 10:10 PM
  5. Regnum AS3 (My pet project)
    By lkdjnfoskjednfblksjdfn in forum Realm of the Mad God Private Servers Discussion
    Replies: 13
    Last Post: 04-05-2016, 01:52 AM