#programming

1 messages Β· Page 4 of 1

mighty rain
#

oh god

#

they be multiplying

thick osprey
glass vine
#

@golden helm

mighty rain
#

@viral veldt DinkDonk

cinder kayak
#

@narrow cradle

kindred reef
#

Hello. I saw that the TruckerMP server information command was added to a few other bots. Is there any problem in adding it to my own bot?

shadow marsh
#

no, you can add it yourself too by coding it in πŸ™‚

kindred reef
shadow marsh
#

I know πŸ˜„

ancient sage
#

.

quiet python
#

πŸ‘€

winter spire
#

Ive got an question

#

Were can you put a video that gets someone banned

mighty rain
#

youtube?

summer gyro
round forge
#

medal video link

pine pendant
#

soo i have interesting question. i got x, y coordinates of user. how do i best way find out in which city he is

#

should i just iterate through all cities and check which city are coordinates closest to?

tribal ember
#

Does someone know is it is possible to use prism3d (ets 2 engine ) for my own. Like buy it or download it from somewhere cause I can't find it on the main scs website

opal arch
#

No, Prism3D is a proprietary engine.

grave palm
#

@ DEV

grave palm
#

sure

mighty rain
grave palm
#

That's bad, I hope I don't get shot here.

mighty rain
outer spear
#

Caught in 4K πŸ“Έ

slender pelican
mighty rain
#

Leak @bitter scarab

shadow marsh
mighty rain
#

idk if it'll get accepted into the addon store tho 😭

#

they wanted me to give them a test account on the tmp website to test the extension

#

i said no

bitter scarab
mighty rain
#

tbh chrome store is so much better

#

despite the fact that i had to pay a little fee

olive ferry
#

Hi, I want to unban you and I regret what I did and this was my first time online.

#

@kindred pond

night rootBOT
#

Hey @olive ferry! 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).

olive ferry
summer gyro
olive ferry
olive ferry
vestal sigil
summer gyro
#

jesus

vestal sigil
#

god u is slow

glass vine
#

If no evidence has been added to your ban, request it in the appeal.

#

also

2.7. Spamming, such as but not limited to: messages, emotes, symbols, images, reactions, rejoining, (ghost) mentioning, ModMail, ASCII art.

olive ferry
glass vine
olive ferry
mighty rain
olive ferry
mighty rain
#

what

remote crater
#

I want my father to come back but that won't happen

#

You ain't getting unbanned kid

narrow cradle
# olive ferry ok but i wanna unban now

talking about bans / discussing about punishments is not allowed here Β§2.10. Discussing punishments, reports, appeals, applications & complaints about team members.

vestal sigil
glass vine
graceful thistle
opal arch
#

This chat is about everything but development.

shadow marsh
#

Kinda true tbf

#

I should pick up on coding again, going into a field I've never been, be lazy and ask everything in here to highten the development-relevancy-rate Kapp troll

summer gyro
vestal sigil
sick raven
#

Fix TMP

runic rune
lime basin
#

guys im new to php anyone know why this isnt working?

LoadModule php_module "C:/PHP/php8apache2_4.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/PHP"
LoadFile "C:/PHP/php8ts.dll"```
#

tried debugging with

<?php
phpinfo();
?>```
#

doesnt show up the info

crystal vigil
#

did you check the apache configuration

#

@lime basin

#

httpd -t

lime basin
#

but thanks for the info

crystal vigil
#

how did you fix it

zinc gust
#

By the way, if you want a testing environment for PHP, I can recommend the application called XAMPP. You just install it, run it, and it sets up everything you need to run one or more websites.

soft delta
#

Hello does enyone know if there will be an opportunity to apply for a Trainee Moderator in the near future and where to look for such openings?

mighty rain
cinder kayak
lime basin
#

i love xampp

#

sorry for the slow reply

#

πŸ™

azure stratus
#

Ah XAMPP, my love/hate relationship

mighty rain
#

i just hate php πŸŽ€

uneven nimbus
#

Got a lot of headaches from it

hollow hearth
#

un ban ?

night rootBOT
#

Hey @hollow hearth! 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).

dull crest
#

i got this error
eurotrucks.exe

#

please fix it I can't play

mighty rain
gleaming warren
#

I have this mod for this (browser) game called sandboxels and there is 1791 lines of code and I'm not even done yet HaulieCry

vital patio
#

Can anybody tell me what status code and descriptor does response give tmp api goes down?

shadow marsh
#

If the API goes down, I believe, it wont show anything, as it is down πŸ˜…

vital patio
shadow marsh
#

Don't simply delete anything - that's a horrible thing to do πŸ˜…

shadow marsh
#

I wouldn't trust auto deletion (unless you can safely make it automatic) - but in that case I'd add a queue, so you can check if its actually to be deleted or not

vital patio
#

my bot also update events in realtime

#

so if a event gets deleted it will be stuck thinking where is correct response

vital patio
#

like it will prompt a button to delete event

shadow marsh
vital patio
#

but I am lazy

#

to add a button for deleting event

shadow marsh
#

🀣

vital patio
#

usually my bot deletes the event after 2hrs of start at time

#

so api does not give 503 staus code when it's down?

shadow marsh
#

it just goes down

vital patio
#

then the button thing will be the only way

#

I could think of

shadow marsh
#

same πŸ™‚

#

so you have more control of it and can decide whether it stays or can be deleted safely from disk

vital patio
#

button idea is better then seeing event data being deleted in seconds

#

when api goes down

#

If I am not wrong most of the api gives status code right after it gets down?

vital patio
mighty rain
#

anytime

vital patio
shadow marsh
#

a million dollars... I'd fulfill my dream and buy a decent bus kek

mighty rain
vital patio
#

nothing will harm you

#

but I am not sure about myself

vital patio
#

then the problem is solved

shadow marsh
#

Well, how would an API respond, if it is down? πŸ™‚

vital patio
#

if it gives Page not found descriptor

vital patio
vital patio
shadow marsh
#

like... how would you turn on the microwave, when you have no power? merely the same question - just different πŸ˜„

shadow marsh
#

see πŸ˜›

vital patio
#

there are some api's that give 503 error

shadow marsh
#

Some do... TMP does not

vital patio
#

look at these thousands of notifications

summer gyro
#

Just needs formatting

vital patio
#

and that is not going to happen soon xD

summer gyro
#

I’m shite with python, I’m more of a djs person me

vital patio
summer gyro
#

It’s way easier for embeds I think

vital patio
#

but complex for buttons and other things

#

I can't figure out how can I make persistent buttons in djs

summer gyro
#

How do you mean persistent, like so they stay each update

vital patio
summer gyro
#

They shouldn’t die

vital patio
summer gyro
#

oof

vital patio
#

and you can't find user with the username

#

you need discord_id of the user

summer gyro
#

cant u use interaction.member;

mighty rain
vital patio
vital patio
summer gyro
#

or even

interaction.user.id
interaction.member.id

vital patio
#

because it's a form on a website

summer gyro
#

ooh

#

i see

mighty rain
vital patio
#

xD

mighty rain
vital patio
#

why? it's deleting my code?

mighty rain
#

probs too many spaces

vital patio
#

bruh

mighty rain
#

use pastebin

#

or summin

golden helm
#
            .setCustomId('approve')
            .setLabel('Approve')
            .setStyle('Success');

        const rejectButton = new Discord.ButtonBuilder()
            .setCustomId('reject')
            .setLabel('Reject')
            .setStyle('Danger');

        const row = new Discord.ActionRowBuilder()
            .addComponents(approveButton, rejectButton);
        
        let channel = client.channels.cache.find(channel => channel.name === eventname);
        channel.send({embeds: [embed], components: [row]});```
vital patio
#

I prefer SS

golden helm
#

There ya go

golden helm
#

Gotta love Automod

vital patio
golden helm
#

Bet

vital patio
#

?

mighty rain
golden helm
mighty rain
vital patio
#

I can't send SS of this

#

it's too big

mighty rain
#

use codesnap extension if you're on vscode

vital patio
mighty rain
#

adpyke.codesnap

#

ctrl + p -> codesnap and select the piece of code to make an image of

vital patio
#

wow you can't read

#

can you?

#

Thanks discord for open in browser

mighty rain
#

why is your event listener inside a route

vital patio
#

at that time I just used chatgpt because I could not figure it out because I didn't knew js

#

and djs

mighty rain
#

that code is hella confusing ngl

vital patio
#

js always gave me pain

shadow marsh
#

Try Java then Wesh

vital patio
#

only applet sucks in java

shadow marsh
#

It is indeed. I code mostly my bots in it

vital patio
#

why ?

#

why you do that to yourself?

shadow marsh
#

Because Java is the only Language I'm fluent in

vital patio
#

ohok

shadow marsh
#

I tried JavaScript... no chance. I tried Python.... as well no chance. But Java? Somehow I understood that the best and that's why I kept learning it and extended my knowledge.

#

Also I give fault to Minecraft being in Java kekw

mighty rain
#

tbf i'd really enjoy using golang for backend in fullstack apps if only it had frameworks like nestjs from js or laravel from php

#

or spring

vital patio
#

but it's a long way to code plugin

shadow marsh
#

There's one thing I'd like to learn (preferably in Java) - which would be actual UI Programs and not only CLI programs / mc plugins.

shadow marsh
shadow marsh
vital patio
#

the new jetpackcompose is nice

shadow marsh
vital patio
#

then

shadow marsh
#

I'll check that one out. Eventually I have more luck with that

vital patio
shadow marsh
#

We'll see. I'll keep you updated pepedance

vital patio
mighty rain
#

can't really tell without knowing/figuring out how your stack works tbf

#

and it's a bit late for my brain to function properly megawesh

azure stratus
#

App dev isn't too bad

#

I had my moments of fun "eureka" times with Android Studio

vital patio
vital patio
#

I am gonna fetch api from my dpy bot

#

And it will handle it

#

Also can anybody suggest name for my VTC event handler discord bot

#

It's current name is kinda boring

#

Thats a dumb idea

#

I just remember I am using mongodb so I can use on change stream

azure stratus
#

MongoDB Hmm

azure stratus
vital patio
#

And I feel that with all the jetbrains softwares

azure stratus
#

That particular issue, I've noticed, is at least pretty isolated to Android Studio

#

Then again, I also have a nice beefy M2 air so maybe that's why I don't notice it

vital patio
azure stratus
#

I use IDEA for school and same thing, I don't necessarily notice a whole lot

#

I used IDEA Professional for Typescript for ages out of just liking it

vital patio
#

Comparing with Intelij idea with Visual Studio

#

Visual studio feels so smooth

azure stratus
#

But yeah, I near exclusively use Webstorm, Datagrip, RapidAPI, etc as my dev stack

vital patio
#

But in background Visual Studio take more resources then idea

azure stratus
#

Never really used Visual Studio, only took like half a semester of C++ and didn't like the course enough to really care

#

Plus he made us use nano/vim for basically everything anyways

vital patio
azure stratus
#

Yeah we primarily did Java in uni, other than my web dev course which used a bit of Python and C and my functional languages course this fall which uses Haskell

vocal cave
#

brother ewwww..... nano/vim

azure stratus
#

And then of course my natural language processing class which used a revolting amount of Python / Google Colab

vital patio
azure stratus
#

Knowing Nano is pretty crucial regardless of if you like it or not

#

Vim not so much (unless you're a steadfast 10x dev)

vocal cave
#

yeah to know some of the basics doesnt killed anyone ^^

azure stratus
#

That's what I was really thankful for when I had to go back and write manual SMTP requests for my networks class

vital patio
#

And that Google gemni auto completion made me cry

azure stratus
#

I used Colab a bit before they added any Gemini stuff, but I was still toying with language models so it made sense

#

I don't miss sitting at a computer for hours fine-tuning BERT models I'll say that much

#

Even when I paid the credits for the better GPUs/TPUs, I was still sat there for way too long aah

vital patio
#

In the starting it was using my pc resources and I remember my XPS sounding like jet

#

And getting very hot

azure stratus
#

Oh I was running Llama 3 13B for research on Ollama on my mac and I've never seen a computer stutter so much

azure stratus
#

That's how I ended up footing a $450 AWS bill at the end of that month

#

Thankful for research grants for sure

vocal cave
#

dishandler

vital patio
hallow path
#

Hello friends.
I'm getting ProMods version incompatible error and I can't fix it in any way, can you help me?

mighty rain
#

development related how?? Thinkge

glass vine
vital patio
sage relic
#

hey guys

#

i caught a hacker

#

i have many clip of him

#

where do we report?

night rootBOT
#

Hey @sage relic! HaulieWave

You can report players in-game via the TAB-menu or by submitting a web report. Note that additional rules (Β§1.4) apply to web reports.

Requesting Game Moderators to moderate areas in the game is not allowed here (Rule Β§2.11 of #discord-rules).

sage relic
#

thanks

leaden kiln
#

tmp source code fr

if truck:
  put_truck(truck.location)
mighty rain
#

python is too slow

formal fjord
#

Is there any review criteria? quite curious about that

torpid nest
#
TruckersMP Forum

Game Development Team Recruitment From the 5th of July until the 2nd of August, we will be looking for talented individuals to join our Game Development Team. As a Game Developer at TruckersMP, you will be working as a team to create new features for players and the community to enjoy, working cl...

glass vine
warped lintel
shadow marsh
warped lintel
#

pluh

hushed oak
#

google and chatgpt

shadow marsh
#

Nuh uh

azure stratus
wet nacelle
#

It would be good to add another list box with the countries in the job dispatcher. To be able to filter by countries, cities, and finally companies

mighty rain
#

nah

ember canyon
warm wolf
leaden charm
#

first time makng hud tbh

#

thoughts?

teal sparrow
#

πŸ‘

violet estuary
#

hey can someone help me?

#

ive been trying to use my own trailer to do jobs but when i accept a job it just doesnt give me a job and the only way i can get money is to drive with the company trailer

#

idk if its truckers mp or my ets2

shadow marsh
#

And what language are you using to achieve that? kapp

paper hound
shadow marsh
#

Eventually, yes Kapop

#

if only that would fix my issue on my code atm... well... its not even my code, rather Minecraft's code changed in a way so my code says nope sad_cat

paper hound
#

My code is πŸ’© a lot of the time.

This is a bit of the code for a save edit app I develop Kek

shadow marsh
#

Well, my code works just fine in 1.20.6 - but when changing to 1.21 its broken. CatRee

#

Guess MC changed exactly THESE protocols I am using....

paper hound
#

Most likely, kinda like ETS2 with moving files that don't need moving sometimes ect

shadow marsh
#

I gotta make my own protocols then (which will efff up everything Kapop ) rofl

paper hound
#

What language do you use?

#

I assume java

shadow marsh
#

Yep

#

MC is using Java, so I do too

paper hound
#

Now make it work on bedrock version rof

#

Probably not even possible with the amount of limitations they put on tbh

shadow marsh
#

well, I dont speak php kek

#

so no thx

paper hound
#

bedrock is cpp no?

shadow marsh
#

But there is the possibility of using Geyser, which allows BE Players to join Java Servers - works pretty neat ngl

shadow marsh
paper hound
#

To big brain for me

shadow marsh
#

πŸ˜‚

dim magnet
void spear
#

Morning! I was wondering if any of you have experience with Flutter development using dart?

#

the course I am learning from is a bit outdated and I need to figure something out. The lecturer says to use FlatButton but that is an outdated value it doesn't exist anymore. I saw that TextButton has taken the place of FlatButton. but the requirements are slightly different and I cannot get it working 😦 was wondering if any of you could help?

void spear
#

nevermind managed to figure it myself πŸ™‚

void spear
#

anyone else here does flutter development?

mental idol
#

When you nearly send an email to your whole company cause you didnt commented out the sendMail line while testing AU_thisisfine
Luckily the Email server said nope

shadow marsh
#

πŸ˜‚

#

Couldn't be me kapp

mighty rain
#

friday deployments at their best

mental idol
mighty rain
mental idol
#

i mean technically i stopped work at 1PM and continued at 8PM

mental idol
#

At least i now made a failsafe which should never happen

mossy cloud
void spear
#

πŸ‘

#

Nice hope you enjoy

mossy cloud
#

Thanks! you too

slim ibex
#

how do i make a car mod

rancid vector
void spear
worthy glade
#

Quick question, if I'm developing a PC application for ETS2, should I post it in here, or, as its technically an aid for ETS2 players, should I put it in the modding channel?

#

Also I need some help with time scaling for my app.

I've read before that the map Is 1:15 UK, 1:19 EU, and 1:3 Cities, I don't doubt that, however I'm interested in 'time' scaling.

Some have said the time scale follows the size of road, (motorways, local roads, and streets etc), some have said it follows map scale, (15, 19, 3), whereas others have said its just a standardised 1:19 everywhere and different from the map.

I ideally need to know the exact time scale, and If its the same across the whole map, that's preferable

knotty sparrow
#

You can i mean you are developing something

#

You should be able to

worthy glade
#

Thanks

vivid path
#

Hey everyone, is there anyone that was able to run TruckersMP on macOS via Wine or smth?

vivid path
mighty rain
#

don't think there's a way then

vivid path
#

but

mighty rain
#

no one was able to do that wesh

vivid path
#

while translation layers doesnt implement permission system

mighty rain
#

i think you can go off truckersmp-cli?

#

it doesn't use the launcher afaik

vivid path
#

maybe i should also create a cli "launcher" but was really complicated for just playing a game lol

humble carbon
mighty rain
#

bootcamp doesn't work on M chips afaik

humble carbon
humble carbon
#

Lemme go check πŸ˜„

#

Yep intel i5

mighty rain
#

yeah you're lucky wesh

void spear
#

that moment you forget to get dependancies in flutter after trying to add a new one in the yaml file picardfacepalm

shadow marsh
#

Dependencies - you gotta love it wesh

vivid path
mighty rain
vivid path
#

the problem is TruckersMP

foggy osprey
humble carbon
foggy osprey
#

:p

vital patio
void spear
#

Can run it on wine pretty certain i saw someone write it in guest chat that it worked once

split snow
#

can you guys make the loading process for container loading and reefer

#

just like how you see them loading grain

uneven nimbus
#

No but im sure u can do it urself πŸ˜‰

split snow
#

wonder how each state is coming out will they have new olreans

rancid vector
#

Some time 2069 peepoGiggles

split snow
#

why

#

texas is right near new orleans

weak aspen
#

Does anyone happen to have an SVG of the TMP logo ? o.O

summer gyro
#

just re wrote some of my code for https://zr1.xyz/

opinions? anything youd change?

shadow marsh
#

looks good πŸ˜„

cinder kayak
#

But overall its looking good, need to agree with Maurice YEP - Nice Job SCyes

#

And another cool feature would be, if you made the links of your discord-bio clickable on the website SCpeek2

shadow marsh
#

I rather like to know how you did that with Discord's status + spotify's one CE_CatGiggle

summer gyro
shadow marsh
#

ahhh, thank you! SCbopvibin

summer gyro
cinder kayak
summer gyro
#

it can work both ways yes

foggy osprey
summer gyro
#

😭

#

allow me men

#

i did forget to change the interval tbf

cinder kayak
summer gyro
#

api loves me i tell u

foggy osprey
#

advice:
Do the API request only once on page load. Then "fake" the song duration play timer until it has ended, then request the API again, and repeat

#

no one will be on your site long enough to notice if you paused or skipped a song

cinder kayak
#

Spotify API should be fine to fetch once it's loaded

#

But didn't read their docs yet

foggy osprey
#

it isn't the spotify API, it's a free API of someone that is hosting the Discord presence exposure project

cinder kayak
#

Or maybe cut out the duration played and cache the API for 2 minutes or so

#

If the song is not 100% accurate it shouldn't be a problem imo

summer gyro
#

thats better

cinder kayak
#

404 ☠️

summer gyro
#

ye idk whats going on with that one

#

spotify image shows so i need to look into it

cinder kayak
#

Spotify's nub

summer gyro
#

hmm

#

'cannot get' hmm

cinder kayak
#

Maybe the song is new and not known to the API yet? πŸ‘€

summer gyro
#

i know what tha is

#

its trying to grab the spotify image from there and the album art

#

πŸ€¦β€β™‚οΈ

quartz moth
#

This conversation seems familiar Kapp

foggy osprey
#

not sure if it was to the same person or someone else tho

split snow
#

are they going to do the loading your loads for reefer like the grain where you see them loading you up

#

they should try that for reefer where you unload and wait

crystal tendon
#

Make it not to lag anymore in Duisburg

humble carbon
crystal tendon
#

Idk why it’s so busy

#

And when u get off the fery at Frence it’s so busy

maiden patio
rancid vector
#

And you're welcome to take this to #ets2 as this channel is intended for use by the developers, that is, programmers, not really related to the game.

shadow granite
#

Hello everyone, I apologize for the interruption, but I have a question regarding our ongoing development of a TMP player information query bot. Currently, we're utilizing the API https://tracker.ets2map.com/v3/playersearch?string={query} to retrieve player coordinates. However, I'm wondering if there's an alternative API endpoint that can directly return the city where the player is currently located, rather than just their coordinates.

snow jolt
#

Hello everyone am new here , but an also a game developer with years of experience in the field

shadow granite
#

Thank you very much for your help. I wish you a wonderful day.

rancid vector
#

@crude sluice please be mindful of #discord-rules specifically:

2.2. Channels, threads & forums should only be used for their intended purpose.
``` Thank you.
shadow granite
iron wadi
#

Hi! i'm a roblox developer with a good game i can script (lua) and i can also make 3d models

iron wadi
vital patio
iron wadi
vital patio
iron wadi
vital patio
#

oh so your informing

#

ohk

iron wadi
#

ye

#

very small chance but still

vital patio
vital patio
#

you have very big chance

iron wadi
vital patio
#

I mean here nobody need lua or 3d modeling for TMP or ets2 or ats (Mostly)

#

but there is some chance somebody is looking for your skill

iron wadi
#

ok

vital patio
iron wadi
modest portal
#

Hi, how can I convert the time that the ETS2 SDK returns (time_abs) to hours, minutes and date in Python?

#

When time_abs = 20559, in-game time = Thursday 20:45

summer gyro
#

Also, you wouldn’t get very far as most thing don’t use lua

iron wadi
sick timber
#

Same with BeamngDrive

summer gyro
rancid vector
#

luau Wesh replace "Hello world" with "Hawaii world" troll

summer gyro
#

pull out the quick

print("Hawaii world");
opal arch
#

We use Lua for the user interface πŸ™‚

shadow marsh
#

Wait, the ingame UI is Lua?

#

That's something I really did not expect πŸ™ˆ

opal arch
shadow marsh
#

Interesting!

opal arch
#

For some of the new stuff, we also use it for DOM manipulation. And it generally is easier for prototyping or event binding.

