Author Topic: Bug reports (0.9.5)  (Read 3728 times)

Vinzent Zeppelin

  • Newbie
  • *
  • Posts: 7
    • View Profile
Bug reports (0.9.5)
« on: August 05, 2014, 11:21:44 pm »
After about 10 hours of play-time, here are the major issues I've found.  Running 0.9.5 on AMD FX-6300, R9 270X, Windows 7.

Invalid mission states
After a crash-to-desktop upon jumping through a gate, I restarted the game and found that Station Commanders would only offer this response when I asked about missions:

5.8.14 23:55:57.7575: Important:
Dialog batch:
>> Sorry, I haven't got anything for you now. Besides, you already have a lot of tasks. Complete them first, and then come back - and then maybe, I'll have something for you.


I looked around and saw that faction missions I had previously completed were also "re-opened"; i.e. the relevant NPC had a dialogue option corresponding with the mission's final stage.  Putting two and two together, I guessed that this was also the reason I couldn't get new missions from Station Commanders; the server still read them as being in progress, but I had no way to finish them.  I've found nothing in the log files regarding the crash itself or anything indicating a corrupted save file.

No sale
Perhaps the biggest issue I've seen is that I cannot properly sell anything when in station except for consumables and trade goods.  The interface works properly in that I could select and drag the item to the left (and shift-click), but I get no money from selling equipment or hulls.  The item is moved to the station's inventory where it is listed with a cost of 0, but when attempting to move that item back to my own inventory, I'm charged the regular price.  This occurs to and from ship and storage inventory.  I checked the server log and noticed a runtime error that may relate to this:

6.8.14 00:03:18.8317: Error:
Exception occured while processing command: StationSellItem id=8516
127.0.0.1:61703

Exception Specified cast is not valid.
   -------------------------stack-------------------------
   at stHYWsbTy2aB0TTaYE7.p4kGHQGze 9Tbfn6UJS5.DkDq416jUt(Item  , ItemsContainer  , UInt32  , UInt32  , Boolean  )
   at AtomicTorch.SpaceRPG.Server.D ataObjects.ItemsContainer.OnI temAltered(Item item, Byte slotId)
   at AtomicTorch.SpaceRPG.Server.D ataObjects.ItemsContainer.OnI temAdded(Item itm, Byte slotId)
   at AtomicTorch.SpaceRPG.Server.D ataObjects.ItemsContainer.Add Item(UInt32 slotId, UInt32 itemId, Boolean bRaiseEvents)
   at AtomicTorch.SpaceRPG.Server.M odules.InventoryModule.MoveIt emFromContainerToContainer(UInt32 itemId, ItemsContainer srcContainer, ItemsContainer destContainer, Byte destSlot, UInt16 quantity, UInt16& movedQuantity)
   at AtomicTorch.SpaceRPG.Server.M odules.InventoryModule.MoveIt emFromContainerToContainer(UInt32 itemId, UInt32 srcContainerId, UInt32 destContainerId, Byte destSlot, UInt16 quantity, UInt16& movedQuantity)
   at LVCY5KGiCAu67XnvLY8.de11fIG5m 1YCQXjPZl7.PeoaBgPZA2(CommandSellItem  )
   at LVCY5KGiCAu67XnvLY8.de11fIG5m 1YCQXjPZl7.HandleCommand(BaseCommand  )
   at MjHgvnGXDP5ElHrJn8M.tdZTYdGJZ TvQL368Pvd.BIGCNd4MES(BaseCommand  )


Will keep playing and reporting on any other problems I find.  I'm honestly surprised the game hasn't picked up a lot more attention; it definitely has the potential to be an amazing indie hit.

Lurler

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1318
    • View Profile
Re: Bug reports (0.9.5)
« Reply #1 on: August 05, 2014, 11:54:03 pm »
I can assume that your save got corrupted after the crash and all these problems steam from it unfortunately...
We will investigate the issue and hopefully think of some solution.
Thank you for letting us know.

Could you please attach your save file and all logs for us to investigate, though?
You can upload them to dropbox, mediafire or any other file sharing service.
« Last Edit: August 06, 2014, 07:32:18 pm by Lurler »

Vinzent Zeppelin

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Bug reports (0.9.5)
« Reply #2 on: August 06, 2014, 06:05:35 pm »
Thanks for the quick response.  I started a new save file to do some testing on this, and it turns out that the inventory/sale bug persists.  I checked the server log immediately after attempting to sell something and saw another "specified cast is not valid" error (timestamp 19:37:48.3474).

Here are the relevant files:

slot_1
Logs/Log_VoidExpanse_Server_2014-08-06_19-01.log
VoidExpanse_Data/output_log.txt

Edit: Just checked, and I'm still getting the "you already have a lot of tasks" response from station commanders as well, so it doesn't seem to be a save file issue.
« Last Edit: August 06, 2014, 06:49:12 pm by Vinzent Zeppelin »

Vinzent Zeppelin

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Bug reports (0.9.5)
« Reply #3 on: August 09, 2014, 01:13:28 am »
Update: I started a new save file with a different seed and have not encountered either of the two bugs mentioned above.  However, after completing an ore delivery mission, receiving my reward, and then returning to the Station Commander, saw that the quest remained open.  (The dialogue option was still present, prompting me to gather another 150 Glepsite.)  Here's the log snippet for that:

9.8.14 03:01:08.3764: Important:
Dialog with NPC Ship Station Commander (ID=8173) started
127.0.0.1:64850; 1 Vinzent Zeppelin

9.8.14 03:01:10.0245: Important:
Dialog topic changed: generic_quest_ore_delivery
127.0.0.1:64850; 1 Vinzent Zeppelin

9.8.14 03:01:10.0445: Error:
Script error! generic_quest_ore_delivery:80 : function anonymous :: TypeError: undefined cannot be converted to an object

9.8.14 03:01:10.0445: Important:
Dialog batch:
>> Good job! Now we can finally complete our repairs. Here is your money.

127.0.0.1:64850; 1 Vinzent Zeppelin


I don't have enough information to reproduce it, since this is the only time it's occurred.  I'll do some experimenting tomorrow.

Rhywden

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Bug reports (0.9.5)
« Reply #4 on: August 09, 2014, 04:15:48 am »
I'm also getting the "you have a lot of tasks" dialogue from station commanders. Also, ALL of my quests' endings are repeatable - I could undock, redock and get the quest reward infinite times.
I also joined the Order faction and have yet to find a follow-up quest or the "special faction bonuses".

https://www.dropbox.com/sh/460n29v7x2z24mp/AAAvCaXbU5QqTOyQdEdJ3V8Pa

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1929
    • View Profile
Re: Bug reports (0.9.5)
« Reply #5 on: August 10, 2014, 01:45:22 am »
Hello! Thanks for all reports guys!
Provide us more server logs please - they will help us very much in locating scripting issues.
Regards!

Vinzent Zeppelin

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Bug reports (0.9.5)
« Reply #6 on: August 10, 2014, 08:11:54 am »
Sure, here's the server log for the improperly closed mission.  You'll notice that I did complete that same mission earlier at a different location without any issue.

Logs/Log_VoidExpanse_Server_2014-08-08_23-19.log

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1929
    • View Profile
Re: Bug reports (0.9.5)
« Reply #7 on: August 15, 2014, 04:21:33 am »
Fixed in v0.9.6c (Experimental).