Jump to content

VSOUSA14

Veteran Driver IV
 TruckersMP Profile
  • Posts

    57
  • Joined

  • Last visited

Posts posted by VSOUSA14

  1. 3 hours ago, Candimane said:

    Hello, I have Tried repositioning it anyways, it automatically snaps the "image" to the bottom.

    Ive Tried making it bigger originally 1920x200 Then x250 then x300 and same result happens.

    I uploaded your photo to my profile and worked fine for me, try to use this one:

    ForumBanner2.png.53fbc602201bda2b21314e8

     

    if this above doesn't work, try this one:
    lfSonWR.jpg

     

    Quick tip: when making those cover photos, try to make it bigger like 1920x1080 for example, this way you will never get trouble with your cover photo.

    Quick tip 2: when uploading images, make sure it's a JPEG, because they lighter than PNG'S, the only thing is that JPEG don't support transparent background

     

    P.s if you want you can remove the white part, but make sure to save as JPEG

     

    Hope this helped

    SOUSA

    • Upvote 1
  2. 38 minutes ago, DerAmpelmann said:

     

    That was a thing a long time ago, but it was removed, because players did not like it.

    Lol, why players hate that? just bacause when raining the physics changes and you need to drive slowly?

    At least they could add synchronization of road events xd 

    • Upvote 2
  3. Hello @DeskPilot 

    See if this topic helps you:

    Summary of the above topic:

    The issue you're having is most likely being caused by DirectX 11.

    You can try to launch the game via OpenGL:
     

    Steps:

    > Launch the game in single-player via OpenGL - https://i.gyazo.com/0ec83a25da6e8275233272dd36a7432b.png
    > Load your profile fully, create a save and then exit the game.
    > Launch TruckersMP.

     

    If those steps don't work, try and see if there is anything else that may help you in the original post

     

    Thanks.

    SOUSA

    • Like 1
  4. Hello.

     

    I never used python, but you can try to create getters and then use an array where you get the getters and the response from server, and then make a loop to print all the servers:

    Something like this (This code below is in C#)
     

    <!--CLASS THAT HANDLES THE HTTP REQUEST-->
    public void UpdateServerInfo()
            {
                svCon = "http://" + ipSRV + "/players.json";
                WebRequest request = WebRequest.Create(svCon);
                request.Credentials = CredentialCache.DefaultCredentials;
                ipServ = isExist(svCon);
                if (ipServ)
                {
                    WebResponse response = request.GetResponse();
                    status = ((HttpWebResponse)response).StatusDescription;
                    Console.WriteLine(status);
    
                    using (Stream dataStream = response.GetResponseStream())
                    {
                        StreamReader reader = new StreamReader(dataStream);
                        responseFromServer = reader.ReadToEnd();
                        Console.WriteLine(responseFromServer);
    
                    }
    
                    response.Close();
                    label2.Text = "Online";
                    listBox1.Visible = true;
                    panel3.BackColor = Color.LawnGreen;
    <!-- SEE BELOW THIS -->
                    Player[] item = JsonConvert.DeserializeObject<Player[]>(responseFromServer);
                    var countPlayers = item.Count();
                    label1.Text = countPlayers.ToString() + " Online Players";
                    listBox1.Items.Clear();
    
                    foreach (Player name in item)
                        listBox1.Items.Add("   "+name.name);
                    listBox1.Items.Add("");
    <!-- SEE ABOVE THIS -->
                }
                else
                {
                    label2.Text = "Offline";
                    panel3.BackColor = Color.Red;
                    label1.Text = "Visit our discord our teamspeak for more information";
                    button2.Visible = false;
                    listBox1.Visible = false;
                    panel4.Visible = false;
                    label4.Visible = false;
                }
            } 
    
                      
            <!--//GETTER-->         
    		public class Player
            {
                public string endpoint { get; set; }
                public int id { get; set; }
                public string[] identifiers { get; set; }
                public string name { get; set; }
                public int ping { get; set; }
            }

     

    In this C# programm, i am printing out each player into a listBox. In your Discord bot you can make something similar.

  5. Hello everyone

     

    Welcome to the Male vs Female game

     

    Counter Starts at: 1000

     

    Males have to take 1 number (-1)

     

    Females have to add 1 number (+1)

     

    if the counter goes up 2000, Females wins

    if the counter goes up 0, Males wins

     

    Example:

    Male: takes 1 = 999

    Female: adds 1 = 1000

    ....

    • Like 3
    • Upvote 1
    • HaulieLove 1
    • True Story 1
    • Awesome! 2
×
×
  • 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.