shadow marsh
#

Not bad! Well, you learn every day something new SCbopvibin

valid arch
#

How is the game developed for example to add more cities or specific places?

#

Or is that from ETS2 Only devs?

rancid vector
#

Wrong channel for that, I suppose Shrug

vital patio
rancid vector
#

Sure fine, I'll wait for them to get a meaningful answer here kappapeek

mighty rain
#

get better hardware Kappa

rancid vector
#

@ember canyon Please be mindful of our#discord-rules in particular

2.2. Channels, threads & forums should only be used for their intended purpose.
2.3. Channel descriptions constitute as part of the Discord rules.
Thank you for understanding.

paper hound
# valid arch How is the game developed for example to add more cities or specific places?

In terms of cities and just the map in general, there is a built in map editor. You can find a lot of tutorials on youtube that will show you how to use the map editor and export the map contents into a usable mod.
Vehicles, accessories and map models are usually created in a 3d modelling software such as blender however they require other things like automat files and def files .sii and .sui for.

shadow granite
#

Hey everyone, I've been hearing through the grapevine in the tmp group over the past few days about a player in China who's apparently using some unknown method to crash other players' game clients. I haven't been able to pinpoint where the issue is coming from, but I did manage to get hold of the game logs from a player who experienced a crash due to what they believe was a hack. Anyone up for discussing this and trying to figure out what's going on?

#

Since my English isn't great, I used machine translation. Please bear with me if it doesn't make perfect sense.

#

I have uploaded the file, and I really hope the tmp team can address and fix this bug.

mighty rain
shadow granite
#

Okay, I'll wait until daytime in China and then reach out to her to report this issue. Thanks for your reply.

regal nova
slim ibex
#

how do i go into or download/use the map editor on ats version 1.48

shadow marsh
#

downgrade to 1.48 and then go into the editor shrug_animated however that is development related but ok

mighty rain
pliant flax
mighty rain
#

Thanks awesome

summer gyro
mighty rain
summer gyro
#

Looks good tbf

mighty rain
#

need to redesign it megawesh don't want it to look too similar to the official launcher

summer gyro
#

😭😭😭

mighty rain
#

But first I'll have to implement a few important features Wesh

  • Configuration
  • Automatic game path detection
  • Update downloading
  • Game launch
summer gyro
#

Yhh

mighty rain
#

2nd one isn't too important tbf but shouldn't be too hard so it's just there Wesh

pulsar shard
steep glade
mighty rain
pulsar shard
#

thank you!!

mighty rain
wet phoenix
#

when truckersmp support 1.51?

summer gyro
crimson light
#

why do i get failed to verify files on tmp i have gone to steam on ets2 to verify files and still getting same message on tmp i have reinstalled tmp twice

shadow marsh
#

1.) not related to this channel
2.) is known, wait for a fix

hollow osprey
#

In TruckersMP launcher I get the error β€œError, failed to download updated files”, how can I fix it?

shadow marsh
#

read my message above..... could've answered it already

summer gyro
mighty rain
#

it didn't change much tbh Wesh

summer gyro
#

hmmm

mighty rain
#

only added a path detector for game paths

summer gyro
#

is it using cli to launch

mighty rain
#

in dev yes

#

it's a normal .exe

summer gyro
#

ahh

mighty rain
#

if that's what you mean

summer gyro
#

no no like

#

to launch and connect to tmp servers menu thing

mighty rain
#

ah

#

thats handled by the tmp's dll

summer gyro
#

ooh i see

mighty rain
#

which the launcher is supposed to inject into the game process, I assume

summer gyro
#

i think so

#

well, ive been accepted onto my college course for IT so ill be doing some test projects i assume hehe

mighty rain
#

ah nice

summer gyro
#

i wanna work on an api soon

rancid vector
#

@lavish condor You're now warned for violating our #discord-rules

2.2. Channels, threads & forums should only be used for their intended purpose.

#programming is absolutely not the place, there's #support

shadow marsh
#

what?

rancid vector
steep glade
mighty rain
steep glade
mighty rain
#

haven't been doing much coding lately tbh

steep glade
#

fair enough

summer gyro
#

And this is development related how

novel fossil
#

good question

stable musk
#

I had a question why when I launch the game it crashes both online and offline

#

@opal arch

shadow marsh
#

Now tell me - how is that development related? πŸ™‚

shadow marsh
#

Yeah, how's that related to this channel? πŸ˜„

stable musk
shadow marsh
#

none? kek make a support ticket

mighty rain
shadow marsh
#

my bad wesh

#

mista supportmeen

mighty rain
rancid vector
#

This channel is probably the most mis-used one of all.

shadow marsh
#

yes;

rancid vector
#

also, poor Shawn getting pinged about SCS issues mewgiggle

shadow marsh
glass vine
rancid vector
#

Resigning from the team... Naah, we don't want that mewgiggle

ember canyon
#

lol

summer gyro
#

This isn’t development related

#

Read the channel description and tell me how this is related

rancid vector
#

@azure crown Hello, please be mindful of our #discord-rules , specifically:

