self-host-csmm-support

textPage 44 of 373
50 messages on this page
Saturday, August 19, 2023
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
I had restarted it multiple times with no luck as I was making changes, but must’ve missed a final restart at the tail end of that adventure :P
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
I can only think that some adjustment I made later on activated after our overnight scheduled reboot of the game service.
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
I had done this, just as described (Docker is so great and your guides are awesome as well!!)
That said, I was at a loss… then this morning - inexplicably - the chat bridge threw a few errors at me and started working again!
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Known issue, haven't gotten around to fixing it unfortunately
Avatar for bbeab6fa8af96f60b4eb0ecc9471e10299d5a1d8d9f4f0b3c2f42a4978929d93
User bbeab6
Hi all. I have problem with Cyrillic: http://joxi.ru/bmoa5jjTlpVzlA how i can fix it?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
How did you do the restart? Since you said you're using Docker, did you get all the containers? My goto command is
sudo docker-compose down && sudo docker-compose up -d
, give that a try?
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
That’s a great suggestion; I did restart CSMM before posting but had almost forgotten to do so 👍
Unfortunately this didn’t solve the issue and seemed to have no effect on either the chat bridge or player tracking.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Thanks for the detailed info and sorry for the simple fix-suggestion but did you try restarting CSMM? 🙈
Avatar for ec9e0546f9f12f5ee756db313428362bf6cc703dcbf4941918ed306cb968110c
User ec9e05
[update] 🤦‍♂️ Ah, sorry I just ran across https://docs.google.com/document/d/1YndlS5Z8Ci3-t4BekdC6mT8-OQ-33RMy2PEXHpcAE_k and am going through it now.
I had already done these things, thanks to other great recommendations I noticed in various support channels here
About to try flushing CSMM and setting it up fresh again, but in case I'm missing something obvious:
Context
  • hosting 7DTD and CSMM (docker) on an Ubuntu server I directly manage
  • updated to latest versions of Alloc's mods while updating game service to A21.1
  • updated to latest version of CSMM + CPM (23.5)
Symptoms
both of these were working before the A21.1 update
  • chat bridge only works one way for me (sends messages from discord to game, but in-game general chat no longer populates to discord for me)
  • player tracking no longer pulls data
Troubleshooting Tried
  • created new web token via telnet and added this to the CSMM for auth
  • updated from web-console port 8082 to default 8080, ensured port 8080 was open in game server, restarted game service and CSMM
  • re-registered/re-authenticated bot
  • re-selected all the same channels as before
  • selected a different channel for primary chat bridge and selected original channel again afterwards
