dev
textPage 7 of 208
50 messages on this page
Friday, September 9, 2022
User bddf69
Or plant a tree ๐
User bddf69
but.. you can get a free tshirt :O
User a12f6e
I don't buy into the whole Hacktoberfest thing, I'll work on it as time allows. No sense waiting for some imaginary internet points ๐
User bddf69
Oh and if you want to wait till October so these changes count for hacktoberfest, that's totally cool too haha
User bddf69
Awesome!
I recently added some basic info on setting up a development environment (it's like the host install except use a docker-compose file for the databases)
https://github.com/CatalysmsServerManager/7-days-to-die-server-manager#development-setup
https://github.com/CatalysmsServerManager/7-days-to-die-server-manager#development-setup
I added some notes and code pointers to the two issues you made (the teleport command aliases one and the vote dryrun one). My hint to you is to start with the command aliases one, that'll be the easiest one to start with.
If you run into any issues, I'm happy to help ๐
User a12f6e
Sure
Thursday, September 8, 2022
User 23fa64
I need to work on my cyberdeck.
User bddf69
https://hacktoberfest.com/ is coming up soon ๐
User bddf69
@User 28294624 would you like to take a stab at it? ๐ I know you're pretty technical and this is (I think) a pretty well contained feature to add
Sunday, August 28, 2022
User ca97f7
Okey thank you for answer ๐
Friday, August 26, 2022
User bddf69
No plans to add that to core CSMM, you could make that with persistent vars, couldn't you?
User 374c5d
O.o
User ca97f7
Hello @User 22055452 do you will dev an anti AFK tool inside CSMM in the future?
Saturday, August 6, 2022
User bddf69
Actually I gave terrible advice lol
{{toInt custom.newLevel}}Sorry :p

unknown.png
PNG โข 7.3 KB
User a506fe
nah..just taking me too long to even get syntax right. Will send them here
User bddf69
if you are inside a loop, you might need to use ../ to access upper scope

unknown.png
PNG โข 31.2 KB
User bddf69
I'd start off with just echo'ing that custom var to make sure you can access it properly
User a506fe
just checking
User a506fe
dont have the if ready even
User bddf69
No work?
User bddf69
Looks correct
User a506fe
?
User a506fe
{{toInt {{ custom.newLevel }}}}
User bddf69
{{ custom.newLevel }} should work I think
User a506fe
${custom.newLevel} would look different in handlebars right?
User bddf69
( you might need
{{toInt}} too for the math to work properly )User a506fe
yeah i looked at that, but i dont remember all the quirks for using custom vars in handlebars
User bddf69
Sounds like you want
subtract from here: https://github.com/Budibase/handlebars-helpersUser a506fe
and check if greater than a certain number. Lets say 20 as example.
User a506fe
subtract oldLevel from newLevel
User a506fe
im so not into handlebars. Thats where i could use some help
User a506fe
platformId is for the ban param
User a506fe
platformId = (?<=\()(Steam_||XBL_)(\d+) oldLevel = (?<=\()(\d+) newLevel = (?<=-> )(\d+)```
User a506fe
vars:
User a506fe
am trying to help an owner with a hook for doing a ban on a certain amount of level jumps
Thursday, August 4, 2022
User aee541
No content
User bddf69
So I said I was just going to remove the typo-fixing of the support bot but I kind of got side tracked... anyways the support bot uses slash commands now :p
Thursday, July 28, 2022
User a506fe
Eventually <:docs:453661204645150750>
User a506fe
Will check
User bddf69
hey @User 36612002 got this bug report on the CPM web panel repo, would you mind taking a look please?
https://github.com/CatalysmsServerManager/CPM-claim-creator/issues/303
https://github.com/CatalysmsServerManager/CPM-claim-creator/issues/303
Looks like it might be some missing data judging from the stack trace, perhaps wiping the DB would help as the user suggests?
Tuesday, May 24, 2022
User 6ceaf4
listVar works great, so much fun...
Monday, May 23, 2022
User bddf69
I didn't pull your latest commit before starting the docker build <.<
User bddf69
Classic case of PEBKAC
User bddf69
I found it!
User bddf69
No worries, I'll try and take a deeper look at it after work too, perhaps I can find the fix ^^
User bddf69
It did get rebooted by the updated
User 882420
Gonna get some sleep, will keep working on it tomorrow. Will get listVar working properly and make it so names need to be unique when editing vars.
User 882420
@User 22055452 Does sails need to be rebooted for the update to take effect?
User 882420
It is still listing vars from other servers for some reason.

unknown.png
PNG โข 41.3 KB
User bddf69
Auto update script just sent out a notification for staging :p Should be live now