No more issues that I know of.Thanks for the update.
actually though, I do have a question?
For the "testzone" {}
I know where the zone gets put in, but what goes in the {}
Not sure how to edit that. lol
TruePVE
Better PVE/PVP implementation
Total Downloads: 4,637 - First Release: Mar 25, 2016 - Last Update: Mar 7, 2018
- 5/5, 26 likes
-
-
-
Error while compiling TruePVE.cs(123,25): error CS1061: Type `ConsoleSystem.Command' does not contain a definition for `namefull' and no extension method `namefull' of type `ConsoleSystem.Command' could be found. Are you missing an assembly reference?
Code:[SERVER v1.0.24] Console: TruePVE.cs(318,8): warning CS0114: `Oxide.Plugins.TruePVE.LoadConfig()' hides inherited member `Oxide.Core.Plugins.Plugin.LoadConfig()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword d:\xxgames\DanieleD\13860\Oxide.Core.dll (Location of the symbol related to previous warning) TruePVE.cs(358,8): warning CS0114: `Oxide.Plugins.TruePVE.LoadDefaultConfig()' hides inherited member `Oxide.Core.Plugins.Plugin.LoadDefaultConfig()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword d:\xxgames\DanieleD\13860\Oxide.Core.dll (Location of the symbol related to previous warning) TruePVE.cs(123,25): error CS1061: Type `ConsoleSystem.Command' does not contain a definition for `namefull' and no extension method `namefull' of type `ConsoleSystem.Command' could be found. Are you missing an assembly reference? d:\xxgames\DanieleD\13860\Facepunch.Console.dll (Location of the symbol related to previous error) TruePVE.cs(603,25): warning CS0184: The given expression is never of the provided (`HelicopterTurret') type
Last edited by a moderator: Feb 2, 2017 -
have same problem with errors TruePVE - Failed to compile: TruePVE.cs(123,25): error CS1061: Type `ConsoleSystem.Command' does not contain a definition for `namefull' and no extension method `namefull' of type `ConsoleSystem.Command' could be found. Are you missing an assembly reference?
-
@ignignokt84 I'm having the same errors they are, but for all commands like so:
Command 'tpve.set handleDamage true' not found
Command 'tpve.set handleLooting true' not found -
For some reason I'm not able to upload an official update to the site (the upload js seems broken). For now, you can fix the errors by opening the TruePVE.cs and going to line 122, and replacing:
Code:string cmd = arg.cmd.namefull.Split('.')[1];
Code:string cmd = arg.cmd.FullName.Split('.')[1];
-
-
Wulf Community Admin
-
If you could post the update, I would very much appreciate it!
Code:string cmd = arg.cmd.Name; // this works!
-
Wulf Community Admin
-
To stop Flame Turret Damage:
Code:"traps": { "name": "traps", "description": "Traps, landmines, and spikes", "prefabs": [ "spikes.floor" ], "types": [ "AutoTurret", "FlameTurret", // Add this line Under Traps "BearTrap", "Landmine" ], "links": { "player": false }, "enabled": true },
-
-
Just updated server and getting this.
Error while compiling TruePVE.cs(185,13): error CS1061: Type `ConsoleSystem.Arg' does not contain a definition for `connection' and no extension method `connection' of type `ConsoleSystem.Arg' could be found. Are you missing an assembly reference?
Do i need to restart to fix ? -
Wulf Community Admin
-
111111111111111111111
Attached Files:
Last edited by a moderator: Feb 5, 2017 -
-
Could you please explain what did you changed and/or which flag is used for an PVP-Area? I have to be blind...
-
Code:"zoneData": { "pvpZoneId": { "global": { "name": "global", "description": "Global damage handling", "prefabs": [], "types": [], "links": { "global": false, // damage off by default "player": true // players take damage from anything }, "enabled": true }, "player": { "name": "player", "description": "Players", "prefabs": [], "types": [ "BasePlayer" ], "links": { "global": false, // players cannot damage anything "player": true // players can damage other players }, "enabled": true } } }
Please note that if you still wish to use the old method of integration (where ZoneManager calls TruePVE), you can - but it is more difficult to maintain, and likely not worth the effort just to keep updating ZoneManager with the custom code/logic. -
[DOUBLEPOST=1486306130][/DOUBLEPOST] -
Wulf Community Admin