dev

textPage 7 of 208
50 messages on this page
Friday, September 9, 2022
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Or plant a tree ๐Ÿ˜„
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
but.. you can get a free tshirt :O
Avatar for a12f6e80e9d89b5470e3311f9d8388d6d4bc834b3825be85bf1f6a4e71dd314f
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 ๐Ÿ˜„
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Oh and if you want to wait till October so these changes count for hacktoberfest, that's totally cool too haha
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
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 ๐Ÿ˜‰
Avatar for a12f6e80e9d89b5470e3311f9d8388d6d4bc834b3825be85bf1f6a4e71dd314f
User a12f6e
Sure
Thursday, September 8, 2022
Avatar for 23fa6481638002a74556b9cac6e9e906cdf12551a21ddd6d0b0134fc009c8f88
User 23fa64
I need to work on my cyberdeck.
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
https://hacktoberfest.com/ is coming up soon ๐Ÿ‘€
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
Avatar for ca97f721841200abd85623120878a92fff8a8d03d63f193c105c7a967e456f33
User ca97f7
Okey thank you for answer ๐Ÿ˜„
Friday, August 26, 2022
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
No plans to add that to core CSMM, you could make that with persistent vars, couldn't you?
Avatar for 374c5d8a234dd3a84b2e7712113bccfc34abaf33083b895e688b9899a24261ca
User 374c5d
O.o
Avatar for ca97f721841200abd85623120878a92fff8a8d03d63f193c105c7a967e456f33
User ca97f7
Hello @User 22055452 do you will dev an anti AFK tool inside CSMM in the future?
Saturday, August 6, 2022
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Actually I gave terrible advice lol
{{toInt custom.newLevel}}
Sorry :p
unknown.png

unknown.png

PNG โ€ข 7.3 KB

Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
nah..just taking me too long to even get syntax right. Will send them here
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
if you are inside a loop, you might need to use ../ to access upper scope
unknown.png

unknown.png

PNG โ€ข 31.2 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I'd start off with just echo'ing that custom var to make sure you can access it properly
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
just checking
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
dont have the if ready even
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
No work?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Looks correct
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
?
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
{{toInt {{ custom.newLevel }}}}
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
{{ custom.newLevel }} should work I think
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
${custom.newLevel} would look different in handlebars right?
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
( you might need
{{toInt}}
too for the math to work properly )
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
yeah i looked at that, but i dont remember all the quirks for using custom vars in handlebars
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Sounds like you want
subtract
from here: https://github.com/Budibase/handlebars-helpers
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
and check if greater than a certain number. Lets say 20 as example.
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
subtract oldLevel from newLevel
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
im so not into handlebars. Thats where i could use some help
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
platformId is for the ban param
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
platformId = (?<=\()(Steam_||XBL_)(\d+)
oldLevel = (?<=\()(\d+)
newLevel = (?<=-> )(\d+)```
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
vars:
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
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
Avatar for aee541746e268e44e47a2c9b5a7d9236a76b59837f2dad43622fd77182acd4d8
User aee541
No content
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Eventually <:docs:453661204645150750>
Avatar for a506fee3140c1a9cb5f83c4671951bd488e90ca6dc0482bf1cbc5478a2f8fa6e
User a506fe
Will check
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
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
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
Avatar for 6ceaf41ff27d04ff247f59c1bc5a9f4cc4ace95acc526862d52cdbbb8702989b
User 6ceaf4
listVar works great, so much fun...
Monday, May 23, 2022
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I didn't pull your latest commit before starting the docker build <.<
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Classic case of PEBKAC
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
I found it!
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
No worries, I'll try and take a deeper look at it after work too, perhaps I can find the fix ^^
Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
It did get rebooted by the updated
Avatar for 8824204d34fee76f1f051c762fb24388fc6c1d4a38e0210fd1a6c9e5a0c1572e
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.
Avatar for 8824204d34fee76f1f051c762fb24388fc6c1d4a38e0210fd1a6c9e5a0c1572e
User 882420
@User 22055452 Does sails need to be rebooted for the update to take effect?
Avatar for 8824204d34fee76f1f051c762fb24388fc6c1d4a38e0210fd1a6c9e5a0c1572e
User 882420
It is still listing vars from other servers for some reason.
unknown.png

unknown.png

PNG โ€ข 41.3 KB

Avatar for bddf696212701f4e2e40cc177bb39c1f9c5f0a4ce49c307b79e8101c2a98158e
User bddf69
Auto update script just sent out a notification for staging :p Should be live now