Pokemon Uranium
Help Game crashes during online battle with friend - Printable Version

+- Pokemon Uranium (https://pokemonuranium.co/forum)
+-- Forum: Pokemon Uranium (https://pokemonuranium.co/forum/forumdisplay.php?fid=1)
+--- Forum: Help Desk (https://pokemonuranium.co/forum/forumdisplay.php?fid=4)
+--- Thread: Help Game crashes during online battle with friend (/showthread.php?tid=2157)



Game crashes during online battle with friend - Ytawo - 09-24-2018

When battling a friend online, after about 10 turns the game crashes with this error message:


---------------------------
Pokemon Uranium
---------------------------
Exception: RuntimeError
Message: Script error within event 10, map 13 (Rochfale Town):
Exception: TypeError
Message: (eval):209:in `dump'no marshal_dump is defined for class Viewport
***Full script:
Kernel.pbTransferPlayer($game_map.map_id,15,5)
OnlineLobby.open

Interpreter:243:in `pbExecuteScript'
(eval):209:in `pbStartBattleCore'
(eval):191:in `loop'
(eval):275:in `pbStartBattleCore'
(eval):2554:in `pbStartBattle'
PokeBattle_BattleRecord:59:in `pbStartBattle'
(eval):33:in `start_battleonline'
(eval):32:in `pbSceneStandby'
(eval):34:in `start_battleonline'
(eval):31:in `pbBattleAnimation'

Interpreter:276:in `pbExecuteScript'
Interpreter:1600:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Interpreter:124:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
* Scene_Map:104:in `update'

We battled 3 times and this always happened to me at some point, never to him. Always the same stacktrace. Any idea? Let me know if you need more details.


RE: Game crashes during online battle with friend - Mikaruge108 - 09-24-2018

(09-24-2018, 12:27 PM)Ytawo Wrote: When battling a friend online, after about 10 turns the game crashes with this error message:


---------------------------
Pokemon Uranium
---------------------------
Exception: RuntimeError
Message: Script error within event 10, map 13 (Rochfale Town):
Exception: TypeError
Message: (eval):209:in `dump'no marshal_dump is defined for class Viewport
***Full script:
Kernel.pbTransferPlayer($game_map.map_id,15,5)
OnlineLobby.open

Interpreter:243:in `pbExecuteScript'
(eval):209:in `pbStartBattleCore'
(eval):191:in `loop'
(eval):275:in `pbStartBattleCore'
(eval):2554:in `pbStartBattle'
PokeBattle_BattleRecord:59:in `pbStartBattle'
(eval):33:in `start_battleonline'
(eval):32:in `pbSceneStandby'
(eval):34:in `start_battleonline'
(eval):31:in `pbBattleAnimation'

Interpreter:276:in `pbExecuteScript'
Interpreter:1600:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Interpreter:124:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
* Scene_Map:104:in `update'

We battled 3 times and this always happened to me at some point, never to him. Always the same stacktrace. Any idea? Let me know if you need more details.

a couple suggestions:
-make sure the game is completely up to date (the latest version is 1.2.3)
-uninstall the game then reinstall it. (its possible that a file got corrupted with an install)


RE: Game crashes during online battle with friend - PhantomUnderYourDesk - 09-24-2018

Haha, was about about to suggest the same things. :>

Reinstalling from the official Reddit has solved issues already a few times, I'd definitely try that.


RE: Game crashes during online battle with friend - Iron - 09-24-2018

I think that can also happen if your battle gets desynced. Make sure both of you keep focus on the game - don't click anywhere else or open any new apps.


RE: Game crashes during online battle with friend - Ytawo - 09-26-2018

Thanks for the answer guys! I re-installed the game, we made two more battles and the crash seems to be gone. However we still sometimes get out of sync: when I kill one of his pokémon, he sends a new one, but the game is not updated on my side and it waits indefinitely. It happens both ways: sometimes it's him who's waiting indefinitely, sometimes it's me (always happens when a pokémon gets killed though). We both play full screen and we don't touch the mouse during a battle, to make sure the game never loses the focus.

Is there anything we can do to prevent that?


RE: Game crashes during online battle with friend - Dragonstrike - 09-26-2018

Unfortunately, the game's online battles aren't the most stable thing even in the best of times.

There is, however, a browser based battle sim in development, and it's definitely a lot more stable.  It's almost done...but there are still some moves and abilities and such exclusive to Uranium that aren't working properly yet because they need to be built almost from scratch.