Jump to content

Bypasing SamSitesIgnorePlayers (TruePVE-Flag)

Closed 2.6.4 2.6.5

Hakkai
Hakkai

Posted

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.

nivex

Posted

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

 

Hakkai

Posted

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.

nivex

Posted (edited)

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
nivex

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.8k

Files Sold

Total number of files sold.

2.4m

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.