Any other suggestions would be welcomed. I have a feeling I'm missing some critical step to the upgrade process for A21.1 🤔
If nothing else seems obvious, I'm not opposed to simply removing my server from our local CSMM install and re-adding it from scratch 👍
Friday, August 18, 2023
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
You will have to readd the poi though.
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
I added the two lines that says trader protection "true" and the next line that shows in poi traders. Might try again. I appreciate the help but its all Dutch to me as i am not used to all this gaming programming etc. I am learning though.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
You can add trader protection to the poi itself.
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
Yeah but no protection like if it was a trader area now like the was ingame tprotect p1 n p2 settings.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Way less than normal though.
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
Ok there isn't any simulate tprotection. I miss the ability to do that in game then trying to do it other ways. I have followed what is said and in the cpm announcements but still no joy as the building in the claim andground gets damaged.
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
Even more when using tools.
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
🤷
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
yeh, appearantly 1 hp damage is always applied. Even if you set it to 0
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
And, there is still damage.
The claim just greatly reduces the damage.
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
It needs to be a notify claim
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
As stated in documentation and buffs.xml
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
I did put protection...then tried landclaim and problock in front of Shop, when I changed it in the cpm web.
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
buff name="cpm_tooltip_problockShop_enter" name_key="cpm_tooltip_problockShop_enter" icon="ui_game_symbol_destruction2" icon_color="46,244,41" tooltip_key="[00FF00]Welcome to the Shop[-]">
<display_value_key value="Shop"/> <display_value value="xxx"/> <stack_type value="ignore"/>
<effect_group>
<passive_effect name="BlockDamage" operation="perc_add" value="-1"/>
</effect_group>
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
Name W E N S Claim Type Options
Shop -1195 -1190 3017 3013 landclaim landclaim On the webmap cpm or even adding it using ccc in command panel in game.
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
I have made a rectangle and made a claim to an area covering a building and named it Shop... wasn't sure what to put for type of claim, so i tried a few. Then I went into the buff.xml in the mod of csmm patrons and added what the example is showing on the links in cpm announcements and what others have said for the protection of the building. In the example where it says lobby I renamed it Shop as I named the claim area Shop. But when I restart the server and go in the area I thought I had set up and hit it, there is damage and no protection like when the tprotect worked before the A21.1 update.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Can you share what you tried, what you expected to happen and what happened instead?
It's REALLY hard for us to guess what you did wrong and help you ;)
Thursday, August 17, 2023
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
I have seen that and tried to follow it but it hadn't work so not sure what i have done wrong or not doing.
Avatar for a83fb8227c6bdaa3d7877be6d26cec29b3d791dab4918184c545ad4c3e9edc1b
User a83fb8
Check the CPM announcements 👍
Avatar for 6d95cbd3c973e740bc0a973f901603da92fd817006f1b54ea2b613d3a9c028a8
User 6d95cb
Hi, is there anyway now to protect buildings in the game please? I tried to follow the cpm support to do it but getting confused on how to set it up. I am a co admin on a dedicated server my mate and i operate. thanks in advance.
Wednesday, August 16, 2023
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
ty, already managed it with a easy subrecord. But its still not the best way. I added a mod which let me customize the escape menu ingame. There it was possible to refer to a link (still not the best practice, but its okay, still better then type the link)
Avatar for 602ca815dc7501e6a962147ab179d09dca96d576877ccc458c8656c35bc7361b
User 602ca8
Do a domain using no-Ip website which people can easily type in browser
Tuesday, August 15, 2023
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
is it possible to make the vote url clickable?
Sunday, August 13, 2023
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
The best, most up to date way, of seeing this data is in the playground. Trigger a custom command, then go to settings -> experimental -> playground and look at the past executions there. It shows all the data that's avilable
Saturday, August 12, 2023
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
if condition would be false (cause its night) i would like to have a message, saying that the command could only be executed prom 6am to 8 pm ingame time
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
i saw in documentation thats possible to use conditions. Where can i find the values which i can use as condition?
I plan to make a command only work between 6 am, 8 pm (game time) how would that parameter be named?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
restart csmm is doing the fix
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
if i disable cssm features, its only posting once, lol. normally it shouldnt post then, right?
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
now i got a problem with double posting commands. Is there any known fix for that?
image.png

image.png

PNG70.3 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Yey, nice one! 🎉
Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
No content
image.png

image.png

PNG2.4 KB

Avatar for 4935e3653bade03e0febf9653417104f249e582d6b409fcad1f63c66c5089f68
User 4935e3
@User 22055452 i finally fixed it. I started fresh with 2 new ubuntu vm's one for csmm one for 7days
I guess i did to many misstakes and fucked up some configs with trying to find workarrounds. Typical layer 8 problem.
image.png

image.png

PNG4.8 MB

Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
appreciate the info, ill go and give it a whirl....
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
The proper solution will scale to as many containers as you want without too much hassle. If you want other things to get reverse proxied by NPM for example, it's just a mattter of adding it to the NPM subnet
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I mean your solution def will work, but it's cleaner to use the provided abstractions IMO 😄
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
If you ever decide - for some reason - to change network drivers, it'll also cause issues
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Yeaahhh but that has some issues, you're now hardcoding that network info which can lead to conflicts later on
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Both of those will have created their own networks (
docker network ls
to see them). Those subnets are what's linked to those.
What we're going to do is create an 'external' network for NPM and link the csmm-web container in there. That way, NPM can reach CSMM for reverse proxying
docker network create nginx-proxy-manager
Then, in the CSMM compose do the following
version: '3.7'

networks:
  nginx-proxy-manager:
    external: true
  backend:
    internal: true

services:
  csmm-web:
    image: csmm/web
    networks:
      - nginx-proxy-manager
      - backend
    # other configurations ...

  csmm-worker:
    image: catalysm/csmm
    networks:
      - backend
    # other configurations ...
And so on, all the containers should be in 'backend' network.
Make sure you put NPM in that new network too. Then you'll be able to cross-talk
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
i tried using the name
csmm-csmm-web-1
but as its in a seperate subnet it wont resolve unless i add the network info to allow cross talk, but to do all that, i was thinking just adding the subnet to the csmm containers and call it a day?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Gotcha, okay so let me give you the more container-native solution for this :P
Avatar for 963f555b96e0b42febfe9c8744aacd2b11893c566055bfc6419084c10409fa2f
User 963f55
also in docker