Can admin please fix this negative naq bug that is still floating about the game, incase he hadn't noticed there is a server war going on, and if this bug isnt sorted now, there could be alot of people being banned for something they have no control over, so unless admin is going to sit online 24/7 for the next 6 months to unban these innocent people, a fix is needed.
Its been going on to long now come on.....
FIX THE Negative Naq
- GeneralChaos
- Forum Addict
- Posts: 3421
- Joined: Wed Aug 16, 2006 3:56 pm
- Alliance: Omega
- ID: 59627
FIX THE Negative Naq
Deep within Noob Cave, you find a strange pool filled with a glowing blue liquid. You think back to what your mother told you about unfamiliar liquids found in caves.
You're pretty sure she said "Drink it! What's the worst that can happen?"
You're pretty sure she said "Drink it! What's the worst that can happen?"
-
Strenoth
- Forum Grunt
- Posts: 60
- Joined: Sun Apr 13, 2008 6:36 pm
Re: FIX THE Negative Naq
maybe if you describe the negative NAQ bug in detail it would help...
-
Mystikal Fever
- Forum Regular
- Posts: 714
- Joined: Sun Jan 21, 2007 4:31 am
- Alliance: The Gladiators
- Race: Ancient
- ID: 91926
- Location: England
Re: FIX THE Negative Naq
Strenoth wrote:maybe if you describe the negative NAQ bug in detail it would help...
I'd say 95% of the active people in main server know what it is..


- ~Odin~
- Alföðr
- Posts: 6478
- Joined: Tue Apr 24, 2007 8:23 pm
- Alliance: The Collective
- Race: International Pimp
- ID: 0
Re: FIX THE Negative Naq
Mystikal Fever wrote:Strenoth wrote:maybe if you describe the negative NAQ bug in detail it would help...
I'd say 95% of the active people in main server know what it is..
I have no clue about it....i just heard someoe mention it....it still have no real clue about it....

The forces of harchester fought back with all they could, and managed to inflict 145,573,411,725,000 damage
The forces of harchester fought back with all they could, and managed to inflict 3 damage
The forces of harchester fought back with all they could, and managed to inflict 3 damage
TGW Annual Community Awards 2014/2015
Spoiler





-
urogard
- Forum Elder
- Posts: 2146
- Joined: Sat Jan 07, 2006 8:05 am
- ID: 0
- Location: Slovensko
Re: FIX THE Negative Naq
tbh genchaos, everyone knows it's annoying and everyone would like it seeing fixed.
so as far as i can see it, unless you actually have an idea on HOW to fix it, and not just make another thread pointing out the obvious which everyone knows i fail to see the reason for this thread
trust me, if it were that easy to fix admin would do it, although now that i think of it i know how it would be possible to change
so as far as i can see it, unless you actually have an idea on HOW to fix it, and not just make another thread pointing out the obvious which everyone knows i fail to see the reason for this thread
trust me, if it were that easy to fix admin would do it, although now that i think of it i know how it would be possible to change
- Vertigo1
- Fledgling Forumer
- Posts: 123
- Joined: Sun Apr 13, 2008 6:23 pm
- Alliance: Majestic 12
- Race: Gargoyle
- ID: 60503
- Location: Tennessee, USA
- Contact:
Re: FIX THE Negative Naq
Strenoth wrote:maybe if you describe the negative NAQ bug in detail it would help...
Basically, if someone gets hit at the same time by one, or more people, you get neg naq. Atleast thats my understanding of the bug.
"Physics be damned: a stack of CDs knocked onto a wood floor sounds louder at Midnight when rest o' the family is asleep." - Patrick Norton
-
RobinInDaHood
- Forum Elite
- Posts: 1509
- Joined: Wed Oct 25, 2006 3:39 am
- Race: Vulpes
- ID: 75697
- Location: Da Hood, of course
Re: FIX THE Negative Naq
urogard wrote:tbh genchaos, everyone knows it's annoying and everyone would like it seeing fixed.
so as far as i can see it, unless you actually have an idea on HOW to fix it, and not just make another thread pointing out the obvious which everyone knows i fail to see the reason for this thread
trust me, if it were that easy to fix admin would do it, although now that i think of it i know how it would be possible to change
It can be fixed easily but Admin will have to upgrade the MySQL server he's using to at least 5.x, if not already using it. Then, he's going to have to implement SQL transactions on key areas of the game, such as the attack/farm query set. That will completely eliminate this problem as well as a host of other bugs he's put kludgy patches in to fix.
This is pseudocode, although most of it is valid SQL.
Code: Select all
BEGIN
SET @FarmedNaq = 0;
SELECT (@FarmedNaq:=NaqAvailable) FROM PlayerTable WHERE PlayerName = 'RobinInDaHood';
IF @FarmedNaq > 0 THEN
UPDATE PlayerTable SET NaqAvailable = @FarmedNaq WHERE PlayerName = 'SomeDumbNoob';
UPDATE PlayerTable SET NaqAvailable = 0 WHERE PlayerName = 'RobinInDaHood';
ENDIF
COMMIT
Last edited by RobinInDaHood on Thu Jun 05, 2008 2:53 pm, edited 1 time in total.
- GeneralChaos
- Forum Addict
- Posts: 3421
- Joined: Wed Aug 16, 2006 3:56 pm
- Alliance: Omega
- ID: 59627
Re: FIX THE Negative Naq
RobinInDaHood wrote:urogard wrote:tbh genchaos, everyone knows it's annoying and everyone would like it seeing fixed.
so as far as i can see it, unless you actually have an idea on HOW to fix it, and not just make another thread pointing out the obvious which everyone knows i fail to see the reason for this thread
trust me, if it were that easy to fix admin would do it, although now that i think of it i know how it would be possible to change
It can be fixed easily but Admin will have to upgrade the MySQL server he's using to at least 5.x, if not already using it. Then, he's going to have to implement SQL transactions on key areas of the game, such as the attack/farm query set. That will completely eliminate this problem as well as a host of other bugs he's put kludgy patches in to fix.
This is pseudocode, although most of it is valid SQL.Code: Select all
BEGIN
SET @FarmedNaq = 0;
SELECT (@FarmedNaq:=NaqAvailable) FROM PlayerTable WHERE PlayerName = 'RobinInDaHood';
IF @AvailableNaq > 0 THEN
UPDATE PlayerTable SET NaqAvailable = FarmedNaq WHERE PlayerName = 'SomeDumbNoob';
UPDATE PlayerTable SET NaqAvailable = 0 WHERE PlayerName = 'RobinInDaHood';
ENDIF
COMMIT
Maybe admin should just give you a job.
Deep within Noob Cave, you find a strange pool filled with a glowing blue liquid. You think back to what your mother told you about unfamiliar liquids found in caves.
You're pretty sure she said "Drink it! What's the worst that can happen?"
You're pretty sure she said "Drink it! What's the worst that can happen?"
-
RobinInDaHood
- Forum Elite
- Posts: 1509
- Joined: Wed Oct 25, 2006 3:39 am
- Race: Vulpes
- ID: 75697
- Location: Da Hood, of course
Re: FIX THE Negative Naq
GeneralChaos wrote:Maybe admin should just give you a job.
He couldn't afford me.
-
Mystikal Fever
- Forum Regular
- Posts: 714
- Joined: Sun Jan 21, 2007 4:31 am
- Alliance: The Gladiators
- Race: Ancient
- ID: 91926
- Location: England
Re: FIX THE Negative Naq
RobinInDaHood wrote:GeneralChaos wrote:Maybe admin should just give you a job.
He couldn't afford me.
How can a 14 year old know all that?


