Aderan Wars
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Bank bug

+4
Nomad
chaos
Admin
Nigatsu_Aka
8 posters

Page 1 of 2 1, 2  Next

Go down

Bank bug Empty Bank bug

Post by Nigatsu_Aka Fri Aug 07, 2009 7:40 am

My bank size is smaller than it should with arround 750mil.... is it because the game didn't updated properly or you changed something?

07 August 00:39:33
Nigatsu_Aka
Nigatsu_Aka
Aderan Assassin
Aderan Assassin

ID : I no longer have an account. Taking a break.
Number of posts : 526
Registration date : 2009-01-19

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Fri Aug 07, 2009 8:07 am

if this is on live server then no clue what happened cos i didn't do any changes to live for about a day and no changed to bank in particular for a while

the bank on my account appears to have decreased though too, will look at it
ok no real clue what went wrong but training a unit should fix it, now only to find out how it happened in the first place
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Nigatsu_Aka Fri Aug 07, 2009 12:59 pm

It's the same thing that happened in the betasite awhile ago when i told you about it. Something must be wrong.
Nigatsu_Aka
Nigatsu_Aka
Aderan Assassin
Aderan Assassin

ID : I no longer have an account. Taking a break.
Number of posts : 526
Registration date : 2009-01-19

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Fri Aug 07, 2009 1:08 pm

well i'm gonna watch and see if it drops again. cos it only recalculates when it's told to recalculate and even then it always uses the same function to calculate it.
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Nigatsu_Aka Sat Aug 08, 2009 8:52 am

I tryed to do what you asked, trained a few more farmers. Now the bank is smaller with 1bil than what it should be.

08 August 01:52:13
Nigatsu_Aka
Nigatsu_Aka
Aderan Assassin
Aderan Assassin

ID : I no longer have an account. Taking a break.
Number of posts : 526
Registration date : 2009-01-19

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Sat Aug 08, 2009 9:10 am

mine's kinda remained the same, k i guess this one will be a pain to find as it appears the problem is hard to reproduce intentionally
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by chaos Sat Aug 08, 2009 8:31 pm

i jus trained 2k more farmers, my incoem rose as it should however the bank size didnt.
chaos
chaos
Aderan Miner
Aderan Miner

ID : ???
Alliance : Your Guess?
Age : 33
Number of posts : 324
Location : Atlantis, Pegasus Galaxy, Universe
Registration date : 2008-09-04

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Nigatsu_Aka Mon Aug 10, 2009 7:50 am

It happened again. The bank is smaller with 1.1bil. I haven't figured yet what's causing it, but it always happens at the daily reset before any new update to the database.

Could be something related to the reset?...

And also in the testserver the bank is smaller than it should, so it is the same cause.

10 August 00:46:10
Nigatsu_Aka
Nigatsu_Aka
Aderan Assassin
Aderan Assassin

ID : I no longer have an account. Taking a break.
Number of posts : 526
Registration date : 2009-01-19

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Mon Aug 10, 2009 7:56 am

which is really strange because the script that's run daily only does things like delete old messages, logs, update AE for everyone and saves statistical data about the game, like race distribution, average income, army, up etc.
Except for changing AE and recovering donation limit it does nothing else to individual users.

When i get home in the evening i'll run a search through all the pages to find where the Bank Space value gets changed other than in the calculating bank size function. Cos i think that's the only option left, some forgotten code.
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Nomad Mon Aug 10, 2009 9:33 am

Mine has now started to decrease, and due to the fact it was full my resources started spilling out into the open.
Nomad
Nomad
Alliance Leader
Alliance Leader

ID : WORD OF THE DAY
Hipocracy
hy·poc·ri·sy
Show Spelled[hi-pok-ruh-see]
–noun, plural -sies.

1. a pretense of having a virtuous character, moral or religious beliefs or principles, etc., that one does not really possess.
2. the practice of professing standards, beliefs, etc, contrary to one's real character or actual behavior, esp the pretense of virtue and piety
3. a pretense of having some desirable or publicly approved attitude.

Number of posts : 4259
Location : Everywhere and nowhere at all.
Registration date : 2008-12-17

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Mon Aug 10, 2009 9:50 am

ACTUALLY:
with the recent changes to the code structure i turned off the auto spilling out for a few days.
cos didn't want to screw people over because of some things that would malfunction, but will turn it on sometime soon and without warning.

However if your bank is overfilled and you click deposit it will automatically withdraw everything that's in excess of your bank

(because it always checks if what you want to deposit is more than your current bank size, to allow to fill bank by max with one click. However if your bank space remaining is negative, it will take that negative value)

So i fixed this one now. If you're over your capacity then trying to deposit more wont do anything now.
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Nigatsu_Aka Mon Aug 10, 2009 9:53 am

Admin wrote:which is really strange because the script that's run daily only does things like delete old messages, logs, update AE for everyone and saves statistical data about the game, like race distribution, average income, army, up etc.
Except for changing AE and recovering donation limit it does nothing else to individual users.

