#programming

1 messages · Page 3 of 1

shadow marsh
#

aPES_WTFEyes Are you using a Minecraft (lookalike) Font? wot

mighty rain
#

I'm loving it actually wesh

shadow marsh
#

Aren't your eyes hurting after a while? 🙈

mighty rain
#

I swear if you're gonna hate me for that wesh

#

oh god

#

why don't anyone like it 😭

shadow marsh
#

Have I ever said in any of my sentences that I am going to hate you? 😛

mighty rain
shadow marsh
#

I never really tried it...

#

I am coding soon anyway, just setting up my new dedicated wesh

mighty rain
#

you wouldn't be able to tell it's different from others when you get used to it wesh

#

it caught my eye at first too. but now I'm too used to it to notice it and say "oh it's a minecraft font" wesh

shadow marsh
#

Well, as of right now I am using JetBrains Mono Font 😄 before that I used the Consolas Font 😄

mighty rain
#

I seen Github made a mono font

#

wanted to try it but haven't managed yet tbh

shadow marsh
#

they did? HmmGe

mighty rain
#

monaspace

shadow marsh
#

Well, I call myself a font collector. any font I do like I try to get 😂

mighty rain
#

just remembered its name megawesh

shadow marsh
#

okay..... that does look impressive.

#

absolutely not downloading rn

mighty rain
#

Krypton reminds me of first time using jetbrains idea

azure stratus
#

Does it have something to do with your return statement at the top of the image kekw

#

Typescript compiler L though

golden patio
#

Hi Is there a bot who connects my vtc with discord i mean to get notifications if someone applied to my vtc on my discord server or role change or about hired or fired someone

reef stratus
#

Hello, is there any way to see which DLCs (from ETS2) a user has through the Steam API?

azure stratus
final musk
#

hey guys,I want to extract player online status and location,is there an official API?

modest portal
#

Not official, but you can use Trucky

visual walrus
#

I don’t suppose anyone would know why a php query to insert data into an SQL table would cause a 500 error or a blank page upon loading, would they?

tardy smelt
#

Hey guys,

Does any of you know how to prevent Google Translate to translate a specific section of a string?

So as an example,

Recover :code would be Recuperar :código in spanish.

But only the recover should be translated no the :code

azure stratus
visual walrus
#

Yikes.

azure stratus
#

It’s as generic as errors go so have fun kek see if you can throw some logging in the PHP file

visual walrus
#

Yeahh..

azure stratus
#

Also a bit more nuanced but make sure errors that could be originating from the database aren’t being whacked into 500 errors before they’re sent back to you

#

Logging would show that

visual walrus
#

That’s very true.

#

I’ll have a peek in the error logs file and see what it spits at me

final musk
tardy smelt
mighty rain
#

guess they interpreted it wrongly wesh

tardy smelt
#

I manage to remove the dynamic value and use the dynamic value index number and than covert it back and it seems to work

mighty rain
#

some google answers also say <span translate="no">text</span>

tardy smelt
#

Since I'm sending request to Google API to translate english content to spanish but it translate even dynamic value that are updating by the code

mighty rain
tardy smelt
#

Wrote this:

    {
        preg_match_all('/:([a-zA-Z0-9_-]*)/', $content, $matches);
        foreach ($matches[0] as $key => $match) {
            if(empty($match)) {
                continue;
            }

            $this->array[$key] = $match;

            $content = str_replace($match, '<:' . $key . '>', $content);
        }
        return $content;
    }

    public function decodeValueForSaving(string $content): string
    {
        foreach ($this->array as $key => $value) {
            $content = str_replace('<:' . $key . '>', $value, $content);
        }

        return $content;
    }```

And did the trick
mighty rain
#

ah fair

summer gyro
#

i do want to learn php tbf

#

might start looking into it

azure stratus
#

I learned rudimentary PHP for a web dev class, but abandoned it about as quick as I abandoned web dev Kek

summer gyro
#

see reactjs looks nice to learn but im not sure

mighty rain
#

it indeed is

azure stratus
#

React is certainly something

#

I just don't have the time to dedicate to it

#

Same with Rust

mighty rain
#

i saw a rust lib that implemented memory leaks

#

just because rust is too safe

azure stratus
undone gyro
undone gyro
mighty rain
#

too many smart words wesh

fresh scaffold
#

When I tried react, i grasped like some concepts but then i just got confused with client and server components

azure stratus
#

100% it’s definitely involved

#

Plus I’ve had to pick up Python and all the Huggingface stuff for research so that ended up dominating my time anyway

patent scroll
#

Why can't I control the perspective while I'm inside the truck with the mouse?

mighty rain
#

how is that related to development?

uneven nimbus
# mighty rain how is that related to development?

Because you use a mouse on a computer and you have to develop a operating system so you cam actually use the mouse and if you want to use a mouse on a game you have to first develop that game in order to use your mouse

mighty rain
cinder kayak
glass vine
#

Yes

covert jewel
#

Hello

foggy osprey
shadow marsh
#

My very first Laptop had it

#

Used it for a few mins, swotched back to a normal 🐭 again aPES_Laugh

modest portal
#

Got a weird request, anybody got an AEB chime?

fresh scaffold
#

Who uses livewire filament?

humble carbon
#

Hey, is there an api available for all available cargo to this date in TMP/Single player for both games?

mighty rain
#

don't think so

azure stratus
humble carbon
#

Ahh! Allgood!

ember canyon
ember canyon
#

advertising is not allowed outside of the advertisement channels. Please refrain from doing so.

rocky terrace
#

heya does anyone know which gamengine to use when making prefabs for ets2

fervent axle
azure stratus
#

Still gotta learn it kekw

fresh scaffold
fresh scaffold
fervent axle
azure stratus
#

For sure! Just haven’t had time to learn php since my web dev class haha

mighty rain
sonic jasper
mighty rain
cinder kayak
mighty rain
split snow
#

hey you guys on

#

i wanna ask the developer some stuff

#

its about loading getting loaded and un loaded

azure stratus
split snow
#

whould be nice if they had live loads where you can see them loading you up

split snow
#

they should make the ports also little more real like doing live loads or they should show the craine loading the truck

shadow marsh
#

Still has not anything to do with development.

rose anchor
#

Does anyone know how long attendance users are cached for when querying an event via the API?

rose anchor
limpid maple
#

hi is anybody from czech republic

summer gyro
#

how is that development related then?

wise finch
split snow
#

to bad the cb dont work for this game when your stuck

fresh scaffold
toxic hornet
next ingot
#

is there a public api endpoint for changing user profile pictures

cinder spear
#

no

cinder kayak
#

Why should you have the ability to change another user‘s profile picture? eye

summer gyro
#

he might be on about checking when its been changed but im not sure

#

ive got a question though, what would be the best way of displaying data from the TMP API. For example, displaying all drivers on a teams page using js, html, css

mighty rain
#

cache & revalidate every day or so
div.flex 🔛 🔝
idk what else to include wesh

#

saying this as a nextjs + tailwindcss developer as I never used anything else weshdance

cinder spear
#

next 🤢

mighty rain
#

why not

cinder kayak
#

Make a request everytime someone uses the website. What's caching? KappaZ

opal arch
cinder spear
#

breaking changes too often

#

still looking for The Way To Do Things™️

mighty rain
quartz moth
#

Caching OhGodEyes

quartz moth
fresh scaffold
#

we all know whats best lulgif

fresh scaffold
#

Bingo!

supple shard
#

Unpopular opinion: EJS is just PHP with extra steps 😏

fresh scaffold
mighty rain
#

ngl react with laravel is kinda POGGERS

#

judging by Pterodactyl :P

violet tulip
#

i'm having good time with vue3 + laravel as api

buoyant citrus
#

what would you guys prefer PHP or EJS or React?

mighty rain
#

react

#

it's the only thing I really know tbh. did a discord bot dashboard with ejs back in the day but it's ResidentSleeper

#

didn't enjoy it wesh

violet tulip
#

react or vue3 for the frontend, definitely

#

vue3+quasar is a piece of cake, while for React i not sure what UI framework is better because there are so many

visual walrus
#

Time to see whose brains I can rack..

I’m trying to create an installer .exe for my logger that we’ve got, and want to take a Navio/TrackSim approach.

Anyone have any ideas on what tools or something I could possibly use?

I will be aiming to try and make it place the files into the correct place, for reference.

mighty rain
#

Navio/Tracksim don't put the plugin into the game plugins directory wesh They store the dll in their own directory and then just add it to ETS2/ATS plugins via registry

summer gyro
torn spade
#

so got a fast thing to ask im gonna put some code here as the old tracker we have had a bot we used to link would anyone be able to make this bot back ?

this is the code i would need to make the bot to do the linking

var links = [];
var scanned_links = [];

function linkScanner() {
// Checks if links have existed for more than 20 seconds
for (let i = 0; i < links.length; i++) {
const link = links[i];
if (scanned_links.includes(link)) {
links.splice(links.indexOf(link), 1);
scanned_links.splice(scanned_links.indexOf(link), 1);
console.log([!] Link ${link} has been deleted);
continue
} else {
scanned_links.push(link);
}
}
}

setInterval(linkScanner, 20000);

app.post(${prefix}/installer/generatelink, (req, res) => {
var link = crypto.randomBytes(3).toString("hex");
links.push(link);
res.send(link);
});

app.get(${prefix}/installer/checklink/, (req, res) => {
var clink = req.query.link;
for(i = 0; i < links.length; i++) {
if (!links[i].includes(":")) {
continue;
}
var link = links[i].split(":")[0];
if (link == clink) {
var data = ${links[i].split(":")[1]}:${links[i].split(":")[2]}
res.send(data);
return;
}
}
res.send("Error");
});

app.post(${prefix}/installer/setlink/, (req, res) => {
var data = {
id: req.body.linkId,
did: req.body.discordId,
name: req.body.discordName
}
for (let i = 0; i < links.length; i++) {
const link = links[i];
if (link.includes(data.id)) {
links[i] = ${data.id}:${data.did}:${data.name};
res.send("Success");
return;
}
};

res.send("Error");
});

app.get(${prefix}/installer/getall/, (req, res) => {
var links_to_send = [];
for (let i = 0; i < links.length; i++) {
const link = links[i];
if (link.includes(":")) {
continue;
}
links_to_send.push(link);
}

res.send(links_to_send);
});

// Job Tracker API

var total_users_online = 0;
var ids_online = [];

visual walrus
#

Oop-

#

That’s a tasty bit of code Leo kekw

torn spade
#

yes i know brad

visual walrus
#

Lmao

mighty rain
#

no codeblock NotLikeThis

azure stratus
#

I also don't exactly think this is a self-contained block of code, it requires a fair bit of additional context beyond "can someone make this"

narrow cove
azure stratus
visual walrus
torn spade
azure stratus
#

Very clean very nice

torn spade
#

well so with that the tracker is working the dev that made it made it so we have to run a command in the discord but we lost the bot that was running the command thats why i was asking if anyone could make the bot back so it links

azure stratus
#

Could you not just remake a bot, host the same code, and just restart it? I'm confused where the dependency lies

#

If it's a matter of duplicating code that you no longer have, that's a bit more of an involved task

torn spade
#

if i had the code it would be up we lost it as the backup was wiped unfortunately

azure stratus
#

Ah, in that case maybe your best bet is to independently search for a new dev as opposed to trying to get an entire file or two written up here

torn spade
#

well was just asking as we are in in proces of trying to get new devs but just wanted to try and get that back up and running asap thats all

azure stratus
#

Oh for sure it's just likely a bit more involved than a bit of boilerplate hence my suggestion

torn spade
#

fair

summer gyro
summer gyro
torn spade
#

fair i think i have found someone thx anyways peeps

summer gyro
#

Make sure you get to know them before trusting them 👊

torn spade
#

yep will do

azure stratus
#

The good ol Junior Dev role

#

I'll take 3 am "hey can you throw this on the VPS" messages over unrestricted access any day Kek

fresh scaffold
next ingot
#

I assumed truckersmp had some user control public APIs but hidden from docs

cinder kayak
#

Nope. You can only read data but not change them

mighty rain
fresh scaffold
#

Would there be any advantages to user specific APIs? IMO I don't think it would be useful for TruckersMP

mighty rain
#

wouldn't vote for user management but managing a VTC/its events would be useful YepGe

#

e.g. creating an invite link to join the VTC, mark VTC attendance on events think

fresh scaffold
#

But then more people would rely on the API rather than actually going to the TMP website

mighty rain
#

wouldn't that save some CDN traffic 🙈

#

and it'd just be more convenient imo PeepoThink

#

making automated things more automated, less human fuss

fresh scaffold
mighty rain
#

why do you want people specifically to use the website then?

next ingot
#

Roblox does that for example

#

Plus, I could see some handy features if user APIs were to exist

next ingot
#

How come GIFs wont work for profile pictures

#

like it doesnt animate once uploaded

mighty rain
#

it gets uploaded as a static image

#

direct link doesn't animate it either

next ingot
mighty rain
fresh scaffold
next ingot
# fresh scaffold Able to expand on that?

It says that it supports GIFs. Although, once you upload and save your settings, it doesn't animate through your profile or anywhere else that shows the profile picture

#

OH

#

you mean the API

#

sorry

next ingot
#

ofc the user would be given the choice to either authorize or not

#

and they can deauthorize anytime

fresh scaffold
#

Seems like a lot of work for one little feature. IMO it's not viable

next ingot
#

that one was an example, but yea

opal arch
fresh scaffold
mighty rain
#

using user tokens in API is not allowed iirc, classed as selfbotting

#

don't think they have any checks to find out selfbotters though

shy swan
#

Maybe that EU law will change the situation somehow? Now that Facebook Messenger, Telegram, iMessage, and WhatsApp technically need to allow sending messages to each other.

Imagine replying to your mom's WhatsApp on Discord stonk

azure stratus
#

The ultimate integration stonks

mighty rain
shadow marsh
#

not gonna lie, that would be awesome. Not that she has already discord anyway, because the whole Meta is..... belongs somewhere I can't mention in here kek

split snow
#

hey can we make the rail yards or the loading part little more better like the ports i whould love to load my self to or watch the craine load me they need to make it little better

summer gyro
#

How is that development related

split snow
#

why they should be able to do it

#

but i whould like to see them come out with georgia

#

but i see they are maken there way east

#

whould be nice to drive on the east cost

azure stratus
# split snow why they should be able to do it

I think you may have misunderstood just a tad - this is for community developers (who work on their own projects), not the actual developers of the game. We don't really have any control over that stuff 😅

split snow
#

can we talk to them on that stuff

#

right pepole that are in this chat try to make sugestions

#

so okay you guys are not the big shots so can we get them to talk

mighty rain
ember canyon
#

XD

next ingot
#

are we allowed to ask for help about stuff that isnt related to truckersmp api

next ingot
#

So basically, I was trying to make a discord RPC connect to electron, but this error appeared

#

(wont let me upload the js file here for some reason)

#

Basically, that error shows cause it's trying to auth using discord-rpc's (lib) client.login

#

but im not sure why

#

i looked through electrons docs and saw their IPC example, but i was confused from it

mighty rain
#

shouldn't you login before attempting to set the presence?

next ingot
#

it detects the RPC

#

mb

#

not rpc

#

it detects the Discord app

#

thats how it sets the activity

#

ive tested it without electron and it worked fine

#

plus, the parameter only has options for scopes

paper hound
# next ingot plus, the parameter only has options for scopes

you could try

const DiscordRPC = require('discord-rpc');
const RPC = new DiscordRPC.Client({ transport: 'ipc' });
const clientId = "YourClientID";

RPC.on("ready", () => {
  RPC.setActivity({
    details: `Your Details`,
    largeImageKey: `ImageThing`,
    largeImageText: `Text`,
    instance: false,
});
});

RPC.login({ clientId }).catch((err) => console.error(err));
#

Should work

next ingot
#

im using the forked one cause the one made by d.js isnt maintained anymore

paper hound
#

I know that way works atleast, so might be worth giving it a try still

next ingot
#

wait what

#

it works

#

hold up

#

so apparently if i turn it off and back on, it works?

#

lemme check my code

#

dont mind the client thing not being defined

#

im honestly so confused

#

when i turn it on for the first time it works, but if i turn it off and then turn it back on, it starts to work

#

nvm its not working now

#

but its not throwing any errors tho

#

Okay so it seems like its because rpc.destroy()

#

but

#

it doesnt show it again when i turn it on if i include rpc.destroy

next ingot
#

alr so

#

i added a temp fix

#

basically, i added setTimeout between the login and setActivity

#

which for some reason gets rid of the error

azure stratus
#

Can't say for sure because I've never played with it, but sounds like it could be an async related issue? If a fix for what seems like a literal race condition works, maybe so does adding await

#

You could have literally just been beating the instantiation of the client in your old code hence the reference errors - I'd be inclined to think await would fix that

azure stratus
#

Me: "man, I'm sure that people who develop a genetic programming library are very careful about how they select their random seeds and sample parameters"
DEAP devs:

mighty rain
mighty rain
next ingot
mighty rain
#

changing the order is the same thing as putting a setTimeout YikesWeird and I assumed that you already knew that both of those possibly return a Promise which should be awaited

final musk
#

Is there a way to check how many TMP accounts this computer has logged into?

mighty rain
#

probably not

ashen lagoon
#

The loop function isn't suitable for my needs. I'm looking for a function to assist in updating the data of a newly added person. Does anyone have any ideas or details about such a function?
( Am a noob dev)

azure stratus
#

It makes it a LOT easier for us to look through & help with

ashen lagoon
#

okey

azure stratus
#

Though, to answer your question, have you considered converting it from a loop event to a command that you can run with your bot?

#

I don't use Python for bots, but I'd imagine the logic would be the same

ashen lagoon
azure stratus
#

Perfect!

mighty rain
rotund wind
ashen lagoon
# mighty rain what exactly are you trying to do?

I would like the bot to fetch members data and send it to the discord channel, without command (automatically). This is basically the purpose of this code. However, as a loop is involved, the information once published, gets repeated.

I want the bot not to repeat the data once published, but to post the details of only newly joined members in VTC.

summer gyro
#

lol if it was JS id be able to help you, havent got a clue with python

mighty rain
#

you'd have to store your members in a database, then check for members which aren't in your database (aka new members) and log them

summer gyro
#

with js youd fetch the data and editReply i think

ashen lagoon
#

The present technique that I use is to delete the old data every twelve hours and get the new one published.

mighty rain
#

why are we talking about websockets now

next ingot
#

websockets are helpful for getting data without delays

#

wait nvm

#

i realized they meant tmp api

plush plover
#

Hi developers, for those who want the bot of VTC to be in multi-languages made like me, I use the i18n module for the automatic translation of one of my European multi-function project 😄

shadow marsh
shadow marsh
#

I do that via DB wesh

plush plover
#

unfortunately for this kind of thing I can’t use schemas or anything with mongodb, it’s the easiest thing I can find ( I think )

#

At the moment I have that French and English to be translated, soon will be the languages: German, Bulgarian, Croatian, Danish, Spanish, Estonian, Finnish, Greek, Hungarian, Irish, Italian, Latvian, Lithuanian, Maltese, Dutch, Polish, Portuguese, Romanian, Slovak, Slovenian, Swedish and Czech

yes I like to have a headache, I will need a lot of dafalgan 🤣

shadow marsh
#

well, i dont use mongo - am using mysql

#

also, I'm using my own kind of i18n wesh

plush plover
#

I don’t like mysql :kek:

shadow marsh
#

we never gonna be friends Kapp

mighty rain
#

I was a sql hater at first but after i discovered relations its YesLikeThis

shadow marsh
#

ShawnCZek gave me the taste of SQL - and I'm still glad he did CE_CatGiggle

azure stratus
#

SQL's pretty great

#

Personally I'm more partial to PostgreSQL but to each their own

shadow marsh
#

I've let inspired me from the TMP Voice thingy and I made it working CE_CatGiggle

fresh scaffold
shadow marsh
#

@viral veldt

fervent axle
#

Sorry, may this channel is not fit for my request or may I will be considered as the most nub of nubs but do anyone know how to let Gitlab automatically make an update to the "online" project (production environment)?

mighty rain
#

does it have webhooks?

fervent axle
#

Yeah sure... wait I think I didn't read correctly what I have seen on my Gitlab project db_kekwlaugh (Auto DevOps)

fervent axle
foggy osprey
#

It's comparable to Laravel Forge but cheaper (and imo easier to use with more features)

fervent axle
#

Thank you Diego!

foggy osprey
#

np!

#

Been using it since like 2019, can recommend it

#

just keep in mind tho that you still need your own server (e.g. from Hetzner, etc). This is just a server management tool

fervent axle
foggy osprey
#

aha yeah

#

they have a free plan for 1 server & 1 site, to try their service

#

it's definitely a lot better than manually SSH'ing into your server every time you wanna deploy a change xd

fervent axle
fervent axle
#

xD

foggy osprey
#

i've never used Envoy tbh

fervent axle
#

Well, I'm testing it but it's a mess because I would love to make it in Envoyer but the thing is that the most tutorial I'm watching are not really recent or those tutorial are in indian... it's true that I can speak some languages but not Indian unfortunately kekw

#

I was looking at the tutorial in Laravel documentations itself but I was like... lost

foggy osprey
#

it doesn't look too advanced from what i've seen in the docs

fervent axle
foggy osprey
#

ahh

#

yea shared hosts with Laravel isn't really the best choice

#

also Ploi won't work with that

#

for a few euros you can get yourself a more than decent Hetzner VPS

fervent axle
fervent axle
fresh scaffold
#

I don't have any VPSs ATM. Used to use a friends one since he gave my a VPS on his dedi server for free lol

#

If you want cheap cheap, use contabo

fervent axle
#

Thank you y'all

#

Now I'm facing an issue like:

#

The storage folder is going outside the releases files made by Envoyer

foggy osprey
#

especially for webservers i cannot recommend contabo

shadow marsh
#

I cannot recommend Contabo at all to be honest 😅

#

I'm on Hetzner for a dedicated and webserver is on mc-host24.de and both are very good!

quartz moth
#

If you've got the money, could always go with AWS or Azure trollrun

azure stratus
#

That's what I get for running GPU servers

mighty rain
#

I'd call myself rich if I start buying stuff from aws wesh

summer gyro
azure stratus
summer gyro
#

jesus

fresh scaffold
foggy osprey
#

mweh if you compare it to Hetzner pricing, i really don't see a reason to choose Contabo, even for development

#

unless you really can't spend ~1-2 euros more

next ingot
#

but the ping is eh

#

hetzner's ping is also around the same tho

foggy osprey
#

purely the faster network speeds is already worth the 2 euros more imo

cinder kayak
#

There are many cheap servers with unlimited traffic...

#

But well... reaching 20 TB traffic with a normal web-app is rough KEKW

foggy osprey
#

yuh i wasnt talking about the traffic caps

weary arrow
#

Hello, is there a way to install truckersmp on archlinux? Im not shure if this is the channal where i can find help

#

i played it back then on windows but now i switched

next ingot
#

Steam games aren't meant to be played on linux after all

foggy osprey
#

emphasis on "might" xd

cinder kayak
cinder spear
#

the official launcher can work with proton/wine, but there's no official support for it

#

I use the official launcher on manjaro myself

wild hound
#

Hello, I have a couple of questions, I don’t know if I’m writing here, sorry if it’s wrong, but I’d like to ask. How to display information about load and speed, etc. I want to try it for my client and can’t find information about it

cinder kayak
#

You can ask your questions here.

lilac aurora
#

I'm certain that it's not related to development, and thus, you should have kept it to #support where you posted it in the first place.

wild hound
plush plover
#

future orders of a project for my bot of my VTC 😄

summer gyro
#

Real

fresh scaffold
#

just a little bit outdated

#

just a little

mighty rain
fervent axle
split snow
#

so i have the kenworth 2014 right i wish i can just up grade it right in ti the 76 but i cant i half to buy onther truck

azure stratus
split snow
#

where

cinder kayak
split snow
#

hope the other states are coming out soon

mighty rain
#

never trust docs

#

tl;dr; I was migrating from a Ubuntu 20.04 server to a Ubuntu 22.04 one. The former had MariaDB installed via a script (10.11.2) as per docs of a software, but those docs also mentioned that the setup script isn't needed for Ubuntu 22.04. So I obviously skipped the setup script part and installed MariaDB 10.6.16. I didn't realise that at first and it obviously didn't want to start.

Wasted 3 hours until I realised that Ubuntu archives only offer 10.6 💀

tidal geyser
#

Hey, I wanted to change my engine sounds via a plugin

is this also recognized in Truckers MP?

summer gyro
foggy osprey
mighty rain
foggy osprey
#

:D

urban lantern
#

👉👈

azure stratus
#

Android App Links are so cool

#

So simple, and yet I've literally never had so much fun Kek

mighty rain
mighty rain
#

and how is that related to development?

azure stratus
#

Hey there, this may be better suited for something like #support, not this channel.

simple ridge
ember canyon
#

gotta love crunch
tried to make a wordlist and it was trying to make a 98PB file
XD somehow i dont think that will fit on my device

#

i tried to 7z it into files that were more manageable but it wanted 82TB

#

anyone got any ideas how i could get it smaller?

#

sigh gotta love when github just stops working for no reason 😦

split snow
#

i see for grain you will see the loading prosses

azure stratus
icy echo
#

Question: Why is there an China Server?

mighty rain
#

what?

icy echo
#

ther is a server with china in it.

#

just wanna ask if its rly chinese.

mighty rain
#

it's an event server

fresh scaffold
mossy cloud
shadow marsh
#

True 😂

lapis coral
#

How come we don’t get access to the emergency vehicles besides the police in the event server as it’s free for all anyways( someoen of staff with the right answer just ping me as I don’t really be in this channel so I can see the reply

mighty rain
#

how is that related to development HmmGe

mighty rain
#

oh

lilac aurora
#

Still not related here

lapis coral
lilac aurora
lapis coral
#

Well I mean smoky said he didn’t knew and was told here probz he better as it be seen by someone who works on the event atleast

lilac aurora
#

Event management will most likely not see it here, since this channel is for more local and custom development projects, not development of TruckersMP

lapis coral
#

So where would u needda ask it then

spiral plover
#

Hey guys, Apologies if its been asked before, Is there a Gumball type of event?

fresh scaffold
glass vine
fresh scaffold
#

lol

barren vortex
mighty rain
barren ice
#

nhb

ruby phoenix
#

What kinda devs are here

#

I need web devs i gotta ask them somethings🙏

cinder spear
fresh scaffold
uneven nimbus
#

Intresting website.

cinder kayak
summer gyro
mighty rain
zinc mango
#

I am developer too

foggy osprey
#

i am developer too

azure stratus
#

I am also developer too

shadow marsh
#

What a surprise! Me too! wesh

glass vine
#

im not.

mighty rain
scarlet zinc
#

Bug developers. kappapeek

quartz moth
foggy osprey
#

no :(

quartz moth
summer gyro
barren ice
sonic jasper
azure stratus
sonic jasper
mighty rain
azure stratus
# mighty rain excuses

I've said it before and I'll say it again, @sonic jasper doesn't have an outage fix dedicated to him smh

#

Mr. Marketing guy over here smh

sonic jasper
#

the backstory here is that tyler single handedly killed a project of ours for thirty two (32) hours

#

haters will say i'm lying

mighty rain
barren ice
#

🤣

tardy lake
#

Hi

rapid siren
#

Hey

vital patio
vital patio
barren ice
#

ye

summer gyro
#

not to shavy

next ingot
#

for any pterodactyl user reading this, please stop using pterodactyl for discord bots 😭

next ingot
#

u're limited to some stuff when you're using pterodatcyl

summer gyro
#

ive had 0 issues with it

next ingot
#

im not talking about bugs

#

For example if u want to connect lavalink to pterodactyl, its physically not possible

#

u can make it possible by editing pterodactyl urself but it'd be a hassle and no point

summer gyro
#

havent seen a lavalink project in time

next ingot
#

its mainly used for discord bots music features

#

if u go join the lavalink main server, you'll see some people in there using pterodactyl lmao

summer gyro
#

i see, whats peoples thoughts on websites that show discord info anyway?

shadow marsh
#

Well, nice thing, but I'd be concerned about leaking 😄

#

if you can turn off stuff, then yes, its a nice idea

summer gyro
#

ive updated the background so it looks better but im happy with it

#

fetching data with lanyard api (if anyone was wondering)

shadow marsh
#

How did you do that?

#

ah

#

😂

summer gyro
#

need to sort the thing rq

mighty rain
#

you can easily run lavalink on ptero

next ingot
mighty rain
#

add the egg and done

#

make a server with it

#

boom you have lavalink running on ptero

next ingot
#

do they even have the egg for it, thats the thing

mighty rain
#

yes they do lmao

next ingot
#

i dont see the egg for it

mighty rain
#

but the repo got moved to the pelican org

next ingot
#

the java egg or

mighty rain
#

theres an egg exclusively for lavalink

next ingot
#

yea i dont see it then

#

oh

mighty rain
#

too bad at searching

summer gyro
#

Lool

fresh scaffold
#

maybe take inspo from discords?

summer gyro
fresh scaffold
summer gyro
#

👀👀

fresh scaffold
#

love the stuff he makes

summer gyro
#

Soundest lad you’d ever meet I’m telling you

fresh scaffold
#

ahahhaa

summer gyro
#

You play Assetto or just watch his content

fresh scaffold
summer gyro
#

Ahaha have to jump on with you some time 😂

fresh scaffold
azure stratus
summer gyro
shadow marsh
#

Eventually I'd build in a scroll feature for the music, in case its too long, so everything stays in one line iykwim

shy swan
#

Where will that panel be displayed?

shadow marsh
#

If I have to guess, on their website

shy swan
#

Okay 👀 I am just wondering what use cases there are for such tools

azure stratus
#

Realistically it's hard to justify an exact use case, but you could always do some TMP magic for example and dynamically process some game status

#

The "use case" though is to brag about your favorite music as I do Wesh

summer gyro
#

I did have an idea of building a music bar above the top

shadow marsh
shadow marsh
summer gyro
shadow marsh
foggy osprey
foggy osprey
#

alsoooo you prolly don't want to hardcode your Lanyard API token plain in your JS code meowsmilesweat

summer gyro
#

Yeah knew I forgot to change something back when I was debugging ffs

#

Have to wait till tomorrow afternoon now

summer gyro
azure stratus
#

Anyone have history writing basic game integrations for ets2 and ats? I know a while back someone sent something about a custom hook to their drivers hub that they built and I want to work on something along the same realm

#

Just not sure what resources to look at first

summer gyro
#

He’s a smart arse

mighty rain
#

wouldn't expect him to give out any of his works Kapp

summer gyro
#

No I know but he’d tell him the where about of it

azure stratus
#

I don't need anyone to give anything out Kek I'm more than happy writing my own code

fast fossil
#

Huuuh

#

What

azure stratus
#

I just didn't know where to start looking cause it's a bit of a mess

fast fossil
#

What am I needed for

mighty rain
#

i looked at scs sdk docs at some point and realised my poo poo brain is too small for c++

summer gyro
fast fossil
summer gyro
#

He’s looking to try and do something similar but doesn’t know which docs to look through and stuff

fast fossil
summer gyro
azure stratus
#

Yeah that sounds familiar

mighty rain
azure stratus
#

Again just a toy example, just trying to figure out my logical workflow

summer gyro
azure stratus
#

Truth be told I'm likely accidentally reinventing the wheel - we're building an in-house dispatcher and I'd like to try my best to emulate the dispatcher in SP without using trucky or speditor

#

Probably too massive of an undertaking, but forgive my ambition Kek

summer gyro
#

Worth a shot

azure stratus
#

I figured if apps like Trucky, TB etc can do it then where there's a will there's a way

#

Makes things fair for our SP drivers

summer gyro
#

Yhhh

fast fossil
#

The messages on the route adviser is fully private won't be giving info about it
But its not easy to do

To get a basic job logger add the scs sdk and follow the examples to get the base done
Then add CURL for networking etc add event handling for stuff like job end and grab it's values
I'm sure sdk will have examples for it all

summer gyro
foggy osprey
#

1 per second is still a lot xd why not just 1 per page load?

#

if you want the spotify player bar to update, just simulate the time?

E.g. if the API response says that your currently playing song is at 0:16, add a second per second, until the song has ended (ending time is in the response). And then on ending time, do another request to get the new info

uneven nimbus
#

🧠 🤯

azure stratus
#

Could also be good to just set a static refresh time - for things like music, 3-5 mins is fine on the API (20 requests per hour) and can roughly approximate music

foggy osprey
#

static refresh time will a lot of the time cause the play bar to be stuck at the end tho, i assume that the high refresh rate currently is to prevent the bar looking wonky

summer gyro
#

I’m making it open src anyway as the apis public so why not

#

You can mess about with it iyw 👀

gaunt plinth
#

Will TMP be updated today?

fresh scaffold
foggy anvil
#

Anyone know if update 1.50 changes anything in sdk-telemetry?

split snow
#

isee for grain trucking you will load your own load cant wait

fresh scaffold
split snow
#

its true look it up

mighty rain
#

huh

split snow
#

grain trucking you will see how they load you up

mighty rain
#

lovely

#

what do i do with that information now

split snow
#

its coming out int he state of missouri

#

the new state

mighty rain
#

ok

#

i dont like ats

summer gyro
#

😂

split snow
#

grain looks cool its coming out whem missouri comes out

#

its not a mod

summer gyro
#

Yeah but did u read what Greg said

split snow
#

and is greg the boss

#

no

summer gyro
#

Yeah so he’s implying for you to use #ats

split snow
#

and

summer gyro
#

So use it, this is for devs we don’t want it cluttered up with useless ats talk bro

split snow
#

does not say that but oky

summer gyro
#

Brother is blind

#

Read channel description

split snow
#

iam developers so not shure where your getting your news but we are not talking to you

#

your blind

summer gyro
#

May one find his brain.

split snow
#

iam in devleopers messge so your int he wrong chat

summer gyro
#

I give up 😭

split snow
#

good because you know your worng

summer gyro
#

Yes bro! I am totally wrong

split snow
#

keep it up you will be reported

#

this chat is developers only so what you talking about

mighty rain
split snow
#

and whats your problem

#

now

mighty rain
#

u talking abt useless stuff that isnt even related to development

summer gyro
#

Clogging up mans channel blud

split snow
#

but if iam talking about a develpment question how is that not related to a delvelopment question even if i ask somthing you did not like just saying

summer gyro
split snow
#

some people may not understand on what you can say in a chat rcs could had told me that but iam still new to all the rules so i have no idea

split snow
#

like how i said i have no idea what the rules are who who makes the rules iam just on here talking i know they have other chats but it says iam in developer chat so i have no idea

summer gyro
#

Pure waffle

split snow
#

okay red meck

#

okay red neck

mighty rain
#

who

split snow
#

you

#

so shut up

mighty rain
#

i would choose not to

split snow
#

you GOT 2 ears

#

can you read that word

summer gyro
#

No

mighty rain
#

isnt it common for people to have 2 ears

split snow
#

yes well you dont ear your self to goodf

summer gyro
#

I can’t read @split snow

split snow
#

go see a doctor thats your problem

mighty rain
#

icl you should develop your sense making skills

split snow
#

hello

next ingot
#

How do they not know lmao

foggy osprey
#

you paste it into google, duh

mighty rain
#

im pretty sure you have to tell that to your cat

summer gyro
#

My eyes man

foggy osprey
#

flashbang out

wet yacht
#

does anyone have experience with connecting the trucky database to your own discord bot?

shadow marsh
#

Trucky Databse to Discord Bot? What do you mean?

wet yacht
# shadow marsh Trucky Databse to Discord Bot? What do you mean?

I need a bot that is able to do this:

-tracks Trucky Kilometer..
-if it's race miles it's 0,5 points per Kilometer
-if it'S real miles it's 1 point per Kilometer
-we can register events
-gives drivers the chance to confirm attendance
-event points=km made *2 which we can type in manually or automated when registering the event:)
-has a scoreboard where we can see the points

2 Dev's of us have quit on this and now I decided to do it myself but I have no idea how:(

shadow marsh
#

That' possible, yes. Using their API and the Webhooks. pepedance

wet yacht
shadow marsh
#

I was working on something similar too not too long ago, until I joined another VTC

shadow marsh
wet yacht
shadow marsh
#

What language will you be using? So I know if I can help you or not

wet yacht
fresh scaffold
wet yacht
shadow marsh
#

Eh, I was talking about Programming Languages like PHP, Java, JavaScript, C#, C++ and a few hundreds of thousands of alternatives. But OK.

summer gyro
wet yacht
wet yacht
shadow marsh
#

Well, then learn a language first before you make such a project, as you need to save these stats somewhere (config (less r/w speed but human editable) or database like sql (high r/w speed and only via interface like PMA editable) and and and 😄

high forum
#

When comes 1.50 for truckersmp

glass vine
high forum
glass vine
modest elm
ember canyon
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

shadow marsh
ember canyon
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

shadow marsh
#

thats good, then log in with steam and make a support ticket on tmp's website

ember canyon
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

opal arch
mighty rain
#

i wish i actually read about pgsql before making assumptions KEKW

#

just discovered that you can actually store objects in sql

humble carbon
#

Hey devs, question, is it normal for a VTC Website to track IP's when viewing there website? or "fetching" the IP using ipify.org? Cheers!

mighty rain
#

depends on the use case I'd say SusGe

#

if they need geolocation data, and it's mentioned in theirs privacy policy, ig it should be alr

humble carbon
mighty rain
#

oh

humble carbon
#

Time to go digging into that policy!

mighty rain
#

wouldn't say it's a common practice to do it on the client

humble carbon
# mighty rain wouldn't say it's a common practice to do it on the client

Usage Data may include information such as Your Device's Internet Protocol address (e.g. IP address), browser type, browser version, the pages of our Service that You visit, the time and date of Your visit, the time spent on those pages, unique device identifiers and other diagnostic data.

So that means it allows them to track the IP etc?

#

Because I checked out ipify, and holy it tracks IP prettyyy close tbh. I was VPN to my work, and it's on the local exchange to work. so its pretty darn close..

mighty rain
humble carbon
mighty rain
#

might be "Geographical location" (taken from TMP's privacy policy) but I'd contact them about the use case regardless ohgodeyes

humble carbon
#

Was just a wee bit concerned and like hello why is this in the JS, as I am learning JS so I like checking out code etc, and it tracks everything from IP/Geolocation/Browser/System etc.

#

But negative on the georgraphical either, I might need to do some contacting 🙂 cheers djoh ❤️

mighty rain
summer gyro
next ingot
next ingot
#

it fetches songs from youtube tho yea

#

not only youtube, but soundcloud and vimeo

opal arch
next ingot
#

which uses interactions to edit so it wouldnt ratelimit easily

opal arch
#

Ah, how does that work then?

summer gyro
#

Looks Alr

opal arch
#

Activity would be interesting. Showing the following lyrics, too, similarly to Spotify 😄

summer gyro
#

Some are delayed I did see

summer gyro
opal arch
#

Yep

next ingot
summer gyro
#

Not a bad idea tbf, with the album/song image too

next ingot
#

plus i have never touched a game engine before

opal arch
#

It is not about a game engine. The game activities are an external web app running inside Discord, basically

next ingot
#

well

#

idk if it supports iframe

#

but it does def take from web apps

opal arch
#

It is done via iframes, according to the documentation

next ingot
summer gyro
#

Ah I see

next ingot
summer gyro
#

I use the distube library, has a few filters and add ons you can do but tbf it runs a dream when there’s no networking issues

next ingot
#

im not using js

#

all of that is purely made using python

#

and using java to run the lavalink server

summer gyro
#

Not a big fan of python but it’s a nice creation

next ingot
#

cause the old one used a horrible method where it rounds up milliseconds instead of using a gateway

summer gyro
#

Would help if I did embed the current song message but I didn’t finish it fully

next ingot
supple shard
#

😳

#

rate limit go brr

mighty rain
next ingot
#

interactions arent part of global ratelimits

#

the ratelimits that interactions have are the same as webhooks

#

idk if im allowed to show it here

#

cause the lyrics does contain swearing

#

if u wanna see it, lmk and ill dm it

humble carbon
#

Hey team ❤️ can anyone suggest any CloudFlare alternatives? I have multiple domains, coming up nearly 20 domains, from vtc to private to business for my work etc. Don't mind a price etc, I am having serious problems with Cloudflare currently.

mighty rain
#

don't think there are any as good as cf

#

what problems? SusGe

summer gyro
#

GitHub pages and netlify I don’t see as good

#

The only other thing I was thinking of is a vps with nginx instances

quartz moth
#

There are plenty of alternatives, but it just depends on what you're using

languid glade
mighty rain
#

if we're about domain registrars then I've always been using namecheap

#

some of my friends also recommend porkbun

summer gyro
#

Anyone know where i can grab the trucky vtcId

#

nvm found it

azure stratus
#

Porkbun and Namecheap for registrars, but I can't think of an alternative to CF for the amount of things it provides

#

Never had an issue on my end, sometimes things are down to subtle configuration errors or whatnot

fresh scaffold
#

^^

sonic jasper
#

yeah, their developer community on discord are really helpful too in case you can’t resolve the issue yourself

humble carbon
humble carbon
#

Because its currently proxied

mighty rain
humble carbon
#

Well that changed one of my domains, I just put the name servers back onto cloudflare for the domain thats having problems so will wait for propergation to resolve etc

mighty rain
agile mesa
native wyvern
#

When is 1.50 coming to TruckersMP??

mighty rain
native wyvern
#

i didnt know where to ask

summer gyro
humble carbon
mighty rain
#

ah nice

summer gyro
#

oml discord formatting is going to kill me

fresh scaffold
#

React is so weird panik

azure stratus
#

Svelte though notbad

foggy osprey
lilac aurora
#

Advertising isn't allowed here though

foggy osprey
#

smells like scam tbh

quartz moth
cinder kayak
#

👀

#

Why so rude, not-Coolio85?

foggy osprey
quartz moth
azure stratus
ember canyon
#

hi

summer gyro
#

Hi

waxen basin
#

hi

pine pendant
fresh scaffold
#

damn that goes hard 😭

azure stratus
pine pendant
#

fr

shadow marsh
#

Why does that smell like scam?

summer gyro
#

No thanks

#

Take ur business elsewhere no one’s bothered

mighty rain
#

do you consider me as a male if i identify as balls

lilac aurora
#

Advertising is not allowed outside of the designated channels

visual walrus
cinder kayak
cinder kayak
#

Everyone join KappaZ

lilac aurora
versed grotto
paper hound
versed grotto
shadow marsh
#

then dont use deprecated methods?

sonic jasper
#

but errors are what a developer lives for kappapeek

shadow marsh
#

I wouldn't neccessarily say that 🤣

azure stratus
#

kinda like errors with an external tool like unleash

sonic jasper
#

ooo good point, that does sound quite painful

versed grotto
hardy mulch
mighty rain
hardy mulch
#

okay good, great idea

hardy mulch
mighty rain
#

didn't realise it's that old either tbf

shadow marsh
agile mesa
#

mm wouldn't it be nice with green border if this place was 2px instead of 1px 😔

foggy osprey
#

Loll

#

Can't un-see it now

agile mesa
azure stratus
#

I'm now perpetually focusing on those borders

visual walrus
fresh scaffold
storm siren
#

i think we really need the old junction back, i was just in trafic for over 2 hours to get to Düsseldorf

remote parcel
#

How it looks now👀 ?

summer gyro
#

Not

storm siren
#

It is

#

The devs do the game

mighty rain
#

read the topic of this channel

#

and if you checked the website or the forum, you would've noticed an announcement saying that the intersection was reverted by mistake

azure stratus
# storm siren The devs do the game

Just to clarify for you - this is for development enthusiasts who work on their own projects, not the developers of the game :) as djoh said, there's been an announcement about this too!

zenith forge
#

May I ask when there will be a server update about the 2.70 ProMods map and the rest that is updated?

summer gyro
#

Read the channel description.

zenith forge
#

The servers needs to be developed right?

summer gyro
#

Yes, indeed. But this isnt the channel for that clearly

cinder kayak
#

ProMods needs to be developed KEKW

#

Since PM isn't ready, there can't be a server for it Shrug

shadow marsh
#

ProMods is ready......

#

Why telling lies?

lilac aurora
#

Because Spoony is a nub Wesh

shadow marsh
#

Rather an unprofessional staff member kekw

cinder kayak
lilac aurora
cinder kayak
#

I totally don't care about ProMods anymore KEKW

quiet python
summer gyro
#

It gives you the source in the repo so you can have a look at its workings

brazen timber
#

why is this map messed up like this, because of this I'm losing miles

inland birch
brazen timber
mighty rain
cinder spear
#

nice cache%

split snow
#

hey if i get cost to cost map should i do that till they come out with the states

humble carbon
quiet python
mighty rain
#

the attack was still ongoing when the traffic started going down, we just switched from under attack mode to blocking ASNs via WAF

quiet python
#

omg

waxen tiger
#

😦

shadow marsh
#

Nice development! awesome

#

Say, how did you code that? Kapp

azure stratus
#

Please remember to use channels for their intended use - if you would like to appeal decisions, you can use the appeal granted with your ban :)

waxen tiger
#

Sowy

azure stratus
#

Thank you for taking note atmlove

waxen tiger
#

But how do I apeal my ban

night rootBOT
#

Hey @waxen tiger! HaulieWave

You can appeal your ban by following this article. If you have sent an appeal already, please wait patiently for the answer.

reddot A response to your appeal can take up to 3 days.
reddot It is not possible to speed up the appealing process.
reddot If no evidence has been added to your ban, request it in the appeal.

Discussing punishments, reports, tickets, appeals, applications and complaints about staff is prohibited. (Rule §2.10 of #discord-rules).

fresh scaffold
#

Not a big api but still useful

summer gyro
#

oooh, looks nice

fresh scaffold
#

you can tell i don't like writing docs

summer gyro
#

😭

mighty rain
#

looks neat

foggy osprey
fresh scaffold
#

that package I sent doesn't require docblocks/attributes too but it's there if you want to modify it.

#

but yea that looks good too

#

I like this though

azure stratus
#

Like literally about to start writing api docs KEKW

fresh scaffold
#

It's a life saver

#

Figured out how to group routes

#

but one annoying thing is that subgrouping does not work

azure stratus
#

I'm still writing OpenAPI specs by hand for Express though, might have to give the JSdoc version a try

#

Love SwaggerHub the most but god those take ages

fresh scaffold
#

imo SwaggerHub is a lil dated

violet tulip
#

tried similar package on my company project but the number of APIs was too big that the page didn't even load and crashed the browser 😄

naive sparrow
#

hello pls help me

#

Hello, the version of the Euro Truck Simulator game is 1.50.2.3s, but I am getting "incompatible version error" in Truckers MP, can you help me?

night rootBOT
#

Hey @naive sparrow! HaulieWave

The latest version of Euro Truck Simulator 2 is currently supported.

The latest version of American Truck Simulator is currently supported.

It is not required to downgrade. Select None as a beta in Steam to continue playing on TruckersMP.

You can find more information on how to downgrade your game here.

naive sparrow
#

I'm already in beta, but it still says the version doesn't match.

fresh scaffold
#

Please use #support . You are in the wrong channel @naive sparrow

mighty rain
fresh scaffold
#

the new new launcher

mighty rain
#

a fork of it wesh

fathom sail
#

hello guys

mighty rain
#

@golden helm a

golden helm
#

b

azure stratus
#

c?

summer gyro
#

d

narrow cloud
#

e

uneven nimbus
#

f ortran

azure stratus
open quiver
mighty rain
#

@golden helm å