IS a Bugs?

Found one? Tell us how big it is.

IS a Bugs?

Postby laura555 » Wed Jan 20, 2010 5:08 pm

If attack and insert send general, if win, and the troops return in town, the general remaining exit of town????
Not return general in town........is external remaining...is bugs???
Sorry, I'am italian girl (EUROPE) and speack little english.....
I and my brother create by devana core, web games italy lang: http://www.travland.it
User avatar
laura555
senior citizen
 
Posts: 669
Joined: Mon Apr 06, 2009 11:09 pm

Re: IS a Bugs?

Postby devland » Sat Feb 06, 2010 1:31 pm

The general should not return only if the army got obliterated. The general is usually the last to die, due to the battle algorithm. It may be a bug.
The code should look for completed attacks, or how I call them: homecoming troops. If one such army is found in the a_queue, it is processed by adding it's units back to the returning town's army.
Now, your returning general could be left behind if there is another general already in the town, I do not remember if the code checks for that.

Have you tried this in the original code?
Closer to home with every step away from it.
User avatar
devland
founder
 
Posts: 1234
Joined: Mon Dec 03, 2007 12:13 am
Location: on a starship

Re: IS a Bugs?

Postby laura555 » Sat Feb 06, 2010 7:57 pm

Sincerely? No, in the original code not try this, but not modify the function battle.
i study $ogen
and $gen and calculation is compless......for me.
You have possibility try in devana?
Sorry, I'am italian girl (EUROPE) and speack little english.....
I and my brother create by devana core, web games italy lang: http://www.travland.it
User avatar
laura555
senior citizen
 
Posts: 669
Joined: Mon Apr 06, 2009 11:09 pm

Re: IS a Bugs?

Postby laura555 » Sun Feb 07, 2010 6:44 pm

Devland, i solved in my work!
I have modify check_a and create confusion code.....solved...sorry.
Have create post for travland battle bugs in repack.
Thanx for ausily....
Laura
Sorry, I'am italian girl (EUROPE) and speack little english.....
I and my brother create by devana core, web games italy lang: http://www.travland.it
User avatar
laura555
senior citizen
 
Posts: 669
Joined: Mon Apr 06, 2009 11:09 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest