Newbie Spellweaver
- Joined
- Nov 18, 2015
- Messages
- 31
- Reaction score
- 4
Hello, was working with files, fixing stuff, and found fun thing, that you can't send more than integer limit at once to other village (2,147,483,647) <- INT limit
so i decided edit v2v , by disabling check for intval if it's higher than INT , that worked perefctly, now i can send 20b or 50b that doesn't matter, what maters now is after my troops travel to destination the amount of them being converted to 2,147,483,647 and in report it shows like that as well. was looking in war.php but couldn't find anything useful (maybe i'm blind) so maybe anyone had same issue and can point things out?
EDIT.
Well i guess that's maybe cause a problem that my PHP compiled for 32 bit OS and since 32 bits cant handle integers bigger than 4 bits (unlike the 64 bits os can handle 8bits) , moving to 64 bit software now, and will check if that fixes problems
so i decided edit v2v , by disabling check for intval if it's higher than INT , that worked perefctly, now i can send 20b or 50b that doesn't matter, what maters now is after my troops travel to destination the amount of them being converted to 2,147,483,647 and in report it shows like that as well. was looking in war.php but couldn't find anything useful (maybe i'm blind) so maybe anyone had same issue and can point things out?
EDIT.
Well i guess that's maybe cause a problem that my PHP compiled for 32 bit OS and since 32 bits cant handle integers bigger than 4 bits (unlike the 64 bits os can handle 8bits) , moving to 64 bit software now, and will check if that fixes problems
Last edited: