#programming
1 messages Β· Page 4 of 1

@golden helm
@narrow cradle
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?
no, you can add it yourself too by coding it in π
I've already added it, the API is very useful. :D
I know π
.
π
youtube?
He asked where to upload the video
medal video link
soo i have interesting question. i got x, y coordinates of user. how do i best way find out in which city he is
https://map.truckersmp.com/locations_ets2.min.json
lets say i've got this
should i just iterate through all cities and check which city are coordinates closest to?
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
No, Prism3D is a proprietary engine.
https://www.bilibili.com/video/BV1Asa4eWEDS
, the player's name is not right above them, I don't know if this is a known issue, just letting you know
@ DEV
have you pressed f11?
sure
this channel has nothing to do with TruckersMP bugs 

Caught in 4K πΈ
Wym?
@bitter scarab

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
W
Tell them they'd have to contact tmp 

tbh chrome store is so much better
despite the fact that i had to pay a little fee
Hi, I want to unban you and I regret what I did and this was my first time online.
@kindred pond
Hey @olive ferry! 
You can appeal your ban by following this article. If you have sent an appeal already, please wait patiently for the answer.
A response to your appeal can take up to 3 days.
It is not possible to speed up the appealing process.
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).
There is no proof of my ban
Read the embed
what is this?
Read
no what is the embed
jesus
god u is slow
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.
i requested
no i dont have a control for chat activation
A response to your appeal can take up to 3 days.
ok but i wanna unban now
i want a million dollars
for unban?
what
I want my father to come back but that won't happen

You ain't getting unbanned kid
talking about bans / discussing about punishments is not allowed here Β§2.10. Discussing punishments, reports, appeals, applications & complaints about team members.
ok but i want a new pc now
i've heard acer can help with that
You wot
This chat is about everything but development.
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

to many nubs ini
yeah because i need my β2018 acer nitro an515-42β 
Fix TMP
π
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
how did you fix it
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.
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?
how is that related to development? 
There just was a recruitment phase and theyβre still dealing with those applications. So I guess there wonβt be a recruitment for Game Moderation soon.
i decided it was a better idea to not manually install apache
i love xampp
sorry for the slow reply
π
Ah XAMPP, my love/hate relationship
i just hate php π
Indeed
Got a lot of headaches from it
un ban ?
Hey @hollow hearth! 
You can appeal your ban by following this article. If you have sent an appeal already, please wait patiently for the answer.
A response to your appeal can take up to 3 days.
It is not possible to speed up the appealing process.
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).
I have this mod for this (browser) game called sandboxels and there is 1791 lines of code and I'm not even done yet 
Can anybody tell me what status code and descriptor does response give tmp api goes down?
If the API goes down, I believe, it wont show anything, as it is down π
ohok because last time when api went down my bot thought event got deleted from tmp and started deleting events from the db
Don't simply delete anything - that's a horrible thing to do π
I mean you have to
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
my bot also update events in realtime
so if a event gets deleted it will be stuck thinking where is correct response
I thought about it
like it will prompt a button to delete event

π€£
usually my bot deletes the event after 2hrs of start at time
so api does not give 503 staus code when it's down?
it just goes down
same π
so you have more control of it and can decide whether it stays or can be deleted safely from disk
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?
now?
what about 300yrs after?
a million dollars... I'd fulfill my dream and buy a decent bus 
if im still gonna be alive sure
don't worry you code in TS
nothing will harm you
but I am not sure about myself
so it does not return anything right?
then the problem is solved
Well, how would an API respond, if it is down? π
if it gives Page not found descriptor
idk some api do
it will delete event
like... how would you turn on the microwave, when you have no power? merely the same question - just different π
idk
see π
there are some api's that give 503 error
Some do... TMP does not
Just needs formatting
Iβm shite with python, Iβm more of a djs person me
idk why I hate djs
Itβs way easier for embeds I think
yeh you can say that
but complex for buttons and other things
I can't figure out how can I make persistent buttons in djs
How do you mean persistent, like so they stay each update
it means they don't die after bot goes down or by using it
They shouldnβt die
mine dies
oof
and you can't find user with the username
you need discord_id of the user
in discord.py you can find
cant u use interaction.member;
do you use collectors?
idk I have to check I have used it once in my life
no
or even
interaction.user.id
interaction.member.id
because it's a form on a website
π

why? it's deleting my code?
probs too many spaces
bruh
.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]});```
I prefer SS
thanks
π
Gotta love Automod
you gotta turn off that
Bet
how do you handle them after sending?


use codesnap extension if you're on vscode
there are millions of codesnap which one?
adpyke.codesnap
ctrl + p -> codesnap and select the piece of code to make an image of
wow you can't read
can you?
Thanks discord for open in browser
idk
at that time I just used chatgpt because I could not figure it out because I didn't knew js
and djs
js always gave me pain
Try Java then 
it's very nice
only applet sucks in java
It is indeed. I code mostly my bots in it
wow
why ?
why you do that to yourself?
Because Java is the only Language I'm fluent in
ohok
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 
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
I used code plugins in Kotlin
but it's a long way to code plugin
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.
I use normal java 
JavaFX? 
Swing? Android Dev?
Know that already, somehow I don't get thru it...
the new jetpackcompose is nice
No, computer programs. No mobile
I'll check that one out. Eventually I have more luck with that
it's very easy and fun unlike app dev
We'll see. I'll keep you updated 
so any suggestions how can I do it properly?
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 
yeh it's 3:08 AM for me
App dev is not bad but that Android studio is still not optimized
I figured it out
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
MongoDB 
Oh for sure, it melted my computer

No matter how good your pc is that thing always wants more
And I feel that with all the jetbrains softwares
I use Webstorm and I'm a pretty big fan, same with Datagrip
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
Webstorm and Pycharm are lightweight
Try Intelij idea
Or Clion
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
Hmm
Comparing with Intelij idea with Visual Studio
Visual studio feels so smooth
But yeah, I near exclusively use Webstorm, Datagrip, RapidAPI, etc as my dev stack
But in background Visual Studio take more resources then idea
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
In college For C++ we used Turbo C π
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
brother ewwww..... nano/vim
C++ is very strong
And then of course my natural language processing class which used a revolting amount of Python / Google Colab
I agree
Knowing Nano is pretty crucial regardless of if you like it or not
Vim not so much (unless you're a steadfast 10x dev)
yeah to know some of the basics doesnt killed anyone ^^
That's what I was really thankful for when I had to go back and write manual SMTP requests for my networks class
I use Anaconda but the company where I was working for they forced me to use Google Collab
And that Google gemni auto completion made me cry
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 
xD
In the starting it was using my pc resources and I remember my XPS sounding like jet
And getting very hot
Oh I was running Llama 3 13B for research on Ollama on my mac and I've never seen a computer stutter so much
xD
That's how I ended up footing a $450 AWS bill at the end of that month
Thankful for research grants for sure
?
Anybody?
dishandler
Thanks
Hello friends.
I'm getting ProMods version incompatible error and I can't fix it in any way, can you help me?
development related how?? 
the magic word known as error

Hey @sage relic! 
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).
thanks
tmp source code fr
if truck:
put_truck(truck.location)
python is too slow
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...
@golden helm when you joinging this with coolio?
is there any info abt their languages anywhere?
pluh
Nuh uh

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
nah


ππ«
π
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
And what language are you using to achieve that? 
if (ownedTrailer + truck) {
job = ownTrailer
} else
job = companyTrailer
}
This may fix their issue yes 
Eventually, yes 
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 
My code is π© a lot of the time.
This is a bit of the code for a save edit app I develop 
Well, my code works just fine in 1.20.6 - but when changing to 1.21 its broken. 
Guess MC changed exactly THESE protocols I am using....
Most likely, kinda like ETS2 with moving files that don't need moving sometimes ect
Now make it work on bedrock version 
Probably not even possible with the amount of limitations they put on tbh
bedrock is cpp no?
But there is the possibility of using Geyser, which allows BE Players to join Java Servers - works pretty neat ngl
Yes, but the Server software is accepting "plugins" as php script
To big brain for me
π
if you do an early return in an if statement then there is no need to write "else" explicitly
if (err) {
notificationError();
return;
}
notificationSuccess();
// Anything else that must be done when there is no error
Don't know if that makes sense
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?
nevermind managed to figure it myself π
anyone else here does flutter development?
When you nearly send an email to your whole company cause you didnt commented out the sendMail line while testing 
Luckily the Email server said nope
friday deployments at their best
Just wanted to finish work at 9PM 

i mean technically i stopped work at 1PM and continued at 8PM
I mean sending an confusing automated mail to 1800 employees with like: Something new has been created please check it.
is like what
At least i now made a failsafe which should never happen
Yeah I'm taking some time to learn Flutter & Dart
Thanks! you too
how do i make a car mod
#ets2-modding / #ats-modding could be a better place to ask π
Thanks! How you are learning it?
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
Thanks
Hey everyone, is there anyone that was able to run TruckersMP on macOS via Wine or smth?
do you have an M cpu?
yep, can also help w testing if theres an experimental injection method
don't think there's a way then
actually we can simulate/translate x64 really well
but
no one was able to do that 
setup requires non-administration permissions
while translation layers doesnt implement permission system
it was designed for linux specifically :/ may cause weird things
maybe i should also create a cli "launcher" but was really complicated for just playing a game lol
Why not boot camp? I use windows on my Mac when I travel and can play ets2tmp on that π
bootcamp doesn't work on M chips afaik
Oh i dont know about chips etc, I just have a new macbook and works good π
does it have an intel cpu?
yeah you're lucky 
that moment you forget to get dependancies in flutter after trying to add a new one in the yaml file 
Dependencies - you gotta love it 
M-series are better for performance
but worse compatibility
technically i can run ETS2 without compatibility issues on native
the problem is TruckersMP
Apple stopped making Intel MacBooks since 2020 xdd
Well its not new then xD
:p

Can run it on wine pretty certain i saw someone write it in guest chat that it worked once
can you guys make the loading process for container loading and reefer
just like how you see them loading grain
No but im sure u can do it urself π
wonder how each state is coming out will they have new olreans
Some time 2069 
Does anyone happen to have an SVG of the TMP logo ? o.O
just re wrote some of my code for https://zr1.xyz/
opinions? anything youd change?
looks good π
Looks good. Would put the CSS at the Top and the JavaScript at the Bottom in different .css and .js Files to make this a bit cleaner.
Else just for my opinion, I'd change the buttons at the top a bit.
But overall its looking good, need to agree with Maurice
- Nice Job 
And another cool feature would be, if you made the links of your discord-bio clickable on the website 
I rather like to know how you did that with Discord's status + spotify's one 
Discord Bio is fetched here: https://dcdn.dstn.to/profile/User_ID
for the main part im using https://github.com/Phineas/lanyard, the bio comes from a seperate one as lanyard doesnt have access to discord bios nor banners as its limited on discords api so i used https://dcdn.dstn.to/profile/:id
the last played comes from last fms api
ahhh, thank you! 
https://developer.spotify.com/documentation/web-api
Spotify seems to have their own API, with that it'd work without fetching data through Discord, or? π
Retrieve metadata from Spotify content, control playback or get recommendations
it can work both ways yes
π done
api calls every second π
API be like: 
api loves me i tell u
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
Spotify API should be fine to fetch once it's loaded
But didn't read their docs yet
it isn't the spotify API, it's a free API of someone that is hosting the Discord presence exposure project
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
404 β οΈ
Spotify's nub
Maybe the song is new and not known to the API yet? π
i know what tha is
its trying to grab the spotify image from there and the album art
π€¦ββοΈ
This conversation seems familiar 
updated
yeah i'm 99,99% sure that i said the exact same a few months ago lmao
not sure if it was to the same person or someone else tho
Nub
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
Make it not to lag anymore in Duisburg
Not sure how this is Development related but ok!
because its the main road for ppl with no dlcs, if you dont like it play singleplayer or sim2
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.
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.
Hello everyone am new here , but an also a game developer with years of experience in the field
I suppose Trucky api, although Iβm not 100% sure
Thank you very much for your help. I wish you a wonderful day.
@crude sluice please be mindful of #discord-rules specifically:
2.2. Channels, threads & forums should only be used for their intended purpose.
``` Thank you.
yesterday, i tested this api endpoint and it's really awesome. thank you for sharing it.
Hi! i'm a roblox developer with a good game i can script (lua) and i can also make 3d models
and?
and?
yeh and?
and what?
thats what I am asking
oh ye mabye i could get a job
what else you know?
there is not small chance
you have very big chance
how?
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
ok
.
um i know how to market some things mabye
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
Luau isnβt hard to learn.
Also, you wouldnβt get very far as most thing donβt use lua
Yes only like roblox use lua
Nuh uh, all the GTAs also use Lua
Same with BeamngDrive
Lua yes, Roblox uses luau there own sort of version
luau
replace "Hello world" with "Hawaii world" 
pull out the quick
print("Hawaii world");
We use Lua for the user interface π
The new user interface is. Just some scripts to manage the controls. For instance, key events for the chat input are handled via Lua.
Interesting!
For some of the new stuff, we also use it for DOM manipulation. And it generally is easier for prototyping or event binding.
Not bad! Well, you learn every day something new 
How is the game developed for example to add more cities or specific places?
Or is that from ETS2 Only devs?
Wrong channel for that, I suppose 
I don't think so
Sure fine, I'll wait for them to get a meaningful answer here 
get better hardware 
@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.
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.
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.
I'd advise you to open a Bug Report ticket on the website: https://truckersmp.com/support/ticket/create
However it would be best if the person who experienced the crash made the ticket themselves, so the Support Team will be in contact directly with the "victim".
Okay, I'll wait until daytime in China and then reach out to her to report this issue. Thanks for your reply.

how do i go into or download/use the map editor on ats version 1.48
downgrade to 1.48 and then go into the editor
however that is development related but ok
I'm a little bored 
That is looking nice
Thanks 
You making it fully functional?
Ideally, yea
Looks good tbf
need to redesign it
don't want it to look too similar to the official launcher
πππ
But first I'll have to implement a few important features 
- Configuration
- Automatic game path detection
- Update downloading
- Game launch
Yhh
2nd one isn't too important tbf but shouldn't be too hard so it's just there 
What theme is that? looks really nice
Looks Good
https://ui.shadcn.com/ with slate as base colour
thank you!!

when truckersmp support 1.51?
Not development related
youβll know when thereβs a update pushed in #truckersmp-updates
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
1.) not related to this channel
2.) is known, wait for a fix
In TruckersMP launcher I get the error βError, failed to download updated filesβ, how can I fix it?
read my message above..... could've answered it already
whats the progress nub??!
it didn't change much tbh 
hmmm
only added a path detector for game paths
is it using cli to launch
ahh
if that's what you mean
ooh i see
which the launcher is supposed to inject into the game process, I assume
i think so
well, ive been accepted onto my college course for IT so ill be doing some test projects i assume hehe
ah nice
i wanna work on an api soon
@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
what?


what ya codin it in?
golang with wails + react
not bad not bad hows it goin
haven't been doing much coding lately tbh
fair enough
And this is development related how
good question
I had a question why when I launch the game it crashes both online and offline
@opal arch
Now tell me - how is that development related? π
Yeah, how's that related to this channel? π
So in which channel should I put it?
none?
make a support ticket
not if it crashes in singleplayer 

also, poor Shawn getting pinged about SCS issues 

He should put himself somewhere on the bottom of the list where we donβt look
Resigning from the team... Naah, we don't want that 
lol
This isnβt development related
Read the channel description and tell me how this is related
@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.
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
Good luck π
Means?
Well personally I cannot help you. But with luck, someone will.
ok anyone if you know above information please help
You can do that, yes. I also am working on a bot which outputs data from TMP API π
@shadow marsh Need help
I think this would be the method you'd wish to use
https://truckersmp.com/developers/api#operation/get-v2-events
(in theory)
@rancid vector whare we can past this code
i dont have bot
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.
I just want someone to implement it for me
Fine 
Yeah, good luck then π
And you don't need to DM me for that π I have my very own projects running.
Youβll need to do this yourself
Learn coding and do it yourself... unless you wanna pay one who does that for you π
... user has left the server 
Came into ours asking for our bot etc
π€£
But hey, for once, it was an actually development-related stuff asked here today 
That's true yes. Fascinating 
Also in my DMs
Which I told him no
Ye
Less work for you I see 
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
I mean maybe looking at the TruckersMp map and see if you could implement some parts of the api for player locations, correct me if im wrong 
Actually, there is a way to get player data at the specified coordinate using coordinate values, but this is not a method specified directly on the API, I don't know how correct it would be to use it.
an average day
it is time to play the game How Low Can It Go?β’οΈ with my uptime monitors by reinstalling nginx
Oh god, relatable 
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.
i dont think the ppl that play tmp for the sole purpose to troll is gonna stop trolling after they take the driving lessons
how is that even related to developing stuf 
I'm not talking about the ones that troll. More the ones that don't know traffic rules because of lack of real life experience.
People who troll will always troll.
trolls are everyowhere clearly. I thought developers write code and stuff but appeartnly im wrong
I give a hint: it isn't 
π€‘
this is for people like maurice or zr1.z when coding stuff
Finally catched up you being the clown here?
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
I pretty much doubt that, but feel free to think what you want.
However, game suggestions belong into the truckersmp forum.
he is still right tho
ok cooperator.

One day people will be nice to each other and will see where they type before doing so.
But, probably not in this century 
The fact he thinks TMP will force the driving school is funny
It'd be a good thing tbf....
the servers would be empty, only brain-enabled people would drive
They do indeed write code and stuff.
But this channel isn't where players give ideas to our developers, it's a channel for other developers to show off their project, or get help with their code.
i cant see them adding it personally.
same... but still... would be a good addition. at least for those who takes the game seriously...
The day I hit my deathbed maybe 
Will the new version of tabs change?



first we need 1.52 support
Yes. When 1.52? 
When can it be used?
You tell us. How would we know?
Is this new or is it just a theme im confused
Its new
new
Luna posted that on her insta story a while ago
I still have no idea why this is asked in here.
Your guess is just as good as ours really π
Ah thatβs not really related here is it
Be nice if we did get an announcement about it though as it looks decent
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.
You woke up in a good mood then π€£
I wasn't even sleeping really 
Ahhh
What is in 1.51

int main() {
std::string text = "Shock face";
std::cout << text << std::endl;
return 0;
}
Yes perfect
Why not:
namespace std; (or using, idk xD)
int main() {
cout << βShock faceβ << endl;
return 0;
}
No need of a variable in a one-liner 
?
using

"std" there looks sus 

Unpopular opinion maybe but old looks better #announcements message
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β
- distance is never over 1km
- using km loses precision
- old scoreboard used meters

and that's more of a feedback matter
Oh the preview uses fake data? π
3000+ metres in the sample
eh I cba goofing around with the forum. Devs check here anyway so whatevs
And you don't have to use forum to submit feedback, you simply need to make a feedback ticket towards Community Management on our website: https://truckersmp.com/feedback/create π
Tags should definitely get their own column and possibly be toggleable, and being able to make the size smaller would be great too
hm I was gonna make a feedback but now that I'm staring at that page I can't formulate any proper wording
Used to when this chat was not so much off-topic as it nowadays sadly is.
Understandable 
Steve Ballmer has always had the gift of getting excited and sharing the enthusiasm with the crowd. Here at the .NET Conference he passes the work onto the developers for developing .NET.
yeah this is personal preference but i prefer the old one as well
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
How dis dev related π
i mean... linux is only used by developers.. right? π₯Ί π₯Ί

I was going to warn them, but seems you scared them off this server 
π

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
#ats-modding would be better suited then
This channel is for API, coding/programming stuff.
Thanks
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.
https://github.com/dariowouters/ts-map should do what you need to
Doesnβt work anymore π¦ unless itβs working/updated
was updated on 17th of september but 
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.
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.
I knew that TMP developers were following this channel.
There is a split of a second when the player doesn't yet have ghost mode on, and that's why you get sent flying.
Copy roger! I might give it another crack!
Yes, this shouldn't happen. I don't remember this happening before. I think it appeared after the new version updates.
it's been an issue for as long as I've been around - and that's a few years
Well, I was there when no "Ghost Mode" existed π and we all survived somehow
I don't know, I haven't seen anything like this before. As I said, spawning directly shouldn't do this. But if this is a situation that is considered normal by the developers, then there's nothing I can do.
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.
You donβt?
You do?
No

thats why i have this in my about me https://nohello.net/en

I like the TMP API
I mean im just collecting server data every 5 min for all servers.
The display there is a ready to go solution.
But still looks good π
https://www.metabase.com/ easy way to display data (if the tables arnt too big
)
cant display tables with 40 mil rows 
well, thats obvious 

