#programming

1 messages ยท Page 17 of 1

rich flint
#

O.o

#

ohh u have to click banner

#

smh

toxic quarry
#

it has a modal on top lol

brazen hatch
#

oh that site i don;t know it was existed

raw notch
#

Trucky too

rich flint
#

and trucky

#

cant forget about trucky :p

raw notch
#

:D

brazen hatch
#

i only use trucky to stalk friends XD

rich flint
raw notch
#

me too :D

rich flint
#

O.o

raw notch
#

it's why I created it :D

brazen hatch
#

lol

rich flint
#

ur all creepy sometimes lmfao

#

ets2map is still dead

#

grrr

#

wait

#

why did it cache

#

GOOGLE

#

Ctrl+F5 saves the day

brazen hatch
#

google hates you ๐Ÿ˜ฎ

raw notch
#

ets2map is tracking only 3 servers now

toxic quarry
#

ets2 map isnt dead

rich flint
#

it was cached on my end

#

and just showed blank

#

until i did a clear cache refresh

#

i can only use trucky web cos my phone died

#

rip waze-features

raw notch
#

btw, @unkempt hamlet hide that data is not a good idea. people could think bad about that, like truckersmp is hiding bans (see Quad history)

rich flint
#

oh god the quad thing

#

what a mess that became

unkempt hamlet
#

I agree with you

brazen hatch
#

hehe

#

yeah that was a nice time XD

rich flint
#

until we started getting kicked for saying any thing bad about viva

#

like c'mon

#

anyway

#

that happened

#

we dont want it do repeat

raw notch
#

@unkempt hamlet can I ask what part of the platform you are involved in?

unkempt hamlet
#

Web

rich flint
#

tbf all but 1 dev is web troll

toxic quarry
#

lol for real?

rich flint
#

idk

#

Kat does servers
Mwl does MP itself
Humane does web
Shawn does web
J-M does web
CJ does web
Krashnz does web

#

idk any more xd

toxic quarry
#

er

brazen hatch
#

so only 1 for server ๐Ÿ˜ฎ

raw notch
#

uhm

rich flint
#

i think

raw notch
#

I think Kat is not only web

rich flint
#

Kat does servers and web iirc

brazen hatch
#

where do they need 4 for web?
So much updates they do not XD
And if they update then whole TMP against them XD

raw notch
#

well, not only servers, I think is a mod dev too

rich flint
#

probably

#

cos if it was just mwl, he'd be under a lot of pressure

raw notch
#

well, TMP hasn't a Dev recruitment for real

toxic quarry
#

updating something isn't that difficult if they know what they are doing

rich flint
#

mwl & rootkiller were only ones a long long time ago

#

lets ask kat if he does MP mod as well xd

brazen hatch
#

Sgt, 'Sorry, but ban history has been hidden from TruckersMP website and API.' on the translate part from helper.mp XD

rich flint
#

ye ik

brazen hatch
#

yeah

#

localy saved

raw notch
#

I think truckersdb was quite illegal

rich flint
#

truckersmpdb u mean

toxic quarry
#

how is it illegal when the API is public

brazen hatch
#

i think more sites have saved data

toxic quarry
brazen hatch
#

i think also some vtc's have saved data from drivers

raw notch
#

because a site shouldn't collect and expose so many data

#

without any permissions about the users

brazen hatch
#

it is not realy expose, TMP give the data public so

raw notch
#

Trucky doesn't store data. it's all live alone call

toxic quarry
#

yeah you are right there, but one cannot really do anything when the API "was" public

rich flint
#

my api is never saved properly

brazen hatch
#

but because it is hided now it can another thing

rich flint
#

i only cache it everytime someone visits it

#

it refreshes every minute if someone is always using it

brazen hatch
#

i don't use the api so that is not a big problem to me

#

have no vtc so no need for

north flax
#

Gonna point out, the list of who does what someone posted is a bit inaccurate ๐Ÿ˜›

toxic quarry
#

we didn't believe that either

rich flint
#

well it doesn't say what u do

#

ur just called devs

#

not what type :p

toxic quarry
#

I thought all devs here were mod devs lol

rich flint
#

well kat is a dev that breaks things last i checked

raw notch
#

@north flax like the Sgt said, because you don't disclosure what you do :D so people guess and let the fantasy run :D

north flax
#

I do random stuff :>

rich flint
#

oof

raw notch
#

you aren't addinng anything interesting to the discussion :D

brazen hatch
#

random stuff is large,
Site, forum, api, server XD

north flax
#

Ye :p
I do web, forum, api, security, a little bit of game stuff occasionally, some server stuff occasionally, etc.

raw notch
#

ah, a note for who take care of the forum. do you know that the pagination doesn't work from 2 years almost? :D

north flax
#

I also make botdottir, and I do other stuff behind the scenes occasionally ๐Ÿ˜›

#

Ye, that's because of IPB's ajax pagination. It should be gone now

brazen hatch
#

pagination is dead on mobile for me :P
The say loading, but nothing load

raw notch
#

now....when? two days ago still broken

brazen hatch
#

for my this morning on mobile still

north flax
#

I toggled it when doing work today

raw notch
#

ooooooook

#

thanks

rich flint
#

i love the forum not being wide as the screen :3

#

but i miss the truckersmp profile buttons on profile pages :p

north flax
#

That button has been back for a while now-

rich flint
#

shoot

#

it was moved

north flax
#

Added it again today. Didn't want to spend time on it last night at the end of the maintenance, since it was nearly 3am

rich flint
#

im blind

north flax
#

Get glasses

brazen hatch
#

i like the screen with but we can not get anything

rich flint
#

apparently my eye sight is rly good and i dont need glasses

#

im like rly

brazen hatch
#

the only thing i missing realy is the dark theme, but the working on it i read somewhere on the forum

rich flint
#

im just laughing at those who are annoyed dark theme is gone

north flax
#

I use glasses irl, but my eyesight isn't that bad. I can legally drive car without glasses :p

rich flint
#

i can't legally drive a car

#

for another 2 year anyway

brazen hatch
#

;o

#

I can legally drive ๐Ÿ˜„

#

and i can't missing it anymore if you have it

rich flint
#

wait, so many people on ets2 can legally drive in irl, but can't DRIVE IN GAME

#

xd

raw notch
#

@north flax me too didn't need glasses at your age for legally drive the car... but after ... :(

brazen hatch
#

haha, the most who can't drive are from countrys where they can also not drive in rl XD

rich flint
#

tho i love the TMP Oauth thing

#

so much easier

north flax
#

Gonna be much easier to maintain as well

raw notch
#

TMP oauth?

rich flint
#

better than linking databases

#

to sign into forum

#

you have to sign in to tmp website

raw notch
#

ah

north flax
#

We used a custom login provider previously.

rich flint
#

my banner gone big all of a sudden

north flax
#

ยฏ_(ใƒ„)_/ยฏ

rich flint
#

loool

#

wait

#

if u click it

#

it goes big or small

brazen hatch
#

i think the image part is changed XD

rich flint
#

O.o

north flax
#

hm. neat

brazen hatch
#

i see you can clik it to expand

#

now my image is to small XD

rich flint
#

i find things out by accident too many times

#

lols

brazen hatch
#

image problem fixed XD

#

so some not translated parts for NL Trucky and NL helper.mp translated XD

raw notch
#

please :D

#

(in about hour you'll find your translations in the app)

brazen hatch
#

Is already done ๐Ÿ˜‚

#

Have just Translate it already, maby i say it not clear

raw notch
#

maybe miss a comma :D

#

thanks anyway :)

brazen hatch
#

Haha is also posible

small ermine
#

Hello developers! ๐Ÿ‘€

plucky beacon
#

Hii

small ermine
#

I can't seem to get my code to distinguish between users that ticked the box to show bans and the users that haven't ticked it ๐Ÿ˜‚๐Ÿ˜‚

#

Any help?

unkempt hamlet
small ermine
#

Well, I'm trying to get it to show the recent ban count if it can see them, and not show anything if it can't see them.

#

So far it either shows it for everyone or hides it for everyone which is a small issue

lethal willow
#

So you have a checkbox which you basically want to know whether it's checked or not?

unkempt hamlet
#

Problem for now is you can't differ between no bans and hidden bans.

rich flint
#

yeah...

pulsar jungle
#

Laravel 5.7 was just released

unkempt hamlet
trim lodge
#

๐Ÿ˜ฎ

small ermine
#

Yeah my problem is that I can't show the ban checking thing only if that person has allowed their bans to be public

#

So it basically always says no recent bans

rich flint
#

which is gonna be annoying

small ermine
#

Yeah

rich flint
#

but not as annoying as ets2map dying all the time BlobTriggered

small ermine
#

๐Ÿ˜‚๐Ÿ˜‚

trim lodge
#

you really are triggered about that huh? @rich flint

rich flint
#

ye

trim lodge
#

lol

rich flint
#

why is my neighbour playing christmas music

#

wtf

trim lodge
#

loool

small ermine
#

It's almost time!

trim lodge
#

wat

raw notch
#

eu1 server ๐Ÿค”

trim lodge
#

ยฏ_(ใƒ„)_/ยฏ

fair thunder
#

@small ermine itโ€™s not anywhere near... weโ€™re only in September fgs

unkempt hamlet
small ermine
#

But

#

Can you not just use the true/false??

unkempt hamlet
#

Nah

rich flint
#

this is javascript

#

it never does what u want it to

raw notch
#

$value == 'true' ? 1 : 0

#

:D

rich flint
#

smh there's no up to date tmp launchers (except official) anymore

#

well even official hasn't been updated in a year

#

when i mean by up to date

#

i mean like bug fixes and compatability and features

#

and looks good

#

loool

small ermine
#

๐Ÿ˜‚

#

But it's not CHRISTMAS!!

brazen hatch
#

IT is almost, a colleague on my work has a snowman on his tool cart. So it is close enough for me ๐Ÿ˜›

plucky beacon
#

๐Ÿคฆ let us get out of summer first

small ermine
#

๐Ÿ˜‚

#

Did you not see the rain Ricky?

rich flint
#

It feels like british summer now and it's just about Autumn

#

lmao

small ermine
#

๐Ÿ˜‚

rich flint
#

20ยฐc

#

and it feels freezing

small ermine
#

It's gone cold yeah

rich flint
#

if we didnt have the hot weather, we would be having BBQs all the time

#

cos 20c is hot for UK

small ermine
#

Yeah

rich flint
#

but it's freezing for some reason

small ermine
#

๐Ÿ˜‚

brazen hatch
#

if it is here 25c it feels also to hot for me XD

plucky beacon
#

lol

rugged copper
#

I did do an update for that a while ago just never got it to go live

#

As in the wintermod on unknowns launcher

rich flint
#

ahh

#

it's a great launcher

#

but in advanced mode it looks, very plain

#

tho anything is better than tmp official launcher

#

that's just weird to use

raw notch
#

a Trucky launcher ๐Ÿค” ๐Ÿค” ๐Ÿค”

small ermine
#

๐Ÿ˜‚

raw notch
#

markdown fails :D

hushed herald
#

Hello

pearl badger
ember canyon
#

hy

tardy smelt
#

Some changes have been pushed for the player end point on truckersmp API

tidal zodiac
small ermine
#

๐Ÿ‘€

rich flint
#

is there a way to make it tell the difference between hidden and no bans? :3

opal arch
#

@rich flint If the user is banned and there are no bans GWfroggyWeSmart

rich flint
#

wuuut

#

what about when theyre not banned

#

lols

unkempt hamlet
#

There is no way to tell for sure

rich flint
unkempt hamlet
#

Maybe it can be solved, but will require a bump of API version

cinder spear
#

adding a totalBans: Number field to the /player/{id} endpoint wouldn't need a version bump and would allow telling the difference, no?

unkempt hamlet
#

bans endpoint doesn't give you a total number of bans

#

Only last 5

cinder spear
#

something like hasPreviousBans: true/false then

#

the point was, you don't need to bump API version to offer additional information

#

might not be the cleanest way to do it, but that's a separate issue

ember canyon
#

Hyรฎ

#

i have a problem

rich flint
#

Hey there, this isn't the place for that but you can go in #support or go on forum in the help section to see if you can resolve this issue. I haven't seen that issue before but going on forum or in #support may help you better or more

pearl badger
#

ets2map is gone down

#

@tidal zodiac the ets2map tracker gone died GWqlabsThonkery

raw notch
#

not totally

rich flint
#

It keeps crashing on them servers

#

Some servers it stays up

#

Weird

raw notch
#

wot

#

the tracker crash inside TMP server?

tidal zodiac
#

Fixed it for ya... at least EU #2....

raw notch
#

@tidal zodiac don't you want an hand to maintain the map? :)

tidal zodiac
#

Not really much to do web side atm

raw notch
#

who talked about only the web side? :D

tidal zodiac
#

More the server side work that just queued up... but ets2map stuff is basically hocked in will all the official tmp stuff now so...

raw notch
#

I see

tidal zodiac
#

What I'm trying to say it's more reliant now on the TruckersMP side of things with the game servers rather than the map side. So atm I don't see there being much work to do with it other than the obvious bug fixes and map updates... which really requires a solid week of work put into it, which I'm finding hard to find right now. But I'm open for suggestions and maybe some help here and there

raw notch
#

well, without reading the code is quite difficult think to help

#

already told you that you need more devs @tidal zodiac, right? :D

unkempt grotto
#

I think I see where this is going ๐Ÿ˜

tidal zodiac
#

We're a little full at the moment...

raw notch
#

yes, I see TMP got two new devs recently

#

but they do web

tidal zodiac
#

Yep

small ermine
#

Keep trying to convince him ๐Ÿ˜‰

#

Or her xD

raw notch
#

I'm focusing on the web map problem (but I think TMP platform has also other problems) because for Trucky users, map service is considered the most important feature, people love it.
btw, I'm not trying to convince Krash, we already talked about my volunteer candidature about TMP dev :)

small ermine
#

I see what you're saying ๐Ÿ˜›

raw notch
#

generally speaking, I always think that devs are never enough :D

small ermine
#

Can never have too many devs

#

Unfortunately in my case, one seems to be all I get ๐Ÿ˜‚

raw notch
#

me too :D

#

almost for the app

#

if anyone interested in developing in react native and nodejs let me know :)

tidal zodiac
#

I see where your coming from with the map issues so I'll see what I can do

small ermine
#

I don't even know much js stuff ๐Ÿ˜‚

#

I need to get started on learning some of that

raw notch
#

@tidal zodiac, anyway my offer to help you with what I can do/think/access the code, is always valid :)

#

and, as always, thank you

tidal zodiac
#

I'll see what I can find

#

I might be able to help you with something too ๐Ÿ˜‰

raw notch
#

oh really???

rich flint
#

Oi @raw notch, i have a good idea for truckymap, what about it showing which direction the vehicle/player is heading as ETS2Map API has it in (heading), it could be something worth putting in :3

#

I wonder how ETS2Map has the player tracking so smooth, hmm

raw notch
#

because ets2map can ping every 1 second

#

me not. every 3

rich flint
#

rip

#

i mean like, the players move smoothly and not like just instant move of a dot

#

like transitions or animations

#

idk

#

it's a bit annoying when ETS2Map API just keeps saying im offline when i am actually online, and then says im online again randomly

#

it's weird

small ermine
#

๐Ÿ˜‚

raw notch
#

@rich flint because ets2map has a mechanism of prediction using the direction, something like this

rich flint
#

ahhh

#

if only that was on trucky :3

#

and if only it wasn't a max of 3 seconds per ping

raw notch
#

Kat allowed me for 3 seconds

rich flint
#

oof

tardy smelt
#

The issue isn't the amount of dev but the licensing we gotta do for dev that is expensive after x amount ๐Ÿ˜›

raw notch
#

@tardy smelt which kind of licensing?

tardy smelt
#

The Atlassian product we use

toxic quarry
#

Jira?

raw notch
#

Jira? confluence?

#

I love Jira

cinder spear
#

jira is very nice, but a lot of advanced functionality is a UX nightmare

raw notch
#

naaaaaaa best support and issue tracking sw so far

#

if users without it knowledge can use it, it's ok

cinder spear
#

just saying it still has a lot of room for improvement

raw notch
#

have you tried jira 7?

cinder spear
#

using it daily

raw notch
#

lot of features brings always ux complexity

cinder spear
#

very true

raw notch
#

but jira is so flexible that utility overtake complexity

cinder spear
#

a product can be both easy to use and flexible/powerful/"complex"

raw notch
#

don't cost too much neither

tardy smelt
#

@raw notch your site is down I think ๐Ÿ˜›

small ermine
#

xD

#

Nah, it's just your internet kappa

tardy smelt
#

It's back up now

raw notch
#

@tardy smelt no alerts from external monitors

tardy smelt
#

I was getting the CF error

raw notch
#

maybe unlucky because uptimerobot pings every 1 minute ๐Ÿ˜„

pearl badger
#

tmptracker does every 15 seconds lol

unkempt hamlet
small ermine
#

(๐ŸŽ‰)

pearl badger
mystic ridge
#

looks like Krash' traffic page is broken

#

showing 0 players for all cities

tardy smelt
#

Known issue ๐Ÿ˜›

brazen hatch
#

Then it is quiet to drive everywhere is see only Good things out of it troll

ember canyon
#

Hello I have a question I found a bug on mp which is interesting I would like players not to find out this bug

north flax
#

Make a feedback or pm me on the forum please.

ember canyon
#

tks Wolf

lilac rain
#

So this is where the cool kids hang out

north flax
ember canyon
#

๐Ÿค”

forest hedge
#

Well I'm here so I guess so kappa

devout harbor
#

I have joined in here too, but i can maybe show my work instead in #ets2-modding

north flax
#

This isn't really a show off your work channel, it's more of a discussion channel. Ofc, that doesn't mean no show-off, but don't come here just to do that

small ermine
#

I come here to learn some stuff too ๐Ÿ˜›

#

When I need help, which is quite often ๐Ÿ˜‚

plucky beacon
#

xD

small ermine
#

Also, I've kinda got themes working ๐Ÿ˜›

#

Key word kinda ๐Ÿ˜‚

full locust
#

Hey guys, does anyone have experience with nginx? How difficult is it to implement some sort of role based access for the backend?

unkempt hamlet
#

Do not use nginx for that

pearl badger
#

^

#

Yu make access to the back end in the backend GWqlabsMmLol

rich flint
#

Better off with apache i think

#

Idk

unkempt hamlet
#

Neither Apache nor nginx has role based access abilities whatsoever

full locust
#

Then can I proxy from nginx to some ldap server?

unkempt hamlet
#

Yes, you can

#

In fact, there is a prebuilt module for that

full locust
#

Really? Thanks Iโ€™ll look into it ๐Ÿ˜.

pearl badger
pearl badger
#

seems not

full locust
#

Seems not what?

pearl badger
#

unrelated.

ember canyon
unkempt grotto
#

Wrong channel for that, you can comment on it asking for it to be closed

ember canyon
#

@unkempt grotto you can give me the channel

unkempt grotto
#

There is no channel where you can ask for that, as I say, you can comment on the feedback asking for it to be closed

ember canyon
#

ok tks

tardy smelt
#

I did it for you

ember canyon
#

JM Thank you very much โค

vernal glen
#

please dont mind .. when can we expect 1.32 ? Devs

brazen hatch
#

Please have patience, it can take 1 day but also 2 weeks.
When they are done the update will come to us

plucky beacon
#

And if you rushed it, youโ€™d be complaining about bugs so Iโ€™d give it some time

tardy smelt
#

It will come when it will come wesmartgif

brazen hatch
#

will also the DLCS that have come out after may supported?

vernal glen
#

I have to prepare my team for sat convoy. All the people will not have high speed internet. If you say it won't come by Friday then we will make our arrangements to downgrade back to 1.31. It is a need not eagerness.

lilac rain
#

I hope you have backups then

#

I'd say downgrade now, and when news comes, update

#

Also, this is developers chat not ask the developers when the game is updated

small ermine
#

It's not a need ๐Ÿ˜‚

#

And yeah, it's for developers, not for asking developers

pearl badger
#

You dont need 1.32

#

Youre saying they have to work harder coz one random person told them to? Shouldve planned ahhead like a proper VTC @vernal glen

#

@vernal glen tell them to download 1.31 ahead of time then instead of on the day GWqlabsMmLol

vernal glen
#

@pearl badger @pearl badger No need for tag. I am not dumb. I know what to do. You dont have to tag and tell me okay???

#

everyone tries to judge people. Look at yourself first

kindred tendon
#

@vernal glen Chill. No need to have a go at anyone, it was just some useful info.

vernal glen
#

Shouldve planned ahhead like a proper VTC what does this mean??

#

he is teaching me what to do

kindred tendon
#

That was kinda rude, but no need to have a go at him back in our server. Take it to DMโ€™s if you wish to do so

vernal glen
#

sorry for that he tagged me two times i got bit angry for that.

small ermine
#

O.o

raw notch
#

that escalated quickly

rich flint
#

that escalated quicker than my internet speeds

small ermine
#

xD

ember canyon
#

๐Ÿ˜„

full locust
#

Lool well then, now onto some dev related stuff. Would it make sense to have a database inside a docker container?

pearl badger
small ermine
#

I seem to be having issues with deserializing JSON in c#..

#

Additional text encountered after finished reading JSON content: ๏ฟฝ. Path '', line 2, position 1.
I get the data as JSON fine, but actually deserializing it seems interesting.

pearl badger
#

Why is there a random character

#

Send the json file GWseremePeepoThink

small ermine
#

The thing is the JSON itself is fine ๐Ÿ˜‚ also, new problem

#

sometimes it works, sometimes it does that error, and sometimes it does something about threads ๐Ÿ˜‚

#

I literally got it working 5 minutes ago, restarted the program to see if it still worked and nope, JSON again ๐Ÿ˜‚

pearl badger
#

Then the json file isnt fine

#

What are you even saving

raw notch
#

@small ermine parsing that Json is not so simple as parsing a file. you receive Json string from a buffered socket, so sometime the json string is truncated because divided in more than one packet. my code should reconstruct the buffered Json but sometime fails

small ermine
#

Yeah, it's only sometimes xD

lethal willow
#

I had the same issue before in c#. It is because it gets truncated like dowmeister said

small ermine
#

Yeah

small ermine
#

I gave up cause it's different errors every time and I have no idea what I'm doing so I don't want to break it even more ๐Ÿ˜‚

ember canyon
#

๐Ÿ˜„

unkempt hamlet
pearl badger
#

Random link

ember canyon
pallid shell
tardy smelt
#

Why don't you just use the terminal? ๐Ÿ˜›

lethal willow
#

I use VSCode with the integrated terminal.

ember canyon
#

Hy banana Wtf

amber oasis
#

VSCode's is alright, but nothing beat a proper terminal

lethal willow
#

Nah, but it's very convenient when you're coding to use it

ember canyon
#

happy birthday JM

tardy smelt
#

Thanks

unborn flume
#

Happy Birthday J-M

lilac rain
#

Happy birthday ski mask

tardy smelt
#

Thanks!

ember canyon
#

good morning develop

pearl badger
small ermine
#

๐ŸŽ‰

fickle bloom
#

COOL

pearl badger
#

oof

tardy smelt
#

That look painful xD

toxic quarry
#

That looks ๐Ÿคข

brazen hatch
#

RIp your Internet ๐Ÿ˜ฆ

rich flint
#

i'd love that upload speed xd

brazen hatch
#

Hehe, it is not use usual in The Netherlands that different, normaly it is reversed more logically here XD

rich flint
#

i have 220Mbps down and 15Mbps up, 38mbps up is like wuuut

#

and 0.91mbps down is just. oof

#

if the only thing i did was upload, that would be great xd

brazen hatch
#

around 95 down and and 90 up

toxic quarry
#

probably his ISP was doing maintenance

brazen hatch
#

Maby but that is most time at night when the do maintenance

rich flint
#

wish my upload was better but meh

toxic quarry
#

200 dn 50 up

rich flint
#

im meant to get 200mbps down but i get average 218-221mbps xd

brazen hatch
#

I don't use the upload on that high speed :P
Normal max 40 up

rich flint
#

if my street could get it i'd get 350Mbps down and 20Mbps Up

brazen hatch
rich flint
#

but when it becomes available i get free upgrade to 350 ๐Ÿ˜„

toxic quarry
#

damn that up speed is dope

rich flint
#

i could do with upload speeds like that

brazen hatch
#

Fiberglass ๐Ÿ˜„

rich flint
#

cos i upload yt vids all the time

#

fibreoptic you mean?

brazen hatch
#

yea also good ๐Ÿ˜›

#

It is fiber

#

In orange tubes

rich flint
#

we have fibreoptic (true fibre too)

toxic quarry
#

i can upgrade to 100 up but i dont really need that

rich flint
#

and cable tv

brazen hatch
#

we can upgrade to a 500/200 for 10 euro extra a month

mystic ridge
#

@rich flint that's because you're over provisioned for extra headroom ๐Ÿ˜‰

#

Theoretically you should be able to hit 230 Mbps

pearl badger
#

or you just buy a router GWlulurdMegaLul

opaque quail
#

actually

#

theres a better provider

#

this is good value if its true

pearl badger
#

55 euros for 60Mbps

#

hm

opaque quail
#

Nah

#

55 for "400/200" and 30 for 60 lel

#

@pearl badger

ionic tree
opaque quail
#

wow

gentle hornet
#

Fastest here is gigabit at 1Gb down and 50Mbps up but I pay for 100Mbps down and 10Mbps up

dire valve
#

Does anyone use Microsoft Visual Studio C++

floral mist
#

only when working with the SCS SDK

orchid egret
#

I use Visual Studio when I do C++

dire valve
#

Same

fervent axle
#

just a question guys, do you prefer cakephp or laravel? ๐Ÿ˜ƒ

rich flint
#

cakephp?

#

never heard of it

fervent axle
#

cake is another php framework

rich flint
#

ok now i have xd

fervent axle
#

I've installed Laravel this week ( cuz before I didn't used any framework before kappa truestory #howtofailinsecurity ) I'm testing but idk if one of you is using cake to see your opinions about it

rich flint
#

if i recall, TruckersMP Website is cakephp

#

can't remember 100%

lethal willow
#

Hm, I thought it was Laravel

fervent axle
#

@rich flint they use laravel, not cakephp I'm so sure

rugged copper
#

Yeah TruckersMP site is Laravel

north flax
#

Our website is laravel ye

fervent axle
#

But the question is laravel is bae? kappa

#

Seriously, who is using cakephp to get his opinion

#

?

pearl badger
#

why would tmp use php

cinder spear
#

because for small to medium size projects it's a very good option

#

and because most of the time the choice of language/platform comes down to what the developer/team knows

pearl badger
#

it was rhetorical

small ermine
#

New piece of software is on the way, it's starting to look better than a command prompt ๐Ÿ˜‚

tardy smelt
#

I have personally use CakePHP and Laravel is way better IMO

fervent axle
#

Ok thanks JM ;)

tardy smelt
#

It is also pretty easy to learn Laravel. You just need to know how the framework work. Also if you setup Vagrant and Homestead it will be easy to develop web app locally.

pearl badger
#

GWseremePeepoThink i just use quart

fervent axle
#

Oh didn't know these frameworks, will take a look, thanks J-M

amber oasis
#

laravel is great

fervent axle
#

when I said I didn't know these frameworks, I mean I didn't know Vagrant and Homestead ;p , ye I confirm Laravel is just so nice imo

lethal willow
#

Lumen is also good for small projects

amber oasis
#

Vagrant and Homestead aren't frameworks ๐Ÿ˜›

#

Vagrant is great for reproducible VMs, and homestead uses vagrant to build a reproducible Laravel vm

#

great part about it is if you mess up the VM, just destroy it (vagrant destroy) and run vagrant up again

fervent axle
#

ahhhhhh oki thanks ๐Ÿ˜„

main spade
#

Microsoft has just put MS-DOS v1.25 and v2 onto GitHub.

#

Yup

amber oasis
#

heh, cool

small ermine
#

Oooh

lethal willow
#

I hate regex ahhhh

cinder spear
#

regex is easy

prisma robin
#

m2 xD

pearl badger
#

Regex is fun

unkempt hamlet
#

Regex is unfun

unkempt hamlet
#

It is so painful to use HDD as a main drive...

prisma robin
#

๐Ÿ˜‚

north flax
#

When you're used to SSD's, it is ๐Ÿ˜›

cinder spear
#

doesn't matter how hard I press this macbook won't register

prisma robin
#

Ye ๐Ÿ˜‚

ember canyon
#

๐Ÿ‘€

amber oasis
#

whew

#

I has nixos on a server nao

#

โค

thick hatch
#

Hey peeps

#

Does TMP have some sort of basic API?

#

I would like to get user's permanent TMP ID based on his Steam ID

amber oasis
#

that's not possible with TMP's APIs

thick hatch
#

:(

amber oasis
#

oh nvm

#

forgot player supports steamid

thick hatch
#

And based on Steam username?

amber oasis
#

xD

thick hatch
#

Oh

#

Niiice

unkempt grotto
thick hatch
#

Lovely

amber oasis
#

forget stuff when you don't touch it over half a year+

thick hatch
#

I can request with a SteamID and get the TMP ID

#

Thanks anyway @amber oasis

amber oasis
thick hatch
#

Hmm

#

Actually nvm

pearl badger
fervent axle
#

Someone can help me w/ my spaghetti code cuz it does work but not all times, just it works only more than 1 hour but after that, it cannot see if another one has been added to the team even if it can edit the message

Don't blame me, I'm coding w/ my logical

const Discord = require("discord.js");

module.exports.run = async (client, message) => {
    if(message.channel.id === '495946574149713920'){
        const ListEmbed = new Discord.RichEmbed()
            .setTitle('Vigiliant Guardian')
            .setDescription(message.guild.roles.get('495212701333848088').members.map(m=>m.user.tag).join('\n'));
            message.channel.send(ListEmbed)
            .then((message)=>{
                setInterval(function(){
                    message.edit(ListEmbed .setDescription(message.guild.roles.get('495212701333848088').members.map(m=>m.user.tag).join('\n')));
                }, 5000)
            });
    }                   
};;

module.exports.help = {
    name: "get"
}
lethal willow
fervent axle
#

I will see, ty @lethal willow tho

lethal willow
#

ohhhhhhhhhhh

#

the new VSCode update looks sick

#

A lot of new changes Poggers

cinder spear
#

do I dare update in the middle of writing a sizeable patch?

unkempt hamlet
amber oasis
#

You got to update your powershell Troll

ember canyon
#

๐Ÿ‘€

amber oasis
#

Good tech specs

unkempt hamlet
amber oasis
#

not the place to ask blobcateyes

undone plover
#

no..

#

maybe if you boot from a live version or something

#

but no

cinder spear
#

usb is just the connector

#

what's on the other end could be an HDD

amber oasis
#

for usb pens, it's usually eMMC

unkempt hamlet
#

But... what are the differences between Hard and Solid? troll

amber oasis
#

Solid State, vs Hard (platter)

mystic ridge
#

Semantics... doesn't really matter when it's just storage at the end of the day

amber oasis
#

Weeeeell eMMC is not something you want to use for storage

#

it's horrible at random read/write

#

worse than a 90's era spindle

mystic ridge
#

Do most flash storage USB device use eMMC?

#

I have a SanDisk USB 3.0 thumb drive and it gets around 10-20 Mbps

amber oasis
#

sequential

#

do a random read test, and you'll probably look at 2-3kBps

#

probably

#

not all flash based disks use eMMC, but majority of them do

#

eMMC is the same type often used in phones, where random read/write isn't a big deal

#

SSDs on the other hand uses MLC, which has far better random access behaviour, beneficial for a typical disk use

mystic ridge
#

Not bad I guess

#

Couldn't be bothered to finish it's write test, too slow ๐Ÿ˜›

cinder spear
#
Windows System Assessment Tool
> Running: Feature Enumeration ''
> Run Time 00:00:00.00
> Running: Storage Assessment '-drive t -ran -read'
> Run Time 00:00:01.09
> Running: Storage Assessment '-drive t -seq -read'
> Run Time 00:00:05.14
> Running: Storage Assessment '-drive t -seq -write'
> Run Time 00:00:03.22
> Running: Storage Assessment '-drive t -flush -seq'
> Run Time 00:00:01.09
> Running: Storage Assessment '-drive t -flush -ran'
> Run Time 00:00:00.72
> Dshow Video Encode Time                      0.00000 s
> Dshow Video Decode Time                      0.00000 s
> Media Foundation Decode Time                 0.00000 s
> Disk  Random 16.0 Read                       268.79 MB/s          8.0
> Disk  Sequential 64.0 Read                   393.39 MB/s          8.0
> Disk  Sequential 64.0 Write                  408.41 MB/s          8.0
> Average Read Time with Sequential Writes     0.219 ms          8.6
> Latency: 95th Percentile                     0.561 ms          8.6
> Latency: Maximum                             6.677 ms          8.3
> Average Read Time with Random Writes         0.252 ms          8.8
> Total Run Time 00:00:11.58

my usb drive

#

better than my SATAIII ones

amber oasis
#

200+ MB random read is suspicious

#

my nvme drives can only do 30MB/s 4k random read with 1 queue depth and 1 thread

#

at 32 queue depth, I do 270MB/s

cinder spear
#
> Disk  Random 16.0 Read                       502.69 MB/s          8.3
> Disk  Sequential 64.0 Read                   2275.95 MB/s          9.1
> Disk  Sequential 64.0 Write                  1364.53 MB/s          8.7

my nvme for comparison

amber oasis
#

that looks in line with what I'd expect, but that 16k read on a USB drive is kinda suspect still ๐Ÿ˜›

#

Toss atto or Crystal Disk Mark on it?

cinder spear
#

it's a SDSSDE60-2T00-G25 Extreme

ember canyon
#

Welcome back Tuxy Fluffyckaws โค

amber oasis
#

3v: that might explain it

#

I thought you meant it was a thumb stick

#

the kind typically loaded with eMMC

#

not a SSD with USB interface ๐Ÿ˜›

cinder spear
#

it's a storage drive connected with USB, hence a USB drive :p

unkempt hamlet
cinder spear
#

it's not often I've had to tune the network buffer limits

ember canyon
#

Hy Wtf

ember canyon
#

๐Ÿ‘‹๐Ÿป

ember canyon
kindred tendon
#

@ember canyon #programming is regards to people who are developers of websites or games etc. not for chatting with actual developers of TMP. Also, they have nothing to do with feedback

fervent axle
#

I know I'm really really late but since I use Laravel so since 2 weeks, I love it ( I use it more than my fl studio 20 ahahahah )

unkempt hamlet
#

Same deal

fervent axle
#

Note: TY tmp to have show me this :p

lethal willow
#

Laravel is great

opal arch
#

2017/12/18 ...

mystic ridge
#

Also not the place to discuss it.

ember canyon
plucky beacon
#

Yeah laravel is quite nice tbf :p

ember canyon
#

very nice convoy staff โค

fervent axle
#

I remember when I created all things by my code without framework... I know now why I was stupid to didn't use it before

amber oasis
undone plover
#

is that a fortnite emote

amber oasis
#

no

ember canyon
#

๐Ÿค”

cinder spear
#

1604 izlThink

amber oasis
#

it tests against 1804 as well

unkempt hamlet
#

Must-have extension imo

amber oasis
#

ouh

#

yus please

#

one feature I loved from that opera ui test browser

mystic ridge
#

YouTube has that built in now as a feature

unkempt hamlet
#

But it works on YouTube tab only, so it is not the same

mystic ridge
#

True, but I only use YouTube and twitch these days :p

rich flint
#

doesn't work on yt smh

#

saying NOT Supported

#

-_-

unkempt hamlet
#

You will need to enable this chrome://flags:

#enable-experimental-web-platform-features
#enable-surfaces-for-videos
rich flint
#

they're enabled already xd

unkempt hamlet
#

Restart the browser

#

It works for me

rich flint
#

i did about 5 times

#

it now just does nothing

unkempt hamlet
#

check for chrome://flags/#enable-surfaces-for-videos-ms also

rich flint
#

doesn't exist O.o

unkempt hamlet
#

Chrome version?

rich flint
#

Version 69.0.3497.100

#

latest version

amber oasis
#

chrome://flags/#enable-picture-in-picture

#

is also needed

rich flint
#

enabled

#

it's all enabled

unkempt hamlet
#

Well you're out of luck, I guess

amber oasis
#

blobcatsad ditto

#

no workie

unkempt hamlet
#

Check any other website with video

rich flint
#

nothing ever works with me xd

unkempt hamlet
#

It just moved to another repo

rich flint
#

thats always a good thing blobcatneutral

#

oh

#

gitlab? xd

unkempt hamlet
#

btw this guy is the Chrome dev

rich flint
#

wait

amber oasis
rich flint
#

i can do it on plays tv, not through icon but through the context menu if i remove the cover thing

#

aha

#

i have to double right click on youtube for it to work

unkempt hamlet
#

๐Ÿค”

amber oasis
twilit cave
#

#Firefox

amber oasis
#

doing that worked xD

unkempt hamlet
#

lel

amber oasis
#

ยฏ_(ใƒ„)_/ยฏ

rich flint
#

Plesk or cPanel? Which should i use? ๐Ÿ˜‰

unkempt hamlet
#

I used to use cPanel on shared

rich flint
#

i have used cPanel for well over a year, i tried a plesk thing and it seems better

#

but i dont know whether to carry on with cP or go to Plesk

undone plover
#

why is krav banned:/

mystic ridge
#

not the place to ask, but also can't disclose why he's banned, ask him and you'll find out

rich flint
#

he's just gonna say insults to me like he did in PMs to me lols

#

anyway

#

I think i'll try and use plesk

amber oasis
#

cpanel, but learn how to do it yourself and drop panels all together

#

they only increase your attach surface

plucky beacon
#

I mostly use cpanel tbh

small ermine
#

Plesk looks nice ๐Ÿ˜‹

amber oasis
#

@brittle holly see topic, this isn't place to advertise

undone plover
#

woops the server opened on this channel sorry

ember canyon
#

๐Ÿ‘€

plucky beacon
#

Oops

#

Wrong chat sorry lol

unkempt hamlet
#

Okay, remember PiP convo? You can get rid of extension because it is an integrated feature now lol.

amber oasis
#

lol

rich flint
#

Noice

unkempt hamlet
#

Moving from Yandex.Music to Google Play Music manually... No import/export features whatsoever... great

rich flint
#

currently trying to get a better os for my nexus 7 grouper

#

-_-

#

lineageos rly didnt want to work after a few month

#

:/

#

too bad i cant get Android 9 on Nexus 7 2012

#

but meh

ember canyon
ember canyon
#
#Include <scs>
#Persistent
#SingleInstance Force
Process Priority,, Below Normal
min_detections := 3
SetTimer, Loop, 100
detections := 0
TrayTip, AutoHotKey, "Started " . game_shortname . " Auto Parking Brake Disengage",
Return
Loop:
    WinWaitActive, %game_title%
    data := requestTelemetry()
    if (data.game.paused || !data.truck.engineOn)
        return
    if (data.truck.parkBrakeOn && data.truck.userThrottle) {
        detections += 1
        if(detections >= min_detections)
            Send, {Space}
    } else if (detections > 0){
        detections := 0
    }    
    Return
#

auto disengages the parking brake ^ =D

ember canyon
#
[12:28:28] "SempaiDev" (ID: 2330) has been kicked from the server.
[12:28:29] "Player eertugalp" (ID: 2550) has been kicked from the server.
#

Why does it sometimes say Player infront?

amber oasis
#

not the place to ask questions

#

read the topic

ember canyon
#

Where can i see the topic on mobile?

unkempt hamlet
plucky beacon
#

Isnโ€™t that the same as having a problem with a piece of code ๐Ÿค”

opal arch
#

If it was his code :p

plucky beacon
#

Ah ๐Ÿ˜›

ember canyon
#

@unkempt hamlet that was really misplaced, thanks. I only remembered it being in the channel settings. But thats only visible if you have permissions to change it.

civic pier
#

๐Ÿ‡น๐Ÿ‡ท

normal rune
#

๐Ÿ‡ฉ๐Ÿ‡ช is way better

brazen hatch
#

This is not the place for that

ember canyon
small ermine
#

Not seen those before XD

small ermine
#

Ohhh

#

Yeah, the telemetry confused me right off the bat, so I used ETCARS instead ๐Ÿ˜‚

ember canyon
#

xD

#

yeah i need something that starts with the game, thats why i opted for a plugin :D

small ermine
#

Yeah, I don't really know how to explain it, but ETCARS is a plugin that sorta makes the telemetry bit easier ๐Ÿ˜‚

#

You can use it for a number of things. Trackers, dashboards, rich presence in game, etc etc etc

ember canyon
#

i know it runs through telnet

#

i dont need access to any telemetry data tho, i just need something that gets loaded everytime the game starts to modify some files

small ermine
#

Depends what files you're modifying ๐Ÿ˜‰

ember canyon
amber oasis
#

telemetry api doesn't let you modify things in runtime blobcateyes

small ermine
#

Don't know why you'd need to edit it but hey ๐Ÿ˜‚

ember canyon
#

@amber oasis it will, before they get loaded :P

#

Up to that part it works

#

after that it just crashes as soon as i confirm the SDK warning

#

maybe i should only let the plugin run another c# app in the background that does the actual work

ember canyon
#

Okay i opted for that

ember canyon
#

@urban lantern which regkey does the tmp launcher use to get the game path?

small ermine
#

"up to that part it works"

#

I believe the plugins only load when you click OK on that dialog ๐Ÿ˜‚

#

Since that's asking you if you want to use anything with the SDK

ember canyon
#

yep, but early enough for my case ^^

prisma robin
#

Owww @north flax Developer ๐Ÿ˜„

kindred tendon
#

@prisma robin Please donโ€™t random tag developers...... they are very busy people who donโ€™t appreciate been tagged for nothing

prisma robin
#

Outch, I am sorry :x

prisma robin
#

Who wait the 1809 windows version? ๐Ÿ˜›

unkempt hamlet
spare ferry
#

@rich flint see the f!ckers at our school updated and now made it able to block us from using VPN extensions!

#

They did

#

We canโ€™t download extensions anymore sadly

#

They did it intentionally to the whole school

#

To stop us from getting past there firewalls

#

Took them a year to finally block kt

#

It

#

@rich flint but I have more tactics too I learned

#

They donโ€™t change the printers admin logins so I can screw the whole school over

#

Our new WIFI projectors I can control from a PC since they donโ€™t change the logins for those either

#

Kept turning my teachers off to see his reaction it was funny

#

He was amazed how I figured it out

#

English

#

I canโ€™t understand you

unkempt grotto
#

Jay, his phone is broken so he canโ€™t type ๐Ÿ˜‰

spare ferry
#

Oh

#

Lmao

#

Thatโ€™s funny

#

Get it calibrated

unkempt grotto
#

What phone is it and Iโ€™ll google it or something so you donโ€™t have to xd

spare ferry
#

Eh

#

Never trust those

#

They can throw viruses and data stealers in those.

#

@unkempt grotto

unkempt grotto
#

Ah well Iโ€™m an iOS user so thisisfine

spare ferry
#

See weโ€™re lucky on IOS

#

we have really nothing to worry about getting viruses

unkempt hamlet
twilit cave
#

Mainly because you can't do anything unless it's from the store...

unkempt grotto
twilit cave
#

Question: What specs are the TruckersMP servers? If I may. Is ATS/ETS2 heavy on server performance with the amount of packets that would need to be sent?

amber oasis
#

They are about as good as they get in single core performance blobcateyes

twilit cave
#

The simulator games are single threaded?

#

Ouch

amber oasis
#

The server isn't single threaded, but greatly benefit from good single core performance

#

note that most game servers need good single core perf regardless, and most games don't have 2k players/server blobcateyes

#

ARMA is pretty much the top end of that scale at typically 70 players

twilit cave
#

So are the simulator games single threaded?

#

Not the server, but the actual game

amber oasis
#

ยฏ_(ใƒ„)_/ยฏ

twilit cave
#

Does that mean ATS is running DirectX11?

floral mist
#

And both games still run on dx9, but support a hand full of dx11 features
@twilit cave

twilit cave
#

Hmm interesting ty

amber oasis
#

@floral mist if they use dx9 api, they can't use dx11 features ๐Ÿ˜‰

#

and for the record ATS and ETS2 uses the same engine versions, and it targets dx9, not dx11, and hence only support dx9 featureset

#

that said, dx11 won't magically make it do anything better

past shuttle
#

anyone know how to make the js section for an automatic slideshow

#

kinda stoopid

raw notch
#

@past shuttle check owl-carousel

past shuttle
#

ty

north flax
#

Hmm

(* Handle grid initialization.
    Will return the resulting runtimestate. *)
fun evalGrid (Values(x, y, vals, Grid(height, width))) (Grid(newHeight, newWidth)) =
    (Values(x, y, vals, Grid(newHeight, newWidth)));

Does discord's code blocks support sml?

#

Yes, seems so ๐Ÿ˜›

#

So, funfact, sml supports nested comments.

#

It also doesn't support checking if two floating point numbers are equal.

unkempt hamlet
#

Ah, I use /ru/ in the link, that's why

small ermine
#

Whoa

#

That's a big caps lock key ๐Ÿ˜‚

#

That's the most odd keyboard I've ever seen o.0

mystic ridge
#

Vim/vi user spotted

ember canyon
#

๐Ÿ‘€

past shuttle
#

tried the owl carousel and others

#

doesnt seem to work, only thing that is happening are the images just stacking

toxic quarry
#

that means you did something wrong

past shuttle
#

i cant find where tho

#

thats my problem

toxic quarry
#

look at the console

past shuttle
#

everything that i have checked seems fine

toxic quarry
#

I use bxslider, just because I know the code deep enough to customize it for anything I want

raw notch
#

@past shuttle owl-carousel has Js and also css, you must load also the css

unkempt hamlet
amber oasis
#

"turning it off and on again" was a bit simplistic

#

turning it off, turn it upside down, give it some percussive maintenance, turn it back around and then turn it on blobcateyes

#

also wrong in that article, it wasn't as big of an issue as they claim

#

hubble can function with a single gyro

#

it has 6

#

3 of the original design it was launched with, and 3 of a new design that was retrofitted

#

the 3 of original design are all wonky, 1 of the ones with new design was the one that spun too fast, but it still had 2 left, having 3 was "just" nice to have

unkempt hamlet
#

boring

ember canyon
#

๐Ÿ‘€

small ermine
#

XD

amber oasis
#

Github acquisition finalized, Nat Friedman becomes CEO on monday

brazen hatch
#

RipHub i think ๐Ÿ˜ฆ

amber oasis
#

Nah, I doubt MS will mess with GH too much

brazen hatch
#

They say it will be seperate, but every large company says that in the beginning and at the end it is a part or intergraded in someting

amber oasis
#

MS joining OIN was because GH is a part of OIN, so it genuinely seems to be an attempt to turn the ship around for Nadella

#

So far, we've seen them acquire Linkedin and Mojang, and nither has been changed much from how they was prior to the acquisition

brazen hatch
#

We will see where the ship ends. As long as GitHub will be as it is i'm happy

amber oasis
#

so far, Nadella hasn't shown any negative views that would suggest Github would be worse off either

brazen hatch
#

I don't use Linkedin, but Mojang is moved for a large/all to Micrsoft Studios as fas as i know

amber oasis
#

It's a subsidiary, but nothing has changed except for that, they produce their games independently from Microsoft Studios direction

raw notch
#

I think they are interested in merging git technology to overtake team foundation (because it sucks)

raw notch
#

there is mine ๐Ÿ˜ฑ ๐Ÿ˜ฑ ๐Ÿ˜ฑ ๐Ÿ˜ฑ

unkempt grotto
#

I think mine is on that list donotwant

fervent axle
#

Oh damn they know also my psswd for all website kappa #1234

#

The best leak ever tho ๐Ÿคฃ

amber oasis
#

Yeah, everyone should change their pin blobcateyes

brazen hatch
#

First i hoop i'm good here. If not let me know or delete it!
i'm working on my own Discord bot with Discord.js libary and i have made some code to set the event handler in separate files, but somewhere i oversee it somewhere and don't know where.
I have searched on Google but i don't get anything that i can use (Or i search wrong)

Code

///// EVENT RUNNER /////////////////////////////////////////////////////////////////////////

fs.readdir("./events/", (err, files) => {
  if (err) return console.error(err);
    let efiles = files.filter(f => f.split(".").pop() === "js");
    if(efiles.length <= 0) {
        return console.log(clc.yellowBright(dateFormat(now, "[HH:MM:ss]"),"[EVENT] Geen events geladen!"));
    }
    console.log(clc.yellowBright(dateFormat(now, "[HH:MM:ss]"),`[EVENT] Laden ${efiles.length} event(s)!`));
    
  efiles.forEach((f, i) => {
    const event = require(`./events/${f}`);
    let eventName = f.split(".")[0];
      console.log(clc.green.bold(dateFormat(now, "[HH:MM:ss]"),`[EVENT] ${i + 1}: ${f} geladen!`));
    bot.on(eventName, event.bind(null, bot));
  });
});

///// END //////////////////////////////////////////////////////////////////////////////////
#

Error output console log:

[nodemon] starting `node bot.js`
[22:28:13] [CMD] Laden 7 commando(s)!
[22:28:13] [CMD] 1: avatar.js geladen!
[22:28:13] [CMD] 2: help.js geladen!
[22:28:13] [CMD] 3: meme.js geladen!
[22:28:13] [CMD] 4: purge.js geladen!
[22:28:13] [CMD] 5: say.js geladen!
[22:28:13] [CMD] 6: serverinfo.js geladen!
[22:28:13] [CMD] 7: userinfo.js geladen!
[22:28:13] [EVENT] Laden 1 event(s)!
[22:28:13] [EVENT] 1: guildMemberAdd.js geladen!
location\to\bot\bot.js:43
    bot.on(eventName, event.bind(null, bot));
                            ^

TypeError: event.bind is not a function
    at efiles.forEach (location\to\bot\bot.js:43:29)
    at Array.forEach (<anonymous>)
    at fs.readdir (location\to\bot\bot.js:39:10)
    at FSReqWrap.oncomplete (fs.js:135:15)
[nodemon] app crashed - waiting for file changes before starting...
amber oasis
#

what is the contents of guidlMemberAdd.js?

brazen hatch
#

Currently empty

amber oasis
#

well, that's why

#

you're calling .bind on nothing

#

it being empty means event is "Undefined", which doesn't have .bind()

brazen hatch
#

Seems logic yea, i oversee that part!
When i put my code in the file it works.

Thanks. Maby time to sleep for me XD

amber oasis
#

usually not a bad idea when you forget such simple things yeah ๐Ÿ˜›

brazen hatch
#

Yeah it was to easy to know that it will not work with a empty file
Stupid me

ember canyon
#

I have a question as to whether a staff member says ugly words can be kicked out

#

I have a proof with the picture

unkempt hamlet
#

This question isn't suited for this channel btw.

ember canyon
#

ok sory

unkempt grotto
#

If a staff member is using foul language on TruckersMP services @ember canyon you can send it to feedback at https://truckersmp.com/feedback and itโ€™ll be looked in to, evidence rules are the same as regular reports so it has to be within 1 month of the incident happening ๐Ÿ˜‰

#

this isnโ€™t a channel to talk about those things though this is for getting help and advice for development related coding and things

ember canyon
#

tks heyhococo ๐Ÿ‘Œ

amber oasis
#

rewriting my bot, and things work blobcateyes

lethal willow
#

what bot

north flax
#

BotBot

#

Thanks for that autofill, discord

#

Without telling me in advance

amber oasis
#

EmojiBot

#

3v: you've used discord.net before, what event is fired if the bot is kicked?

#

discord.LeftGuild doesn't seem to fire at least, and UserLeft doesn't make any sense

cinder spear
#

don't think I've ever considered that someone would want to kick my bots

amber oasis
#

so you don't do any database cleanups in that event? ๐Ÿ˜›

cinder spear
#

none of my running bots keep databases (or any customization)

amber oasis
#

ah

#

that's also a way to deal with that ๐Ÿ˜›

north flax
#

The simple way ๐Ÿ˜›

cinder spear
#

I wrote a discord.js bot that someone else runs and maintains that does keep a "database", but it's so little data it doesn't do clean up

amber oasis
#

yeah, I just like keeping my database clean with only current servers

north flax
#

Sadly not an option for all chat apps. For Telegram you cannot get a list of channels the bot is in, annoyingly

amber oasis
#

even if it's small

#

oh well

#

I guess I won't bother with cleanup

cinder spear
#

you can get a list of all guilds you're in and do it periodically that way

amber oasis
#

yeah, that's just ugly

cinder spear
#

it's not that ugly as it also catches cases where the bot was disconnected when it got kicked or left

#

and couldn't catch the event live

amber oasis
#

I handled that differently in discord.js

#

on connect as well as live

#

ie. logical events, rather than just enumerating it over and over and over again

#

you know... scalable way:P

pearl badger
#

discord js bot

#

smh

lethal willow
#

why is that smh?

amber oasis
#

cause it's javascript blobcateyes

brazen hatch
#

Js is the only thing i understand a bit after CSS/HTML/PHP
just the basic web stuff
So for me it was easy, i use Discord JS as base XD

cinder spear
tawdry comet
#

HeyGuys
I'm working on a profile edit page at the mo, I'm trying to work out how I can make a text box show, but block typing/editing.

Like, the username isn't editable, but I want a text box to be shown

#

Any help would be appreciated catlove

raw notch
#

readonly

#

or disabled

tawdry comet
#

thanks @raw notch catlove

brazen hatch
#

And also do not connect it to the form post, have seen People who has added to the post form with a disabled box ๐Ÿ˜‚

amber oasis
#

more important: don't wire it up on the receiving end ๐Ÿ˜‰

formal cloak
#

i asked in support. not sure that was the right place to do it. Is anyone available to assist with TMP API to show if a server is online or offline??

pearl badger
#

the documentation has an endpoint for getting the servers

lethal willow
#

there's an online property

prisma geode
pearl badger
#

oh boy

#

that is so untidy

#

why white on yellow

#

.-.

thick hatch
#

It's pretty good actually @prisma geode

prisma geode
#

Thanks ๐Ÿ˜ƒ

pearl badger
#

does it scale well

#

also why is it using the machine name and not the username

#

or is your username really DESKTOP-

#

and the serial

high lion
#

Hi

ember canyon
#

i agree with @pearl badger design wise its more of a meh

plucky beacon
#

I think the concept of it is good though

small ermine
#

Aye

autumn pagoda
#

Can anyone help with .htaccess url rewrite/redirect.

Example:
I need this:
http://oldDomain.com/page

Into this:
https://newDomain.com/page

spare ferry
#

I really hate code thiefโ€™s

past shuttle
#

anyone know any trackers other than truckersdata?

unkempt hamlet
#

Anyone using Phoenix (Elixir)?

pearl badger
#

well TMPTracker used to exist but has since been discontinued

raw notch
#

@past shuttle vtlog?

past shuttle
#

Thereโ€™s btlog

#

But you canโ€™t do much with that

#

Unless they have an api

quick glen
#

We have an API

#

So it really depends on what you want to do?

past shuttle
#

track jobs onto a website with more detail rather than the jobs showing up in discord

#

if oyu know what i mean?

raw notch
#

vtlog do it. vtlog API has all data you need

thick hatch
#

Any dev here willing to help me with something?

unkempt hamlet
#

?

thick hatch
#

I don't mean TMP dev by that ๐Ÿ˜‚

unkempt hamlet
#

leaves

lethal willow
#

It's probably best just to ask your question and somebody with the knowledge will answer

pearl badger
#

well a suggestion is to ask the question