• Announcements


      Forum Moderator Recruitment / Game Moderator Team Recruitment   03/02/18

        For Forum Moderator Team :      For Game Moderator Team:  Good Luck to everyone ! 
    • Prime

      Major Event requirements update   03/19/18

      In light of the recent changes to the requirements of event rules and servers the requirements for Major Event posts have also been updated.   A summary of the changes:  Added: Minimum 50 participants with proof at moment of creation Added: Topic created minimum 1 month in advance Added: In case of charity event: endorsement of non-profit organization or official donation link for the event by non-profit organization Removed: minimum post count   For the full list of requirements, check out the respective topics for ETS and ATS   Regards   TruckersMP team
    • Prime

      Issues hizliresim.com   03/20/18

      Since a few days we have noticed that pictures posted on hizliresim.com are not accessible (both on our forum and website). This is an issue not related to our services and out of our hands. Therefore we ask you not to use hizliresim.com to share images and opt for other alternatives such as imgur.   We thank you for your understanding.    

[TSRVTC] DubStepMad

Veteran Driver III
  • Content count

  • Joined

  • Last visited

Community Reputation

11 Cargo


About [TSRVTC] DubStepMad

  • Rank
    What is a truck?
  • Birthday 11/15/1997

Profile Information

  • Gender Male
  • Location Liverpool
  • Interests Programming, Custom Computers, Skateboarding and Playing games.
  • Virtual Trucking Company TSRVTC
  • Preferred Trucks Scania
  • American Garage Location
  • EU Garage Location United Kingdom: Liverpool
  • Known languages English

External Websites

Recent Profile Visitors

272 profile views
  1. API Ban call

    Didn't work for me but this did: if ($status == "0"){ //stuff }
  2. API Ban call

    This isn't working now foreach($data2->response as $ban) { $expiredate = $ban->expiration; $admin = $ban->adminName; $status = $ban->active; if ($status == 0) { echo '<center><p>' . $status . '<p></center>'; echo '<center><p>' . $expiredate . '<p></center>'; echo '<center><p>' . $admin . '<p></center>'; } } echo'</li>'; Status is only there to make sure I was checking the right thing.
  3. API Ban call

    Thank you, had to make a few changes but works now
  4. API Ban call

    Mind showing me an example since I still new to using APIs.
  5. API Ban call

    The MP name is displayed and everything else is correct but the ban information will not display at all. Now currently using my account as an example, I have 1 ban form 2016 and that doesnt display.
  6. API Ban call

    Hi, not sure if I am calling the api correctly and displaying the results right for the bans. Everything else works but not the bans for some reason. <?php $sqlget = 'SELECT * FROM players WHERE rank = "Veteran" ORDER BY joindate ASC'; $sqldataV = mysqli_query($dbcon, $sqlget); while($row = mysqli_fetch_array($sqldataV, MYSQLI_ASSOC)){ $json = file_get_contents('http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=9B7EFDB256E798658715CE71D574D751&steamids='.$row['playerid'].''); $parsedV = json_decode($json); foreach($parsedV->response->players as $playerV){ } $online = $playerV->personastate; if ($online == '1'){ $bcolor = '4px solid #6eea15'; } else{ $bcolor = ''; } $json = file_get_contents('https://api.truckersmp.com/v2/player/'.$row['playerid'].''); $data = json_decode($json); $mpname = $data->response->name; $mpid = $data->response->id; $json2 = file_get_contents('https://api.truckersmp.com/v2/bans/'.$mpid.''); $data2 = json_decode($json2); $expiredate = $data2->response->expiration; $admin = $data2->response->adminName; echo'<li id="fleet" >'; echo "<center><img style='height:auto; width:auto; border:$bcolor;' class='img-circle' src='" . $playerV->avatarfull . "'></center>"; echo '<center><p style="margin-top: 65%;">'. $mpname . '<p></center>'; echo '<center><p style="margin-top: 65%;">'. $expiredate . '<p></center>'; echo'</li>'; } ?> Any help I will be greatful for.
  7. Anti Cheat (Memory Edit)

    Yeah pre-make anti-cheats can be expensive but if they wanted to save money, they could implement one of their own. I know it would be time consuming but on the other hand it saves money.
  8. Anti Cheat (Memory Edit)

    I understand what your saying which seems as a good idea. The problem is that checking files while the game is running is much harder plus some applications (hacks) don't intervene with the files directly but the game memory which then wouldn't be detected by scanning files.
  9. Anti Cheat (Memory Edit)

    I don't think I made it clear enough. What the purpose of this thread was to suggest to implement an anti-cheat while on TruckersMP Servers. Anything done on SP really wouldn't be limited due to what you are saying. For example: Player 1 uses a application to modify game memory (Values) while on the MP server and/or loading into it since some can/require to start before the game. This then invokes the user joining the server and makes an automatic report against him. Now while on the server it could record the user without them knowing and use that as evidence against the player. Example of value change Application changes the user's speed from 50mph to 150mph (Speed Hack), the anti-cheat would be scanning these values for impossible or/and drastically changed values that cant be achieved at all within the base game. Player 2 uses save edits is allowed, now regarding XP that is SP and wouldn't change any values while on the MP servers.
  10. (PHP) API Call Help

    Thank you and yeah I will read up on caching.
  11. (PHP) API Call Help

    Okay, how can I avoid this?
  12. (PHP) API Call Help

    Works, Thank you!
  13. (PHP) API Call Help

    Will try and yeah changing that now XD forgot I left that.
  14. (PHP) API Call Help

    Hello, I am trying to retrieve members MP names from a database and display that. Here is the current php code being used: <?php $sqlget = 'SELECT * FROM players'; $sqldata = mysqli_query($dbcon, $sqlget); while($row = mysqli_fetch_array($sqldata, MYSQLI_ASSOC)){ $json = file_get_contents('http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=XXXXXXXXXXXXXAABB80E2C4C45E1779B&steamids='.$row['playerid'].''); $parsed = json_decode($json); foreach($parsed->response->players as $player){ } $online = $player->personastate; if ($online == '1'){ $bcolor = '4px solid #6eea15'; } else{ $bcolor = ''; } $json = file_get_contents('https://api.truckersmp.com/v2/player/'.$row['playerid'].''); $data = json_decode($json); $mpname = $data->name; echo'<li id="fleet" >'; echo "<center><img style='height:auto; width:auto; border:$bcolor;' class='img-circle' src='" . $player->avatarfull . "'></center>"; echo '<center><p style="margin-top: 65%;">'. $player->personaname . '<p></center>'; echo '<center><p style="margin-top: 65%;">'. $mpname . '<p></center>'; echo'</li>'; } ?> The error I am currently getting is that the $mpname doesn't contain the correct data needed. (I am new to using all APIs and still learning). Thank you in advance.
  15. Anti Cheat (Memory Edit)

    The main issue with this would be on how to enforce it since its mainly to do with the clients PC settings. I do not know what this piece of software is capable of but I would say to make sure there was no way to bypass or stop it from running would be for the devs to implement their own system, which then in turn disconnects a user from MP if the thread for the checks are either stopped or hijacked by external applications/modifications.