Redwall: Warlords

Discussion => Turbo Discussion => Topic started by: Wolf Snare on August 28, 2017, 02:49:01 PM

Title: Weird infinity loyalty bug
Post by: Wolf Snare on August 28, 2017, 02:49:01 PM
So I am on my iPhone trying to do a quick casting run, but I noticed something extremely out of place. I typed feast 25 casts but somehow only used 25 turns, gained no food to my stockpile, but gained way too much loyalty.
http://prntscr.com/ge5xul (http://prntscr.com/ge5xul)
After investigating I found it doesn't use turns or resources and you don't gain anything buy loyalty.
Title: Re: Weird infinity loyalty bug
Post by: Wolf Snare on August 28, 2017, 02:51:34 PM
Ps I have like 600mil loyalty more than I should have from refreshing pages quickly before noticing.
Title: Re: Weird infinity loyalty bug
Post by: windhound on August 28, 2017, 05:14:15 PM
Neat.
And bizarre, 'cause afaik neither I nor Shads has messed with the code in a long while..

Title: Re: Weird infinity loyalty bug
Post by: windhound on August 28, 2017, 08:13:30 PM
Cloned current files and db to testserver, cannot reproduce..?
Tried desktop and iPhone, both seem fine. 

(https://i.imgur.com/jFwKroF.png)

Hum.  I'm going to skim ~600 mil loyalty off your account as that's rather a lot..
Lemme know if it happens again I 'spose, Thanks!
Title: Re: Weird infinity loyalty bug
Post by: Shadow on August 28, 2017, 11:20:40 PM
Very odd. I haven't touched the code in literally years. Will poke it when i have time.
Title: Re: Weird infinity loyalty bug
Post by: Wolf Snare on August 29, 2017, 01:06:26 PM
I kept the window open and literally just refreshed and did the same thing.

http://prntscr.com/gel2xb (http://prntscr.com/gel2xb)
Title: Re: Weird infinity loyalty bug
Post by: Wolf Snare on August 29, 2017, 01:09:39 PM
The food doesn't stay added to your account. Resources don't diminish. You gain about 1mil loyalty per 1k acres you have in huts. Does not use turns if you keep refreshing like you would for a casting run. I'll try to figure out more when I'm back from camping.

Sorry for the double post.


Edit: idk if it's related but I leader looted 11 times before trying 25 feasts.
Title: Re: Weird infinity loyalty bug
Post by: Briar on August 29, 2017, 05:50:54 PM
I've been running on my android and haven't seen this.  I'll pay extra attention though.
Title: Re: Weird infinity loyalty bug
Post by: windhound on August 29, 2017, 10:26:55 PM
Hey Snare, can I get you to close that page and clear the browser cache? 

The game does the processing server-side, but it does require accurate input from the client (it has some validation and checks, but you know)..  wonder if something got loaded weird on your end and the game isn't handling the improper inputs gracefully. 

Just really weird only one player is experiencing this bug, if some deprecated function was finally removed that would (and has previously) break the game..  but it'd break it for everyone.  A commonly used function breaking mid-round for just one player though, huh. 
Special. 
Title: Re: Weird infinity loyalty bug
Post by: Shadow on August 30, 2017, 07:36:24 AM
Do you have either of the "Stop turns if income negative" buttons checked?
Title: Re: Weird infinity loyalty bug
Post by: Wolf Snare on September 02, 2017, 06:57:13 PM
Sorry I was camping. I deleted cookies on my phone, havent attempted to run since. I'll mess around and try to do it again.
Neither buttons are checked.
Title: Re: Weird infinity loyalty bug
Post by: Wolf Snare on September 04, 2017, 05:22:03 PM
Unrelated, but....

I tried to run from my computer, and after using thousands of turns I got prompted to enter validation code. Why?

You are not validated and cannot continue from here. If you did not receive the validation e-mail, you can have it resent.
Title: Re: Weird infinity loyalty bug
Post by: windhound on September 04, 2017, 08:56:17 PM
Because the game is occasionally dumb, fix'd. 
Validation is turned off in the settings, but occasionally it'll still bug a random user.  Hasn't happened in a while, afaik, so I haven't bothered to look why.  Might tomorrow.