Page MenuHomeSchine - Phabricator

Starmade | hitting reactors results in no visible damage, indexoutofbounds exception
Closed, FinishedPublic

Description

When hitting a reactor part with any weapon, you get an IndexOutOfBoundsException. Any other damage (of all weapon types) will then not appear for you. Damage is still there after restarting though so it's only your client that is unable to update.

java.lang.IndexOutOfBoundsException: Index (0) is greater than or equal to list size (0)
	at it.unimi.dsi.fastutil.objects.ObjectArrayList.get(ObjectArrayList.java:258)
	at org.schema.schine.network.objects.remote.RemoteBuffer.get(RemoteBuffer.java:239)
	at org.schema.game.common.controller.SendableSegmentController.handleReceivedModifications(SendableSegmentController.java:1159)
	at org.schema.game.common.controller.SendableSegmentProvider.updateFromNetworkObject(SendableSegmentProvider.java:142)
	at org.schema.schine.network.synchronization.SynchronizationReceiver.handleChanged(SynchronizationReceiver.java:67)
	at org.schema.schine.network.synchronization.SynchronizationReceiver.update(SynchronizationReceiver.java:323)
	at org.schema.schine.network.commands.SynchronizePrivateChannel.clientAnswerProcess(SynchronizePrivateChannel.java:27)
	at org.schema.schine.network.client.ClientProcessor$HandleThread.parseNextPacket(ClientProcessor.java:846)
	at org.schema.schine.network.client.ClientProcessor$HandleThread.handle(ClientProcessor.java:792)
	at org.schema.schine.network.client.ClientProcessor$HandleThread.run(ClientProcessor.java:873)

Details

Commits
Restricted Diffusion Commit
Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.200.191
Category
Control Block System: Weapons
First occurrence (version)
0.200.181
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce
  1. fire one or more missiles at an unshielded target
  2. should deal no damage, and your logs should contain the above mentioned stacktrace.
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

lancake created this task.Nov 23 2017, 6:14 PM
Restricted Application added a project: CBS: Weapons. · View Herald TranscriptNov 23 2017, 6:14 PM
lancake updated the task description. (Show Details)Nov 23 2017, 6:32 PM
lancake renamed this task from Missiles deal no damage, arrayindexoutofbounds exception to hitting reactors results in no visible damage, indexoutofbounds exception.
schema added a subscriber: schema.Nov 23 2017, 9:06 PM

affecting missiles (specifically their explosions)

schema added a commit: Restricted Diffusion Commit.Nov 23 2017, 9:06 PM
schema changed the task status from In Queue to Resolved by committing Restricted Diffusion Commit.
Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptNov 23 2017, 9:06 PM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
lancake closed this task as Closed.

-QA Testing-

Fix confirmed.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptNov 27 2017, 5:20 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
lancake changed Last tested (version) from 0.200.181 to 0.200.191.Nov 27 2017, 5:20 PM