#programming
1 messages ยท Page 17 of 1
it has a modal on top lol
oh that site i don;t know it was existed
Trucky too
:D
i only use trucky to stalk friends XD
lol i googled myself
me too :D
O.o
it's why I created it :D
lol
ur all creepy sometimes lmfao
ets2map is still dead
grrr
wait
why did it cache
Ctrl+F5 saves the day
google hates you ๐ฎ
ets2map is tracking only 3 servers now
ets2 map isnt dead
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
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)
I agree with you
until we started getting kicked for saying any thing bad about viva
like c'mon
anyway
that happened
we dont want it do repeat
@unkempt hamlet can I ask what part of the platform you are involved in?
Web
tbf all but 1 dev is web 
lol for real?
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
er
so only 1 for server ๐ฎ
uhm
i think
I think Kat is not only web
Kat does servers and web iirc
where do they need 4 for web?
So much updates they do not XD
And if they update then whole TMP against them XD
well, not only servers, I think is a mod dev too
well, TMP hasn't a Dev recruitment for real
updating something isn't that difficult if they know what they are doing
mwl & rootkiller were only ones a long long time ago
lets ask kat if he does MP mod as well xd
Sgt, 'Sorry, but ban history has been hidden from TruckersMP website and API.' on the translate part from helper.mp XD
ye ik
someone who did saved all the bans in a db xd https://truckersmpdb.com/
I think truckersdb was quite illegal
truckersmpdb u mean
how is it illegal when the API is public
i think more sites have saved data

