ActionScrip debug error

Here you can report all bugs you find

ActionScrip debug error

Postby Joriom » Thu Aug 09, 2012 3:02 pm

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 3167 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? ...
Check it out: Custom StandAlone Client for VortexWars! [WiP]
The Unofficial Official Vortex Wars 2 Chat!
Spoiler: show
Client:
Code: Select all
[b][size=140][color=#800000]Check it out:[/color][/size] [url=http://vortexwars.com/forum/viewtopic.php?f=4&t=5117][size=120][color=#0040BF]Custom StandAlone Client for VortexWars! [WiP][/b][/color][/size][/url]
Chat:
Code: Select all
[url=http://us20.chatzy.com/12517185740288]The Unofficial Official Vortex Wars 2 Chat![/url]
User avatar
Joriom

 
Posts: 394
Joined: Tue Nov 08, 2011 9:18 am
Location: Under Lopdos bed

Re: ActionScrip debug error

Postby Joriom » Fri Aug 10, 2012 1:40 pm

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 3158 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 3158 times

This time i resized the window so everything can be seen.
Check it out: Custom StandAlone Client for VortexWars! [WiP]
The Unofficial Official Vortex Wars 2 Chat!
Spoiler: show
Client:
Code: Select all
[b][size=140][color=#800000]Check it out:[/color][/size] [url=http://vortexwars.com/forum/viewtopic.php?f=4&t=5117][size=120][color=#0040BF]Custom StandAlone Client for VortexWars! [WiP][/b][/color][/size][/url]
Chat:
Code: Select all
[url=http://us20.chatzy.com/12517185740288]The Unofficial Official Vortex Wars 2 Chat![/url]
User avatar
Joriom

 
Posts: 394
Joined: Tue Nov 08, 2011 9:18 am
Location: Under Lopdos bed

Re: ActionScrip debug error

Postby Lopdo » Fri Aug 10, 2012 1:45 pm

thanks, that might be very helpful. From what I see,someone attacked region that belonged to player that left previously, is that so?
Quis custodiet ipsos custodes?

- Feel free to correct all my grammar mistakes -
User avatar
Lopdo
Site Admin
 
Posts: 2691
Joined: Sat May 28, 2011 3:14 pm

Re: ActionScrip debug error

Postby Joriom » Fri Aug 10, 2012 2:03 pm

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)
Check it out: Custom StandAlone Client for VortexWars! [WiP]
The Unofficial Official Vortex Wars 2 Chat!
Spoiler: show
Client:
Code: Select all
[b][size=140][color=#800000]Check it out:[/color][/size] [url=http://vortexwars.com/forum/viewtopic.php?f=4&t=5117][size=120][color=#0040BF]Custom StandAlone Client for VortexWars! [WiP][/b][/color][/size][/url]
Chat:
Code: Select all
[url=http://us20.chatzy.com/12517185740288]The Unofficial Official Vortex Wars 2 Chat![/url]
User avatar
Joriom

 
Posts: 394
Joined: Tue Nov 08, 2011 9:18 am
Location: Under Lopdos bed

Re: ActionScrip debug error

Postby Lopdo » Fri Aug 10, 2012 3:20 pm

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 :)
Quis custodiet ipsos custodes?

- Feel free to correct all my grammar mistakes -
User avatar
Lopdo
Site Admin
 
Posts: 2691
Joined: Sat May 28, 2011 3:14 pm

Re: ActionScrip debug error

Postby Joriom » Tue Aug 14, 2012 11:24 am

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]
Check it out: Custom StandAlone Client for VortexWars! [WiP]
The Unofficial Official Vortex Wars 2 Chat!
Spoiler: show
Client:
Code: Select all
[b][size=140][color=#800000]Check it out:[/color][/size] [url=http://vortexwars.com/forum/viewtopic.php?f=4&t=5117][size=120][color=#0040BF]Custom StandAlone Client for VortexWars! [WiP][/b][/color][/size][/url]
Chat:
Code: Select all
[url=http://us20.chatzy.com/12517185740288]The Unofficial Official Vortex Wars 2 Chat![/url]
User avatar
Joriom

 
Posts: 394
Joined: Tue Nov 08, 2011 9:18 am
Location: Under Lopdos bed


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 29 guests