dev

textPage 38 of 208
50 messages on this page
Friday, August 6, 2021
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
gg lists all prefs
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
can test with anything actually
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
Start with something more objectively measurable like block damage or exp%
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
Needs testing
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
since its a console command id say logically no restart needed
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
dunno bout the restarting though
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
thats a cool application
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
Boost loot abundance between real-world 6pm-8pm
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
Happy hour!
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
 eoc ${this.steamId} "setgamepref LootAbundance 150"
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
so you just have to make a cron where you loop through all online players and do
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
Think there's a typo there
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Let a local player fire a local only console coommand (or any)
Usage:
   eoc <Name/EntityId/SteamId> "command param1 param2"
use single quotes for parameters that contain spaces in remote command.```
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
but thats what eoc is for
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
its a clientside local command
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
saminal is correct
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
use eoc for setgamepref
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
that's tricky; i think the game prefs are client-side
Avatar for 3a5559dde24f8a94d379e4e6bfaae03f0e6a8b14cb187dbd64fa7f7a7945c16c
User 3a5559
the only thing im unsure about if doing stuff like setgamepref for loot abundance and it working without restarting
Avatar for 3a5559dde24f8a94d379e4e6bfaae03f0e6a8b14cb187dbd64fa7f7a7945c16c
User 3a5559
this is slightly off-topic but i can use csmm crons to do things like
setgamepref
right?
Thursday, August 5, 2021
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
"TODO", last edit was 3 years ago 🀣
unknown.png

unknown.png

PNG β€’ 26.0 KB

Avatar for eca9c03b387d8b34a7734a15cfcbf357a8717a0281f3b50a255a3b48877fbb50
User eca9c0
Traders are hostile? I wish 😁 it would be awesome if they would randomly pull out a shotgun and blast the player in the face
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
oh yeah, get that 'no hostile traders' mod
Avatar for eca9c03b387d8b34a7734a15cfcbf357a8717a0281f3b50a255a3b48877fbb50
User eca9c0
Also bubble removes traders, so keep that in mind
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
5 minutes is about the limit we recommend.
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
the public instances get restarted whenever they need to
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
if you're self hosting then you can probably count on not having unexpected restarts
Avatar for 3a5559dde24f8a94d379e4e6bfaae03f0e6a8b14cb187dbd64fa7f7a7945c16c
User 3a5559
also thank you for the quick support
Avatar for 3a5559dde24f8a94d379e4e6bfaae03f0e6a8b14cb187dbd64fa7f7a7945c16c
User 3a5559
what would be the recommended max wait time?
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
but in essence,
protect ${player.steamId}; wait(300); protect ${player.steamId}
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
if the CSMM instance gets restarted during the wait, the command is aborted, so the user would have the protection permanently
Avatar for e5e1a1e030d906e6b0758aa714298a47ac1eb96bd571c5acc968a191bb9574fb
User e5e1a1
there is a
wait()
function you can use, but it is a little risky to use it for 5 minutes
Avatar for 3a5559dde24f8a94d379e4e6bfaae03f0e6a8b14cb187dbd64fa7f7a7945c16c
User 3a5559
for instance i want a player to be able to use
/bubble
and then it would toggle again (to turn it off) after like 5 minutes
Avatar for 3a5559dde24f8a94d379e4e6bfaae03f0e6a8b14cb187dbd64fa7f7a7945c16c
User 3a5559
is there a good way to have a player executed command run, and then after a specific time run again
Sunday, August 1, 2021
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
It loads the default icons and places them there
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
assets/images/sdtdIcons iirc
Avatar for 3a5559dde24f8a94d379e4e6bfaae03f0e6a8b14cb187dbd64fa7f7a7945c16c
User 3a5559
where do server shop image paths reside? i run a modded server and want to import the images for items from it, but im unsure where that would be / go
Avatar for eca9c03b387d8b34a7734a15cfcbf357a8717a0281f3b50a255a3b48877fbb50
User eca9c0
It's my first time thank you for being gentle 😁
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
And sorry it took a while to get your PR through 😳
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Thanks for contributing to the docs! ❀️
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Merged ^^ It'll be live in a few
Avatar for eca9c03b387d8b34a7734a15cfcbf357a8717a0281f3b50a255a3b48877fbb50
User eca9c0
Looks good πŸ‘
Avatar for eca9c03b387d8b34a7734a15cfcbf357a8717a0281f3b50a255a3b48877fbb50
User eca9c0
Found it
Avatar for eca9c03b387d8b34a7734a15cfcbf357a8717a0281f3b50a255a3b48877fbb50
User eca9c0
It said I can't commit it because I'm the something, or something like that
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Its fine, Imma go through it gimme a few
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Oh I think you just resolved the convo but didnt commit it :p
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Cheers, lemme look at it
Avatar for eca9c03b387d8b34a7734a15cfcbf357a8717a0281f3b50a255a3b48877fbb50
User eca9c0
I think I did it
Avatar for eca9c03b387d8b34a7734a15cfcbf357a8717a0281f3b50a255a3b48877fbb50
User eca9c0
I'm fine with that, thanks πŸ‘