I crash everytime I try to join a server (Steam)(Ver. 0.95)

Reports any bugs you find here. Please read the rules for reporting bugs, so we can make the best effort to fix them. Please also check the below bug tracker if your bug already exists. Duplicates will be deleted and ignored. Do not bump.

I crash everytime I try to join a server (Steam)(Ver. 0.95)

Postby Checkmate101 » Thu Jun 25, 2015 9:39 pm

Everytime I try to join a server, I get this error code:
The type initializer for 'RakNet.RakNetPINVOKE' threw an exception.
at RakNet.RakNetPINVOKE.new_BitStream__SWIG_0()
at SharedGameData.Networking.PCNetworkManager..ctor(Object state)
at SkyNations.Screens.Gameplay..ctor(Game1 game, String ip, Int32 port)
at SkyNations.Screens.Lobby.ConnectToServer(String ip, Int32 port)
at SkyNations.UI.GUI.LobbyDesktop.ServerList_OnMouseClick(Control sender, MouseEventArgs args)
at Squid.MouseEvent.Invoke(Control sender, MouseEventArgs args)
at Squid.Control.OnMouseClick(Int32 button)
at Squid.Control.OnMouseRelease(Int32 button)
at Squid.Control.DoEvents()
at Squid.Desktop.Update()
at SkyNations.Screens.Lobby.Update(GameTime time)
at Bengine.States.StateManager.Update(GameTime time)
at SkyNations.Game1.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at SkyNations.Program.Main(String[] args)
Checkmate101
 
Posts: 2
Joined: Thu Jun 25, 2015 9:36 pm

Re: I crash everytime I try to join a server (Steam)(Ver. 0.

Postby MrBenjammin » Sat Jun 27, 2015 7:56 pm

Hey, this sounds to be quite likely an Antivirus or similar program on your PC deleting one of the libraries Sky Nations uses. Make sure in the Sky Nations install directory(Steam/SteamApps/Common/Sky Nations/) that RakNet.dll is added to any allow lists of these type of softwares and also RakNet.dll in the x86 folder within the same directory. That should most likely sort it.

You could also be missing a redistributable the game installs the first time it runs. Which you can grab here:
https://www.microsoft.com/en-gb/download/details.aspx?id=40784
Pick vcredist_x84.exe from the download list.
Developer of Sky Nations
@MrBenjammmin
MrBenjammin
Site Admin
 
Posts: 904
Joined: Wed Jun 12, 2013 11:13 pm

Re: I crash everytime I try to join a server (Steam)(Ver. 0.

Postby Checkmate101 » Mon Jun 29, 2015 7:10 pm

Thank you so much!
Checkmate101
 
Posts: 2
Joined: Thu Jun 25, 2015 9:36 pm

Re: I crash everytime I try to join a server (Steam)(Ver. 0.

Postby Shadow300 » Tue Jul 07, 2015 10:02 pm

The type initializer for 'RakNet.RakNetPINVOKE' threw an exception.
at RakNet.RakNetPINVOKE.new_BitStream__SWIG_0()
at SharedGameData.Networking.PCNetworkManager..ctor(Object state)
at SkyNations.Screens.Gameplay..ctor(Game1 game, String ip, Int32 port)
at SkyNations.Screens.Lobby.ConnectToServer(String ip, Int32 port)
at SkyNations.UI.GUI.LobbyDesktop.ServerList_OnMouseClick(Control sender, MouseEventArgs args)
at Squid.MouseEvent.Invoke(Control sender, MouseEventArgs args)
at Squid.Control.OnMouseClick(Int32 button)
at Squid.Control.OnMouseRelease(Int32 button)
at Squid.Control.DoEvents()
at Squid.Desktop.Update()
at SkyNations.Screens.Lobby.Update(GameTime time)
at Bengine.States.StateManager.Update(GameTime time)
at SkyNations.Game1.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at

But it still says that i am playing it. PLEASE HELP ME!!!

why is this happening?
Shadow300
 
Posts: 1
Joined: Tue Jul 07, 2015 10:00 pm

Re: I crash everytime I try to join a server (Steam)(Ver. 0.

Postby MrBenjammin » Wed Aug 05, 2015 2:12 am

Hey shadow, same solution as I posted above should sort it for you. You need to download/install vcredist_x86.exe from the list here:
https://www.microsoft.com/en-gb/downloa ... x?id=40784
Developer of Sky Nations
@MrBenjammmin
MrBenjammin
Site Admin
 
Posts: 904
Joined: Wed Jun 12, 2013 11:13 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 4 guests

cron