HelpPets AS3

Posts 1–4 of 4 · Page 1 of 1
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

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.
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.
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.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us