Awesome ninja! This plugin is gonna be awesome now, thanks a lot
Edit:
Tested it a bit now, added a VIP kit, for group "vip", works like a charm. The problem is that i want the default group "player" to give a "standard" kit for normal players. If i kick myself out of vip group so that i would be part of the normal "player" group this message shows up:
And no kit is redeemed. So how would i do to make the "player" group receive kits upon respawn? With the "player" group i mean any player connecting to the server.Code:[Oxide] 8:28 PM [Error] Failed to call hook 'OnPlayerRespawned' on plugin 'StartupItems v1.0.3' Traceback (most recent call last): File "StartupItems.py", line 54, in OnPlayerRespawned RuntimeError: Failed to call OnPlayerRespawned (IndexOutOfRangeException: index out of range: -1) at IronPython.Runtime.Operations.PythonOps.FixIndex (int,int) <0x000f1> at IronPython.Runtime.Operations.ArrayOps.GetItem (System.Array,int) <0x00031> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000e4> at System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, object, object> (System.Runtime.CompilerServices.CallSite,object,object) <0x002fe> at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113> at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000d0>
StartupItems [Unmaintained]
Discussion in 'Plugin Support' started by RedNinja1337, Aug 31, 2015.
-
Attached Files:
-
-
Guys, can you upload the configuration files so I can do some testing and replicate the errors using the same config file you are using? If you are using the default config file please let me know.
-
Attached Files:
-
-
-
Here's my config file. So you mean the "player" group is supposed to give a kit to anyone connecting to the server?
Attached Files:
-
-
-
Everytime I try re downloading the plugin from here it keeps saying in my console that it loaded 1.03
-
I will fix this in the next 20 minutes from now. I am updating the server to fix the plug-in. Thanks guys.
-
-
RedNinja1337 updated StartupItems with a new update entry:
1.0.4
[DOUBLEPOST=1457053977][/DOUBLEPOST]Ok
-
RedNinja1337 updated StartupItems with a new update entry:
1.0.4
-
RedNinja1337 updated StartupItems with a new update entry:
1.0.5
[DOUBLEPOST=1457055843][/DOUBLEPOST]Guys, I fixed the errors but just make sure you delete the old plug-in and old configuration file. When you create a group and add the player to that group, the group must exists on the config file for it to work. -
Hi again ninja!
I tried the newest vesrion of the plugin, i get the following error as i respawn using DEFAULT cfg (I did remove plugin&cfg before updating, twice):
Code:[Oxide] 4:47 PM [Error] Failed to call hook 'OnPlayerRespawned' on plugin 'StartupItems v1.0.5' Traceback (most recent call last): File "StartupItems.py", line 57, in OnPlayerRespawned RuntimeError: Failed to call OnPlayerRespawned (IndexOutOfRangeException: index out of range: -1) at IronPython.Runtime.Operations.PythonOps.FixIndex (int,int) <0x000f1> at IronPython.Runtime.Operations.ArrayOps.GetItem (System.Array,int) <0x00031> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000e4> at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113> at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000d0>
edit: the error above only shows up if im NOT in any group.Last edited by a moderator: Mar 4, 2016 -
I will check this again. By default all players are on the group "player" but I will look at this to find out what is going on.
[DOUBLEPOST=1457196796,1457137060][/DOUBLEPOST] -
Code:
[Oxide] 5:58 PM [Error] Failed to call hook 'OnPlayerRespawned' on plugin 'StartupItems v1.0.5' Traceback (most recent call last): File "StartupItems.py", line 48, in OnPlayerRespawned RuntimeError: Failed to call OnPlayerRespawned (KeyNotFoundException: GroupItems) at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c> at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,string) <0x00097> at System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, string, object> (System.Runtime.CompilerServices.CallSite,object,string) <0x002fe> at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, string, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113> at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000d0>
Last edited by a moderator: Mar 5, 2016 -
-
-
How is this plugin different from autokits Kits plugin?
-
Code:
File "StartupItems.py", line 48, in OnPlayerRespawned RuntimeError: Failed to call OnPlayerRespawned (KeyNotFoundException: GroupItems ) at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c> at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServi ces.Closure,System.Runtime.CompilerServices.CallSite,object,string) <0x00097> at System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, string, object> (Sys tem.Runtime.CompilerServices.CallSite,object,string) <0x002fe> at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, string, object>. Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113> at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpre ter.InterpretedFrame) <0x000d0>
Last edited by a moderator: Mar 13, 2016