Redwall: Warlords

  • September 22, 2017, 06:30:36 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

RWL Home Page
Make a topic in the Strategy forum if you want the help of a mentor!

Author Topic: Weird infinity loyalty bug  (Read 167 times)

0 Members and 1 Guest are viewing this topic.

Wolf Snare

  • Old Timer
  • ******
  • Posts: 478
    • View Profile
    • Email
Weird infinity loyalty bug
« on: August 28, 2017, 12: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
After investigating I found it doesn't use turns or resources and you don't gain anything buy loyalty.
Logged
1. Fire Bringer (#22)
1. Jaturungkabart (#12)
1. Estranged (#50)
1. Fierce Deity (#17) 
1. bored... (#98)
1. Versace (#24)
1. Noah Calhoun (#10)
1. Day Old Hate (#7)
1. The Grand Optimist (#12)
1. Beast Mode (#7)

Wolf Snare

  • Old Timer
  • ******
  • Posts: 478
    • View Profile
    • Email
Re: Weird infinity loyalty bug
« Reply #1 on: August 28, 2017, 12:51:34 PM »

Ps I have like 600mil loyalty more than I should have from refreshing pages quickly before noticing.
Logged
1. Fire Bringer (#22)
1. Jaturungkabart (#12)
1. Estranged (#50)
1. Fierce Deity (#17) 
1. bored... (#98)
1. Versace (#24)
1. Noah Calhoun (#10)
1. Day Old Hate (#7)
1. The Grand Optimist (#12)
1. Beast Mode (#7)

windhound

  • Fish Are Loyal
  • Administrator
  • Permanent Resident
  • ******
  • Posts: 4,937
  • omnomnom
    • MSN Messenger - windhound96@yahoo.com
    • AOL Instant Messenger - windhound96
    • Yahoo Instant Messenger - windhound96
    • View Profile
Re: Weird infinity loyalty bug
« Reply #2 on: August 28, 2017, 03:14:15 PM »

Neat.
And bizarre, 'cause afaik neither I nor Shads has messed with the code in a long while..

Logged
A Goldfish has an attention span of 3 seconds...  so do I
~ In the beginning there was nothing, which exploded ~
There are only 10 types of people in the world: Those who understand binary, and those who don't

windhound

  • Fish Are Loyal
  • Administrator
  • Permanent Resident
  • ******
  • Posts: 4,937
  • omnomnom
    • MSN Messenger - windhound96@yahoo.com
    • AOL Instant Messenger - windhound96
    • Yahoo Instant Messenger - windhound96
    • View Profile
Re: Weird infinity loyalty bug
« Reply #3 on: August 28, 2017, 06:13:30 PM »

Cloned current files and db to testserver, cannot reproduce..?
Tried desktop and iPhone, both seem fine. 



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!
Logged
A Goldfish has an attention span of 3 seconds...  so do I
~ In the beginning there was nothing, which exploded ~
There are only 10 types of people in the world: Those who understand binary, and those who don't

Shadow

  • Shadow's Catchy Title
  • Administrator
  • Permanent Resident
  • ******
  • Posts: 10,573
  • I DECLINE SO HARD
    • MSN Messenger - munchkins4@hotmail.com
    • AOL Instant Messenger - kbriggs29
    • View Profile
Re: Weird infinity loyalty bug
« Reply #4 on: August 28, 2017, 09:20:40 PM »

Very odd. I haven't touched the code in literally years. Will poke it when i have time.
Logged
<=holbs-.. ..-holbs=> <=holbs-..

Wolf Snare

  • Old Timer
  • ******
  • Posts: 478
    • View Profile
    • Email
Re: Weird infinity loyalty bug
« Reply #5 on: August 29, 2017, 11:06:26 AM »

I kept the window open and literally just refreshed and did the same thing.

http://prntscr.com/gel2xb
« Last Edit: August 29, 2017, 11:07:01 AM by Wolf Snare »
Logged
1. Fire Bringer (#22)
1. Jaturungkabart (#12)
1. Estranged (#50)
1. Fierce Deity (#17) 
1. bored... (#98)
1. Versace (#24)
1. Noah Calhoun (#10)
1. Day Old Hate (#7)
1. The Grand Optimist (#12)
1. Beast Mode (#7)

Wolf Snare

  • Old Timer
  • ******
  • Posts: 478
    • View Profile
    • Email
Re: Weird infinity loyalty bug
« Reply #6 on: August 29, 2017, 11:09:39 AM »

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.
« Last Edit: August 29, 2017, 11:13:03 AM by Wolf Snare »
Logged
1. Fire Bringer (#22)
1. Jaturungkabart (#12)
1. Estranged (#50)
1. Fierce Deity (#17) 
1. bored... (#98)
1. Versace (#24)
1. Noah Calhoun (#10)
1. Day Old Hate (#7)
1. The Grand Optimist (#12)
1. Beast Mode (#7)

Briar

  • Otterpop Empress
  • Permanent Resident
  • *******
  • Posts: 1,189
  • I'm a archaeoholic
    • View Profile
    • Email
Re: Weird infinity loyalty bug
« Reply #7 on: August 29, 2017, 03:50:54 PM »

I've been running on my android and haven't seen this.  I'll pay extra attention though.
Logged

At the risk of ruining Briar's career by disparaging her find of the famous Sackaleaderer horse...

Quote from: Ungatt Trunn II
Yes. I wear high heels Krowdon. Any tips on how I should do my hair?

windhound

  • Fish Are Loyal
  • Administrator
  • Permanent Resident
  • ******
  • Posts: 4,937
  • omnomnom
    • MSN Messenger - windhound96@yahoo.com
    • AOL Instant Messenger - windhound96
    • Yahoo Instant Messenger - windhound96
    • View Profile
Re: Weird infinity loyalty bug
« Reply #8 on: August 29, 2017, 08: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. 
Logged
A Goldfish has an attention span of 3 seconds...  so do I
~ In the beginning there was nothing, which exploded ~
There are only 10 types of people in the world: Those who understand binary, and those who don't

Shadow

  • Shadow's Catchy Title
  • Administrator
  • Permanent Resident
  • ******
  • Posts: 10,573
  • I DECLINE SO HARD
    • MSN Messenger - munchkins4@hotmail.com
    • AOL Instant Messenger - kbriggs29
    • View Profile
Re: Weird infinity loyalty bug
« Reply #9 on: August 30, 2017, 05:36:24 AM »

Do you have either of the "Stop turns if income negative" buttons checked?
« Last Edit: August 30, 2017, 05:36:43 AM by Shadow »
Logged
<=holbs-.. ..-holbs=> <=holbs-..

Wolf Snare

  • Old Timer
  • ******
  • Posts: 478
    • View Profile
    • Email
Re: Weird infinity loyalty bug
« Reply #10 on: September 02, 2017, 04: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.
Logged
1. Fire Bringer (#22)
1. Jaturungkabart (#12)
1. Estranged (#50)
1. Fierce Deity (#17) 
1. bored... (#98)
1. Versace (#24)
1. Noah Calhoun (#10)
1. Day Old Hate (#7)
1. The Grand Optimist (#12)
1. Beast Mode (#7)

Wolf Snare

  • Old Timer
  • ******
  • Posts: 478
    • View Profile
    • Email
Re: Weird infinity loyalty bug
« Reply #11 on: September 04, 2017, 03: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.
Logged
1. Fire Bringer (#22)
1. Jaturungkabart (#12)
1. Estranged (#50)
1. Fierce Deity (#17) 
1. bored... (#98)
1. Versace (#24)
1. Noah Calhoun (#10)
1. Day Old Hate (#7)
1. The Grand Optimist (#12)
1. Beast Mode (#7)

windhound

  • Fish Are Loyal
  • Administrator
  • Permanent Resident
  • ******
  • Posts: 4,937
  • omnomnom
    • MSN Messenger - windhound96@yahoo.com
    • AOL Instant Messenger - windhound96
    • Yahoo Instant Messenger - windhound96
    • View Profile
Re: Weird infinity loyalty bug
« Reply #12 on: September 04, 2017, 06: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.
Logged
A Goldfish has an attention span of 3 seconds...  so do I
~ In the beginning there was nothing, which exploded ~
There are only 10 types of people in the world: Those who understand binary, and those who don't
 


* Shoutbox

Refresh History
  • Durza: i think the reg guide mentions 30%
    August 30, 2017, 01:42:45 PM
  • windhound: typo then.. I looked at the code and it's 40%
    August 30, 2017, 04:03:46 PM
  • Gen. Volkov: Ah, OK. Well TIL something new about RWL.
    August 30, 2017, 07:27:58 PM
  • Juska: Scales depending on your race.....but 40% is close to max. I think markets impact it to some small degree? But that might of gotten coded out at some point here.....
    September 04, 2017, 06:54:21 PM
  • windhound: $costbonus = $urace[mkt] * (1 - ($users[barracks] + $users[cities] * 500) / (2 * $users[land]));
    September 04, 2017, 07:04:38 PM
  • windhound: if ($costbonus < 0.8 * $urace[mkt])         $costbonus = 0.8 * $urace[mkt];
    September 04, 2017, 07:04:44 PM
  • Shadow: For those who don't read code: hard cap at 40% camps, which reduces merc prices by 20% from whatever they are to start with. That starting price is affected by race, but the % bonus is not. Only camps and cities (counting as 500 camps each) affect the bonus.
    September 05, 2017, 05:57:14 AM
  • Shadow Assassin: I sometimes come back to these forums when I'm sad
    September 06, 2017, 05:56:43 AM
  • windhound: <3
    September 06, 2017, 08:12:25 AM
  • windhound: You havnt posted in five years O.o
    September 06, 2017, 08:12:34 AM
  • Shadow Assassin: <3
    September 06, 2017, 07:35:36 PM
  • Shadow Assassin: Forgot the password to this account
    September 06, 2017, 07:35:54 PM
  • Shadow Assassin: Also I hope I didn't break your email system, when I went to reset my password it sent me 115 emails
    September 06, 2017, 07:37:09 PM
  • Shadow Assassin: Also I hope I didn't break your email system
    September 06, 2017, 07:37:38 PM
  • Shadow Assassin: [link]
    September 06, 2017, 07:37:43 PM
  • windhound: hah, worst case we get marked as spam
    September 06, 2017, 08:06:19 PM
  • Shadow: DO YOU REMEMBER YOUR PASSWORD NOW?! DO YOU?!
    September 08, 2017, 07:15:10 AM
  • Gen. Volkov: LOL
    September 08, 2017, 10:29:11 PM
  • Shadow: That's what I thought...
    September 11, 2017, 12:55:46 PM
  • windhound: derp.
    September 17, 2017, 09:22:24 PM