cpm-support

textPage 12 of 801
50 messages on this page
Wednesday, January 22, 2025
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Id is always better
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
the command
say hello
works fine
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Why name?
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
cpm-playsound Mad twitch_good_buff
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
ya i can play it using console
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Does it play when fired manually?
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
It lists as sound with playsound cmd
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
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.
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
What was wrong? I have the same issue on kne server only
Avatar for d75722a699bcfb087a454b1f3f72d59fa75738d4a6669a754d7dd291a0676fad
User d75722
No R20, and the issue is resolved. It was my fault.
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
Would this be, by any chance, a darkness falls server?
Tuesday, January 21, 2025
Avatar for a12f6e80e9d89b5470e3311f9d8388d6d4bc834b3825be85bf1f6a4e71dd314f
User a12f6e
thanks, this did the trick!
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
there is a filesystemwatcher on that file
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
nah should be able to do online
Avatar for a12f6e80e9d89b5470e3311f9d8388d6d4bc834b3825be85bf1f6a4e71dd314f
User a12f6e
ok thank you i will try it. does the server have to be offline when doing this?
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
that should force a new sync to db
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
try emtying regions.txt in /saves/ResetRegions, save it, then put content back and save it again
Avatar for a12f6e80e9d89b5470e3311f9d8388d6d4bc834b3825be85bf1f6a4e71dd314f
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```
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
telnet is canabalising it?
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
from the docs -> "accessLevel: permissionlevel for which the commands will NOT fire when inside claim."
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
@User 53398683 nailed it
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Have you checked that cpm started in your logs ?
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
I haven't read the whole conversation but try using -1 as permission instead of 2000
Avatar for a12f6e80e9d89b5470e3311f9d8388d6d4bc834b3825be85bf1f6a4e71dd314f
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.
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
I will say, I don't see it even attempting to execute the command in my logs.
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
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.
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
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
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
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.
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
this one
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
i copied and pasted directly
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
did you use the same level as i did ? 2000
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
it did succeed in adding it, but walking into the claim no sound is triggered
image.png

image.png

PNG80.5 KB

Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
ccc add My_cool_new_claim -210 -168 -327 -372 2000 "command:cpm-playsound ${player.name} twitch_good_buff"
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
ERR: Wrong number of arguments, expected 7 or 8, found 10.
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
ccc add My_cool_new_claim -210 -168 -327 -372 2000 "command:command:cpm-playsound "${player.name}" twitch_good_buff"
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
you can just take the coord from my command above?
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Yes please. At this point i'm not sure what else to try
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
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.
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
i can make it in web ui and send it to you
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
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'
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
i have tried this one so if this is the correct format I can try it again
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
thanks for your help sorry to bug
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
like this? ccc add My_cool_new_claim -210 -168 -327 -372 0 "command:cpm-playsound "${player.name}" twitch_good_buff"
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
"${player.name}"
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
User 2fc02a
the ${player.name} needs quotes on both sides
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
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
Avatar for 2fc02addfc2b08cf731c591ce3ec1458095131979eff88a05d79d32a80be0d20
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
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
cpm-playsound picard twitch_good_buff
Avatar for be18200f8df88c8d296c72a8d51e3bc76c002bfd69f78bd6281f55fdb1005e66
User be1820
Just double checked, worked.