Jump to content
Experiencing kernel error or random crashes on TruckersMP Island? ×

SDCore

Veteran Driver VI
 TruckersMP Profile
  • Posts

    39
  • Joined

  • Last visited

Everything posted by SDCore

  1. I figure the server ID's are more reliant on the game itself than the API, but figured I'd ask anyway. Do the ID's for servers change at all? For example, it makes sense that the main servers (eu sim 1/2/3, us sim, promods, etc.) don't change, but do event servers change or have specific ID's? Yesterday, one of the event servers (ID 18 according to the API) was for a specific event (I forget which one), but today it's for an event different from yesterdays. Would it be possible to get a list of which ID's are specific to event servers, and/or which ID's are specific to other main servers? Appreciate it.
  2. While it's probably likely (high end servers mostly use SSD's), it could be entirely possible (and possibly cheaper) to run just a few hard drives to store user data. I'd assume most of the data needed in-game is stored in RAM since it's gets accessed so often and changes so quickly.
  3. Honestly, I'm surprised this hasn't been implemented yet. It's possible to detect DLC trailers that aren't supported yet, police skins, and probably a few other things I can't remember at the moment, but yet detecting when a car has a trailer and kicking them hasn't been added yet? +1
  4. "When" So I know it's been planned for a while now, but is there any idea of to when it might actually get released?
  5. So... does a toilet paper roll have 1 hole or 2 holes? It's obviously 2.

  6. So I'm not 100% sure if I'm in the right forum or not, but it's the only one that made the most sense. In short, I'm basically looking for a way to keyframe camera movements in both ATS and ETS2. I'm essentially looking for something similar to a Minecraft mod that did the same thing, which you can see in this video (skip to about 20 seconds in or so): Basically setting specific keyframed points and having the camera move between them seamlessly. I don't really mind if it's a command or a mod, just wondering if it was possible. Thank you!
  7. In simple terms, it's establishing a connection between you and the server, and then (I'm not 100% sure on how the client works) the client sends a token to verify that you are actually you. Once it does, it means you're authenticated and can connect under your account. If, for some reason, the authentication would fail, you wouldn't be able to connect. I would assume it's to make sure no one can give false credentials to log in on another account without a password.
  8. Alright, then make it native to the TMP site. You need a not banned TMP account to be able to vote. Still 100x more convenient.
  9. ^ yep, I was thinking the same thing. It's EXTREMELY inconvenient when there could be something super simple like a Google forms poll or a native website poll. Not everything having to do with TMP has to be an ingame update.
  10. I mean, it would've made sense to update and restart the servers BEFORE this was posted. But okay.
  11. I'm a little late, but Merry Christmas and Happy Holidays everyone! Hope it went well and safe for everyone. Here's to a new start to a new year.

  12. So now that I actually had a chance to play, here are my thoughts: I first had to wait nearly an HOUR AND A HALF to join the server. 850 slots with well over 500 people in queue, and the admins thought not to do anything? I understand that lag was pretty bad (I was there), but would it not make sense to, you know, open up a second server? The same thing could be accomplished with half the staff if they were coordinated enough, which it seems like they weren't. After I finally connected, and waited a good 15 minutes to get through the queue, I hopped over to Salzburg and began my journey. Wasn't too bad, encountered some people here and there. Got into some traffic, which I anticipated and actually liked. Traffic was great, and the people breaking rules didn't really piss me off or anything. What DID piss me off was how poorly the event was done. It felt like a last moment "lets just direct traffic a little bit around a crash and be done." I waited in traffic for a good 30-40 minutes, only to go through the actual event for a good 10-15 seconds. And that was EXTREMELY disappointing to me. Where were the "custom roadworks, police/border controls, fake accidents and a lot of police force showing on the route. Make sure you behave, or you might get pulled over!" we were promised? Where was the excitement? All I saw was admins in one place. I followed their directions for a good 10-15 seconds, then continued on and saw literally nothing else. What a disappointment. Poor communication, lack of creativity, and little care for what was supposed to be a "community event".
  13. Wow, too bad this is being handled extremely poorly. You could, ya know, open up a second event server? I 100% guarantee you don't need all the staff in one server.
  14. Come by and show your support - https://www.twitch.tv/sdcore and https://www.twitch.tv/k0rnholio 

  15. Sorry bud, you're not going to find a lot of developers willing to do stuff like that for free unless they're REALLY dedicated to ATS and ETS2. Just thought I'd let you know.
  16. There is a way to do this, yes. In the same dataset where you change the colour of your trailer, there's a file path to a certain company trailer decal. I don't know any of them off hand, but if you experiment and take note of what decal corresponds to what company, you should be able to get what you want.
  17. For anyone that happens to watch the activity page, I'm streaming some ETS2 over at https://www.twitch.tv/sdcore

    1. Fumiko

      Fumiko

      Links carries me to dashboard

    2. SDCore

      SDCore

      Hmm, probably on twitches end. I'll keep that in mind next time I stream

  18. With this new filesystem core, does it mean there's a possibility of other types of mods? ie. Sound mods? Even just locally would be fine. Essentially using your UI example but as a sound mod, and it'd only replace the sounds of whatever truck locally and defaults to whatever sound if another person doesn't have it, meaning that not everyone has to download said mod. Just a thought and a hope.
  19. Ah, alright, my bad. I've updated my original post.
  20. You need to use PHP to connect to the TruckersMP API (seen here: https://stats.truckersmp.com/api) and use it to get the URL of api.truckersmp.com/v2/bans/{id} where {id} is your TruckersMP account ID (found by going to your account page on the website). For example, my URL would be the following: https://api.truckersmp.com/v2/bans/1044649 This returns a bunch of JSON strings you can then parse using json_decode in PHP and detect whether or not "active" is set to true or false. I wrote a little example here: <?php $baseURL = "https://api.truckersmp.com/v2/bans"; // Base URL, does not include player ID $playerID = "1044649"; // ID by itself makes it easier to change on the fly $fullURL = $baseURL."/".$playerID; // Putting the full URL together // Making call with cURL, assuming you have cURL installed (you should) $json = file_get_contents($fullURL); // Convert JSON to PHP Object $phpObj = json_decode($json); $banStatus = $phpObj->response[0]->active; // Checking the most recent ban to see if it's active or not ?> Once you've done this, all you have to do is check whether or not the expiration date has passed the current date. If it has, they aren't banned. If it hasn't, they're still banned. Just make sure to account for timezone differences. I've provided all you should need to at least get started. Good luck!
  21. Damn, dude! That's a lot of work and honestly is pretty cool. Krashnz did provide a way that just returns the amount of traffic in each city, but I do have a few ideas for things using the work you did. I really appreciate the effort!
  22. Yeah, on his traffic site, it does say it's built using ets2map. He gave me a link to the json output of all the traffic info so luckily I don't have to build it myself, but it'd be interesting to find out how to do that anyway.
  23. I'm creating a hub for my upcoming VTC Management System (shh) and I'm trying to figure out how to get per-city congestion information, similar to https://traffic.krashnz.com/ets2/eu2 I've looked through the API and I can only find server traffic. Is per-city traffic only available to krashnz or am I just missing something?
  24. So I just bought the DAF Tuning Pack (along with a multitude of other DLC's), but for some reason I can't really seem to customize it any more than I used to be able to. Specifically, the tail lights. In the screenshots from the DLC page, there's so much that is there that just doesn't really show up for me. I do have the DLC installed and I have closed and reopened the game since I've installed them. It's also not a problem in just MP, it doesn't show up in SP either. Any help would be gladly appreciated. Thank you.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.