Jump to content

scientists

Closed 2.8.7

fuscazo


fuscazo

Posted (edited)

now that's i've finished playing around with the maintained events... i've made a shop to sell raidable bases at Outpost and Bandit Camp.
https://gyazo.com/6328d4278677d0f56468ee19f7fc662d

but i'm running into an issue.

is there any way to avoid players from buying raids using COMMANDS/UI? i want them to buy them only from the vendor, but if i use "Use Permission (raidablebases.buyraid)": true, then i can't give them the raid through the vendor either, since the vendor uses the console command "buyraid diff playerid".

another cool solution would be to itemize the raidable bases to sell them as items, so they buy it from a vendor or vending machine, and use it at their home, so it spawns close to the ir home. i dont' want players to use the UI, i want them to physically go to outpost or bandit camp to buy raids from an NPC. but then all raids would be close to these safe zones sin everyone buys them there.

NPC Random Raids from Razor does this. you can use commands and triggers, but you can also make this colored Flares which you then use at home to call a raid on your base. Concept could be similar, but spawning the buyable base when using the object.
https://gyazo.com/88310aaa03c208ca60fc9145b3acb78f

---------------------------------
oh, and also, this option:
"Max Amount Of Players Allowed To Enter Each Difficulty (0 = infinite, -1 = none) (infinite)"

what does it mean exactly?
enter like the sphere? buy  raids?
if it's set to 1, only 1 player can raid an easy base in the whole map? so other player has to wait for that player to finish his easy raid?
i don't really know what it means.

Edited by fuscazo
Link to comment

you can change the buyraid command in the config then they won't know what it is.

I'll consider the item, that's a good idea!

no, that setting doesn't apply to the whole map. it applies to each individual raid. if you set easy to 1 and have 5 easy raids spawned then 1 player can enter each of those raids. 

Link to comment

oh so probably i should set to 1 in a solo server, 2 in a duo etc... right?

yeah, the object thing is nice. i think it's done by just using a usable item (flare, supply drop, xmas.present.....) and then using a custom SkinID. and so the plugin detects the item i guess. you probably already know. but, yeah, is nice.

i will change the command in the config meanwhile )))

Link to comment
fuscazo

Posted (edited)

i have some more questions. i feel embarrassed asking so much. 

1)

what does this mean? that players cant steal a base from the player who bought it?
"Prevent Players From Hogging Purchased Raids"
and this xD
"Prevent Players From Hogging Raids": true,

2)

and this?
is it that when base is inactive for X time, then it removes the ownership from the attacker player and everyone can loot?
"Assign Lockout When Lock Treasure Max Inactive Time Expires": false,

 

some of this expressions are hard to understand for some non-english natives xD my bad

 

3)

after buying 1 raid if i try to buy another i get: "you cannot buy multiple raids"
where does it come from?

i have "Prevent Players From Buying Until Previous Raid Despawns": false,

 and i have:
"Max Amount Purchasable Per Difficulty (0 = infinite, -1 = disabled)": {
        "Easy": 0,
        "Medium": 0,
        "Hard": 0,
        "Expert": 0,
        "Nightmare": -1
      },

 

 

again, sorry for so mucho bothering you

Edited by fuscazo
Link to comment
nivex

Posted (edited)

1 no. it means you can't participate in more than one

2 no. it gives a lockout when the base loses ownership. Lock Treasure Max Inactive Time

3 internal. no one can buy multiple. it is not optional

Edited by nivex
  • Like 1
Link to comment

does everyone else see the raid marker on the map from a purchased RB apart from the buyer? if so, is it possible to make it only seen by the buyer? ty

Link to comment

hi, it might be possible to intercept this with the CanNetworkTo hook, but in my experience this hook has not been reliable for years. 

Link to comment

mm. i will turn off markers for buyable for now. people like more griefing those who bought a RB than raiding a base xD they wait outside until they come outside the sphere with the loot to attack them. i rather have them thinking is an actual normal player raid than a RB one. player are evil.

buyer gets the chat message anyway, so if he's not dumb he will know where his base is, and he can put his own marker. RB marking purchased bases only for the buyer would be the most convenient option tho ) but this will do for now.

ty

Edited by fuscazo
  • Like 1
Link to comment

hm, maybe I can use a personal marker for this instead of a map marker. I will note it for next update and will add it if possible. the player would need to know about this so they know to look for it though

Link to comment
nivex

Posted (edited)

looks cool to me 😛

can remove it like you would any other personal marker

you can change it in the language file ("My Purchased Raid Base")

Added `Add Personal Marker On Owners Map` (false) for purchased events (@fuscazo) in version 2.9.0 to be released September 5th 2024

image.png.e410b5ee929ce2f7a786ecaaf24cd63a.png

Edited by nivex
Link to comment

1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

96.5k

Files Sold

Total number of files sold.

1.9m

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.