ok everything looks to be back on track can anyone show me the correct way to accept an open ticket for a change i type
/pvx admin accept 1
and nothing happens??

PvX Selector
Allows PvE/PvP Gameplay on one server.
Total Downloads: 688 - First Release: Apr 21, 2016 - Last Update: Mar 10, 2017
- 5/5, 14 likes
-
This lists every ticket # and the persons name
Then all you need to do is /pvx admin accept # -
Code:
(14:13:23) | [Oxide] 14:13 [Error] Failed to call hook 'CanAcceptItem' on plugin 'PvXselector v0.9.2' (NullReferenceException: Object reference not set to an instance of an object)(14:13:23) | [Oxide] 14:13 [Debug] at Oxide.Plugins.PvXselector.SameOnlyCheck (.BasePlayer _player1, .BasePlayer _player2) [0x00000] in <filename unknown>:0at Oxide.Plugins.PvXselector.CanAcceptItem (.ItemContainer container, .Item item) [0x00000] in <filename unknown>:0at Oxide.Plugins.PvXselector.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
I have now added a Admin GUI to display a count of active and closed tickets (Does not track cancelled tickets)
-
That's a cool feature. I like Seeing things while Im admin'ing.
How hard would it be to stop building damage from the heli for just PVE players. Not sure if this has been asked before. But I'd fear that PVP players would try to bate the heli to damage or destroy PVE bases. Although, I don't know how bright that would be for them to do so. Ending up dead or something. But a group could easily do that. one baits it, destroys the building. the others are naked, and are able to gain access. But then again, nothing can be looted or picked up. so why try. Just a thought of mine. -
That is good idea Krazy! I have been thinking the same thing, as right now I'm using zonemanager for no damage in my designated PVE area. The only downside to this is the monument areas cannot be looted with nodamage allowed to the boarded doors.
-
-
New problem:
Code:(13:16:22) | [Oxide] 13:16 [Error] Failed to call hook 'PvXCmd' on plugin 'PvXselector v0.9.2' (IndexOutOfRangeException: Array index is out of range.) (13:16:22) | [Oxide] 13:16 [Debug] at Oxide.Plugins.PvXselector.adminFunction (.BasePlayer _player, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PvXselector.PvXCmd (.BasePlayer _player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PvXselector.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 name, System.Object[] args) [0x00000] in <filename unknown>:0 (13:16:37) | [Oxide] 13:17 [Error] Failed to call hook 'PvXCmd' on plugin 'PvXselector v0.9.2' (IndexOutOfRangeException: Array index is out of range.) (13:16:37) | [Oxide] 13:17 [Debug] at Oxide.Plugins.PvXselector.adminFunction (.BasePlayer _player, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PvXselector.PvXCmd (.BasePlayer _player, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PvXselector.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
And now:
Code:(13:39:15) | [Oxide] 13:39 [Error] Failed to call hook 'OnDoorOpened' on plugin 'PvXselector v0.9.2' (NullReferenceException: Object reference not set to an instance of an object) (13:39:15) | [Oxide] 13:39 [Debug] at Oxide.Plugins.PvXselector.SameOnlyCheck (.BasePlayer _player1, .BasePlayer _player2) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PvXselector.OnDoorOpened (.Door _door, .BasePlayer _player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PvXselector.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
-
Replace:
Code:void adminFunction(BasePlayer _player, string[] args){ string _cmd = args[1].ToLower(); // admin, accept, 1 if (!(hasPerm(_player, "admin", "MissPerm"))) return; if (args.Length < 2 || args.Length > 3){ LangMSG(_player, "IncoFormPleaUse"); ChatMessageHandle(_player, "/pvx admin [list/accept/decline/display]"); return;}
Code:void adminFunction(BasePlayer _player, string[] args){ if (args.Length < 2 || args.Length > 3){ LangMSG(_player, "IncoFormPleaUse"); ChatMessageHandle(_player, "/pvx admin [list/accept/decline/display]"); return;} string _cmd = args[1].ToLower(); // admin, accept, 1 if (!(hasPerm(_player, "admin", "MissPerm"))) return;
I will have to look into the second one, please try any find how that happened and reproduce it please. -
I think it's appear when a PvE player change to PvP and shoot his corpse after, i think i'm not sure
So i replace ? -
My console is filling up with this stuff, I removed XPBooster but seems CC still has an issue with your mod
oh and I set yours to 2x and gave permissions
(06:47:33) | [Oxide] 07:18 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: CraftingController - 0.1 (Single), PvXselector (0.2 (Single))
(06:48:07) | [Oxide] 07:19 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: CraftingController - 0.09920319 (Single), PvXselector (0.1984064 (Single))
(06:48:18) | [Oxide] 07:19 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: CraftingController - 0.09880836 (Single), PvXselector (0.1976167 (Single))
(06:48:20) | [Oxide] 07:19 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: CraftingController - 0.0996004 (Single), PvXselector (0.1992008 (Single)) -
-
Hi all.
For anyone who would like 2 support my work I have a test final version of PvX on Patreon, feel free to subscribe and test it out.
If all goes well I am looking to get the released version ready in 2 weeks, possibly 3 if I am to include a GUI.
Alvin is creating Scripts/Mods/Code and more | Patreon -
Hi it seem some problems with Player Commands:
/pvx select [pvx/pvp] :- Allows players to select there mod if the Gui doesn't show. <-that switch nothing fresh install
/pvx change :- Will submit a ticket asking to change to the other mode. <- With this one admin receive no visible advice and then player can wait for a long time? if no ask to admin
/pvx ticket reason "Message" :- Allows players to submit a reason for there change request. <-not tried
/pvx ticket cancel :- Cancels your requested ticket <- This one need to be input 2 times for been cancel right.
and the really big problem is when admin answer ticket decline or accept, then there nothing that happen to the player but request seem writed in the datas files...idk :/
I add, Permission admin added ok
Question what do these lines?:
Cap-Settings": {
"PvE-Enabled": false,
"PvE-Max-Level": 99,
"PvP-Enabled": false,
"PvP-Max-Level": 99
also that spaming console too as example:
(02:48:06) | [Oxide] 02:50 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: PvXselector - 0.009034635 (Single), CraftingController (0.009034635 (Single))
(02:48:07) | [Oxide] 02:50 [Warning] Calling 'OnXpEarned' on 'PvXselector v0.9.2' took 595ms
(02:48:07) | [Oxide] 02:50 [Warning] Calling hook OnXpEarn resulted in a conflict between the following plugins: PvXselector - 0.009192539 (Single)
RegardLast edited by a moderator: Sep 5, 2016 -
-
for this:
/pvx ticket cancel :- Cancels your requested ticket
You only need to type this once <- i'm sorry but you wrong this command need to be input 2 times to see a confirmation message in the 0.9.2 version.
Ps: All seem fine for us with 0.9.0 version thanks.Last edited by a moderator: Sep 4, 2016 -
EDIT##
Also please note that in the beta version being tested at the moment the PvP/PvE indicator on screen will indicate if you have a ticket active. -
Np about beta ! i think and i need your plugin go in front i and we need it.
i report you a new big big BIG problem version 0.9.0 idk how to but when my admin friend and me too (admin) have to switch between and more that 1 time pve/pvp (as admin maybe linked)) switch to test some things, we have a surprise that our level up and XP's go x2 or more !!! as example: my admin friend was level 11 after ticket and switch accepted he become level 39 and item has been unlocked and 1460~ Xp's ^^:/, by this way luckily I file backups .db XP server stats and needed to input them and restart the server completely.
have a good job...Last edited by a moderator: Sep 5, 2016 -
I will look at adding a message for players when they cancel their ticket. -
Alphawar updated PvX Selector with a new update entry:
0.9.3