cpm-support
textPage 12 of 801
50 messages on this page
Wednesday, January 22, 2025
User a506fe
Id is always better
User 2fc02a
the command
say hello works fineUser a506fe
Why name?
User 2fc02a
cpm-playsound Mad twitch_good_buff
User 2fc02a
ya i can play it using console
User a506fe
Does it play when fired manually?
User a506fe
It lists as sound with playsound cmd
User 2fc02a
@User 53818265 I was unsuccessful at trying both -1 and 2000. Neither fires the play sound.
Maybe need to do a notify claim with a buff that'll play it.
Maybe need to do a notify claim with a buff that'll play it.
User 6ceaf4
What was wrong? I have the same issue on kne server only
User d75722
No R20, and the issue is resolved. It was my fault.
User 6ceaf4
Would this be, by any chance, a darkness falls server?
Tuesday, January 21, 2025
User a12f6e
thanks, this did the trick!
User a506fe
there is a filesystemwatcher on that file
User a506fe
nah should be able to do online
User a12f6e
ok thank you i will try it. does the server have to be offline when doing this?
User a506fe
that should force a new sync to db
User a506fe
try emtying regions.txt in /saves/ResetRegions, save it, then put content back and save it again
User a12f6e
i don't think so, looks like it has to do with reset regions
2025-01-21T08:11:55 95.698 EXC Index was outside the bounds of the array. at CSMM_Patrons.RegionReset.SyncRegionClaims () [0x001ca] in <420aea34fba54244b54399d72ed2afc1>:0 at CSMM_Patrons.RegionReset.LoadRegions () [0x000bc] in <420aea34fba54244b54399d72ed2afc1>:0 at CSMM_Patrons.API.GameAwake () [0x00533] in <420aea34fba54244b54399d72ed2afc1>:0 at ModEvent.Invoke () [0x00011] in <f7e97dbc8fc84ecf82f4e7ddef611ee4>:0```
User a506fe
telnet is canabalising it?
User a506fe
User a506fe
from the docs -> "accessLevel: permissionlevel for which the commands will NOT fire when inside claim."
User a506fe
@User 53398683 nailed it
User 602ca8
Have you checked that cpm started in your logs ?
User 602ca8
I haven't read the whole conversation but try using -1 as permission instead of 2000
User a12f6e
after updating our Darkness Falls server to 1.2 and updating CSMM to the latest, this server's CPM Web UI isn't starting. does anyone know what can cause this? i've verified with Powershell's Get-NetTCPConnection that it's not binding the port specified in the CPM Settings XML at all.
User be1820
I will say, I don't see it even attempting to execute the command in my logs.
User be1820
Let me know if you do, Just wanted something simple..maybe not specifically that sound but that was just the one I used while trying to get this to work. Thought about adding trader audio welcomes to play when walking into player trader shops. Anyways... @ me if you figure it out for sure. Thank you very much for you help.
User 2fc02a
well helping others gives me ideas. and i like the idea. i may try it on my server to see if i can get it to work
User be1820
Honestly, and unless you have a bunch of free time this was just a silly thing I wanted to achieve to get a sound to play when walking into our community center. It's no biggie if we can't figure it out.
User be1820
this one
User be1820
i copied and pasted directly
User 2fc02a
did you use the same level as i did ? 2000
User be1820
it did succeed in adding it, but walking into the claim no sound is triggered

image.png
PNG • 80.5 KB
User 2fc02a
ccc add My_cool_new_claim -210 -168 -327 -372 2000 "command:cpm-playsound ${player.name} twitch_good_buff"User be1820
ERR: Wrong number of arguments, expected 7 or 8, found 10.
User 2fc02a
ccc add My_cool_new_claim -210 -168 -327 -372 2000 "command:command:cpm-playsound "${player.name}" twitch_good_buff"User be1820
you can just take the coord from my command above?
User be1820
Yes please. At this point i'm not sure what else to try
User be1820
Would be great, and I've been doing that back and forth actually. Doesn't seem to be an error in CPM when it doesn't like format it just doesn't save. So as I've been adding it in the webui I've just been copying it over.
User 2fc02a
i can make it in web ui and send it to you
User 2fc02a
😅 i dont run console commands, thats for you smart people.
I use the web ui, so i forget but i think its
'command:cpm-playsound "${player.name}" twitch_good_buff'
I use the web ui, so i forget but i think its
'command:cpm-playsound "${player.name}" twitch_good_buff'
User be1820
i have tried this one so if this is the correct format I can try it again
User be1820
thanks for your help sorry to bug
User be1820
like this? ccc add My_cool_new_claim -210 -168 -327 -372 0 "command:cpm-playsound "${player.name}" twitch_good_buff"
User 2fc02a
"${player.name}"
User 2fc02a
the ${player.name} needs quotes on both sides
User be1820
What would the correct format look like? I've tried so many diff. variations I feel like my brain is going fuzzy
Monday, January 20, 2025
User 2fc02a
"command:command:cpm-playsound "${player.name} twitch_good_buff"" if this is your command it's the quotes, they are wrong, need single around double
User be1820
cpm-playsound picard twitch_good_buff
User be1820
Just double checked, worked.