Number of posts : 32 Registration date : 2007-01-11
Subject: Multi kill? Sat Jan 13, 2007 7:42 pm
There is a problem with someone being killed more than once. I just compied the text, so yes, i could have faked it but why would I? From The Game "Enigmatcsoul is now not in good shape. Enigmatcsoul has been killed by Pseudo with their below average copper sword! Enigmatcsoul has been killed by Deadbush with their superb copper sword! Elezeta has been killed by the elephant!"
whats up with that?
synapz
Number of posts : 39 Registration date : 2007-01-11
Subject: Re: Multi kill? Sat Jan 13, 2007 8:08 pm
Latency. Hard to fix, but doable.
Just not something I will fix in this game. Wait for PK 2.
Shinynew
Number of posts : 32 Registration date : 2007-01-11
Subject: Re: Multi kill? Sat Jan 13, 2007 8:34 pm
I'm getting ready for PKII, ill be sure to digg it. (be ready to be hammered again if it hits front page)
Xeis
Number of posts : 4 Registration date : 2007-01-18
Subject: Re: Multi kill? Thu Jan 18, 2007 7:19 am
Just thought this was amusing...
Xeis
Number of posts : 4 Registration date : 2007-01-18
Subject: Re: Multi kill? Thu Jan 18, 2007 7:24 am
Syn, what makes you believe that this is a latency issue rather than a race condition?
synapz
Number of posts : 39 Registration date : 2007-01-11
Subject: Re: Multi kill? Thu Jan 18, 2007 4:20 pm
That's true, Xeis, it could be.
Either way, it's a pain to fix, though, and shouldn't be an issue in pk15 (coming soon to a beta test near you!) because Im locking all the tables.
fotbon Guest
Subject: doublekill Fri Jan 19, 2007 8:11 pm
it shouldn't be that hard....just add a 2-3 second delay before sending the death to the DB, then query it for a death in the last 30 seconds. It would be sorta patchy, but man, is it annoying to have 3/4 of your gold snatched.
Is it in php/mysql? I could write up an integrable sample if you don't have the time.
/Fotbon
Xeis
Number of posts : 4 Registration date : 2007-01-18
Subject: Re: Multi kill? Fri Jan 19, 2007 9:22 pm
fotbon, that wouldn't solve a race condition. It would still have the same problem, just delayed 2-3 seconds. If Syn locks the DB when damage is handled, it'll be fine.