Hello, would this work in reverse? I mean if owner are offline for two days then you could put "damageScale": {
"48": 2, so after 48h offline anyone could do 200% damage?
AntiOfflineRaid
Moved
Total Downloads: 6,123 - First Release: Nov 17, 2015 - Last Update: Mar 1, 2018
- 5/5, 32 likes
-
Calytic Community Admin Community Mod
-
is there a way or a perm for this to only work if player had perm
-
Hey @Calytic,
is there a way to use the friend api?
Following situation:
2 Guys share a home, they get attacked, one quits the game, the other can defend the building and after 10 minutes your protection kicks in.
So the one guy online can defend it and nobody can raid him. -
Calytic Community Admin Community Mod
-
Thank you for your answer.
(Btw a possibility to set permission would be really nice)
Ok, about my "problem" i use the Friends API for Rust | Oxide to let buddies set the same /home with m-teleport.
Maybe this is the problem?
I don't know the clanshare option. I wasn't really sure about it.
So it will keep the AOR inactive if one of the clanmembers is still online?
But if they are not in one clan - will setting it true also help?
-
Calytic Community Admin Community Mod
-
Ok thank you @Calytic
I will test the share thingy and then just wait
[DOUBLEPOST=1454690985,1454483998][/DOUBLEPOST]It's not working for me anymore since last update
Or maybe a problem with the new entityowner?
Buildings are getting damage, no message, no error -
Calytic Community Admin Community Mod
-
Calytic Community Admin Community Mod
Calytic updated AntiOfflineRaid with a new update entry:
0.1.0
-
Calytic Community Admin Community Mod
Calytic updated AntiOfflineRaid with a new update entry:
0.1.1
-
Calytic Community Admin Community Mod
Calytic updated AntiOfflineRaid with a new update entry:
0.1.2
-
Code:
(11:44:47) | [Oxide] 11:44 AM [Error] AntiOfflineRaid plugin failed to compile!(11:44:47) | [Oxide] 11:44 AM [Error] AntiOfflineRaid.cs(582,27): error CS1061: Type `BaseEntity' does not contain a definition for `OwnerID' and no extension method `OwnerID' of type `BaseEntity' could be found. Are you missing an assembly reference?
-
Calytic Community Admin Community Mod
Either your Oxide or Rust version is out of date
-
Calytic Community Admin Community Mod
Calytic updated AntiOfflineRaid with a new update entry:
0.1.3
-
When i use /ao PLAYERNAME for a player that's online it's showing their damage scale is -1
Is that normal? If they're online, their base should be vulnerable right? So shouldn't the damage scale say 1 for an online player?
[DOUBLEPOST=1455688278][/DOUBLEPOST]This is my config file:
{
"afkMinutes": 60,
"clanShare": true,
"cooldownMinutes": 10,
"damageScale": {
"1": 0.0,
"24": 0.05,
"48": 0.1,
"72": 1
},
"interidmDamage": 0.0,
"minMembers": 1,
"protectionMessage": "This building is protected: {amount}%",
"showMessage": true,
"VERSION": "0.1.3"
} -
Calytic Community Admin Community Mod
Thanks for the question.
-1 means that no damage modifier is applied and the damage mitigation is bypassed entirely.
This did point out a typo though, thanks. -
Calytic Community Admin Community Mod
Calytic updated AntiOfflineRaid with a new update entry:
0.1.4
-
Thanks for the quick response. I also noticed with your last update if I do /ao PLAYERNAME and the player is online it doesn't show scale info. Your update says you removed scale if no scale is applied. But when I check a player who is offline (and has been for 72 hours on my server) it does says "Scale: 1". So does it not show the scale only if the player is online and no scale is applied?
-
Calytic Community Admin Community Mod
That is correct. "Scale: 1" in your case means that the scaling method is called, its just cancelled later since 1 is obviously 100% damage or normal damage.