i think also some vtc's have saved data from drivers
because a site shouldn't collect and expose so many data
without any permissions about the users
it is not realy expose, TMP give the data public so
Trucky doesn't store data. it's all live alone call
yeah you are right there, but one cannot really do anything when the API "was" public
my api is never saved properly
but because it is hided now it can another thing
i only cache it everytime someone visits it
it refreshes every minute if someone is always using it
last someone checked was
Gonna point out, the list of who does what someone posted is a bit inaccurate ๐
we didn't believe that either
I thought all devs here were mod devs lol
well kat is a dev that breaks things last i checked
@north flax like the Sgt said, because you don't disclosure what you do :D so people guess and let the fantasy run :D
I do random stuff :>
oof
you aren't addinng anything interesting to the discussion :D
random stuff is large,
Site, forum, api, server XD
Ye :p
I do web, forum, api, security, a little bit of game stuff occasionally, some server stuff occasionally, etc.
ah, a note for who take care of the forum. do you know that the pagination doesn't work from 2 years almost? :D
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
pagination is dead on mobile for me :P
The say loading, but nothing load
now....when? two days ago still broken
for my this morning on mobile still
I toggled it when doing work today
i love the forum not being wide as the screen :3
but i miss the truckersmp profile buttons on profile pages :p
That button has been back for a while now-
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
im blind
Get glasses
i like the screen with but we can not get anything
the only thing i missing realy is the dark theme, but the working on it i read somewhere on the forum
im just laughing at those who are annoyed dark theme is gone
I use glasses irl, but my eyesight isn't that bad. I can legally drive car without glasses :p
@north flax me too didn't need glasses at your age for legally drive the car... but after ... :(
haha, the most who can't drive are from countrys where they can also not drive in rl XD
Gonna be much easier to maintain as well
TMP oauth?
better than linking databases
to sign into forum
you have to sign in to tmp website
ah
We used a custom login provider previously.
ยฏ_(ใ)_/ยฏ
i think the image part is changed XD
O.o
hm. neat
image problem fixed XD
so some not translated parts for NL Trucky and NL helper.mp translated XD
@brazen hatch translate.truckyapp.com
please :D
(in about hour you'll find your translations in the app)
Haha is also posible
Hello developers! ๐
Hii
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?

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
So you have a checkbox which you basically want to know whether it's checked or not?
Problem for now is you can't differ between no bans and hidden bans.
yeah...
Laravel 5.7 was just released
๐ฎ
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
which is gonna be annoying
Yeah
but not as annoying as ets2map dying all the time 
๐๐
you really are triggered about that huh? @rich flint
ye
lol
loool
wat
eu1 server ๐ค
ยฏ_(ใ)_/ยฏ
@small ermine itโs not anywhere near... weโre only in September fgs
Nah
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
ok just casually download wintermod
loool
IT is almost, a colleague on my work has a snowman on his tool cart. So it is close enough for me ๐
๐คฆ let us get out of summer first
๐
It's gone cold yeah
if we didnt have the hot weather, we would be having BBQs all the time
cos 20c is hot for UK
Yeah
but it's freezing for some reason
๐
if it is here 25c it feels also to hot for me XD
lol
I did do an update for that a while ago just never got it to go live
As in the wintermod on unknowns launcher
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
a Trucky launcher ๐ค ๐ค ๐ค
๐
markdown fails :D
Hello

Some changes have been pushed for the player end point on truckersmp API
Updated API docs https://stats.truckersmp.com/api#players_lookup
๐
is there a way to make it tell the difference between hidden and no bans? :3
@rich flint If the user is banned and there are no bans 
There is no way to tell for sure

Maybe it can be solved, but will require a bump of API version
adding a totalBans: Number field to the /player/{id} endpoint wouldn't need a version bump and would allow telling the difference, no?
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
Fixed it for ya... at least EU #2....
@tidal zodiac don't you want an hand to maintain the map? :)
Not really much to do web side atm
who talked about only the web side? :D
More the server side work that just queued up... but ets2map stuff is basically hocked in will all the official tmp stuff now so...
I see
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
well, without reading the code is quite difficult think to help
already told you that you need more devs @tidal zodiac, right? :D
I think I see where this is going ๐
We're a little full at the moment...
Yep
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 :)
I see what you're saying ๐
generally speaking, I always think that devs are never enough :D
Can never have too many devs
Unfortunately in my case, one seems to be all I get ๐
me too :D
almost for the app
if anyone interested in developing in react native and nodejs let me know :)
I see where your coming from with the map issues so I'll see what I can do
I don't even know much js stuff ๐
I need to get started on learning some of that
@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
oh really???
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
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
๐
@rich flint because ets2map has a mechanism of prediction using the direction, something like this
ahhh
if only that was on trucky :3
and if only it wasn't a max of 3 seconds per ping
Kat allowed me for 3 seconds
oof
The issue isn't the amount of dev but the licensing we gotta do for dev that is expensive after x amount ๐
@tardy smelt which kind of licensing?
The Atlassian product we use
Jira?
jira is very nice, but a lot of advanced functionality is a UX nightmare
naaaaaaa best support and issue tracking sw so far
if users without it knowledge can use it, it's ok
just saying it still has a lot of room for improvement
have you tried jira 7?
using it daily
lot of features brings always ux complexity
very true
but jira is so flexible that utility overtake complexity
a product can be both easy to use and flexible/powerful/"complex"
don't cost too much neither
@raw notch your site is down I think ๐
It's back up now
@tardy smelt no alerts from external monitors
I was getting the CF error
maybe unlucky because uptimerobot pings every 1 minute ๐
MDB 4.5.10 has released https://mdbootstrap.com/changelog/
(๐)

Known issue ๐
Then it is quiet to drive everywhere is see only Good things out of it 
Hello I have a question I found a bug on mp which is interesting I would like players not to find out this bug
Make a feedback or pm me on the forum please.
tks Wolf
So this is where the cool kids hang out

๐ค
Well I'm here so I guess so 
I have joined in here too, but i can maybe show my work instead in #ets2-modding
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
I come here to learn some stuff too ๐
When I need help, which is quite often ๐
xD
Hey guys, does anyone have experience with nginx? How difficult is it to implement some sort of role based access for the backend?
Do not use nginx for that
Neither Apache nor nginx has role based access abilities whatsoever
Then can I proxy from nginx to some ldap server?
Really? Thanks Iโll look into it ๐.

