Jump to content

[41.66 Unstable] [Multiplayer] RCON additem command throws exception, response empty


CSSFerret

Recommended Posts

When giving a player an item via RCON I noticed the usual "Item [Item] Added in [Player]'s inventory." response was instead empty, despite the player receiving the item. Checking the server logs revealed an exception:

zomboid_1  | LOG  : General     , 1645659132058> 6,577,061,515> RCON: ID=1 Type=2 Body='additem Player Base.TinCanEmpty' Socket[addr=/127.0.0.1,port=58724,localport=27015]
zomboid_1  | ERROR: General     , 1645659132127> 6,577,061,584> java.lang.NullPointerException: Cannot read field "playerIDs" because "this.connection" is null
zomboid_1  | ERROR: General     , 1645659132128> 6,577,061,584>         at zombie.commands.serverCommands.AddItemCommand.Command(AddItemCommand.java:93)
zomboid_1  | ERROR: General     , 1645659132128> 6,577,061,585>         at zombie.commands.CommandBase.Execute(CommandBase.java:127)
zomboid_1  | ERROR: General     , 1645659132128> 6,577,061,585>         at zombie.network.GameServer.handleServerCommand(GameServer.java:1126)
zomboid_1  | ERROR: General     , 1645659132128> 6,577,061,585>         at zombie.network.GameServer.rcon(GameServer.java:1097)
zomboid_1  | ERROR: General     , 1645659132129> 6,577,061,586>         at zombie.network.RCONServer$ExecCommand.update(RCONServer.java:336)
zomboid_1  | ERROR: General     , 1645659132129> 6,577,061,586>         at zombie.network.RCONServer.updateMain(RCONServer.java:375)
zomboid_1  | ERROR: General     , 1645659132129> 6,577,061,586>         at zombie.network.RCONServer.update(RCONServer.java:401)
zomboid_1  | ERROR: General     , 1645659132129> 6,577,061,586>         at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
zomboid_1  | ERROR: General     , 1645659132130> 6,577,061,587>         at zombie.network.GameServer.main(GameServer.java:878)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...