You are viewing a potentially older version of this package. View all versions.
NotezyTeam-BetterServerRpcErrorLog-0.0.3 icon

BetterServerRpcErrorLog

An experimntal mod that logs where the 'Only the owner can invoke a ServerRpc' error is being logged from in the console.

Date uploaded 5 months ago
Version 0.0.3
Download link NotezyTeam-BetterServerRpcErrorLog-0.0.3.zip
Downloads 216
Dependency string NotezyTeam-BetterServerRpcErrorLog-0.0.3

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Experemintal!

This mod is used for Mod Devlopers who use networking and need to know if the "Only the owner can invoke a ServerRpc" error is being thrown from their mod or not.

There are 2 log stages in the config: Basic: Shows the method that called the RPC error, Advanced: Shows the stacktrace with the method that called the RPC error

CHANGELOG

0.0.3

  • Reprogrammed Systems
  • Instead of directly patching Unity's Error Log, the mod now patches every server rpc and server rpc handler in the asyncronsly
  • Added support for _rpc_handler methods that also log the "Only the owner can invoke a ServerRpc that requires ownership!" error
  • Removed Logging levels config
  • Updated Assembly name to be constitant with mod page
  • Added option to remove the part of the error log that contains the BetterServerRpcErrorLog itself

0.0.2

  • Removed Example TV Patch (Whoops)

0.0.1

  • Inital Releese