ignignokt84 updated TruePVE with a new update entry:
0.4.3
TruePVE
Better PVE/PVP implementation
Total Downloads: 4,631 - First Release: Mar 25, 2016 - Last Update: Mar 7, 2018
- 5/5, 26 likes
-
hey updated to 0.4.3
have some critical bugs and must disable the heli...
heli does damage to players and structures but only the rockets!
heli should be able to kill players with bullets and rockets, but NEVER buildings (raid prevention)
this is my config...
Code:{ "config": { "allowSuicide": true, "authDamage": false, "corpseLooting": false, "handleDamage": true, "handleLooting": true, "heliDamage": false, "heliDamageLocked": false, "immortalLocks": true, "sleeperAdminDamage": false, "sleeperLooting": false, "humanNPCDamage": true }, "data": { "global": { "name": "global", "description": "Global damage handling", "prefabs": [], "types": [], "links": { "global": false, "player": true, "heli": false }, "enabled": true }, "napalm": { "name": "napalm", "description": "Heli Napalm", "prefabs": [ "napalm" ], "types": [], "links": { "global": false }, "enabled": true }, "player": { "name": "player", "description": "Players", "prefabs": [], "types": [ "BasePlayer" ], "links": { "player": false, "traps": false, "barricades": false }, "enabled": true }, "traps": { "name": "traps", "description": "Traps, landmines, and spikes", "prefabs": [ "spikes.floor" ], "types": [ "BearTrap", "Landmine" ], "links": { "player": false }, "enabled": true }, "barricades": { "name": "barricades", "description": "Barricades", "prefabs": [], "types": [ "Barricade" ], "links": { "player": false }, "enabled": true }, "highwalls": { "name": "highwalls", "description": "High external walls", "prefabs": [ "wall.external.high.stone", "wall.external.high.wood" ], "types": [], "links": { "player": false }, "enabled": true }, "heli": { "name": "heli", "description": "Heli", "prefabs": [], "types": [ "BaseHelicopter" ], "links": {}, "enabled": true } } } -
Just to confirm, what you're saying is that you want heli to only damage players and not anything else?
-
correct

actually the rockets damage buildings -
I will look into this and get back to you - I know this can be done, but it's a matter of determining the "best" solution.
-
-
works perfectly like in verison 0.3.x :3
thank you -
agreed! Works perfectly. NO Errors!
@ignignokt84
The only deployable I found that is breakable is the "Water Barrel" Not sure why that's the ONLY one..... but that's not as important as say "Storage Boxes".
- For anyone looking to have deployables with NO Damage and heli damage to bases/ deployables OFF.. heres my config. Version 0.4.4
water barrels are stick breakable but I cant help that. Attached Files:
-
ok, so Ive decided to try to modify Zones Manager 2.4.7 myself and Im getting this error
(00:21:58) | [Oxide] 09:23 [Error] Error while compiling ZoneManager.cs(1118,24): error CS1525: Unexpected symbol `else'
this is the part I have modified. ZI don't see anything wrong with it.Code:case "rotation": // handle rotation parameter for BuildingWrapper float rotation = Convert.ToSingle(args[i + 1]); if(rotation != null) zone.Rotation.x = 0; zone.Rotation = Quaternion.AngleAxis(rotation, Vector3.up).eulerAngles; else { // default rotation handling zone.Rotation = player?.GetNetworkRotation() ?? Vector3.zero;/* + Quaternion.AngleAxis(90, Vector3.up).eulerAngles*/ zone.Rotation.x = 0; } editvalue = zone.Rotation; break;
I also don't think this one has the true pve integration, I'm just messing with code.Attached Files:
-
-
This should be in the BuildingWrapper for Rust | Oxide support page. The main problem is that you don't need the zone.Rotation.x = 0; in the if condition. But the error is because you don't have brackets around the if condition block.
[DOUBLEPOST=1478782402][/DOUBLEPOST]On a related note, I happened to integrate TruePVE and BuildingWrapper into ZoneManager version 2.4.7 (for testing purposes), so I've attached it.Attached Files:
Last edited by a moderator: Nov 10, 2016 -
-
-
Oh. Brackets make sense. But I ripped the code out of version 2.4.2 exactly how it showed and put in version, 2.4.7, I thought. Lol , and TY
-
Wood Shutters can be damaged by players, but only them..
-
-
ok so I've tried to get the PVP Arena to work like I had it before. But I'm having trouble with the newest version of True PVE And Zones Manager.
True PVE 0.4.5 (but just now updated to 0.4.6)
Zones Manager 2.4.7 (your modified version)
In the TruePVE Config, I set "Handledamage": false
In the Zones Manager config, TruePVE Integration is set to "true" by default.
I set up my zone (Arena building wrapping it in the zone with building wrapper)
In order to get the "PvpArena" flag to properly work I had to modified a part of the code ( don't remember exactly what part, but i changed "1" to "1L" or was it "3" to "3L" I cant remember), to allow the code to be truly set, even though it was saying it was setting it, It set "PvpGod" instead until I fixed it.
I then reloaded both plugins.
Tested outside the zone for ability to kill: Still able to kill
Tested inside the zone: able to kill
I then reverted back to default on both configs. Couldn't kill inside or outside of the zone. and I gave up trying. lol
I had 0.4.2 version of zones manager and it worked perfectly.
I want to be able to do this again. so Ive included both .CS and .JSON files to overlook (NOTE* truepve config "Handledamage" is set back to "True" for now)Attached Files:
-
-
Can you try deleting the return; at line 946 in ZoneManager.cs? I normally test locally, so player-to-player damage is a bit difficult to test, except for me to step through the code logically.
-
Thanks, i'll try that. -
I got the one I had working. Thanks though.
-
found this while searching RCONCode:
(12:50:17) | [Oxide] 21:51 [Warning] Calling hook CanLootPlayer resulted in a conflict between the following plugins: TruePVE - False (Boolean), ZoneManager (False (Boolean))
TruePVE vers: 0.4.6
Zone Manager vers: 2.4.7
I have arena with "PVPArena: True"
I also have handleloot "True" on TruePVE Config.
Not sure if that's what's conflicting or not.
