Negative NAQ bug

Locked
RebornRaider
Fledgling Forumer
Posts: 136
Joined: Wed Jul 26, 2006 7:38 pm

Negative NAQ bug

I was upgrading my MS (spare naq to burn). That request was going slowly and I had to run, so I opened my other browser and banked my naq. As I was doing that, the first browser came back and said it had built a bunch of MS weapons. But ... my naq balance was -7T (!!!). I guess one browser banked at the same time the other one spent? Sounds like a database transaction bug on the server ... that shouldn't be possible.

Oh ... and then it banned me for cheating. That seemed kinda lame. I didn't cheat, I tripped over a bug in the game.
Image
User avatar
Thriller
Forum Addict
Posts: 2609
Joined: Tue Jan 15, 2008 11:33 pm
Alliance: Π Allegiance
Race: Replimecator
ID: 0

Re: Negative NAQ bug

Moved

This is a know issue and happens frequently

send email to; gameadmin@StarGateWars.com,

and explain what happened, and you'll get unbanned.
Image
Spoiler
Universe wrote:You don't have a case, as Lord Thriller clearly explained.
MajorLeeHurts wrote:^ stole the car and my Booze and my heart * sobs*
Jack wrote: Just wanna be more like you, Master Thriller. :-D
RebornRaider
Fledgling Forumer
Posts: 136
Joined: Wed Jul 26, 2006 7:38 pm

Autoban forum link doesn't work

I got autobanned today (posting in the "You got banned?" thread), and the page has a link to "THE GAME ADMIN SECTION" on the "You are auto-banned" page.

But ... the link doesn't work. If click on it, I just get:

The requested URL /\'http://herebegames.com/StarGateWars/viewforum.php was not found on this server.

I think the \' at the beginning is the problem.
Image
User avatar
Thriller
Forum Addict
Posts: 2609
Joined: Tue Jan 15, 2008 11:33 pm
Alliance: Π Allegiance
Race: Replimecator
ID: 0

Re: Autoban forum link doesn't work

this does not belong in the bug section, it beleongs it the banned acount section, in your other thread i moved

Plz be patient and the admin will get your account unbanned.

Merged
Image
Spoiler
Universe wrote:You don't have a case, as Lord Thriller clearly explained.
MajorLeeHurts wrote:^ stole the car and my Booze and my heart * sobs*
Jack wrote: Just wanna be more like you, Master Thriller. :-D
RebornRaider
Fledgling Forumer
Posts: 136
Joined: Wed Jul 26, 2006 7:38 pm

Re: Negative NAQ bug

Sorry ... I thought the busted link was a bug.
Image
Sarevok
Forum Addict
Posts: 4042
Joined: Wed May 09, 2007 7:42 pm
Race: NanoTiMaster
ID: 0

Re: Negative NAQ bug

The "problem" with the database, is that it can not lock a record. Reason being, how long should the record be locked when a update is done, before another can be done? And if it was locked, you can just write a script, to say bank 1 naq/second to block everyone else attacking. All you need is 86,400 naq out once a day, and your protected.

As it stands, it can not be locked, which would prevent this. Thus this happens, thus you get banned (since you essentially dealing with naq you don't have).
viewtopic.php?f=13&t=162732
Suggestions, Comments please :)
R8 wrote:TEAM WORK WILL BEAT $$ ANYDAY OF THE WEEK
angel wrote:Except the payday [-X
12agnar0k wrote:Also it's still not a war game, you have att/def weps yes, but you also have uu and UP, does this mean its a sex game, oh no, XRATEDSGW, THIS GAME IS PORN!
Ban Admin
<+CABAL> so adminHere, ever thought about playing SGW? :b
<~adminHere> cabal - i do :)
<+CABAL> :o
<+Sarevok> Cabal, look up Jtest ;)
<~adminHere> no -not jtest
<~adminHere> another :) i am a multi ;)
<+Sarevok> :O
* +CABAL screens
<+CABAL> :b
* +Sarevok Ban's Admin
RebornRaider
Fledgling Forumer
Posts: 136
Joined: Wed Jul 26, 2006 7:38 pm

Re: Negative NAQ bug

Thanks to whom it concerns for unbanning me.

I don't buy the "can't lock" argument. Companies like ebay and paypal live off of high transaction rates and reliable databases that don't get corrupted just because two people are trying to pay you at once.

In a database, you can specify a couple actions as a transaction (start transaction, read naq, add 7T, write naq, end transaction). Some databases do this with locks, others do this with watches. In the case of a watch, if the data you had read (naq) has been changed by someone else before you do any writes, then the write fails and the entire transaction needs to be repeated.

I do suspect, though, that it might be difficult to change the code to be transactional now that it has been written without transactions in mind.
Image
Locked

Return to “For Admin Archives”