(ID) pet ID write ?
This is a discussion on How to fix 5page pet crash permanently. within the SilkRoad Releases forums, part of the SilkRoad Online category; As i see, nobody shared a permanent fix for it, so here we go: First of all, we create a ...
As i see, nobody shared a permanent fix for it, so here we go:
First of all, we create a table, just to be able to add more exceptions easily:
Spoiler:
Till my theory is that the attack pets causes the error, till they have no pages, but the stored procedure trying to add 5 pages to it too, we have to insert the grabpets to the _Exceptionz table:
Spoiler:
We have the _Exceptionz table, now we have to edit the procedure, to make a difference between grabpets (which are in the Exceptionz table) and the attack pets:
Spoiler:
The last thing we have to do is cleaning out the "dirty" pets from _TimedJobForPet table:
Spoiler:
Thats all. Added descriptions, just if anybody care about what causes the error. If a permanent fix has been released, please delete this thread.
Edit: It works on my server since 1 or 2 months.
Credits: Me, for the idea/tables and Chern0byl for the stored procedure edit/help.
Last edited by Dizzie; 29-07-12 at 01:58 AM.
We live on a world where smart people are called nerds and social outcasts, and stupid people are the cool ones.
The most common error: "The user's IQ is too low"
[SIGPIC][/SIGPIC]
(ID) pet ID write ?
My bad, edited. Delete the table and it will work.
We live on a world where smart people are called nerds and social outcasts, and stupid people are the cool ones.
The most common error: "The user's IQ is too low"
[SIGPIC][/SIGPIC]
C++ in GameServer Fixed ?
Keep learing !!
its the right way to success fail thing's to learn from what u failing
Atlantis Sro D10 CaP
Well, if pets causing the c++ then yes. In our server pet bug caused c++ error, but something else can cause it too.
We live on a world where smart people are called nerds and social outcasts, and stupid people are the cool ones.
The most common error: "The user's IQ is too low"
[SIGPIC][/SIGPIC]
we can talk if u got skype then buddy !
i know the C++ can be from low ram and alot of spawn in refnest !
but pet was making that when i did an old query its take time like 7 days then the C++ problem start
Keep learing !!
its the right way to success fail thing's to learn from what u failing
Atlantis Sro D10 CaP
great release, thanks for it
I just modified this:
to this:PHP Code:if ((SELECT COUNT(*) FROM _Exceptionz where ID=@RefObjID) = 1)
looked a bit faster ^^PHP Code:IF EXISTS (SELECT ID FROM _Exceptionz WHERE ID=@RefObjID)
(use the TypeID's of _RefObjCommon to indentify pets as grab ones, the additional table is redundant)
I dun like Signatures, they're always confusing me while reading a thread!
This is don't will works because bug was form if you add a blue on item like int or str and put it directly after into your pet!
5page will down to 1 and crash the server!
this is what we have see about this error here
testing
result ? :)
everytime i put a blue item after alchemy on pet this crash the server tryed on different server too
wanted to test this bug on a 5 page pet, item +3 , with 6 blues on it (int/str/astral/immortal/block/hp) tried on every row on the 5 pages and server dont crash.
i dont believe my lame test server is inmune to that bug, so what im doing wrong?
the illusion of friendship is the begining of heresy.
when is done trade the pet whit a another char ;)
Relog and see :)
test fail game server run time error :)
yes the error was here, when you do a alchemy on item (blue) put on pet and trade pet = crash runtime C++ error
We have tempory bloked it by bloking grab pet possibility and working to fix it into gameserver in dedi test :)
If we found something static we will try to release it ;)