Jump to content

Kicked RPC_WantsMount

Can't Reproduce 1.1.45

Wizla
Wizla

Posted

Players keep getting kicked trying to enter gunships:

NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Transform.get_position_Injected(UnityEngine.Transform,UnityEngine.Vector3&)
  at UnityEngine.Transform.get_position () [0x00000] in <5f55adde392a4f559fa097c2225879c0>:0
  at BaseVehicle.GetIdealMountPoint (UnityEngine.Vector3 eyePos, UnityEngine.Vector3 pos, BasePlayer playerFor) [0x000bf] in <b511cfa23ce140008320a4b72b79b053>:0
  at BaseVehicle.GetIdealMountPointFor (BasePlayer player) [0x00031] in <b511cfa23ce140008320a4b72b79b053>:0
  at BaseVehicle.AttemptMount (BasePlayer player, System.Boolean doMountChecks) [0x00019] in <b511cfa23ce140008320a4b72b79b053>:0
  at BaseMountable.WantsMount (BasePlayer player) [0x00041] in <b511cfa23ce140008320a4b72b79b053>:0
  at BaseMountable.RPC_WantsMount (BaseEntity+RPCMessage msg) [0x00000] in <b511cfa23ce140008320a4b72b79b053>:0
  at BaseMountable.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x001a9] in <b511cfa23ce140008320a4b72b79b053>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
BaseMountable:OnRpcMessage(BasePlayer, UInt32, Message)
BaseVehicle:OnRpcMessage(BasePlayer, UInt32, Message)
PlayerHelicopter:OnRpcMessage(BasePlayer, UInt32, Message)
BaseEntity:SV_RPCMessage(UInt32, Message)
ServerMgr:OnRPCMessage(Message)
ServerMgr:OnNetworkMessage(Message)
Facepunch.Network.Raknet.Server:ProcessRead(NetRead)
Network.BaseNetwork:Cycle()
ServerMgr:Update()

TGWA

Posted

@Wizla thanks for letting me know. Are the players being kicked when they they try to mount the vehicle itself or when they try to mount one of the turrets? Specifically which vehicles are having this issue so far?

Please let me know any specifics on this issue, I will have a look later today 😄 

TGWA

Posted

Changed Status from Pending to Work in Progress

Wizla

Posted

@TGWA Thanks for speedy response! I had one player say it was the Sedan that kicked them, and another had a kick from the Fighter. The kicks were immediately after trying to enter the seat.

After applying the update earlier, there were a few error messages that appeared on loading the plugin (attached below) and also all the existing gunships on the server spawned in around 50-100m in the sky, I tried entering one to start engine and let it fall but I got the same kick for RPC_WantsMount, so removed them using ent kill instead.

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.GunShip+Guardian.<Init>b__27_0 () [0x0000c] in <ea86c6701c64486f8871d59f0bcc4157>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <beb2b64691c64e2b95b99491bd85442c>:0

 

TGWA

Posted

 

4 hours ago, Wizla said:

@TGWA Thanks for speedy response! I had one player say it was the Sedan that kicked them, and another had a kick from the Fighter. The kicks were immediately after trying to enter the seat.

After applying the update earlier, there were a few error messages that appeared on loading the plugin (attached below) and also all the existing gunships on the server spawned in around 50-100m in the sky, I tried entering one to start engine and let it fall but I got the same kick for RPC_WantsMount, so removed them using ent kill instead.

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.GunShip+Guardian.<Init>b__27_0 () [0x0000c] in <ea86c6701c64486f8871d59f0bcc4157>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <beb2b64691c64e2b95b99491bd85442c>:0

 

Thanks for the info, ill take a look in a bit and will update this ticket once ive had a chance to do so 🙂

TGWA

Posted

@Wizla, I am unfortunatly unable to replicate this issue directly. It seems that the update has caused a few minor issues here and there with some other people as well due to changes within the config file. If possible please backup your config file and delete it along with the data/gunship/VehicleData.json file. This will fully reset all data associated with the plugin and everything should work as intended afterwards.

TGWA

Posted

Changed Status from Work in Progress to Can't Reproduce

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.