About the game
News
Sign in
Register
Top Players
Forum
18:29
4687
 online
Authorization required
You are not logged in
   Forums-->Queries and help-->

AuthorMG bug.?
see this combat log

https://www.lordswm.com/pl_warlog.php?id=5746735
in it,the lvl of infuriated behemoths is given lvl 4
while when u open the battle,it's a lvl 5 monster

why? o.O
now that i notice..it's the case in every monster battle

has it always been this way.?
If you think from the first time the monster battle was activated it makes sense.. First time e.g would be infuriated behemoths {0} but of course in battle it would be lv1, it wouldn't make any sense if you were fighting a lv0 monster right? So {0} would be lv1, {1} would be lv2 and so on..
It's a feature.

MG quests have a difficulty starting from {0}, though monsters have levels starting from 1.
Maybe thats how code work?
There is array of number

mgArray = [1,2,3,4,5,6,...,100]

and when 1st element is called you type

return "Monster{" + myArray[0] + "}";

which give you : Monster{0}

similarliy Conspirators{0}, Brigand{0}, Army{0}

We only notice this in Monster because only monster show his level not other MGs.

Jus my 2 cents. :)
which give you : Monster{0} on mg page because you call 0th element of array but in actual it is level 1 which displayed in battle. :)

sorry i not know how to explain this clearly. maybe somebody with good english can it for u :)
In computers, most languages have their starting bit with "0"th position (Every array's first character/int,etc start from 0 but are usually shown to the user that it starts from 1 to avoid confusion for users like what happened now). The programmers know that it is starting from 0 only although there are ways to start it from another position. maybe the admins have been lazy to show it in the MG description too but they have done that in MG fights.
closed by Corey (2015-06-22 15:23:28)
Back to topics list
2008-2024, online games LordsWM