-
RobinInDaHood
- Forum Elite
- Posts: 1509
- Joined: Wed Oct 25, 2006 3:39 am
- Race: Vulpes
- ID: 75697
- Location: Da Hood, of course
Re: FIX THE Negative Naq
Mystikal Fever wrote:RobinInDaHood wrote:GeneralChaos wrote:Maybe admin should just give you a job.
He couldn't afford me.
How can a 14 year old know all that?
I've known some pretty smart 14 year olds in my life but as you point out, never met one that was proficient with SQL.
I'm not 14.
-
deathguard
- Fledgling Forumer
- Posts: 213
- Joined: Fri Aug 11, 2006 7:52 pm
- ID: 0
Re: FIX THE Negative Naq
my mate codes and hes 15 no idea if its at that standard though
-
Mystikal Fever
- Forum Regular
- Posts: 714
- Joined: Sun Jan 21, 2007 4:31 am
- Alliance: The Gladiators
- Race: Ancient
- ID: 91926
- Location: England
Re: FIX THE Negative Naq
RobinInDaHood wrote:Mystikal Fever wrote:RobinInDaHood wrote:GeneralChaos wrote:Maybe admin should just give you a job.
He couldn't afford me.
How can a 14 year old know all that?
I've known some pretty smart 14 year olds in my life but as you point out, never met one that was proficient with SQL.
I'm not 14.
Ahh, i thought you mentioned in a thread you were 14.
I apologize


-
RobinInDaHood
- Forum Elite
- Posts: 1509
- Joined: Wed Oct 25, 2006 3:39 am
- Race: Vulpes
- ID: 75697
- Location: Da Hood, of course
Re: FIX THE Negative Naq
Mystikal Fever wrote:RobinInDaHood wrote:Mystikal Fever wrote:RobinInDaHood wrote:GeneralChaos wrote:Maybe admin should just give you a job.
He couldn't afford me.
How can a 14 year old know all that?
I've known some pretty smart 14 year olds in my life but as you point out, never met one that was proficient with SQL.
I'm not 14.
Ahh, i thought you mentioned in a thread you were 14.
I apologize
No worries, I had posted that I was 14 but later said I was kidding. It has seemed to stick around more tenaciously than I expected.
