Releases: DorCoMaNdO/FiveMServerWrapper
1.4.1
1.4
Added GetEventSource() and a property EventSource which calls the same function to retrieve an event's source, will return -1 for server, and a player's netID when triggered via a client.
Removed RconPrint, no longer using reflection for Print, prints now show their call location from within ServerWrapper.
Fixed calls to GetPlayer... functions for a player that doesn't exist resulting exceptions.
Fixed delegate references not being removed.
1.3
Removed a testing call to the chatMessage event.
The rcon commands are now case insensitive.
Removed some properties in Player that I believe are not intended for scripts to use, removed setters for the remaining properties.
Removed Touch() in Player.
Added support for delegates as event arguments (across ServerWrapper scripts only, the string identifier used locally to retrieve the delegate will be passed to lua)
Fixed an error that may occur when automatically removing a script's "rconCommand" event handlers during Unload().
Added StopResource, StartResource, SetGameType and SetMapName.
1.2
Fixed an error that's caused when Unload() is called before Load() (when
scripts were unloaded before being completely loaded)
Added more exception prints to get more data from possible errors.
Added code to automatically remove ServerWrapper assemblies found in the
Scripts folder.
Added code to manage NLua type conversations (currently only LuaTable)
to other, supported types, as a workaround for arguments used by events.
Added automatic update checks, update notifications printed to the
console when an update is found, update checks/notifications are done
every 10 minutes.
1.1
Fixed ScriptTimer.Tick() still being triggered once if TickTimer was
changed to false during Load()
Fixed Tick() timer not starting when TickTimer is set to true after
being set to false.
Added "padding" after key messages from the ServerWrapper to make it
easier on the eyes when reloading scripts.
Added AddDependency(Type t) for scripts to control the Load() order of
scripts.
1.0.1
Tiny fix for class visibility.
First public release
1.0 Initial commit.