MarioE / BuildMode

Adds a command for builders for TShock.
2 stars 5 forks source link

Time does not work on TShock 4.0.5 #1

Open Simon311 opened 11 years ago

Simon311 commented 11 years ago

Does not make it day on TShock 4.0.5 You can see it trying though Tried recompiling, still does not work

Simon311 commented 11 years ago

Also, still crashes TerraHax, even though one of the commits suggests its fixed

MarioE commented 11 years ago

Do you have TerraHax's crash log?

Also, /buildmode works correctly in TShock 4.0.5. http://puu.sh/3zPw1.png

Simon311 commented 11 years ago

No, can't see hostile NPC's I'll check again if this time thing works on a 100% pure installation

Simon311 commented 11 years ago

This is odd. Works on downloaded TShock 4.0.5, but does not work on mine (with no other plugins)

Simon311 commented 11 years ago

Ok, found the problem. Time thing does not work if you have UseServerName=true in config Also, will send some old TerraHax logs

Simon311 commented 11 years ago

https://dl.dropboxusercontent.com/u/6568152/client-crashlog.txt The one with BuildMode is probably NullReference. Not sure Can't recreate a crash =/

MarioE commented 11 years ago

Well, that's very annoying. The server decides to send the time itself, bypassing my method of replacing the time. I'll see if there's another way to do the time.

Simon311 commented 11 years ago

Crashed just now, with /buildmode fully functioning, 40 secs after enabling it:

06.07.2013 12:25:40 System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта. в ..(Boolean bg,  ) в ..(GameTime ) в Microsoft.Xna.Framework.Game.DrawFrame() в Microsoft.Xna.Framework.Game.Tick() в Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e) в Microsoft.Xna.Framework.GameHost.OnIdle() в Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame() в Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e) в System.EventHandler.Invoke(Object sender, EventArgs e) в System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) в System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) в System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) в System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) в System.Windows.Forms.Application.Run(Form mainForm) в Microsoft.Xna.Framework.WindowsGameHost.Run() в Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun) в Microsoft.Xna.Framework.Game.Run() в ..(String[] )