When i get home in the evening i'll run a search through all the pages to find where the Bank Space value gets changed other than in the calculating bank size function. Cos i think that's the only option left, some forgotten code.

I know what you mean and how annoying it can be. It could be a minor thing that's causing it... but i'm also worried, because the banksize is related to the income... and you don't know what happens with that income, if you know what i mean (think to about 4% of each players income that is disapearing each day for 1-2 hours, where is it going? - i forgot to check if the income generated is correct - will do it tomorrow if it happens again).... but let's not be that suspective yet. I hope that it's nothing serious, though.

What is also strange is that when the database updates again, the bank returns to it's normal size. For example, now it is as big as it should be. (I think that it fixed itself sometimes in the first 2 hours after the reset)

10 August 02:50:19
Nigatsu_Aka
Nigatsu_Aka
Aderan Assassin
Aderan Assassin

ID : I no longer have an account. Taking a break.
Number of posts : 526
Registration date : 2009-01-19

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Mon Aug 10, 2009 9:55 am

the thing is that the function to calculate bank size, that is used when you set to train units or when the auto update thing does its round for everyone, works properly.

the thing that's causing the drop is obviously some renegade code which i have to find.
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by antlan87 Mon Aug 10, 2009 1:19 pm

I've been stuck at 50 million for my bank size for a few days now, despite my continuously increasing my income units. Even using a Market Reserve did nothing to the size.

antlan87
Untrained Unit
Untrained Unit

Alliance : Archadian Empire
Age : 36
Number of posts : 4
Location : Canada
Registration date : 2009-08-10

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Mon Aug 10, 2009 1:20 pm

ah yeh 50 mil is the min bank size you will have.
once your bank size is larger than 50 mil you will notice an increase
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by antlan87 Mon Aug 10, 2009 1:33 pm

It is? It took me a few days to get a 50 mil bank. I got to just over 10 mil, and then when I logged in later, it had shot to 50 mil and stayed there.

antlan87
Untrained Unit
Untrained Unit

Alliance : Archadian Empire
Age : 36
Number of posts : 4
Location : Canada
Registration date : 2009-08-10

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Mon Aug 10, 2009 1:37 pm

yes, was intentionally, cos new accounts start with 50 mil kuwal in the bank. and the code is meant to remove all kuwal that you cannot carry in your bank into the open for others to steal

this is to prevent users from using the trade broker (as the kuwal traded goes into the bank directly) to bank kuwal they cannot deposit normally.

So that it doesn't happen that a new account registers, and even though they are on protection, get attacked later by others if they dont want to spend all of it
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Mon Aug 10, 2009 4:57 pm

ok ran the search and there's only one way in the whole game how your bank size can change, and that's by running the main function to calculate bank size.

so for now no clue what's screwing it up
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Nigatsu_Aka Tue Aug 11, 2009 9:41 am

admin... this is a joke right?... today the bank is bigger with 500mil in main, while in testserver it is smaller with over 4.5bil

11 August 02:39:15
Nigatsu_Aka
Nigatsu_Aka
Aderan Assassin
Aderan Assassin

ID : I no longer have an account. Taking a break.
Number of posts : 526
Registration date : 2009-01-19

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Tue Aug 11, 2009 10:07 am

hmm, i think i know what's causing it now.

call it a flash of insight
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Tue Aug 11, 2009 10:17 am

ok, implemented the fix. We'll see if what i suspect is causing it, really is the problem
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Nomad Tue Aug 11, 2009 11:13 pm

My bank size increased, and is larger then it has ever been.
Nomad
Nomad
Alliance Leader
Alliance Leader

ID : WORD OF THE DAY
Hipocracy
hy·poc·ri·sy
Show Spelled[hi-pok-ruh-see]
–noun, plural -sies.

1. a pretense of having a virtuous character, moral or religious beliefs or principles, etc., that one does not really possess.
2. the practice of professing standards, beliefs, etc, contrary to one's real character or actual behavior, esp the pretense of virtue and piety
3. a pretense of having some desirable or publicly approved attitude.

Number of posts : 4259
Location : Everywhere and nowhere at all.
Registration date : 2008-12-17

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Admin Tue Aug 11, 2009 11:27 pm

that's possible. since how it gets calculated sorta changed, but it's still 2 days of your income times bank multiplier.
but it should now stick with the value and go up and down depending on your income
Admin
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

http://www.aderanwars.com

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Milliardo Peacecraft Thu Aug 20, 2009 12:59 am

Well after a week of traing nothing but farmes, niers and workers, mine is still at 50 mil, and ideas?

Milliardo Peacecraft
Untrained Unit
Untrained Unit

Number of posts : 1
Registration date : 2009-08-20

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Kenzu Thu Aug 20, 2009 4:45 am

the bank should keep a maximum of what your civilian units can produce in 1 single day.
Kenzu
Kenzu
Alliance Leader
Alliance Leader

Age : 37
Number of posts : 3034
Registration date : 2008-12-03

Back to top Go down

Bank bug Empty Re: Bank bug

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum