#programming

1 messages Β· Page 2 of 1

mystic basin
#

If I launch it it immendantly shuts down

azure stratus
brave ingot
#

4 days till unbanned (30day ban) sad

#

i'm super happy

lilac aurora
#

What does that have to do with development?

azure stratus
#

Develop some safer driving Kek

brave ingot
#

ah crap didn't even know this was in the development channel kekw

azure stratus
wet kite
ember canyon
azure stratus
#

God my eyes

#

The extensibility of this is crazy

ember canyon
#

Hello

#

Anyone is an android app dev?

#

That writes apps in java?

cinder kayak
#

Depends on what you need help with. What’s your problem?

ember canyon
#

So. I am trying to make an app. That allows me to select an apk file. And then add custom flags to it so the apk will install with my custom flags

#

But i dont know how difficult that would be πŸ€”

cinder kayak
#

Oh lol, can't help you with that, sorry 🀣

ember canyon
#

Np

#

There is an app that kinda does it

#

But it only allows you to install 1 of 6 apps

#

So im thinking hm. Is there a way i can just replace the apk link and then try to install it that way? But not sure

#

Also not sure what program i can use to open and edit apk code? πŸ€”

cinder kayak
#

Why don't you try and decompile this app and take a look at how they've done it? hmmge

ember canyon
#

Well its on github so i can see all the code. But it just doesnt really make sense to me fully

reef stratus
#

Hello, has anyone ever used a VPS at Contabo before?

foggy osprey
reef stratus
# foggy osprey Yeah, what's up? I have one with them currently

From your experience, how good is it in terms of stability, performance, and support?

I've seen some negative reviews and want to make sure before buying a VPS S. Currently, I have some servers with OVH, but in terms of price, I've seen that Contabo offers better resources

foggy osprey
# reef stratus From your experience, how good is it in terms of stability, performance, and sup...

I can't really recommend them if you want to host anything important/public or resource-intensive on there. I currently have their VPS S tier only to host a basic Zabbix instance, to monitor a few dedis that I have hosted elsewhere. Also keep in mind that their maximum network speed is 100Mbit.

If you're searching for a good VPS provider, I can recommend Vultr. I've been with them for 5+ years. Great server specs, support and uptime :)

#

If you're looking for something comparable to Contabo pricing tho, take a look at Hetzner Cloud. Their Arm64 servers are dirt cheap.

shadow marsh
#

I had the VPS XXL there. In terms of hosting game servers they are poor. You only get lags and issues. However in lightweight stuff like hosting a website and Database servers and discord bots it's enough performance.

tardy smelt
#

I've personally had OVH and Hetzner. They are both pretty reliable.

Currently using DigitalOcean on the new software I'm writing and they have been pretty good. But it's much more expensive tho currently spending $600 USD + a month peek

#

TMP uses Scaleway and OVH

violet tulip
#

Scaleway is good too. they grew a lot in last years with many improvements

take a look also at Linode

supple shard
#

its great when things work but if anything happens that a reboot, or OS-level config update, wont fix then your SOL

#

in the end they werent able to fix my problem so they just gave up and moved me to another box kekw

tardy smelt
#

They are very cheap tho

supple shard
#

Contabo is cheaper with better "bang for buck" imo

exotic dock
#

@tardy smelt Hello sir, forgive me for disturbing you. I have a few questions. You have been working on TruckersMP years a lot, you have created a client and developed a multiplayer mod for ETS2 and ATS games to synchronise with your website. How did you success to do that? If someone with a coding language and programming training wants to develop a multiplayer mode from scratch, can they do it or will they stuck the obstracles? If this is possible, wouldn't it be nice to have rivalry between your TruckersMP platform and a new platform?

supple shard
#

will they stuck the obstracles
one does not simply right bug free code or expect to not lose many nights of sleep because you forgor a ; on line 82 πŸ’€

tardy smelt
ember canyon
#

idek whats worse at this point tbh. hiding private events or ban length.

#

both kinda break a lot of things

ember canyon
#

destroys DX with your services a bit wesh

wise finch
ember canyon
wet kite
#

I think going through the api it should be okay tbh

#

Maybe make it so you've to get an api key or smth before being able to access private stuff

ember canyon
#

i've suggested that option

#

they said theres no eta on when thatll be done wesh

wet kite
#

And if you really wanted, they could make it so each VTC has it's own key which you can use to access their own "private" stuff

ember canyon
static owl
#

Hello

ember canyon
#

world

cinder kayak
#

;

ember canyon
#

hello, can someone from the moderators or manager nagucken my modmail thank you

ember canyon
olive quiver
#

(LANGUAGE: C) Haiiii, does anyone in here know how to print a double without using printf or any already-existing functions except write, putchar and putstr? I'm trying to display the frequency of a letter in a string given as argument when executing the binary.

My program can already count the occurence of multiple letters in a string.

#

(feel free to mention)

#

(for context, this is what I have to do)

olive quiver
#

Nevermind I figured it out with my colleagues

shadow marsh
#

Soo, I want to make the next step in my development area and want to learn web development.

Have you people good recommendations where I could possibly learn web development (for beginners - I don't know nothing aPES_Laugh ) - eventually for free?

Hit me up and thanks in advance for your help! πŸ™‚

foggy osprey
#

Some are (partially) paid, but for basic/beginner things it should be mostly free

shadow marsh
#

Thank you Diego! Really appreciate it muhaww gonna check it out

cinder kayak
#

I'll try it out too, cuz I'm bored kek

azure stratus
#

Codecademy is great, can attest, but it's definitely a starting point - GitHub has some fun repos of project collections to consider as portfolio things, just google something along the lines of GitHub projects (language here)

ember canyon
azure stratus
#

I just started with d.js kekw

#

Trial by fire

fresh scaffold
#

then I think I went to to express.js since I wanted to make a dashboard for a discord bot

#

Small projects are great for learning, really.

#

Also don't get stuck in tutorial hell

brittle garnet
#

express for API connection so

azure stratus
#

I used Express, a bit of Fastify

#

Immediately learned Typescript and started using all the experimental features of that

#

Experimental decorators are my passion

#

And now I need to learn pytorch for my NLP research

summer gyro
#

Hm

quiet python
azure stratus
#

Yikes

shadow marsh
#

Sure and I'm the King of China aPES_Laugh KappaEvil

azure stratus
#

Just joined the server today though? Interesting

#

You figure a prospective community manager would have been immersed in the community

#

Also one community manager building a working relationship (that likely already exists) out of a whole team of people? Shrug

#

Very interesting, considering how long TMP has been around maybe?

#

Just saying, you give absolutely no background or public facing info about yourself and expect us to fall into line with the belief that you're all of a sudden on management at SCS, it would naturally be a little fishy

autumn magnet
#

What would that prove?

azure stratus
#

A portfolio? A company profile? Literally anything?

#

Community managers would be well steeped in public relations with the SCS community, so let's see some evidence of that?

#

I'll happily stand corrected if you can provide that, but it's very vacuous at the given moment

tardy smelt
#

SCS already have our contact information that they have been using when ever they requires anything from us.

azure stratus
#

Also, this seems like a largely irrelevant chat given the nature of the channel to bring a topic like this up

tardy smelt
#

You're welcome! SCS community manager already have access to official TMP Team discord too KappaLUL

azure stratus
#

Not gatekeeping, just Section 2.01 of the rules, if we want to get pedantic

tardy smelt
#

Let him know and he'll let us know in the appropriate channel

azure stratus
#

Not that I'm here to minimod, just saying we tend to like our channels on topic

tardy smelt
#

Not sure what was on topic since I do not see any development questions. It was more of a general question that would have been in support, feedback or have asked a discord moderator.

azure stratus
#

In that case, I'll apologize for drawing it out, but I'll reserve my natural skepticism for the right spot in the future

#

Some people have a bit too much time, eh? Kek

#

Back to abstract writing I go

#

Anyways, on a development related note - I'm finally submitting the abstract for my paper!! Granted it's a local conference and I'm really doing it to train myself on postering and getting reviews, but hopefully submitting to EACL/ACL in the coming months

#

And hey a trip to Malta for a conference, what's not to love

ember canyon
#

what was that

shadow marsh
alpine pier
#

Hi, how to create a custom VTC app (e.g: similary to Truckbooks or Trucky per example) ?

azure stratus
#

It's not just a matter of "how, with what, and how long"

alpine pier
azure stratus
#

Then you'd need to implement that API somehow, which is a whole other app to develop

main tree
#

i was wondering guys/girls, when using ets2 official controller layout from steam, we have this awesome functionality, "game actions" but when i try to create my own gamepad layout from scratch this options does not appear and i am forced to bind gamepad touch with keyboard touch instead of those internal input, so my question is, is there a way to use those, except from always making a copy of this layout then make edit from it ?
https://ibb.co/B49FGcH

glass idol
#

hi

#

i would like to know how is truckersmp made

shadow marsh
#

You'll need definitely C++ Knowledge, Reverse Engineering knowledge, network knowledge - just to name a few.

opal arch
#

You may want to check out this repository to get a very rough idea how TruckersMP works: https://github.com/EryksProjectsArchive/ETS2HookingOldSandbox

Keep in mind, though, that this is an extremely old source code and it's nothing like we are using right now. In fact, this was discarded at the time and a new project was made from scratch.

GitHub

Discontinued hooking sandbox for Euro Truck Simulator 2. - GitHub - EryksProjectsArchive/ETS2HookingOldSandbox: Discontinued hooking sandbox for Euro Truck Simulator 2.

humble carbon
#

Hey question, is the api of the traffic public?

ember canyon
cinder kayak
humble carbon
#

Legend! Thank you spoony!

humble carbon
cinder kayak
violet tulip
#

but it's not using the Kashnz Traffic API, it's own implementation

ember canyon
#

Ive fallen into a rabbit hole im enjoying πŸ€”

#

Never thought much into coding and becoming a developer but its actually turning out to be a lot of fun awesome

#

Currently doing angela yu's 2023 complete web development bootcamp. It takes you from 0 to full stack developer. Also purchased her complete flutter developer course and her 100days of coding python course

#

Shes really great teacher. Explains stuff so well πŸ˜„

#

nice

#

good luck πŸ‘

#

Im interested what got everyone into development/coding/programming? πŸ€” and thanks!

#

discord bots wesh

#

thats what i started with

#

Ah nice!

#

I got clyde to write the code for the one i was working on XD

fresh scaffold
#

use ai carefully. Otherwise you'll just rely on it. For me atleast, AI was a problem. I used co-pilot 24/7 and never understood concepts and just went "Yea, I get it. Leme move on"

#

turned ai off and boom, I was a noob

ember canyon
#

copilot πŸ”›πŸ”

fresh scaffold
#

cloudflare doing their usual

ember canyon
ember canyon
#

Yeah i used it once as i didnt understand how to get something to work

shadow marsh
ember canyon
#

javafx hmm

#

interesting

azure stratus
#

Eugh java

#

I just wrote a DNS filter for my networking/Kali Linux class

#

Thank god Java is good at byte manipulation but yeesh

summer gyro
ember canyon
#

very cool πŸ™‚

#

@shadow marsh i just finished learning html theres a great video on yt for it brb ill get link

#

HTML full course tutorial for beginners

#HTML #course #tutorial

⭐️Time Stamps⭐️
#1 (00:00:00)​ HTML tutorial for beginners 🌎
#2 (00:09:40)​ hyperlinks πŸ‘ˆ
#3 (00:12:41)​ images πŸ“·
#4 (00:16:30)​ audio πŸ”Š
#5 (00:19:10)​ video πŸŽ₯
#6 (00:21:37)​ text formatting πŸ’¬
#7 (00:23:42)​ lists πŸ“‹
#8 (00:28:18)​ tables πŸ“Š
#9 (00:32:16)​ colors πŸ–οΈ...

β–Ά Play video
#

very to the point. super easy to understand aswell

#

took me 3 hours as i was pausing video and using vscode to test it for myself but yeah. very cool

#

i started using react without really knowing html wesh

summer gyro
#

Well

#

you always learn it as your going along

azure stratus
#

I decided to take an HTML/CSS/JS/PHP course in university instead of teaching myself

#

Took 12 weeks but my prof is now my research supervisor so hey we won kekw

#

Shockingly had the most fun learning python, it was nice to already know basically everything about a language + some of the libraries for code analysis were lots of fun

summer gyro
#

I wonder if it’s possible to make a job logger application using electron js

#

Might have a look into it

azure stratus
#

Ah good ol memory hog electron

summer gyro
#

What framework is ATMS one built on if you don’t mind me asking

azure stratus
summer gyro
#

Oh right

#

id have to find out how to pull job data and I should be alright

modern heart
shadow marsh
ember canyon
#

Of course!

#

There is 1 thing i reccomend though

#

In his video. He teaches you to do <br> and <hr> well in html5 that is perfectly fine because html knows they are void elements. But good practice is to write them as <br /> and <hr /> because then if you look back at your code. You will see the / and remember that they are self closing tags where as if you leave the / out. You might be confused as to why there is no closing tag πŸ™‚

#

Like i say <hr> and <br> will work fine as html5 just good practice to include the / so you remember its self closing πŸ™‚

#

Also if you havent. You should install live preview extension in vscode because then you can right click your work and click open with live server to see how it looks as an actual webpage instead of just seeing the code πŸ™‚

shadow marsh
#

<br> is for a new line in a <p> - That I do know

ember canyon
#

yeah <br /> is new line <p></p> is paragraph <hr /> is horizontal line πŸ™‚

#

horizontal line and new line are void elements so they are self closing tags πŸ™‚

#

but if you are using paragraphs <br /> doesnt look right. its better to end the paragraph with </p> then next line make a new paragraph as a break in a paragraph looks weird.

mortal sparrow
#

hi! im looking to get into Dev and coding... what would your guys say is language i need to get into

ember canyon
#

depends what you want to do πŸ™‚

mortal sparrow
#

i know how to change Sh....t in games and make mods work... i really dig making stuff for games

ember canyon
#

ah for that i cant give advice sorry i have no idea whats needed for games

ember canyon
#

Learning about css grid today just learnt about flexbox

#

Fascinating how powerful stuff is when you look behind the code of something. On a website it can look so simple yet the code behind it is so fascinating

#

Like peices of a puzzle. All fitting together perfectly to make it all work

ember canyon
#

life's a puzzle aPES_Giggle

ember canyon
#

True but sadly lifes not as logical as code kekw

uneven nimbus
#

My teacher says I have too many enters in my HTML code but is this good now?

uneven nimbus
ember canyon
uneven nimbus
ember canyon
#

XD

uneven nimbus
#

Just gotta fix the overuse of enters in my code to make it look more better according to my teacher.

ember canyon
#

It also looks like there is not enough </div> for the amount of <div>

#

You have css to go with this html?

uneven nimbus
uneven nimbus
ember canyon
#

Ah okay

#

Also a lil confusing why they put a div on the title when they could have use a heading tag then altered font size or font weight in css

uneven nimbus
#

And for some reason my Navbar on phone is at the bottom of the page according to my teacher even though it's at the top on the 5 other phones I tested

uneven nimbus
#

And too much work

ember canyon
#

What phone did teacher use and which phones did you use?

uneven nimbus
#

I'm not sure what phone my teacher used

ember canyon
#

Could be different screen size which is causing issue in which case you could add media query to do a max width of 680px then attach a position for the nav bar to the top

uneven nimbus
#

My media query is set to 400px which is probably too tiny

ember canyon
#

Yeah do it to max of 680px

#

Any bigger than 680px is a tablet

#

(Most likely)

uneven nimbus
#

Alright let me see

#

Making it 680px does weird stuff

#

Seems my navbar is also at the bottom on my moms phone

summer gyro
#

if not, 767px or 992px might work?!

uneven nimbus
summer gyro
#

are the other pages using a different css file

fresh scaffold
uneven nimbus
summer gyro
#

ive noticed sometimes it doesnt work

uneven nimbus
#

But when I am on phone it looks different then when using responsive design mode

summer gyro
#

make sure your phones on the same network and load the localhost

#

with live serveryou can save and it will auto refresh so you can preview it then

uneven nimbus
summer gyro
#

have you done max-width or min-width

uneven nimbus
summer gyro
#

hm

uneven nimbus
#

I’ll look more into it after dinner.

#

At least the homepage is fixed Wesh

summer gyro
#

yh

uneven nimbus
#

Actually it seems that my navbar has also moved to the bottom when using responsive mode on laptop

#

Weird...

#

Fixing a problem and creating a new one kappa

uneven nimbus
#

Removed the unnecessary enters. Gotta fix the responsive now

summer gyro
#

πŸ‘

ember canyon
uneven nimbus
ember canyon
summer gyro
#

πŸ˜‚

uneven nimbus
#

It's been 2 hours trying to fix this navbar kappa

ember canyon
#

You could use flexbox for the navbar

#

Set each option to an order. Put them as inline with gap

#

Could also assign them to wrap so when on smaller screens they will occupy multiple rows to fit on screen if you wanted

#

Started with asking us if you had too many enters. Now we are discussing flowbox media queries and navbars kekw

uneven nimbus
#

Well I got the navbar fixed on phone but for some reason my code in my media query is also messing with my code outside of the media query

ember canyon
#

Did you make sure you closed all the brackets for media query?

uneven nimbus
#

Yeah

ember canyon
#

Hm πŸ€”

uneven nimbus
#

I've had this issue from the start.

ember canyon
#

The codes too private to show?

uneven nimbus
ember canyon
#

If you can show the media query and css part we might be able to try fix it

ember canyon
#

Media query hasnt been closed

#

For media query you need 2 brackets

uneven nimbus
#

When I add one more it's red

ember canyon
#

Add it on line 399 in front of the other bracket

uneven nimbus
#

Yeah sadly everything is worse now

ember canyon
#

That way it will stop the media query code. It should be like

Media query (){
Selector {
Selector code
}
}

#

Whats it look like now?

uneven nimbus
#

Well it looks very bad now.

#

It's closed but my website looks even worse now Wesh

ember canyon
#

You had the media query close bracket at the bottom of the entire code

uneven nimbus
#

Yeah

ember canyon
#

You removed that one?

uneven nimbus
#

I did but it still looks bad

#

My laptop version looks bad)

#

I'll have to somehow fix this with my none closed media query

#

Way too late to try and fix my laptop version

ember canyon
uneven nimbus
ember canyon
#

names

#

inconsistent

uneven nimbus
#

Blame my teacher

ember canyon
#

aint an issue just triggers me wesh

uneven nimbus
#

It does the same to me

#

Well good to know that I should close my query next time.

ember canyon
#

Yeah for media query its normally like this

ember canyon
#

Then the code goes under that

#

Also did your teacher tell you what you had too many spaces in?

#

Because your css page has so many empty lines its crazy XD

uneven nimbus
ember canyon
#

Ahh yeah there didnt look like too many in the html

#

Ah yeah you do have some you dont need

uneven nimbus
ember canyon
#

The divs they dont need seperated by extra gap so line 29 can go. Just a waste of space line 32 isnt needed to be empty either. Line 43 doesnt need to be empty line 45 doesnt need to be empty

uneven nimbus
#

I guess I thought adding gaps would make it look nicer

ember canyon
#

Ah XD

#

Only time i add lines is where i want to place comments. Or in the head section for internal css

uneven nimbus
#

Alr

ember canyon
#

So youre doing this at school? Or its a uni degree or?

uneven nimbus
#

College degree

#

Or smt

#

Going to college for Software Developing/Developer

#

Started 3 months ago

ember canyon
#

Oh nice πŸ™‚

#

I didnt hear about any of this kinda stuff till i was out of uni rip

ember canyon
#

But found an incredible deal

#

The course im doing now. If you go to their hq to do it. It costs $12,000 but you can do the exact same course online right? And they had a sale recently and i got it for $15.99

#

Exact same tutor. Exact same modules. Everything is the same. Just the online course you have to study at own pace. But such a huge saving its definitely worth

azure stratus
#

Jeez I missed the one active dev chat day

#

I was busy doing computer science tours for future students though kekw

ember canyon
#

My bad ill stop talking to make it quiet here again np

#

I can share some cool coding things here?

#

Am doing a course and its sharing some sites that you can learn/test your coding knowledge with

#

Will wait for reply before posting as not sure if can share or not catthumbsup

ember canyon
#

i think i am going to invent a new game

#

imagine chess. with a twist where if you get certain pieces in certain formations it unlocks a new pattern for a select piece to be able to move

#

for example. line up 2 castles with king in between. the king grants them permission to move diagonally

last lichen
#

same time as gta 6 probably

ember canyon
#

might do it on a test website. just to see what i can get it to do. will have to wait until i finish my javascript modules

#

im starting javascript later today. so hopefully will start new chess project in next few days

#

line up 4 pawns in middle of the board and the pawn that makes the bottom of the L can have the same moves as the knights

#

think it could be really really interesting concept

uneven nimbus
#

Decided to go back to an older version of my website where my navbar looked uglier but worked for both laptop and phone and luckily my website was accepted catthumbsup

#

Next period we will start working with Javascript.

ember canyon
#

did you have to use grid?

#

im on my final css course and im learning about bootstrap and its so much better for navbars

#

for example

#

ignore picture of cat XD this is my "test and find out" website XD

uneven nimbus
#

Looks nice

ember canyon
#

Would be nice if search box worked πŸ™ƒ

uneven nimbus
ember canyon
#

I wonder if staff know their tmp discord bot [apps] button for user lookup isnt working

#

Unless it requires certain perm to use but then surely it wouldnt show to people without that perm?

#

wdym

#

works fine for me

#

Huh

#

Not for me

#

wot it say

#

"The user cannot be found."

#

doesnt mean it doesnt work

#

make sure ur discord connection is public on the website

#

It is

#

idk then

#

works on me

#

Huh. Thats weird

cinder spear
ember canyon
#

It is? I am certain i made it public when linking bot for role

#

My bad then catthumbsup ty

ember canyon
#

How hard do you think it would be to program a bot to automatically add dlcs from a certain developer into your wishlist? πŸ€”

#

On steam*

#

I collect dlcs for ets2 and ats. But when new ones are announced ill see it on like youtube or blog on phone and think yeah ill add that when i get to pc. Yet by the time i get to pc i forgot so id like to make something where when scs release dlc for ets2 or ats its automatically added to my wishlist πŸ€”

modern radish
#

That would be my preferred approach. You can then run the "bot" in the background on your PC or on an external system like a cloud server so you won't have to worry about anything anymore

ember canyon
#

Perfect! In 3 days time my course has a module explaining everything to do with apis so perfect timing thank you πŸ™‚

ember canyon
#

in my room i dont have room for multi monitor setup right?

#

yet 1 monitor was not enough for coding

#

so i got meta quest 3 and im using this app called "immersed"

#

now i have 5 70" monitors XD

#

and im in my living room using wireless keyboard and mouse with tv on and then monitors around the tv XD ultimate setup fr. coding so much easier like this than on my 1 monitor actual setup

#

but now its got me questioning i wonder how they were able to develop an app like this because there is 0 lag between it and i can move between the screens flawlessly just as if they are actual monitors

ember canyon
#

this was the most difficult challenge i've done

#

Education github?

#

Also hope you get good result from your work πŸ™‚

#

nah just student pack

#

free github pro & copilot and some other things i cant remember

azure stratus
#

Github Student Pack is unbelievably great

#

The DigitalOcean credits were awesome

ember canyon
#

hmm

azure stratus
#

And I used the Frontend Masters credit to learn Rust

ember canyon
#

i applied primarily for copilot aPES_Giggle

ember canyon
#

Nice then catthumbsup

azure stratus
#

I like copilot for tedious work, but I tend not to use it

#

It’s not all that great especially when it interrupts your workflow

#

If I’m writing wrappers for APIs, it tends to be super helpful for picking up on the structure and saving me a lot of boring writing when I’m doing all the variable assignments

#

I also just leave it turned off to avoid any academic integrity issues

fresh scaffold
modern radish
uneven nimbus
ember canyon
#

same

#

it got accepted immediately, just waiting for the benefits now

errant flame
#

When add winter mod

modern radish
#

"Off-Topic" umok

summer gyro
proper vortex
#

When add winter mod
@errant flame when it's winter. Duh.

modern radish
ember canyon
#

thats been like at least 3 years since they changed replies

#

or 2

#

idk

proper vortex
#

It has this in the update logs LOL

#

3 years

ember canyon
#

πŸ’€

ember canyon
#

not on tmp

ember canyon
#

no not

ember canyon
ember canyon
#

?

wet kite
#

that pack is super useful

#

so much stuff you get for free

agile mesa
floral prism
#

any plans for GrΓΌnwald trailers?

inland birch
#

It is totally up to SCS and not TruckersMP. - I don't think you will ever get answer from here.

summer gyro
#

^

agile mesa
#

I think he confused

#

Has anyone ever done the map view to the discord bot with the Truckersmp Api?

ember canyon
#

yes

summer gyro
#

Don’t know why your sending it here but ok lol

#

ooop it’s gone

agile frigate
ember canyon
#

/ are there requirements to sign up for that?

ember canyon
#

i have to be a student though?

ember canyon
#

its called a student pack for a reason?

summer gyro
#

πŸ˜‚

ember canyon
#

Is a simple question. Github could have their own education program so when you enroll you become a github student. Could be a student through self learning or a traditional college.

#

Idk why it was such a difficult question to answer and why you had to try make me feel stupid for asking it. Lesson learnt dont ask anything here.

#

i linked you to where you can learn more about it than i would be able to tell you

glass vine
#

Could have said: you can learn more here

ember canyon
#

why else would i link it?

summer gyro
#

πŸ˜‚πŸ˜‚

ember canyon
#

apparently jetbrains have a student pack too

#

which can be activated using github

azure stratus
#

They do and it’s great

#

I use IntelliJ quite regularly

#

Same with Datagrip, PyCharm, CLion, RustRover and a bit of Fleet

urban lantern
#

vscode for liiiiife

ember canyon
#

vscode for java is OOF

#

especially for me as a 8gb ram user wesh

cinder spear
#

I see no lies Wesh

ember canyon
shadow marsh
#

3v!!! 🀣🀣

Java's nice! muhaww

lusty rampart
#

Hello, I would like that on TruckerMp we could add the mods that we have. It could be fun and introduce our mods to everyone.
I hope this feature will be available in a future Update.
THANKS

ember canyon
#

Are you alright chief?

#

Maybe we need to rename this channel so people dont think to come here to give game suggestions XD

ember canyon
foggy osprey
#

you can input any wireframe with notes, and this site will turn it into a fully working TailwindCSS page with advanced JS where needed

ember canyon
#

jeez

upper meteor
#

.

austere dawn
#

h

devout spear
ember canyon
nocturne arch
#

when does the snow come to truckersmp?

haughty gyro
#

dec 21 releases a snow mod

summer gyro
#

Ask it in a different channel it’s not dev related

lusty rampart
#

Good evening, I would like there to be trucks on Modded TruckerMp with flames coming out of the modded trucks for more realism pls.
I love this game !
Bye thanks.

shadow marsh
#

What exactly has that to do with development? scratching his head πŸ€”

azure stratus
glass vine
#

scam

drifting imp
#

Hello... I'm in need for some pointers

#

TruckersMP is able to have its own windows in game, and so far I have no idea how it does it. I do know about the github project, and what I want to do is this:

  1. I can read telemetry data from the SCS telemetry API,
  2. I want to show some of this data in game without having to switch back and forth between my console and the game,
  3. which means I want to be able to have a window of mine in game displaying this data as I read it.

I have not a clue right now as to how do to 3. As to languages, I do python and Java if that's of any relevance. Where in the source code of the github project should I look to see how it's done? If necessary, well, I'll learn a new language...

cinder spear
#

It'll be significantly easier to implement as a custom overlay similar to Steam or Discord and you might consider using something like Overwolf that already provides a programmable overlay. It's something you'll need to look into yourself though, I have no direct experience with Overwolf and can't endorse it.

cinder spear
#

trucky uses it yes

drifting imp
#

But then how does TruckersMP do what it does? It seems to override a lot of what the basic ETS2/ATS binary does but defers back to it when it needs to... Will the github code give me hints as to how it's done?

#

(for some definition of "a lot", of course)

drifting imp
#

I'm not sure I like overwolf that much to be honest; it looks like an ecosystem suck-in

ember canyon
#

bloatware YepGe

drifting imp
#

I don't like the "smell", or "feel", of it at all

#

Also, JS only as a language? no thanks

#

I need to find something else

lapis barn
#

implement cef to game

#

and write ui with html and js kekw

opal arch
#

As if implementing CEF is easy fireY

lapis barn
#

or rmlui

opal arch
#

RmlUi ftw.

opal arch
cinder spear
drifting imp
#

(my job is on the server programming side of things, I never touch anything graphics, but if I have to learn, I will)

drifting imp
opal arch
#

Take a look at what 3v shared. That is pretty much what we are doing.

drifting imp
#

OK well, time to read some more

opal arch
plush plover
#

Hello, I try to customize tmp the launcher but every time I restart it makes me an update and removes me if I did, is there a docs for his?

cinder spear
#

you need to put things in the _mod folders to do your own versions

plush plover
#

files installation ?

cinder spear
#

the data folder in installation path yes

plush plover
#

installation -> data -> ets2 ?

cinder spear
#

but use this instead of programdata

plush plover
#

perfect !! thanks you ❀️

wispy marlin
graceful belfry
#

well -nointro probably skips the intro cutscene on opening the game, the other things my guess is buffering size allocation and other things

cinder kayak
#

The rest probably limits the RAM the game can use, iirc.

#

You shouldn't use them, if you don't know them.

cinder spear
#

increases the limits yes

quick light
#

GUYS why when i click on the server I go on the main page of the original game?

ember canyon
#

and what does that have to do with development?

summer gyro
#

Some people just can’t read channel names quite funny.

violet tulip
# drifting imp OK, that's a good starting point. I will look up Overwolf then

if you are starting looking at Overwolf, you might consider to look into the new Electron Overwolf platform. but you will have to face a main obstacle: Overwolf doesnt provide game events for ets2\ats as it does for other AAA games with their built-in GEP so you have to implement something in C++ to send data from the telemetry plugin to the app

#

don't understand why, but ok πŸ˜„

glass vine
#

i just refuse to learn to code, don't have the patience to check everything if something is wrong

violet tulip
#

you can disable the autostart. that's why they worked for the last year on a different solution, the new framework wont need to have Overwolf installed but just the app

#

no, with the new framework you won't have even Overwolf installed, at all. no background processes, no other softwares installed

glass vine
violet tulip
#

Trucky has not been ported to the new platform. is my task for the 2024 πŸ™‚

#

is a long story, when Trucky started as overlay program there was only Overwolf offering such powerful and easy-to-go solution for injecting overlay in-game without having to deal with c++ and hooking into directx.
Other than the "simple" overlay injection, Overwolf provides also API for recording the session with an internal OBS (is how the replay feature works), there are also other tools and quick API they offers joined with games, and lastly, offers to monetize the applications using their Ad network (which is mainly their principal business model)
over the time Trucky is grown "a bit" than being a simple overlay app and being on Overwolf make a lot of things way easier

#

someone may not like the concept but i talk every day with them, a team backed of nice people and awesome developers

#

yes, i'm the creator πŸ˜„ not only the developer ahahah

#

but yes, their solution is simply plug and play: we tried at the beginning to go with an c++ hooking solution but we didnt have much knowledge to go in deep so we switched on overwolf, i'm a webdeveloper myself so not having to deal with c++ is fresh air (or the minimum i have to for the telemetry plugin)

opal arch
#

I feel like this is the same discussion as native applications vs Electron. You balance between the time necessary to develop features and between possibly better performance/more possibilities.

violet tulip
#

indeed, is a matter of cost\opportunity

#

it's also a matter of tech knowledge: for example, how many good devs like Shawn you can find around knowing c++ and dx hooking rathen than web\js\frontend\react developers?

#

the same for mobile apps, for example: there are many framework now that avoid two develop two twin app for different operating system using web frameworks liek react native, cordoba or flutter

opal arch
#

This is one of the many reasons we are switching to RmlUi from GWEN.

opal arch
cinder spear
#

the system reqs did recently change so even the minimum gpu has support for dx12

opal arch
#

I just said promised πŸ˜‰

#

Pavel has talked a lot about D3D12 and its possible improvements for the game.

violet tulip
oblique gale
#

I have a problem, brothers

summer gyro
wicked pebble
azure stratus
#

Not entirely within the purview of anyone in this community lol

honest oak
#

34.5 meter trucks are now allowed in Sweden from today. will developers change it in game too?

opal arch
#

@quick ocean @honest oak @errant flame Please, use channels for what they are intended. As you can see in the channel description, this is not AMA for developers of TruckersMP; this is a discussion channel for aspiring developers.

ember canyon
#

what about degrading developers? :o

errant flame
#

When release 1.49 for truckersmp

glass vine
ember canyon
supple shard
#

Typical TruckersMP mods deleting all my messages from this channel for zero reason 🀑

opal arch
ember canyon
cinder spear
ember canyon
#

Never heard of it before today πŸ€”

alpine pier
#

Hi, i have a question. Does anyone have a VTC Hub to track completed missions like Trucky, but in Open-Source?

I would like the following features:

  • Missions

    • Mission duration (in seconds)
    • Speed :
      • Average speed
      • Max speed
    • Cargo :
      • Cargo (Weight)
      • Distance (total and estimated)
      • Truck (Name and model)
      • Company (name and city of departure and arrival)
    • User:
      • Driver (Steam ID, Steam Username)
    • Mission revenue
    • Transport revenue/fines
    • Indication of damage
  • Mission events :

    • Retrieve all information on tolls, damage, etc.)
humble carbon
azure stratus
#

Can affirm, CHub isn't open source

split cove
#

chub looks very likely as the viva trucking thing

summer gyro
alpine pier
summer gyro
#
GitHub

ETS2 (Euro Truck Simulator 2) & ATS (American Truck Simulator) SDK plug-in. Telemetry data is shared via SharedMemory/Memory Mapped Files. - GitHub - RenCloud/scs-sdk-plugin: ETS2 (Euro Tru...

GitHub

Telemetry data from the scs-sdk-plugin. Contribute to kniffen/TruckSim-Telemetry development by creating an account on GitHub.

polar hazel
#

Could automatic headlights be supported from 7pm to 7am?

#

Because automatic headlights will be active at 7:30pm.

ember canyon
#

ask scs to change that

#

or well, tmp can change the autokick to activate later

ashen ivy
#

does anyone know when there will be snow?

ember canyon
#

development Clueless

opal arch
#

@polar hazel @ashen ivy Please, respect the topic of the channel; this is a discussion for aspiring developers.

half plover
#

After the last update, the sounds have changed, for example, the engine starting sound is heard and after changing gear, the sounds stop.

azure stratus
uneven nimbus
#

The game I am working on at school. (The game will be inside the canvas)

ember canyon
#

do i need to hang men on trees there? trol

ember canyon
summer gyro
#

Yes

vital patio
ember canyon
vital patio
ember canyon
#

yes

#

also, when there are no dlc requirements, its an empty array

vital patio
ember canyon
#

is it a string

#

dlcs is a dict (object)

vital patio
#

wait let me show you something

cinder kayak
#

@paper hound nub developer YEP

paper hound
#

i agree too

ember canyon
paper hound
#

no, what other thing?

ember canyon
#

bedtime

paper hound
#

ohh

ember canyon
paper hound
#

awesome Auto ping on events

#

pings 1 hour before the event

ember canyon
paper hound
#

it works

ember canyon
#

i just remembered i can remove some logic from that file

#

cuz we no longer have multiple events per day wesh

vital patio
ember canyon
#

the names? e.g. Vive la France !

vital patio
#

wait

#
event = data['response']
    
    event_info = {

        'EventName': event['name'],
        'Description': event['description'],
        'Game': event['game'],
        'Server': event['server']['name'],
        'EventTypeName': event['event_type']['name'],
        'MeetupAt': event['meetup_at'],
        'StartAt': event['start_at'],
        'DepartureCity': event['departure']['city'],
        'DepartureLocation': event['departure']['location'],
        'ArivalCity': event['arrive']['city'],
        'ArivalLocation': event['arrive']['location'],
        'Dlcs': event['dlcs']['dlc_id'],
        'Featured': event['featured'],
        'AttendenceUsers': event['attendances']['confirmed'],
        'AttendenceVTC': event['attendances']['vtcs'],
        'VTCName': event['vtc']['name'],
        'EventLink': event['url'],
        'Banner': event['banner'],
        'Map': event['map'],

    }
vital patio
#

it's giving me none

ember canyon
#

stackoverflow told me dir(event['dlcs'])

ember canyon
#

wat

azure stratus
#

Ew python

summer gyro
azure stratus
#

I can't even say I've been writing TS code lately

#

Just Java and assembly

ember canyon
azure stratus
#

Unfortunately I have to get over it

#

When you publish a paper people expect the public repo to be in Python in NLP

#

Sadge

summer gyro
#

probs a easy lang to learn

azure stratus
#

Oh it took me a week tops

#

But still has its annoyances

uneven nimbus
#

Javascript is so hard Wesh

summer gyro
azure stratus
uneven nimbus
ember canyon
#

Ello world

uneven nimbus
ember canyon
#

watch some indian guy on youtube

#

indians are best teachers πŸ’―

azure stratus
#

I took a codecademy course which was probably the best decision I’ve made

marble coyote
summer gyro
#

they semi are tbh

azure stratus
#

As a 3rd year software engineer major I’ll confirm

#

Abdul Bari taught me most of algorithms

sage igloo
#

only youtube videos from india

sage igloo
sage igloo
azure stratus
foggy osprey
azure stratus
#

I tried to do that and then wondered why I was getting migraines Kek

#

I'm a Fira Code guy

foggy osprey
azure stratus
#

Ah yes, that's the one my friend uses a bunch

#

I don't really stick to any one font cause if you include campus, I'm usually working on 5 different machines on any given week Kek

#

And god campus computers resetting every time you log out makes me not wanna bother with fonts

foggy osprey
#

not using your own device, yikes

#

i could never tbh

azure stratus
#

Oh believe me, I want to, I just can't / can't be bothered for a lot of stuff I do on campus

#

I have my PC at home, my Macbook, my TA computer, the computer commons PCs (basically only when I need Maple, but I'll use them for projects from time to time) and then our RA computers when we get those solidified (because nice powerful architecture for training models)

#

I should probably just enable Settings Sync huh Hmmm

shadow marsh
ember canyon
#

it was weird at start but now i cant tell if its really any different from other fonts

azure stratus
#

Jetbrains Mono is very nice as well

#

I also religiously use Jetbrains products so maybe that's where that comes from

#

Day to day workflow involves any combination of IDEA, DataGrip, PyCharm (eugh), Fleet, RustRover, etc

alpine pier
#

Hi, I'm here to get some leads.

I'd like to know if anyone has a VTC Hub like Trucky (with API), or their own system with API. I like Trucky, But, the problem is this:

  • Their economy system is Good, but boring when you make accidents, and what I would like, is my own system to display it on my database, (with mission events), BUT, without negative money for accidents.

Remember to DM me if you want to help me
Thanks

ember canyon
#

everything it does is just storing jobs that it receives from tracksim, though wesh

#

and sends them to discord bigbrain

alpine pier
#

You use redis. I use phpmyadmin

ember canyon
#

phpmyadmin isnt a db Kapp

cinder spear
#

and you shouldn't use redis as one either Kapp

glass vine
#

what are both?

ember canyon
alpine pier
#

Mongodb I don't know why I always have problems. My data is stolen and they say to pay via bitcoin

#

While my server is secure

ember canyon
# glass vine what are both?

redis is a KV database to store temporary data for specific amount of time (or permanently), e.g. cache, as an alternative to in-memory cache.
PHPMyAdmin is a web UI to manage your MySQL or MariaDB or whatever db

ember canyon
alpine pier
#

Yes. Only vps connection

#

Other is banned

ember canyon
#

well, if someone connected to it, means it's not limited to your VPS wesh

#

and ip whitelists aren't really reliable

alpine pier
#

Bah. Yet even I connect via my local ip. The mongodb software refuses to connect me.

ember canyon
#

well you're not the one asking yourself to pay BTC to get the data back wesh

alpine pier
#

But with vps is good. And i'm the only people to get Access with my vps

azure stratus
#

I remember accidentally replicating the behavior of redis to an extent

#

Used a local sqlite cache for some repeat call speed and it took me 3 days to be like β€œwait…”

ember canyon
violet tulip
hushed glen
#

Hey guys is there an api I could use along with node-fetch for some commands like to fetch ban history and server stats?

hushed glen
#

Thank u so much bro

ember canyon
alpine pier
#

Hi, does anyone have a list of all possible cargoes (by game name, e.g. "dozer" (not Dozer Crawl - Z35K).

next crane
alpine pier
#

Okay i test this tomorrow

earnest gale
#

we urgently need an admin on sim 1? there are now 30 reports

azure stratus
azure fox
raven merlin
#

anyone tried playing TruckersMP on Apple Silicone Macs using Game Porting Toolkit?

ember canyon
#

thats rather #tech than development

#

tbf

alpine pier
#

Hi, how to found all trucks in png for ETS and ATS ?
cleanly (so that the truck is visible)

ember canyon
#

wiki

#

dont think its any easy to get it from game files

azure stratus
#

Finally started learning how to mock up web pages with Figma

#

Can you tell I suck at web development Kek

#

I got two domains for 48 cents so naturally I need to spin up a TMP site and a personal site

summer gyro
#

But tbh I just go for it

lusty rampart
#

Hello, I have a proposal about adding a car to TruckersMp I know it would take a lot of work but here is my proposal:
Hello I would like to add a car more precisely: "Bugatti Chiron"
This is my request, I hope it would be possible.
Merry Christmas

shadow marsh
#

I suggest you read the channel description πŸ™‚

ember canyon
#

that's an expensive request LUL

lusty rampart
glass vine
lofty yacht
ember canyon
#

common?

lofty yacht
#

Sorry πŸ˜„

summer gyro
#

Mongodb for the win

ember canyon
#

still a similar meaning wesh

summer gyro
#

Just why would you use redis

lofty yacht
#

Having only one DB simplifies the project.
Quite many projects customers pitched to me so far use redis as main and only DB

#

And redis is capable to be used as actual DB

summer gyro
#

It is sort of but mongodb is more reliable

lofty yacht
#

What makes MongoDB more reliable in your perspective?

summer gyro
#

Me and my friend used to use redis and it would always fail on us

#

So we switched and it’s been fine since

lofty yacht
#

Don't want to sound harsh or inpolite, but maybe u used it wrong in some way? Can be a rough start

#

I never had issues with redis

summer gyro
#

Definitely used correctly

lofty yacht
#

Hmm interesting

#

I was using redis quite couple of times in professional and private environment, never had issues (except if I made a mistake)

shadow marsh
#

Personally, I only used MySQL (MariaDB) so far and never had any issues.

cinder spear
#

redis is great as a KV cache but it requires quite a lot of configuration to make it a durable and secure primary persistent storage... I'd use something that's more geared towards that out of the box

lofty yacht
cinder spear
#

there's a pretty big difference between "up to 10k changes may be lost if redis goes down unexpectedly" and persistent-by-default, but I didn't even remember the biggest drawback of redis as a primary db in my tiredness last night: it's fully in-memory.

#

we have a lot more data in our DBs than memory on those servers

shadow marsh
#

What has that to do with development?

quick bone
#

i dont know where to put it

#

sorry i guess

night rootBOT
#

Hey @quick bone! HaulieWave

If you are facing any issues, please ask in #support or contact our support team here. You may also send a Direct Message to @opaque oriole.

summer gyro
#

whats the best way to pull discord avatars to display in html

#

using img

summer gyro
foggy osprey
ember canyon
#

need to have a discord bot token then wesh

cinder spear
#

oauth2 is probably easier assuming people are authorizing it

foggy osprey
#

yeah that ^

#

the avatar hash should be in the oauth response

ember canyon
#

forgot about that one

summer gyro
#

Ah thx

azure stratus
#

Am I just getting really bad luck with the example users I'm picking, or did we stop showing ban duration on profiles?

#

Could have totally missed something or coincidentally picked 3 users who were all permabanned Kek haven't used the api in months

summer gyro
#

Yeah it doesn’t show the duration anymore lol

ember canyon
#

which is sad tbh

#

could've at least made it show the duration if the user has theit punishment history on public

summer gyro
#

I haven’t seen someone with it on public yet

ember canyon
#

hi guys i have an question on how to make sat nav mods

daring spade
opal arch
azure stratus
daring spade
#

whos interested in collaborating on something?

lusty rampart
#

Hello, can you enable mods on TruckersMP pls.

night rootBOT
#

Hey @lusty rampart! HaulieWave

We support these mods in TruckersMP <:truckersmpWhite:626540713814786058>

promods ProMods Europe ets2
(including Middle East & The Great Steppe Add-On)
Trailer & Company Pack addon is not supported.

pmCanada ProMods Canada ats

DBusWorld DBus World ets2

❄️ Grimes' Winter Mod ets2 & ats

denied We do not support other mods and/or Steam Workshop items.

glass vine
#

and local mods

lusty rampart
#

Workshop mods ist enable ?

glass vine
#

nope

summer gyro
naive slate
#

can some1 help

shadow marsh
#

If you could elaborate in what you need help with we could help you better πŸ˜„

naive slate
shadow marsh
#

How is that development related? Also, depending on what game, #ets2-modding or #ats-modding would fit better for that question πŸ™‚

ember canyon
#

blender

quick mica
#

threw together a quick mod enabler/disabler since i noticed truckersMP checks based on the filename, so adding an "INACTIVE_" in front disables the mod

#

still gotta add some buttons to quickly disable/enable all mods

quick mica
lofty yacht
old root
#

is anyone a developer here?

shadow marsh
#

Nahh, I just pretend to be one Kapp

cinder kayak
mighty rain
#

i wish i was one

azure stratus
#

Same

summer gyro
#

totally agree

modest portal
#

Where does the "ping" in TMP's scoreboard lead to?

cinder kayak
#

I'd say to the Server you are connected to?!

lofty yacht
foggy osprey
shadow marsh
#

I was thinking the same, Diego πŸ˜…

#

Doesn't sound natural at all tbh

chilly shore
azure stratus
#

I think my favorite personal talent (and the only benefit of my research) is that I can immediately sniff out GPT text kekw

cinder spear
#

GPT loves those "furthermore"s

wild hound
#

Hello, I wanted to ask you if anyone understands sdk - telemetry, how can I create my own telemetry and have the speed written to the console. I would like to learn how to do this, but there is not enough information only in the github resource

lofty yacht
#

Yeah I def. have to improve some texts here, thanks alot for taking your time and providing feedback guys πŸ™‚

quiet python
modest portal
# quiet python Some time ago, I came across this repository that provides a quite user-friendly...
GitHub

ETS2 (Euro Truck Simulator 2) & ATS (American Truck Simulator) SDK plug-in. Telemetry data is shared via SharedMemory/Memory Mapped Files. - RenCloud/scs-sdk-plugin

GitHub

Telemetry data from the scs-sdk-plugin. Contribute to Dreagonmon/truck_telemetry development by creating an account on GitHub.

silk pecan
#

Can anybody tell me how to solve CORS policy issue I am creating small web app using truckers mp api on react but it's showing me api has been blocked by CORS policy

mighty rain
#

you need to make a reverse proxy for TMP api

#

and add the cors headers on it

#

you can use Next.js api routes or fetch the data on the server

silk pecan
#

@mighty rain Ohh yeah it's working thanks buddy catthumbsup

mighty rain
weak flax
#

anyone understand the goddamn scs sdk?

#

cause i cant get it to simply sends some rpm data to my js website

weak flax
#

well either way I am getting this when loading my plugin

unable to load: 0000007E

weak flax
#

nvm now its unable to find any required function inside 'Tracky'

rich igloo
#

is anybody good with skinning open def trucks? i got it to work 1 time where the background doesnt show, but ever since that, the template or just plain white shows behind my decals

mighty rain
last sphinx
#

can you make this steering wheel in game

#

or something like it

last sphinx
#

oh ok

cinder kayak
mighty rain
#

ikr

small scaffold
cinder kayak
uneven nimbus
#

Why is JavaScript so hard to understand kappa

azure stratus
#

How so?

shadow marsh
#

I can understand it kinda okayish... but writing? hell no Lol

uneven nimbus
azure stratus
#

It’s usually good to solve those understanding problems one at a time

#

Read through the docs, start with basic code bases

uneven nimbus
#

I'm not sure where to begin though

#

Alr

azure stratus
#

If you have a blanket lack of understanding, it’s usually cause you’re just in a bit over your head

mighty rain
uneven nimbus
# mighty rain do you use Python?

No we've only covered HTML, CSS and JS but those teachers explain it so bad that I don't understand anything or I just can't focus because of it

mighty rain
#

nvm then Wesh

azure stratus
rancid cosmos
azure stratus
#

May lead to some less than desirable programming later down the line if we understand jQuery but we're like "oh god what does .filter do"

fresh scaffold
#

JS is fine to work with, but the syntax does not work in the backend

#

I used to be a node fanboy and be like "Yea JS is awesome" but it meant it took ages to get something done

#

Now when I got introduced to php / laravel, god almighty my life changed.

fresh scaffold
#

Heard of it, never looked at it

opal arch
azure stratus
#

this plus the argument that not every language is suited for everything, if my language has orthogonality for my specific purposes I'll likely still use it to get it done, but I'm also open to learning other languages within reason

#

I've used it for most things from API design to desktop apps with Electron and it's just something I'm familiar enough with, plus working on a bot in 350+ servers teaches you to be smart about scalability practices

cinder spear
#

JS is awesome

mighty rain
cinder kayak
#

They go with important stuff in their documentary. I like it weshbald

mighty rain
opal arch
#

You can do it with multiple strings:

mighty rain
#

lolol

shadow marsh
#

How do you join these two strings then so it will be echo'ed correctly? HmmGe Since I can just simply do "A String" + "Another String" would output as "A StringAnother String" tmp_sips

cinder spear
#

string concat in php is . not +

drifting crag
#

so what are the main coding languages you use tmp?

#

js?

shadow marsh
mighty rain
drifting crag
cinder kayak
azure stratus
#

I should sit down and actually learn PHP

mighty rain
#

laravel is a PHP framework Wesh

azure stratus
#

I've really only used the templating

cinder kayak
mighty rain
#

@shadow marsh not that much of a leak kekw

azure stratus
#

Ah yes, the trap of "I understand the framework, therefore I understand the language"

#

Awful horrible no good very bad

shadow marsh
#

thats why I put " Kapp " to it too πŸ˜‚

mighty rain
#

ah fair play

shadow marsh
#

that information is not new to me tbh

#

But thanks for updating something which has not had the need to be updated ablobtonguewink

cinder kayak
opal arch
cinder kayak
mighty rain
shadow marsh
#

4 different languages? Just for the game? I suppose...

opal arch
cinder kayak
opal arch
shadow marsh
#

Thats..... impressive πŸ˜…

#

And I tried making a MP in Java for OMSI2 - I guess I kinda know now why it failed πŸ˜‚

mighty rain
#

and actually using it

opal arch
shadow marsh
#

Yeah... in the end OMSI2 is definitively not one of the best choices to make a MP out of it πŸ˜‚ but yeah... I just stay at bot development - at least I know what to do there πŸ˜‚

azure stratus
#

Assembly is great, probably one of the best languages I've put effort into learning

#

I did most of advent of code 2023 in MIPS (using assembly alone was already bad enough, wasn't gonna use x86) and it taught me a lot of really low-level patterns

opal arch
#

Doing AOC in MIPS/Assembly sounds like torturing yourself but you do you πŸ˜†

azure stratus
#

It made my computer architecture prof laugh so that made it worth it

opal arch
#

Like, sure, you can learn a lot about low-level patterns. But I feel like you can achieve that with C, too, which is much more bearable

azure stratus
#

It was more an esoteric example of how AOC could be done, forcing me to conserve registers and stuff was a pretty good exercise

#

Also, oddly enough, I know more assembly than C

fresh scaffold
mighty rain
#

its basically javascript Wesh

#

well, comes out as javascript

#

judging by their docs landing page

fresh scaffold
#

Does all the weird js for me but i get to do it in php

pulsar jungle
foggy osprey
#

Livewire is a gift of the gods

mighty rain
#

nice virus

summer gyro
#

fr

mighty rain
#

YEET

azure stratus
#

GPT didn't actually do a bad job Kek

#

(minus some custom regex for the dataset answer field)

warm grove
#

How can I get my dedicated server for ats to have optional mods for my users

shadow marsh
#

that's more for #ats / #ats-modding and has nothing to do with coding.. not really.. tmp_sips

tawny storm
#

.

cinder kayak
mighty rain
shadow marsh
#

looks a bit off now doesnt it? Kapp

cinder kayak
#

Don't see any issue KappaZ

worn pond
#

anyone know if Add-On Team Recruitment is now open! is a intern thing or are they paying...lol

cinder kayak
wicked pebble
#

i wanted to apply but couldnt

wicked pebble
#

he is advertising some "money earning" discord with electronic products

summer gyro
#

πŸ’€

modest portal
summer gyro
#

How could I go about doing this. I have made a modal to request a role and set it up to send into a separate channel, all working. The embed that sends into that channel has 2 buttons, accept and deny. Id like to have it so on press by the HR team it will give the user the role. What would be the best way of this?

Discord JS v14

cinder kayak
#

Check the roles of the one who clicks the button, Iβ€˜d say. If the clicker has e.g. the HR-Role then do the rest, else throw an error message

shadow marsh
#

I fell in love with Discord's Button. SCgrin Also the Modals are so awesome to work with aPES_Giggle (Yes, I totally did not make what a simple channel/forum could've done, overcomplicated via bot Kapp )

mossy cloud
#

Looks good! Don't forget the space between Suggestion and board in the title πŸ™‚

shadow marsh
#

Oh, right... yeah πŸ˜… Thanks, did not noticed SCgrin

#

I wish that you could change the colors of the buttons (except using grey, red and green/blue HmmGe )

summer gyro
#

Got the modals working

shadow marsh
#

Well, I don't have a permission / role check behind a button yet - also you are coding in JavaScript, I in Java, so I couldn't really help you out anyway, however good luck figuring it out awesome

summer gyro
azure stratus
#

Also I agree with the color gripe, I just make up for it by setting emojis Kek

shadow marsh
#

Same kekw

#

Well, later I'll continue with perms... I can keep you updated

summer gyro
#

done it

azure stratus
#

I definitely need to get back into bots

#

I've spent 10 months on research and basically no time on application Kek

shadow marsh
#

πŸ˜‚

#

Just start - you'll see where you go

azure stratus
#

Oh I'm well versed enough with them, just haven't had time Kek

shadow marsh
#

πŸ˜‚

azure stratus
#

I should be helping out the team working on getting our bot to run in more than 500 servers without clusters dying Kek

shadow marsh
#

Yet you should just start and you see where it goes smart applies too then πŸ˜›

azure stratus
#

Definitely my first time toying with scalability

#

I've already optimized our DB but there's still a fair bit of cleanup from prior awful devs

shadow marsh
#

πŸ˜„

mighty rain
#

discord bots now can have animated avatars awesome

shadow marsh
#

thats neat πŸ˜„

mighty rain
#

from what I understand the application owner must have nitro though

shadow marsh
#

yeah, okay that's a legitimate condition ngl

mighty rain
#

iirc extended messages work the same way

summer gyro
#

ah bro

#

whos good with js here

mighty rain
#

at least they did a few years ago. when the application owner had nitro, the bot was able to send messages with up to 4096 characters instead of 2048

summer gyro
mighty rain
#

you have to editReply after

summer gyro
#

i tried ```js
return interaction.reply({
content: 'Request successful!',
ephemeral: true
});

mighty rain
#

edit

#

not reply

summer gyro
#
    if (!BotClient.ModalsData[button]) { return;}

    const ModalData = BotClient.ModalsData[button];
    if (!ModalData) { return; };

    return ModalData(BotClient, interaction, MusicPlayer);
    }else{
    if (interaction.isModalSubmit && !interaction.isCommand()){

        const submittedModalId = interaction.customId;
        if (!BotClient.ModalsData[submittedModalId]) { return;}

        const ModalSubmittedData = BotClient.ModalsData[submittedModalId];
        if (!ModalSubmittedData) { return; };

        return ModalSubmittedData(BotClient, interaction, MusicPlayer);
    }
    }

    if (!interaction.isCommand()){return};
    if (!interaction.isChatInputCommand){return};
    if (BotClient.SlashCommands[interaction.commandName] == null){return};

    return BotClient.SlashCommands[interaction.commandName](BotClient, interaction, MusicPlayer);
});
mighty rain
#

πŸ˜‰

summer gyro
#

for this yes?

#

πŸ‘€

mighty rain
shadow marsh
#

Jesus christ PES_JesusChrist

summer gyro
#

listen

#

mans not as good as u

mighty rain
#

currently it will always be truthy because the method is always there wesh

#

thats probably why you added an isCommand check

summer gyro
#

let me test this

mighty rain
summer gyro
#

oh dear

#

i am nub

shadow marsh
#

I always have to do that or just event.deferReply(true).queue();, then the bot sends out the thinking message CE_Peek

summer gyro
#

hmmmm

arctic mica
summer gyro
#

I’ll do it tomorrow my heads hurting 🀣

cinder kayak
plush plover
summer gyro
#

I’ll figure it out then use it but now I’ve just made it so when they click gain role they’ll get it

plush plover
summer gyro
#

I’m going to stick with developing for RCS.

modest portal
#

Hi, where can i find a detailed ETS2 map? (better with TMP's modifications, not needed) I'm trying to do a program in python using truck-telemetry, that saves the position when I hit ALT+C to save a video. I want the coordinates to be shown on a map, where the video was taken

mellow dirge
#

Hey, I want to know if STEAM Deck owners get a small app to join the TMP.

mighty rain
shadow marsh
#

If it's windows I don't see an issue

#

As long as you have an internet connection HmmGe

modest portal
#

The ROG Ally is windows, that might work, Steam deck isn't, it's Linux based

cinder kayak
violet tulip
mighty rain
#

didn't know that was possible Kek

cinder kayak
# mighty rain didn't know that was possible <:Kek:996537390707511450>

Install windows 10 on the steam deck easy! Full guide windows 10 install on the steam deck. complete with all update guides for windows 10.

Windows creation tool: https://www.microsoft.com/en-us/software-download/windows10

Steam Deck windows Drivers: https://help.steampowered.com/en/faqs/view/6121-ECCD-D643-BAA8

Feel free to DM on my Socials
...

β–Ά Play video
mighty rain
cinder spear
#

there are community tools to run on linux but we don't endorse or support them

vital tiger
mighty rain
#

why is typescript so stupid at times