seems not
Seems not what?
unrelated.
Hello is someone available to close me Feedback : https://truckersmp.com/feedback/view/14290
Wrong channel for that, you can comment on it asking for it to be closed
@unkempt grotto you can give me the channel
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
ok tks
I did it for you
JM Thank you very much โค
please dont mind .. when can we expect 1.32 ? Devs
Please have patience, it can take 1 day but also 2 weeks.
When they are done the update will come to us
And if you rushed it, youโd be complaining about bugs so Iโd give it some time
It will come when it will come 
will also the DLCS that have come out after may supported?
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.
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
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 
@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
@vernal glen Chill. No need to have a go at anyone, it was just some useful info.
Shouldve planned ahhead like a proper VTC what does this mean??
he is teaching me what to do
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
sorry for that he tagged me two times i got bit angry for that.
O.o
that escalated quickly
that escalated quicker than my internet speeds
xD
๐
Lool well then, now onto some dev related stuff. Would it make sense to have a database inside a docker container?

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.
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 ๐
@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
Yeah, it's only sometimes xD
I had the same issue before in c#. It is because it gets truncated like dowmeister said
Yeah
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 ๐
๐
Sublime Merge is a sweet git client, from the makers of Sublime Text


Why don't you just use the terminal? ๐
I use VSCode with the integrated terminal.
Hy

VSCode's is alright, but nothing beat a proper terminal
Nah, but it's very convenient when you're coding to use it
happy birthday JM
Thanks
Happy Birthday J-M
Happy birthday ski mask
Thanks!
good morning develop

๐
oof
That look painful xD
That looks ๐คข
RIp your Internet ๐ฆ
i'd love that upload speed xd
Hehe, it is not use usual in The Netherlands that different, normaly it is reversed more logically here XD
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
around 95 down and and 90 up
probably his ISP was doing maintenance
Maby but that is most time at night when the do maintenance
200 dn 50 up
I don't use the upload on that high speed :P
Normal max 40 up
if my street could get it i'd get 350Mbps down and 20Mbps Up
we have a 100/100, but on prime time it is mostly lower than on a good moment
http://www.speedtest.net/result/7665321575.png
but when it becomes available i get free upgrade to 350 ๐
damn that up speed is dope
i could do with upload speeds like that
Fiberglass ๐
we have fibreoptic (true fibre too)
i can upgrade to 100 up but i dont really need that
and cable tv
we can upgrade to a 500/200 for 10 euro extra a month
@rich flint that's because you're over provisioned for extra headroom ๐
Theoretically you should be able to hit 230 Mbps
or you just buy a router 
fastest here xD 30 euros
actually
theres a better provider
55 euros
this is good value if its true
wow
Fastest here is gigabit at 1Gb down and 50Mbps up but I pay for 100Mbps down and 10Mbps up
Does anyone use Microsoft Visual Studio C++
only when working with the SCS SDK
I use Visual Studio when I do C++
Same
just a question guys, do you prefer cakephp or laravel? ๐
cake is another php framework
ok now i have xd
I've installed Laravel this week ( cuz before I didn't used any framework before
#howtofailinsecurity ) I'm testing but idk if one of you is using cake to see your opinions about it
Hm, I thought it was Laravel
@rich flint they use laravel, not cakephp I'm so sure
Yeah TruckersMP site is Laravel
Our website is laravel ye
But the question is laravel is bae? 
Seriously, who is using cakephp to get his opinion
?
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
it was rhetorical
New piece of software is on the way, it's starting to look better than a command prompt ๐
I have personally use CakePHP and Laravel is way better IMO
Ok thanks JM ;)
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.
i just use quart
Oh didn't know these frameworks, will take a look, thanks J-M
laravel is great
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
Lumen is also good for small projects
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
ahhhhhh oki thanks ๐
heh, cool
Oooh
I hate regex ahhhh
regex is easy
m2 xD
Regex is fun
Regex is unfun
It is so painful to use HDD as a main drive...
๐
When you're used to SSD's, it is ๐
doesn't matter how hard I press this macbook won't register
Ye ๐
๐
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
that's not possible with TMP's APIs
:(
And based on Steam username?
xD
Was gonna say, it shows Steam ID in the API (https://api.truckersmp.com/player/665892)
Lovely
forget stuff when you don't touch it over half a year+


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"
}
@fervent axle I think that may be a caching issue. Try https://discord.js.org/#/docs/main/stable/class/Guild?scrollTo=fetchMembers
I will see, ty @lethal willow tho
do I dare update in the middle of writing a sizeable patch?
Uuummm what?
You got to update your powershell 
๐
Good tech specs

not the place to ask 
for usb pens, it's usually eMMC
But... what are the differences between Hard and Solid? 
Semantics... doesn't really matter when it's just storage at the end of the day
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
Do most flash storage USB device use eMMC?
I have a SanDisk USB 3.0 thumb drive and it gets around 10-20 Mbps
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
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
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
> 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
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?
it's a SDSSDE60-2T00-G25 Extreme
Welcome back Tuxy Fluffyckaws โค
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 ๐
it's a storage drive connected with USB, hence a USB drive :p
it's not often I've had to tune the network buffer limits
Hy 
๐๐ป
Hello, i would like an developer to close my Feedback if possible(if they have some spare time) https://truckersmp.com/feedback/view/15039
@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
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 )
Same deal
Note: TY tmp to have show me this :p
Laravel is great
2017/12/18 ...
Also not the place to discuss it.

Yeah laravel is quite nice tbf :p
very nice convoy staff โค
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
is that a fortnite emote
๐ค
1604 
YouTube has that built in now as a feature
But it works on YouTube tab only, so it is not the same
True, but I only use YouTube and twitch these days :p
You will need to enable this chrome://flags:
#enable-experimental-web-platform-features
#enable-surfaces-for-videos
they're enabled already xd
check for chrome://flags/#enable-surfaces-for-videos-ms also
doesn't exist O.o
Chrome version?
Well you're out of luck, I guess
Check any other website with video
nothing ever works with me xd
MOVED TO https://github.com/GoogleChromeLabs/picture-in-picture-chrome-extension - beaufortfrancois/picture-in-picture-chrome-extension
It just moved to another repo
btw this guy is the Chrome dev
wait
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
๐ค
#Firefox
doing that worked xD
lel
ยฏ_(ใ)_/ยฏ
Plesk or cPanel? Which should i use? ๐
I used to use cPanel on shared
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
why is krav banned:/
not the place to ask, but also can't disclose why he's banned, ask him and you'll find out
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
cpanel, but learn how to do it yourself and drop panels all together
they only increase your attach surface
I mostly use cpanel tbh
Plesk looks nice ๐
@brittle holly see topic, this isn't place to advertise
woops the server opened on this channel sorry
๐
Okay, remember PiP convo? You can get rid of extension because it is an integrated feature now lol.
lol
Noice
Moving from Yandex.Music to Google Play Music manually... No import/export features whatsoever... great
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

#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
[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?
Where can i see the topic on mobile?
Isnโt that the same as having a problem with a piece of code ๐ค
If it was his code :p
Ah ๐
@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.
๐น๐ท
๐ฉ๐ช is way better
This is not the place for that
anyone has experience with these?
Not seen those before XD
Ohhh
Yeah, the telemetry confused me right off the bat, so I used ETCARS instead ๐
xD
yeah i need something that starts with the game, thats why i opted for a plugin :D
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
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
Depends what files you're modifying ๐
telemetry api doesn't let you modify things in runtime 
Don't know why you'd need to edit it but hey ๐
To replace this crappy batch file https://forum.scssoft.com/viewtopic.php?t=204339
@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
@urban lantern which regkey does the tmp launcher use to get the game path?
"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
yep, but early enough for my case ^^
Owww @north flax Developer ๐
@prisma robin Please donโt random tag developers...... they are very busy people who donโt appreciate been tagged for nothing
Outch, I am sorry :x
Who wait the 1809 windows version? ๐
@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
Jay, his phone is broken so he canโt type ๐
What phone is it and Iโll google it or something so you donโt have to xd

https://touchscreen-calibration.apk.cafe/huawei/y7-prime @rich flint This it?
And thereโs the manual if thatโs any use
http://download-c1.huawei.com/download/downloadCenter?downloadId=99140&version=418656&siteCode=ke
Eh
Never trust those
They can throw viruses and data stealers in those.
@unkempt grotto
Ah well Iโm an iOS user so 

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

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?
They are about as good as they get in single core performance 
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 
ARMA is pretty much the top end of that scale at typically 70 players
ยฏ_(ใ)_/ยฏ
Does that mean ATS is running DirectX11?
ETS2/ATS can use many more threads than just one.
https://image.prntscr.com/image/AaSycVyqQqmDpq62F10bxg.png
It's just that the game mainly uses 1 thread extremely and one highly and rest is just background stuff like I/O and economy simulation
And both games still run on dx9, but support a hand full of dx11 features
@twilit cave
Hmm interesting ty
@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 check owl-carousel
ty
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.
why virustotal.com and www.virustotal.com are different???
Ah, I use /ru/ in the link, that's why
Whoa
That's a big caps lock key ๐
That's the most odd keyboard I've ever seen o.0
Vim/vi user spotted
๐
tried the owl carousel and others
doesnt seem to work, only thing that is happening are the images just stacking
that means you did something wrong
look at the console
everything that i have checked seems fine
I use bxslider, just because I know the code deep enough to customize it for anything I want
@past shuttle owl-carousel has Js and also css, you must load also the css
"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 
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
boring
NEW CHANNEL: https://www.youtube.com/channel/UCEjwgKUADCmMzhGHrlueKYw This channel will become inactive in a few weeks. Thank you all for watching :)
๐
XD
RipHub i think ๐ฆ
Nah, I doubt MS will mess with GH too much
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
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
We will see where the ship ends. As long as GitHub will be as it is i'm happy
so far, Nadella hasn't shown any negative views that would suggest Github would be worse off either
Ars did a bit silly take on the announcement: https://arstechnica.com/gadgets/2018/10/github-is-now-officially-a-part-of-microsoft/
I don't use Linkedin, but Mojang is moved for a large/all to Micrsoft Studios as fas as i know
It's a subsidiary, but nothing has changed except for that, they produce their games independently from Microsoft Studios direction
I think they are interested in merging git technology to overtake team foundation (because it sucks)
there is mine ๐ฑ ๐ฑ ๐ฑ ๐ฑ
I think mine is on that list 
Yeah, everyone should change their pin 
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...
what is the contents of guidlMemberAdd.js?
Currently empty
well, that's why
you're calling .bind on nothing
it being empty means event is "Undefined", which doesn't have .bind()
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
usually not a bad idea when you forget such simple things yeah ๐
Yeah it was to easy to know that it will not work with a empty file
Stupid me
I have a question as to whether a staff member says ugly words can be kicked out
I have a proof with the picture
This question isn't suited for this channel btw.
ok sory
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
tks heyhococo ๐
rewriting my bot, and things work 
what bot
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
so you don't do any database cleanups in that event? ๐
none of my running bots keep databases (or any customization)
The simple way ๐
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
yeah, I just like keeping my database clean with only current servers
Sadly not an option for all chat apps. For Telegram you cannot get a list of channels the bot is in, annoyingly
you can get a list of all guilds you're in and do it periodically that way
yeah, that's just ugly
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
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
why is that smh?
cause it's javascript 
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
https://github.com/3ventic/riotlv yeah, discord.js
A bot for looking up logs from https://github.com/CBenni/logviewer - 3ventic/riotlv

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 
thanks @raw notch 
And also do not connect it to the form post, have seen People who has added to the post form with a disabled box ๐
more important: don't wire it up on the receiving end ๐
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??
the documentation has an endpoint for getting the servers
Something i made today ๐
It's pretty good actually @prisma geode
Thanks ๐
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

Hi
i agree with @pearl badger design wise its more of a meh
I think the concept of it is good though
Aye
Can anyone help with .htaccess url rewrite/redirect.
Example:
I need this:
http://oldDomain.com/page
Into this:
https://newDomain.com/page
I really hate code thiefโs
anyone know any trackers other than truckersdata?
Anyone using Phoenix (Elixir)?
@past shuttle vtlog?
track jobs onto a website with more detail rather than the jobs showing up in discord
if oyu know what i mean?
vtlog do it. vtlog API has all data you need
Any dev here willing to help me with something?
?
I don't mean TMP dev by that ๐
It's probably best just to ask your question and somebody with the knowledge will answer




ditto



