dev
textPage 3 of 208
50 messages on this page
Wednesday, October 16, 2024
User 0cec7b
@User 22055452 just tried to test takaro but getting this error when trying to copy the repo form github
Cloning into 'takaro'... The authenticity of host 'github.com (140.82.121.4)' can't be established. ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU. This key is not known by any other names Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Saturday, October 12, 2024
User 69dd72
@User 36986167 can u dm me so i can see if it is the right email ! xd
User bddf69
Ah gotcha! I gave you the role now π I'll follow up on the issue there
User 4fdc81
I got the envite mail
User bddf69
Did you get the invite mail? Or are you trying to self host it? :P
User 4fdc81
Do i need to wait for my role to be able to use Takaro? I tried importing from csmm using the json file and got an error. Also tried connecting discord and got an auth error.
User bddf69
Ooh actually your name was in the list :p I gave you the Discord role, let's go figure out what went wrong with that email
User 0d4a24
No luck this time, I'll keep my eyes open π
User 0d4a24
Yeah I filled the google form thing in, I'll check my inbox
User bddf69
We just invited some more people to test, check your inbox π
You filled in the thingy on the website right? That's where we're drawing from
User 0d4a24
Ooh Catalysm what's the state of Takaro, is it still just a case of waiting to see if my application has been processed?
User 041e0a
ty
User bddf69
I gave you a role now to see the Takaro channels π
User 041e0a
so now that i moved to Takaro Do i need to use CSMM
Thursday, October 10, 2024
User bddf69
It is pretty standard indeed, there's docs for it here: https://docs.takaro.io/advanced/api
User 3eb1dd
I'm working on creating a C# utility that integrates to Takaro's API, is there anything crazy I have to do w/ the Authentication, or is it just a standard bearer token API Key ?
Thursday, August 8, 2024
User 43f447
Only things I may deal with are ass hats who are rude and maybe some missing vehicles. Except that it's usually calm.
User 43f447
There is not that much managing to do, servers are good and stable and pre tested before creating. So I never have lots of issues to deal with anyways.
User 2bff06
If you're that busy, how will you have time to manage your players?
Wednesday, August 7, 2024
User 43f447
That's why I am basically looking for someone to help who already knows π
User 43f447
So that's why I basically look for someone who can help with setting it up
User 43f447
Yes it is but sadly I am so bussy at my job right now I barely get 1-2 hours a day for stuff and I really don't want to sit on a chair for 14 hours a day.. π¦
User 23fa64
Why not rent a CSMM instance?
Or self host it.
Or self host it.
I think CSMM is what you want.
User 43f447
Hi, sorry if this is not an appropriate channel to write into. Are there any devs for hire that you guys would recommend ?
I am looking for someone to help with a simple website with direct connections and discord buttons and maybe a shop and for an ingame currency shop based on zombie kills, serve panel info and maybe some QoL mods.
I am looking for someone to help with a simple website with direct connections and discord buttons and maybe a shop and for an ingame currency shop based on zombie kills, serve panel info and maybe some QoL mods.
Thursday, May 9, 2024
User 0cec7b
@User 68881371, thank you i think i really need to spend the time learning JS
User b42753
Here is your showmap.js, i tested it: ```const { SlashCommandBuilder } = require('discord.js');
const findSdtdServer = require('../util/findSdtdServer.js');
const getInteractionOption = require('../util/getInteractionOption.js');
const findSdtdServer = require('../util/findSdtdServer.js');
const getInteractionOption = require('../util/getInteractionOption.js');
const Showmap = {
name: 'showmap',
slashCommand: new SlashCommandBuilder()
.setName('showmap')
name: 'showmap',
slashCommand: new SlashCommandBuilder()
.setName('showmap')
.setDescription('Test command'),
handler: async (interaction, client) => {
const serverIdx = getInteractionOption(interaction, 'server', 1) - 1;
const sdtdServer = await findSdtdServer(interaction, serverIdx);
let embed = new client.customEmbed();
let serverInfo = await sails.helpers.loadSdtdserverInfo(sdtdServer.id);
const sdtdServer = await findSdtdServer(interaction, serverIdx);
let embed = new client.customEmbed();
let serverInfo = await sails.helpers.loadSdtdserverInfo(sdtdServer.id);
embed.setTitle(`${serverInfo.name} - Showmap`) .addFields([ { name: 'Your text', value: `More text here...` }, ]) .setImage('https://hereisyoourpicture/foo.png');
return interaction.editReply({ embeds: [embed] });
},
};
},
};
module.exports = Showmap;
User 0cec7b
Yeah but I like the idea of the example that the djs showed can fit a little bit more information into it
User 0cec7b
Ahh ok, I was thinking this last night just before I turned my computer off.
So if I was to use:
handler: async (interaction, client) => {
const Showmap = getInteractionOption(interaction, 'showmapβ);
const Showmap = getInteractionOption(interaction, 'showmapβ);
Would that work? I apologise as Iβm very new to JS π
but we all have to start from somewhere right?
User bddf69
The handler for your new commands isn't correct, the errors says 'not a function'
Here's a working example of a handler: https://github.com/CatalysmsServerManager/7-days-to-die-server-manager/blob/master/api/hooks/discordBot/commands/execCommand.js#L24
Wednesday, May 8, 2024
User 0cec7b
there is no line 97 lol,
type error command handler? do I have to put EmbedBuilder into handler?
User 0cec7b
Require ('looking at the boot loop errors seems to work'); lol but yeah i have a successful boot
now when im asking for the command it now states:
CSMM > [app] at Client. (/home/csmm/7-days-to-die-server-manager/api/hooks/discordBot/index.js:97:27)
CSMM > [app] at processTicksAndRejections (node:internal/process/task_queues:96:5) command.handler is not a function {"stack":"TypeError: command.handler
CSMM > [app] at Client. (/home/csmm/7-days-to-die-server-manager/api/hooks/discordBot/index.js:97:27)
CSMM > [app] at processTicksAndRejections (node:internal/process/task_queues:96:5) command.handler is not a function {"stack":"TypeError: command.handler
User 0cec7b
or do you mean are there any errors on the boot loop?
User 0cec7b
There doesnβt seem to be any errors being picked up in visual code, I canβt see any
User bddf69
i get a loop boot
Is there an error in there?
Tuesday, May 7, 2024
User 0cec7b
so i put this on in but i get a loop boot π¦
const Showmap = new EmbedBuilder()
.setColor(0x0099FF)
.setTitle('How to view the map on CSMM')
.setURL('http://csmm.ravenlifegaming.com:1337/')
.setAuthor({ name: 'Nix', iconURL: 'https://i.imgur.com/AfFp7pu.png' })
.setDescription('Click Get started Then sign in via steam, once logged in you will see the dashboard where you can see the live map and where to explore next!')
.setThumbnail('https://i.imgur.com/AfFp7pu.png')
.addFields({ name: 'Inline field title', value: 'Some value here', inline: true })
.setImage('https://i.imgur.com/AfFp7pu.png')
.setTimestamp()
.setFooter({ text: 'Some footer text here', iconURL: 'https://i.imgur.com/AfFp7pu.png' });
.setColor(0x0099FF)
.setTitle('How to view the map on CSMM')
.setURL('http://csmm.ravenlifegaming.com:1337/')
.setAuthor({ name: 'Nix', iconURL: 'https://i.imgur.com/AfFp7pu.png' })
.setDescription('Click Get started Then sign in via steam, once logged in you will see the dashboard where you can see the live map and where to explore next!')
.setThumbnail('https://i.imgur.com/AfFp7pu.png')
.addFields({ name: 'Inline field title', value: 'Some value here', inline: true })
.setImage('https://i.imgur.com/AfFp7pu.png')
.setTimestamp()
.setFooter({ text: 'Some footer text here', iconURL: 'https://i.imgur.com/AfFp7pu.png' });
channel.send({ embeds: [exampleEmbed] });
Monday, May 6, 2024
User b42753
Yes, https://discordjs.guide/popular-topics/embeds.html#using-the-embed-constructor
But maybe you need @discordjs/builders / REST
But maybe you need @discordjs/builders / REST
Saturday, May 4, 2024
User 0cec7b
Is there a way to have the text reply and then in a separate body send an image?
Thursday, May 2, 2024
User 0cec7b
Yeah I work that that out. π
User bddf69
For the record, when vscode marks those as 'dull colours', it means they are unused variables π
Tuesday, April 30, 2024
User 0cec7b
thank you @User 68881371 life saver
User 0cec7b
never mind haha
User 0cec7b
i copied your code (changed the name, desc and reply etc) but still doesn't work
ive just noticed that the findSdtdServer is a dull yellow and the getInteraction is a dull blue checked other files to see and they are both brighter in colour would that contribute to the command not working

image.png
PNG β’ 11.8 KB
User 0cec7b
i currently am, thank you, not really sure what i have overlooked though
User b42753
Try it
User b42753
const ListServers = require('./listServers'); const Lookup = require('./lookup'); const Player = require('./player'); const Status = require('./status'); const Top = require('./top'); const Teszt = require('./teszt'); module.exports = new Map([ ['top', Top], ['list-servers', ListServers], ['execute-command', ExecCommand], ['lookup', Lookup], ['player', Player], ['status', Status], ['teszt', Teszt] ]);
User b42753
I tested it on my server, but it works for me.
const findSdtdServer = require('../util/findSdtdServer.js'); const getInteractionOption = require('../util/getInteractionOption.js'); const Teszt = { name: 'teszt', slashCommand: new SlashCommandBuilder() .setName('teszt') .setDescription('teszt parancs'), handler: async (interaction, client) => { return interaction.editReply(`This is test msg`); }, }; module.exports = Teszt;

image.png
PNG β’ 15.4 KB