the site would be deadloading I guess π€£
its more the DB that cant provide that much data
wtf how do you have that much entries? π€£
the highest entries a DB had for me was 180k rows 
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 
also of course no history table for that cause lazy me didnt do any
π
whole db 
well, in my case it was for the discord bot - chat logging for edit/delete, but forgot to add the delete scheduler
so as time goes by I ended up with 180k rows and was like how the efff 
73 mio π
6.4 Mil log entries π
When loading another page that isnt the first takes at least 30 seconds 
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 

gb :S

never checked how big is it..
My work dbs are probably also extremely big 
Gotta flex the TMP DB size now 
Keep working magic it looks good
Bet they have 10gb or whatsoever xD
Per table 
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..
/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
https://truckersmp.com/developers/api#operation/get-vtc-id-events
i meant this, this gives me the events only that the VTC made rather than the events attending
I wasn't really specific with it, sorry
Well, seems like there's no endpoint for that 
Yeah I realised, I'm now just gonna display the upcoming events VTC made from a the VTC

(I don't feel like manually changing the events on the website and rebuilding the site)
Is the API for fetching delivery data already exposed for public use?
Iβd guess not yet as itβs listed as a beta feature
Python
Change Tmp to TMP or TruckersMP itβs setting my eyes off π
Other then that it looks good
okey
Looks better
Yes, I do code bots 
you dont like python ?
Well, I not only do Discord Bots tho
i only too
Yeah, I dislike the language π
welp π
im doing now my VTC bot
Trucky 
I like programming because I can show my creativity there β€οΈ
Same here 
improving trucky bot?
It's a commissioned bot. An application bot with driver management π
No, that's not my job 
cool
the steam api is quite a hassle π€£
I can recommend it 
I would like to learn steam market charts price or something
I don't know if there is an API for it π
it will come from the "request" library, it draws data, so it would work
and putting it in the discord bot would be great
too much technical talk. bye
π
π
how old are you
dk how thats relevant, but I am 24

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!
Where's the 'd'? 
Imagine having tecnical talk in a development related channel 
xd
Don't understand what's funny with it 
Just crurious why it's discor.py instead of discorD.py 
coolio broke the key
Typical nublio move
dammit he can't not break anything


Imagine them giving him a go on TMP's systems

miss click
Yaaassss am old 
anyone doing cs2 skins?
yo
with the magenta I would match the angle of the cross-over part of the 8 more and maybe add some feathering to the edge of it too so it looks more like a shadow
does anyone know any website/s with courses in Data Science/Analysis domain, that are free of charge and provide certification?
I don't think free and certification could exist in the same sentence
https://cdn.discordapp.com/emojis/1238954361472942210.webp?size=48&name=4437prayge thank you the TMP api and VTLog if its can give ideas π
That is so clear 
and api tmp events https://truckersmp.com/developers/api#tag/Events
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
its only for js?
discord.js and d.js v14 π
after a side I do not that bot, I work on a multi-language discord bot certified π
an all-in-one bot!
No? It's not only for JS.
I use the API on Java
different language too. There is an API for JS, yes. But you can get all data via JSON 
it's great that it's for java but not for python π
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
naughty
Sowwy. Was napping π
All good deary 
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||
You broke my heart by saying this. 
Every language with server side including rust python java nodeJS and many more
NICE
there are, but you have to scroll net
IBM gives badges
but I search for more options
can someone help me install sound packΒ΅
help me pleas . After logging in, it says offline mode ghost mode. what should i do
Everything is development related
Nah bud
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!
what?
I would gladly help but I have no idea what you're asking about. Account count? From a chat?... We really need more detail.
It was difficult. This is the first time I've developed such a system. 1.5 months of work
https://youtu.be/-9m_RMoH05s?si=KrrixBLX-LFrg3WM
Official website: https://vtc.world/
Forum: https://forum.vtc.world/
Official Discord server: https://discord.vtc.world/
Twitter: https://twitter.com/VTCWorld
VK group: https://vk.com/vtc.world
VTC.World Media Team
Hi, does anyone know how to delete an account?
oh sorry.
thats sick! Great work there would like to have it ingame already xD
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??
im literally using the same code i used 2 months ago and it worked back then

even then the problem persists
can you log what json is?
trying to log the whole thing doesnt give any output
oh you might be triggering the cloudflare captcha page
yeah
i even had to change the proxy i was using
corsproxy is apparently blocked now by the TMP API
logging json in the console just results in undefined















