Norn submitted a new resource:
Magic Stakes - Set which stake you spawn at via command.
Read more about this resource...
MagicStakes
Moved
Total Downloads: 210 - First Release: Jun 4, 2017 - Last Update: Jun 7, 2017
- 0/5, 0 likes
-
Norn updated Magic Stakes with a new update entry:
0.1.1
-
Seems pretty rare thus far, but this shows up sometimes
Code:11:30 [Error] Failed to call hook 'SetSpawnCommand' on plugin 'MagicStakes v0.1.1' (NullReferenceException: Object reference not set to an instance of an object) 11:30 [Stacktrace] at Oxide.Plugins.MagicStakes.SetSpawnCommand (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.MagicStakes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 11:30 [Warning] Calling 'SetSpawnCommand' on 'MagicStakes v0.1.1' took 218ms
Last edited by a moderator: Jun 5, 2017 -
-
Another issue, which I think you probably know about, is that stakes are only cleaned out of the list when server restarts. Perhaps you could add some sort of pruning timer we could set (for example prune every 1 hour) to clean lists of old stakes. Would require a data file probably though. -
-
---=== SpawnStakes ===---
You are authorized at number: {count} Name: {territory}
Number: 1,2,3,4,5,6,7,8 -
-
-
-
Norn updated Magic Stakes with a new update entry:
0.1.2
-
Norn updated Magic Stakes with a new update entry:
0.1.2
-
-
-
---=== SpawnStakes ===---
You are authorized at number: {count} Name: {territory}
Number: 1,2,3,4,5,6,7,8 -
-
-
-
You are authorized at number: {count} Name: {territory}
------------- List ----------------
[ Number: {stake} | Name: {territory} ]
[ Number: {stake} | Name: {territory} ]
[ Number: {stake} | Name: {territory} ]
[ Number: {stake} | Name: {territory} ]
[ Number: {stake} | Name: {territory} ]
[ Number: {stake} | Name: {territory} ]