* 2.2. Channels, threads & forums should only be used for their intended purpose.
* 2.3. Channel descriptions constitute as part of the Discord rules.
``` Thank you.
azure crown
#

hello
i am looking for a way to fetch current convoy information and other event details from the TruckersMP events page and have it automatically sent to your Discord server with a single click Is it possible?

#

@rancid vector

rancid vector
#

Good luck πŸ™‚

azure crown
rancid vector
#

Well personally I cannot help you. But with luck, someone will.

azure crown
#

ok anyone if you know above information please help

shadow marsh
#

You can do that, yes. I also am working on a bot which outputs data from TMP API πŸ™‚

azure crown
#

@shadow marsh Need help

rancid vector
#

(in theory)

azure crown
#

@rancid vector whare we can past this code

rancid vector
#

In your bot

#

I guess

azure crown
#

i dont have bot

rancid vector
#

OK let me get this straight, are you yourself a developer?
Or you just want someone to implement it for you? Because that's two different stories.

azure crown
#

I just want someone to implement it for me

rancid vector
#

Fine Shrug

shadow marsh
#

Yeah, good luck then πŸ™‚

#

And you don't need to DM me for that πŸ™‚ I have my very own projects running.

summer gyro
azure crown
#

nice developers i already get information

#

if anyone want to please tag me

shadow marsh
#

Learn coding and do it yourself... unless you wanna pay one who does that for you πŸ™‚

rancid vector
#

... user has left the server troll

humble carbon
rancid vector
#

My condolences weshcool

shadow marsh
#

🀣

rancid vector
#

But hey, for once, it was an actually development-related stuff asked here today peepoGiggles

shadow marsh
#

That's true yes. Fascinating kapp

summer gyro
#

Which I told him no

minor mantle
#

is there a way to get absolute coordinates or players around me externally?

#

I wanna make an app that monitors convoys and using SDK I can get coordinates of myself but not players in my render distance

undone gyro
small crypt
ember canyon
#

an average day

#

it is time to play the game How Low Can It Go?ℒ️ with my uptime monitors by reinstalling nginx

echo thunder
#

Oh god, relatable haha

static trail
#

When 1.52 comes out, please make it mandatory to complete the driving academy in order to get acces to TMP
1 hour playtime in ETS2 is clearly not enough for like 30% of the players.
Would be great if possible.

vestal sigil
#

how is that even related to developing stuf Wesh

static trail
static trail
#

trolls are everyowhere clearly. I thought developers write code and stuff but appeartnly im wrong

shadow marsh
glass vine
shadow marsh
static trail
#

you gonna call me names now? clearly you are the younger one here

#

It's ok and clear now. didnt have to make look like a fool just for asking a question. Troll

shadow marsh
#

I pretty much doubt that, but feel free to think what you want.

#

However, game suggestions belong into the truckersmp forum.

static trail
#

Well, that was hard to type, wasn't it?

#

Thanks

glass vine
#

he is still right tho

static trail
#

ok cooperator.

rancid vector
#

One day people will be nice to each other and will see where they type before doing so.

#

But, probably not in this century Shrug

summer gyro
#

The fact he thinks TMP will force the driving school is funny

shadow marsh
#

It'd be a good thing tbf....

#

the servers would be empty, only brain-enabled people would drive

golden helm
summer gyro
shadow marsh
#

same... but still... would be a good addition. at least for those who takes the game seriously...

visual walrus
barren ice
#

Will the new version of tabs change?Blobcat_heartcool

rancid vector
#

Huh

#

Do you need help with some kind of your project, @barren ice?

mighty rain
rancid vector
#

People seem to think this channel is where TruckersMP developers live.

shadow marsh
#

Most probably laughingcat

#

Shawn, when can we expect Rigids? kapp

rancid vector
summer gyro
mighty rain
#

first we need 1.52 support

shadow marsh
#

Yes. When 1.52? laughingcat

barren ice
#

When can it be used?

rancid vector
#

You tell us. How would we know?

summer gyro
shadow marsh
#

Its new

barren ice
#

new

shadow marsh
#

Luna posted that on her insta story a while ago

rancid vector
#

I still have no idea why this is asked in here.

#

Your guess is just as good as ours really πŸ™‚

summer gyro
#

Ah that’s not really related here is it

#

Be nice if we did get an announcement about it though as it looks decent

rancid vector
#

Anyhow, today I'm feeling generous and won't be doing any kind of warnings about misusing the channel. But if people think this is a channel for discussing things with TruckersMP developers, they think WRONG.

#

It's a channel for developers/programmers generally.

summer gyro
rancid vector
#

I wasn't even sleeping really weshcool

summer gyro
#

Ahhh

umbral drift
#

What is in 1.51

mighty rain
undone gyro
mighty rain
#

my cpp skills fr

undone gyro
cinder kayak
mighty rain
#

using Wesh YEP

cinder kayak
#

Been a few years since I tried C weshbald

rancid vector
#

"std" there looks sus peepoGiggles

summer gyro
supple shard
#

The compact design and alignment of player names made it easier to read at a glance

#

Now it just looks like a bloated twitch chat

#

Perhaps dedicate a column for roles like previous design

#

And distance has too many digits. Use km instead, i.e β€œ0.5km” or β€œ3.2km”

mighty rain
#
  • distance is never over 1km
  • using km loses precision
  • old scoreboard used meters
#

and that's more of a feedback matter

supple shard
#

3000+ metres in the sample

mighty rain
#

just noticed that Wesh

#

it's because of unlimited devcam

supple shard
mighty rain
#

Devs check here anyway so whatevs
no they don't lurkk

#

not in this scenario, anyways

supple shard
#

Lurk

#

Or at least they used to

mighty rain
slow axle
#

hm I was gonna make a feedback but now that I'm staring at that page I can't formulate any proper wording

supple shard
#

β€œMake the scoreboard not shit”

#

πŸ’©

opal arch
shadow marsh
#

Understandable wee

ember canyon
ember canyon
summer gyro
#

I like the design of the new one but it’s way to big, positioning and sizing should be like the other. And maybe cast the themes all round for job dispatcher and settings tab

summer gyro
#

How dis dev related 😭

mighty rain
#

i mean... linux is only used by developers.. right? πŸ₯Ί πŸ₯Ί

mortal rivet
rancid vector
summer gyro
#

😭

rancid vector
winged spruce
#

I have a Chevy Blazer from GTA that I want to convert to be used in ATS. Any advice? As of right now, I have Sollumz so I can bring the vehicle into Blender

mental idol
winged spruce
#

Thanks

fossil comet
#

Does anyone know how to render an ets2 map to tiles for rendering in an app?

#

I need to do so but also get the nodes for roads so I can do some GPS stuff.

mighty rain
humble carbon
mighty rain
#

was updated on 17th of september but Shrug

small crypt
#

I've been seeing a lot of meaningless flying trucks in the game lately. I'm not sure if this is the reason for all the flying, but I flew twice for the same reason. When a new player spawns inside me as a ghost, it directly causes me to fly. I think the game is having some kind of rendering problem or something else when it puts the participants in ghost mode, but I can say that a ghost spawning inside me causes me to fly.

mighty rain
#

this bug has been around for ages

mental idol
small crypt
# mighty rain this bug has been around for ages

I've been playing this game for years like you, but just because a person is born inside you doesn't mean you can fly directly. For this, the person's ghost mode time needs to expire, and if you make any movement after this time expires, it causes you to fly. Flying directly at the moment of spawn was not a situation.

small crypt
mighty rain
humble carbon
small crypt
mighty rain
#

Shrugeg it's been an issue for as long as I've been around - and that's a few years

shadow marsh
#

Well, I was there when no "Ghost Mode" existed πŸ˜‚ and we all survived somehow

small crypt
cosmic hearth
#

Hello

#

help

#

pls

shadow marsh
#

If you'd state with what you'd need help with, then we would be able to help you as I guess none of us has a magical crystal ball what tells us what you have issues with.

shadow marsh
#

You do?

glass vine
#

No

shadow marsh
main vale
shadow marsh
mental idol
#

I like the TMP API

quartz moth
#

Looks really good though awesome

mental idol
shadow marsh
#

But still looks good πŸ˜„

mental idol
#

cant display tables with 40 mil rows chaos

shadow marsh
#

well, thats obvious kek

mental idol
shadow marsh
#

the site would be deadloading I guess 🀣

mental idol
#

its more the DB that cant provide that much data

shadow marsh
#

wtf how do you have that much entries? 🀣

#

the highest entries a DB had for me was 180k rows lol

mental idol
#

Thats just data from an server since february.
Collecting every 10 seconds and does about 22 inserts for stuff
eg a jobs table and how many people have that job currently on the server.
that for 22 jobs or how many there are currently used.
so data chaos

#

also of course no history table for that cause lazy me didnt do any

shadow marsh
#

πŸ˜‚

mental idol
#

whole db heh

shadow marsh
#

well, in my case it was for the discord bot - chat logging for edit/delete, but forgot to add the delete scheduler kek so as time goes by I ended up with 180k rows and was like how the efff kek

#

73 mio πŸ’€

mental idol
#

6.4 Mil log entries πŸ’€

shadow marsh
#

yeah, I hope I never will have that much entries 🀣

mental idol
#

When loading another page that isnt the first takes at least 30 seconds heh

shadow marsh
#

I guessed longer tbf

#

but 30 seconds is indeed...... pffffff heavy yeah kek

mental idol
#

time to go to my 40 mil entry tabel and get to the last page (1599611)
*already got an server update (HTTP 500 rejected)

#

request timed out heh

shadow marsh
mental idol
shadow marsh
#

never had that - never will I guess

violet tulip
mental idol
violet tulip
#

never checked how big is it..

shadow marsh
#

jesus christ kowalski

#

what db is it dow?

mental idol
#

My work dbs are probably also extremely big heh

quartz moth
#

Gotta flex the TMP DB size now kappa

summer gyro
#

Keep working magic it looks good

shadow marsh
cinder kayak
potent osprey
#

Hey, does anyone know how to use the API, and fetch all the attending events from a VTC?

#

the /events endpoint gives the events made by the VTC only..

cinder kayak
#

/events gives you all upcoming events, not just by a specific VTC. If you want to filter by your VTC for example, you need to go through them all end check where vtc->id equals your VTC id, I'd say

potent osprey
#

I wasn't really specific with it, sorry

cinder kayak
#

Well, seems like there's no endpoint for that Kekw

potent osprey
#

(I don't feel like manually changing the events on the website and rebuilding the site)

lapis barn
#

Is the API for fetching delivery data already exposed for public use?

summer gyro
humble pewter
#

Python

summer gyro
#

Other then that it looks good

humble pewter
#

okey

humble pewter
humble pewter
#

:DDDDD

#

Its best if you have an error on line 139, but its an empty line πŸ˜„

shadow marsh
#

I agree

#

you get a headache kek

humble pewter
#

@shadow marsh you making discord bot?

#

or what

shadow marsh
#

Yes, I do code bots YEP

humble pewter
#

same

shadow marsh
#

πŸ˜‚

humble pewter
#

you dont like python ?

shadow marsh
#

Well, I not only do Discord Bots tho

humble pewter
#

i only too

shadow marsh
#

Yeah, I dislike the language πŸ˜…

humble pewter
#

okey

#

the only thing i understand

#

python

#

xd

shadow marsh
#

welp πŸ˜„

humble pewter
#

im doing now my VTC bot

shadow marsh
#

Trucky blobcateyes

humble pewter
#

I like programming because I can show my creativity there ❀️

shadow marsh
#

Same here CE_CatGiggle

humble pewter
#

What kind of Discord bot are you making?

glass vine
#

improving trucky bot?

shadow marsh
shadow marsh
shadow marsh
#

the steam api is quite a hassle 🀣

humble pewter
#

πŸ˜„

#

I need to learn the request library to be able to draw data from web

shadow marsh
#

I can recommend it SCyes

humble pewter
#

I would like to learn steam market charts price or something

shadow marsh
#

I don't know if there is an API for it πŸ˜…

humble pewter
#

it will come from the "request" library, it draws data, so it would work

#

and putting it in the discord bot would be great

glass vine
#

too much technical talk. bye

shadow marsh
#

πŸ˜‚

humble pewter
humble pewter
shadow marsh
#

Think dk how thats relevant, but I am 24

glass vine
humble pewter
#

I'm just asking, it's not relevant

#

Do you like my idea for vtc logo?
its 8 and S in one
8S Logistics

#

Slogan : Eight Steps to Success!

cinder kayak
cinder kayak
cinder kayak
#

Don't understand what's funny with it Shrug

humble pewter
#

good

cinder kayak
#

Just crurious why it's discor.py instead of discorD.py Shrug

mighty rain
cinder kayak
#

Typical nublio move

glass vine
cinder kayak
mighty rain
cinder kayak
#

Imagine them giving him a go on TMP's systems SCpeek2 weshbald

humble pewter
#

miss click

cinder kayak
#

πŸ‘»-Ping

shadow marsh
humble pewter
#

anyone doing cs2 skins?

quartz parcel
#

yo

warm ivy
prime canopy
#

does anyone know any website/s with courses in Data Science/Analysis domain, that are free of charge and provide certification?

violet tulip
#

I don't think free and certification could exist in the same sentence

lethal prairie
humble pewter
#

Tmp api?

#

Where

#

How

blazing chasm
lethal prairie
#

with api I use it to list the events of the next 5 days every 4 days, and when I post a news on my VTC, I get the announcement on my server via my bot πŸ˜„

#

and as a bonus thanks to the API of VTLog I have my own deliveries via my bot that arrives on my discord server

humble pewter
lethal prairie
humble pewter
#

gg

#

i use dpy

humble pewter
lethal prairie
# humble pewter gg

after a side I do not that bot, I work on a multi-language discord bot certified πŸ˜„
an all-in-one bot!

shadow marsh
#

No? It's not only for JS.

#

I use the API on Java shrug_animated different language too. There is an API for JS, yes. But you can get all data via JSON shrug_animated

humble pewter
#

it's great that it's for java but not for python πŸ™‚

shadow marsh
#

Huh??? You can use it in Assembly too, if you want. You can use any language - including Python - on that API.

#

make the request, get the data from the JSON Document and do whatever you need to do with that data

shadow marsh
#

Now that's very friendly.

#

@rancid vector blobcateyes

quiet python
rancid vector
shadow marsh
#

All good deary bloblove

shadow marsh
#

So, this time I don't really know whether this is rather for #tech or development.
I'd give it a try in here, as it contains development.

For those, who know me, are not surprised - for those who don't, let me explain.

For records, I did this year my C95E license, which allows me to drive everything what is heavier than 3.5t (4.25t if EV), e.g. Trucks, Tractors, Farming Machines, Car and Trailer (up to 7t hzGG)
And next year I will do my bus license for my Project, which might even start next year already - I hope so.

Now it get's relevant to how that is development and not tech and I'd really like to do that by myself - with help, certainly.

I want to buy a city bus (or a coach bus - not yet decided, waiting for the point when I can look out for things and when I am done with skizzing the technical stuff of it) and rebuild it to a XXL Camper Bus. So far not development related but there is going to.

I'd like to have a central control point next to the VDV Workplace, seeing ECU Live Data, controlling heater/cooler, controlling the Flipdot/LED-Matrix (having predefined signing as well a custom sign gen in case I need something quick), having radio/audio control, embedded google maps navigation (or TomTom, Waze, idc - really.) - Controllable with one Screen via Touchscreen.

My Question is - is that even near possible?
ECU Live data is doable with Arduino. I simply can pull off the data via USB and show it from the OBD Port (or using directly Bluetooth in said PC and read data myself)
Matrix Controlling should be doable as well, could be complex but doable
I am rather worried about the Radio / Audio Control with Hands Free calling function as well the integrated Navigation πŸ˜…
||And yes, I am a year too early, but I'd like to start figuring the software aspect now, so I only have to fine-tune stuff by then||

blazing chasm
blazing chasm
humble pewter
#

NICE

prime canopy
prime canopy
prime canopy
zenith wyvern
#

can someone help me install sound packΒ΅

gusty plover
#

help me pleas . After logging in, it says offline mode ghost mode. what should i do

shadow marsh
#

How's that development related?

glass vine
shadow marsh
#

Nah bud

granite tiger
#

Hi, how i create a code api or frame or java for my website with account count from a chat? - i saw here a same think, can tell someone, please!? thank you!

shadow marsh
#

what?

rancid vector
next crane
warm cloud
#

Hi, does anyone know how to delete an account?

shadow marsh
#

What account?

#

And how is it development related?

warm cloud
#

oh sorry.

plain cloud
molten depot
#

Currently trying to get the API working on JavaScript but it keeps telling me "TypeError: Cannot read properties of undefined (reading 'members_count')"

2 months ago I used the same code to access the API and everything worked just fine, what is the problem now?

I tried it via fetch() and I even tried using axios but neither of it works

The current code I have is

axios.get(vtcAPI).then(response => {
    let json = response.json;

    driverCount.innerHTML += `<span data-purecounter-start="0" data-purecounter-end="${json.members_count}" data-purecounter-duration="1" class="purecounter"></span>`
})
#

What is this then if members_count is apparently undefined??

mighty rain
#

it should be json.response.members_count

molten depot
mighty rain
molten depot
#

even then the problem persists

mighty rain
#

can you log what json is?

molten depot
#

trying to log the whole thing doesnt give any output

mighty rain
#

oh you might be triggering the cloudflare captcha page

molten depot
#

yeah

#

i even had to change the proxy i was using

#

corsproxy is apparently blocked now by the TMP API

molten depot