Page 1 of 3

Missing resources

Posted: Fri May 15, 2009 9:41 pm
by tazer
Alright I have some missing resources in Olipfirovash Forest. I'm missing around 20KG of wood and I beleive 40-50KG of hematite. My charachter currently thinks it was a theft but as I was talking with another charachter about who the theif could be I realised the unlikeliness of it being a theif and we both came to the same conclusion.

So last time I had the resources they were in the Forest docks and I dragged them onto the longboat "Trader" I'm not sure if they even made it onto the boat because I didn't check. This was on day 2603 I beleive.

So if I could be told wether there was a problem or if someone swiped them that would be great. My charachter is already under the impression that they were stolen so it wouldn't be any OOC-IC problem. Thanks.

Posted: Fri May 15, 2009 10:08 pm
by SekoETC
I dragged a primitive fur cloak and it vanished. There could be some bug that destroys things when they are dragged, or sends them to Narnia. XD No idea why it's happening now or if it affects everyone but it should be tested...

Posted: Fri May 15, 2009 10:31 pm
by tazer
Is there anyway you can check if anyone entered the longboat at those times?

Posted: Fri May 15, 2009 10:39 pm
by SekoETC
PD could probably check it. Database access still hasn't been fixed so ProgD can't do jack shit.

Posted: Fri May 15, 2009 11:06 pm
by Idriveayugo
Same thing happened with me involving at the least wood.

Posted: Sat May 16, 2009 12:37 am
by Dudel
SekoETC wrote:I dragged a primitive fur cloak and it vanished. There could be some bug that destroys things when they are dragged, or sends them to Narnia. XD No idea why it's happening now or if it affects everyone but it should be tested...


Spooky Cantr Ghosties!

Posted: Sat May 16, 2009 9:09 am
by Arenti
then shouldnt people be warned not to drag as I believe it also happend to atleast one char of mine

Posted: Sat May 16, 2009 9:25 am
by ceselb
Only time I've lost something while dragging there has been a sql error message at the first drag screen when you select destination. If you see such an error don't continue, go back and try dragging again. the error message should not appear again and everything should work the second time.

Posted: Sat May 16, 2009 9:41 am
by SekoETC
When I dragged the cloak, there was no error message. Also I tried dragging a stone hammer with a different character and it didn't vanish.

I apparently have the ability to send a message to all players. Should there be a warning?

Posted: Sat May 16, 2009 9:48 am
by Arenti
it wouldnt hurt to send an message to warn everyone as my char talked with the person who started this post and I am convinced it couldnt have been stolen

Posted: Sat May 16, 2009 9:52 am
by ceselb
SekoETC wrote:When I dragged the cloak, there was no error message.

But the clothes use another table right? It may behave differently from resources. Items have an ID, while resources doesn't and all that...
Anyway, the dragging should probably give a red error bar when any error occurs rather than allow you to continue in such situations.
Something glitches, either with the actual query at the time, the php string passing or something else.

Arenti wrote:couldnt have been stolen

I agree, it couldn't have been.

Posted: Sat May 16, 2009 10:17 am
by Arenti
so you sure its not another bug

Posted: Sat May 16, 2009 11:25 am
by SekoETC
Resource piles are considered an object of the type "raw material" and I think clothing are also considered a clothing object that links to different subtypes. In this way it would make sense if the bug affected resources and clothing but not tools. I posted a warning about it.

Posted: Sat May 16, 2009 12:13 pm
by ceselb
Tools can also go missing. Both when dropped and when dragged. I don't recall just now if there was an error message before dragging, since it was before I noticed and it hasn't happened to me for a long time. But when dropping there is no second screen. There may have been an error message after though, don't recall that either. That's less important as when you see it it's already too late.

Seko, the message you wrote speaks about a red error message, that's not what I meant shows now, it's what I suggested should be implemented to prevent it.
You have the code, right? Does it catch any error messages? I'm not exactly sure what errors mysql can throw and then go on to not do the action requested. But in my mind that's a good candidate to what's going on.
I know real(tm) databases aren't supposed to behave like that (read up on atomic operations) from what little I know it might be related to the type of db. Iirc, one is slower but more secure, while the other is fast but needs to catch errors or something like that.

Posted: Sat May 16, 2009 1:09 pm
by SekoETC
Oh, I read you wrong. In order to give an error message you would have to know what is about to go wrong and currently we don't know what's going wrong. The bug hasn't been reported earlier, has it?