Skip to content

Releases: DorCoMaNdO/FiveMServerWrapper

1.4.1

25 May 20:57
Compare
Choose a tag to compare

Fixed lifetime leases of remote objects expiring when still in use.

Delegate references are now stored by the reference string rather than the delegate, to prevent possible collisions.

1.4

24 May 20:43
Compare
Choose a tag to compare
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

23 May 14:51
Compare
Choose a tag to compare
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

22 May 02:17
Compare
Choose a tag to compare
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

18 May 14:16
Compare
Choose a tag to compare
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

18 May 05:45
Compare
Choose a tag to compare

Tiny fix for class visibility.

First public release

18 May 05:14
Compare
Choose a tag to compare
1.0

Initial commit.