Unclaimed World

Unclaimed World

Преглед на статистиките:
Crash when start a game - Attempted to divide by zero.
Последно редактиран от kubluu; 6 юни 2014 в 9:05
< >
Показване на 1-9 от 9 коментара
---------------------------
Fatal error 0.0.0.9
---------------------------
Whoops - fatal error. Press Ctrl-C to copy the contents of this dialog and paste the text into the forums:

Attempted to divide by zero.

at UWGame.ClientSide.Interface.HUD_Windows.HUDEventLog.GetAllData()

at UWGame.ClientSide.Interface.HUD_Windows.HUDEventLog.RefreshFirstPage()

at UWGame.ClientSide.Interface.HUD_Windows.HUDEventLog.Refresh()

at UWGame.ClientSide.Interface.HUD_Windows.HUDWindow.UpdateContent(GameTime elapsed)

at UWGame.ClientSide.Interface.InGameInterface.Update(GameTime gameTime)

at UWGame.ClientSide.Client.Update(GameTime gameTime, Boolean otherScreenHasFocus, Boolean coveredByOtherScreen)

at UWGame.Control.Controller.Update(GameTime gameTime)
---------------------------
OK
---------------------------
This is a known error which occurs in some cases - thankfully, we have a solution. Please do these steps:

1. Find the file Options.xml in Documents/Unclaimed World and open it with Notepad

2. Locate this line close to the bottom of the document:
<LogMessagesPerPage>20</LogMessagesPerPage>
Make sure that it says 20 and not 0. If it says 0 then change it to 20.

3. Also, while you're there, check these lines (at the bottom of the document) and make sure the values look like this in your document:

<ProductionMode>Basic</ProductionMode>
<ShowAllTools>false</ShowAllTools>
<LogMessagesPerPage>20</LogMessagesPerPage>
<TalkLogMessagesToShow>60</TalkLogMessagesToShow>
<MaxAlerts>5</MaxAlerts>
<AlertLifetime>5</AlertLifetime>

4. Save the file

This should make you able to run the game again.

(We still don't know what causes the default values in the document to be set wrong in some cases, but until we solve that, this is a workaround making you able to play the game)
Последно редактиран от Refactored Games; 18 юни 2014 в 6:57
game crashs on start
i get this when it crashs


---------------------------
Fatal error 0.0.0.10
---------------------------
Whoops - fatal error. Press Ctrl-C to copy the contents of this dialog and paste the text into the forums:

Attempted to divide by zero.

at UWGame.ClientSide.Interface.HUD_Windows.HUDEventLog.GetAllData()

at UWGame.ClientSide.Interface.HUD_Windows.HUDEventLog.RefreshFirstPage()

at UWGame.ClientSide.Interface.HUD_Windows.HUDEventLog.Refresh()

at UWGame.ClientSide.Interface.HUD_Windows.HUDWindow.UpdateContent(GameTime elapsed)

at UWGame.ClientSide.Interface.InGameInterface.Update(GameTime gameTime)

at UWGame.ClientSide.Client.Update(GameTime gameTime, Boolean otherScreenHasFocus, Boolean coveredByOtherScreen)

at UWGame.Control.Controller.Update(GameTime gameTime)
---------------------------
OK
---------------------------
can any one help me
Първоначално публикувано от garykelly712:
game crashs on start
i get this when it crashs
I merged your topic since it is a known error...
Fatal error 0.0.0.10
---------------------------
Fatal error 0.0.0.10
---------------------------
Whoops - fatal error. Press Ctrl-C to copy the contents of this dialog and paste the text into the forums:

Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

at System.ThrowHelper.ThrowArgumentOutOfRangeException()

at UWGame.ClientSide.Interface.EventLogPanel.Log_NewEventAlert(Event newEvent)

at UWGame.ClientSide.Log.Log.AddLogEvent(EventType eventType, Entity concernedEntity, String eventText, Nullable`1 priority)

at UWGame.SimSide.AI.Goals.GoalDoAttack.ProcessWhileActive(GameTime elapsed)

at UWGame.SimSide.AI.Goals.Goal.Process(GameTime elapsed)

at UWGame.SimSide.AI.Goals.CompositeGoal.ProcessSubgoals(GameTime elapsed)

at UWGame.SimSide.AI.Goals.GoalAttack.ProcessWhileActive(GameTime elapsed)

at UWGame.SimSide.AI.Goals.Goal.Process(GameTime elapsed)

at UWGame.SimSide.AI.Goals.CompositeGoal.ProcessSubgoals(GameTime elapsed)

at UWGame.SimSide.AI.Goals.GoalThink.ProcessThink(GameTime elapsed)

at UWGame.SimSide.Entities.Entity.Update(GameTime time)

at UWGame.SimSide.Sim.Update(GameTime gameTime, Boolean otherScreenHasFocus, Boolean coveredByOtherScreen)

at UWGame.Control.Controller.Update(GameTime gameTime)
---------------------------
ОК
---------------------------

running game in windowed mode
win7 x64
Thanks. The error seems related to logging a combat message. We will look into it.
We have now investigated, and found that this error is caused by the Options.xml file containing invalid values (zeroes). I will merge it with the other thread.
See post #2 for a step-by-step solution.
Последно редактиран от Refactored Games; 18 юни 2014 в 6:58
Thank you! The game is great!!
I have now made an update (in 0.0.0.12) so the invalid options data should be detected at startup. In that case, the default values will be used... and the Options.xml file will be disregarded. This should be a workaround until we can figure out what is going on.

For those who had this problem before, what happens to the Options.xml file when you change options in-game? Are the settings saved correctly..?
< >
Показване на 1-9 от 9 коментара
На страница: 1530 50

Дата на публикуване: 18 май 2014 в 7:29
Публикации: 9