10.6 | Fatal error: MCDzienny.Player.Find

10.6 | Fatal error: MCDzienny.Player.Find

Postby Ultima » 21 Jun 2013, 17:58

Code: Select all
----6/21/2013 9:57:12 AM ----
Type: NullReferenceException
Source: MCDzienny_
Message: Object reference not set to an instance of an object.
Target: Find
Trace:    at MCDzienny.Player.Find(String name)
   at MCDzienny.InfectionSystem.InfectionSystem.StartInfection()
   at MCDzienny.InfectionSystem.InfectionSystem.InfectionThread()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

-------------------------


Server crash when zombie infection picks a player.
Also, when dont have enough players you got 1 second before you get infected.
User avatar
Ultima
 
Posts: 953
Joined: 19 Aug 2011, 23:45

Re: 10.6 | Fatal error: MCDzienny.Player.Find

Postby HETAL » 21 Jun 2013, 18:05

I wonder if dzienny replace the past method with playersync
YOU HAVENT SEEN THE LAST OF ME ISMELLIKE
HETAL
 
Posts: 397
Joined: 24 May 2013, 12:10

Re: 10.6 | Fatal error: MCDzienny.Player.Find

Postby dzienny » 21 Jun 2013, 20:18

Thank you for the report. It was indeed a fatal bug. It's fixed in the new version.

Ultima wrote:Also, when dont have enough players you got 1 second before you get infected.

Check the maps.txt -> countdown-seconds. If it's set to 1 then the countdown will be 1 second.

@HETAL
No, it's not related to ForeachSync, it just turned out that Player.Find(string) can't handle a null argument.
User avatar
dzienny
Administrator
 
Posts: 1181
Joined: 23 Jan 2011, 14:27

Re: 10.6 | Fatal error: MCDzienny.Player.Find

Postby HETAL » 21 Jun 2013, 20:25

excuse my mistake Ultima
YOU HAVENT SEEN THE LAST OF ME ISMELLIKE
HETAL
 
Posts: 397
Joined: 24 May 2013, 12:10


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 3 guests

cron