Jump to content

Bypasing SamSitesIgnorePlayers (TruePVE-Flag)

Closed 2.6.4 2.6.5

Hello nivex,

we did some testing today on our server that has truepve and uses the flag SamSitesIgnorePlayers, which makes samsites around the map ignore players. we do not was players to place samsites that shoot down others, but we want that for rbes.

Is there a setting in the config that reinables the samsites to shoot at everything for the rbe-mod? Currently it does not.

Thank you.

Share this comment


Link to comment

yea, the hook I'm using appears to have broke in some Oxide update

you can fix it by changing all 3 CanSamSiteShoot references to OnSamSiteTarget

 

Share this comment


Link to comment

thanks, iv tried that, but no change. youv ment that i just replace the both strings in the rbe-mod cs file, right? iv got a semitransparent black box with the cooldown when leaving an rbe, thats the only change.

Share this comment


Link to comment

i can confirm this works, and there are 3 references not 2

the black box is not related to this. that is the delay ui.

you can replace private object OnSamSiteTarget(SamSite ss) with private object OnSamSiteTarget(SamSite ss, BaseEntity entity) which is what i will be using in the update

so line 11477 would be private object OnSamSiteTarget(SamSite ss, BaseEntity entity)

Edited by nivex

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.5k

Files Sold

Total number of files sold.

1.5m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.