Page 1 of 1

ActionScrip debug error

PostPosted: Thu Aug 09, 2012 3:02 pm
by Joriom
On bigger maps (user made 200+ regions) it often starts to lagg as hell with any animations - region flashing or rolls. It's not something new in VW2 as I've experienced it a lot in past buuuut... today I've tried playing VW in and unorthodox way (browserless standalone with debuger) and thats what started to pop-up during "lag spikes":
aserror1.jpg
aserror1.jpg (53.91 KiB) Viewed 3277 times

Sadly I forgot to scroll a bit to the right so it cut exact file name and line and pressed "Dismiss All" as it was messing my turn ( :mrgreen:) buuut I'll try to catch it next time if its of any help. Is it?

Btw.... "DiceWars" srsly? ...

Re: ActionScrip debug error

PostPosted: Fri Aug 10, 2012 1:40 pm
by Joriom
While spectating a match on quite big user made map I've encountered this one. Every time I moved map (which lowered my fps greatly - down to 2-3?) game stayed a bit "behind" the action and strange things started to happen. I've seen it before, but never had oportunity to check exacly whats wrong.
aserror2screen.jpg
aserror2screen.jpg (200.47 KiB) Viewed 3268 times

Now, you can see as if there were 4 attacks at once. Well, only the one pointed by orange arrow is current (indicated by red box - redrawing region) and 3 others are "left" without proper "reset". Every time when attack animation was about to dissapear I got one of those errors:
aserror2.jpg
aserror2.jpg (39.2 KiB) Viewed 3268 times

This time i resized the window so everything can be seen.

Re: ActionScrip debug error

PostPosted: Fri Aug 10, 2012 1:45 pm
by Lopdo
thanks, that might be very helpful. From what I see,someone attacked region that belonged to player that left previously, is that so?

Re: ActionScrip debug error

PostPosted: Fri Aug 10, 2012 2:03 pm
by Joriom
Thats exacly the case but I might have seen this or SIMILAR errors with player-occuppied regions. If I get any more of those I'll post in this topic.

Also, I'm using stand-alone flash player which makes it possible for me to maximize window. Despite the "pixelated" menus this allows me to see all numbers and region clearly on second-last zoom-out which helps a lot on big maps. Would it be a problem, if I posted the way to play this way in public? ^_^ (yet, its only for users of vortexwars.com accounts)

Re: ActionScrip debug error

PostPosted: Fri Aug 10, 2012 3:20 pm
by Lopdo
there might be some hidden problems when you play like that, game is not built for that. I don't want influx of bug reports about how it is broken when resized :)

Re: ActionScrip debug error

PostPosted: Tue Aug 14, 2012 11:24 am
by Joriom
Spectator mode. Player attacking region left by player that surrendered. I were not moving map and it was small one so no lag/freez involved.

Code: Select all
TypeError: Error #1010: A term is undefined and has no properties.
   at Game::SidePanel/setRegionSize()[D:\dev\flash\DiceWars\Flash\src\Game\SidePanel.as:205]
   at Game::Game/fightFinished()[D:\dev\flash\DiceWars\Flash\src\Game\Game.as:976]
   at Game.FightScreens::FightScreen/endFight()[D:\dev\flash\DiceWars\Flash\src\Game\FightScreens\FightScreen.as:286]
   at Game.FightScreens::SingleThrowFightScreen/Update()[D:\dev\flash\DiceWars\Flash\src\Game\FightScreens\SingleThrowFightScreen.as:108]
   at Game::Game/Update()[D:\dev\flash\DiceWars\Flash\src\Game\Game.as:1223]

+ null pointer exception in same situation in the same turn but two or three moves later (yet, this could be because of the first error that stopped game rendering for a while - popup priority >.<)
Code: Select all
TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at Game::Game/fightFinished()[D:\dev\flash\DiceWars\Flash\src\Game\Game.as:1010]
   at Game.FightScreens::FightScreen/endFight()[D:\dev\flash\DiceWars\Flash\src\Game\FightScreens\FightScreen.as:286]
   at Game.FightScreens::SingleThrowFightScreen/Update()[D:\dev\flash\DiceWars\Flash\src\Game\FightScreens\SingleThrowFightScreen.as:108]
   at Game::Game/Update()[D:\dev\flash\DiceWars\Flash\src\Game\Game.as:1223]