List of bugs and suggestions

KAKAN

  • Wiki Contributor
  • Posts: 3,340
Re: List of bugs and suggestions
« Reply #45, on April 3rd, 2017, 06:09 AM »
Quote from T800 on April 2nd, 2017, 06:28 PM
I don't know, whether it's already suggested anywhere, but i think, implementing SSL support into the sockets plugin would be very useful, for example, when connecting to an IRC server via SSL, etc.
I guess you can. Just change the port, the server( irc one ) will automatically redirect you to SSL one if its configured like it.
oh no

T800

  • Newbie
  • Posts: 10
Re: List of bugs and suggestions
« Reply #46, on April 3rd, 2017, 07:04 PM »
Quote from KAKAN on April 3rd, 2017, 06:09 AM
Quote from T800 on April 2nd, 2017, 06:28 PM
I don't know, whether it's already suggested anywhere, but i think, implementing SSL support into the sockets plugin would be very useful, for example, when connecting to an IRC server via SSL, etc.
I guess you can. Just change the port, the server( irc one ) will automatically redirect you to SSL one if its configured like it.
Thanks for the reply, but i tested it with multiple IRC servers and it isn't working. Once the connection is successfully established, you can set the nick, username, realname, but after that, SSL handshake will fail, unfortunatelly.
Re: List of bugs and suggestions
« Reply #47, on May 13th, 2017, 09:07 PM »
Recently, i faced with another limitation of scripting possibilities, which is about radio stations. I don't know, whether it's already feasible by any other way, but an event would be really nice for the channel change of a certain vehichle. I think of a callback, like onVehicleRadioChange( id, vehicle ), since as fas, as i know, detecting the radio channel id, what the player is actually listening to, is impossible atm.

PunkNoodle

  • Full Member
  • Posts: 160
Re: List of bugs and suggestions
« Reply #48, on May 14th, 2017, 08:46 AM »
Quote from T800 on May 13th, 2017, 09:07 PM
Recently, i faced with another limitation of scripting possibilities, which is about radio stations. I don't know, whether it's already feasible by any other way, but an event would be really nice for the channel change of a certain vehichle. I think of a callback, like onVehicleRadioChange( id, vehicle ), since as fas, as i know, detecting the radio channel id, what the player is actually listening to, is impossible atm.
You can use Vehicle.Radio to check the current radio station.

T800

  • Newbie
  • Posts: 10
Re: List of bugs and suggestions
« Reply #49, on May 14th, 2017, 05:05 PM »
Quote from PunkNoodle on May 14th, 2017, 08:46 AM
Quote from T800 on May 13th, 2017, 09:07 PM
Recently, i faced with another limitation of scripting possibilities, which is about radio stations. I don't know, whether it's already feasible by any other way, but an event would be really nice for the channel change of a certain vehichle. I think of a callback, like onVehicleRadioChange( id, vehicle ), since as fas, as i know, detecting the radio channel id, what the player is actually listening to, is impossible atm.
You can use Vehicle.Radio to check the current radio station.
Sure, i'm aware of this (thanks for the suggestion itself anyways), but it won't help, if you'd like to detect explicitly the radio station change event. For always up-to-date informations on this - while the player is in the vehicle - we'd use a timer, which would be a pretty ugly and wasteful workaround, i think.

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128
Re: List of bugs and suggestions
« Reply #50, on May 24th, 2017, 06:07 PM »
I'm closing the bug report on buttons not working on 3D entities as a "won't fix" issue. 3D entities don't take input from mice (or gunshots) so they're not expected to respond to mouse events.

I'm also closing the report on custom weapons imitating the chainsaw as unreproducible; as of the latest client update I can't observe this behavior using this weapon definition (which was lazily edited from this weapon showroom submission):

https://mega.nz/#!tUtVmT5S!niK0qidYbhel3g3IG4fUYzbq5VXAiRD_dTev9Ns0T6Y

The crash-on-quit issue is partially resolved with Listboxes, but I'm not 100% sure this is the full extent of the issue, and it doesn't seem that anyone has reported this happening with other GUI arrangements.

Anik

  • Sr. Member
  • Posts: 355
Re: List of bugs and suggestions
« Reply #51, on May 24th, 2017, 07:23 PM »
Quote from Stormeus on May 24th, 2017, 06:07 PM
The crash-on-quit issue is partially resolved with Listboxes, but I'm not 100% sure this is the full extent of the issue, and it doesn't seem that anyone has reported this happening with other GUI arrangements.
GUISprite

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128
Re: List of bugs and suggestions
« Reply #52, on May 25th, 2017, 10:32 AM »Last edited on May 25th, 2017, 10:40 AM
Quote from Murdock on August 30th, 2015, 01:07 AM
When storing GUI references inside a table/array, iterating through them becomes impossible.
Removing all references is only possible by setting the table to null.
Can't reproduce with this test script (which requires a dumb.png sprite):

Code: [Select]
Listbox <- GUIListbox(VectorScreen(5, 5), VectorScreen(150, 300));
Listbox.AddItem("Hello");
Listbox.AddItem("World!");
Listbox.AddItem("How");
Listbox.AddItem("Are");
Listbox.AddItem("You?");
Listbox.RemoveItem("Are");

Window <- GUIWindow(VectorScreen(50, 50), VectorScreen(200, 360), Colour(127, 127, 127));
Window.Text = "Test Window";
Window.AddChild(Listbox);
Window.SendToTop();

Button <- GUIButton(VectorScreen(5, 310), VectorScreen(150, 40), Colour(255, 255, 255));
Button.TextColour = Colour(0, 0, 0);
Button.Text = "Click me!";
Button.SendToTop();

Sprite <- GUISprite("dumb.png", VectorScreen(400, 50));
Sprite.SendToTop();

testArray <- [Listbox, Window, Button, Sprite];
foreach (elem in testArray) {
    print(elem);
}

print(testArray[0] == Listbox);
print(testArray[1] == Window);
print(testArray[2] == Button);
print(testArray[3] == Sprite);

Sprite <- null;
Button <- null;
Window <- null;
Listbox <- null;

testArray.remove(3);
testArray.remove(2);
testArray.remove(0);
Quote from Murdock on August 30th, 2015, 01:07 AM
When placing objects on sea (near the Cortez yacht), the coordinates of players, pickups and objects tend to differ
Need elaboration on this, and preferably a simple test script demonstrating the issue.

kennedyarz

  • Sr. Member
  • Making American Great Again
  • Posts: 334
Re: List of bugs and suggestions
« Reply #53, on May 25th, 2017, 12:38 PM »

print(testArray[0] == Listbox);
print(testArray[1] == Window);
print(testArray[2] == Button);
print(testArray[3] == Sprite);

??

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128
Re: List of bugs and suggestions
« Reply #54, on May 25th, 2017, 01:44 PM »
Quote from kennedyarz on May 25th, 2017, 12:38 PM
print(testArray[0] == Listbox);
print(testArray[1] == Window);
print(testArray[2] == Button);
print(testArray[3] == Sprite);

??
To make sure that the GUI elements are present in the order inserted.

Aaron

  • Newbie
  • Eighth Avenue Furies
  • Posts: 7

Zeeshan.Bhatti

  • Full Member
  • Posts: 213

kennedyarz

  • Sr. Member
  • Making American Great Again
  • Posts: 334
Re: List of bugs and suggestions
« Reply #57, on May 25th, 2017, 04:31 PM »
Quote from Stormeus on May 25th, 2017, 01:44 PM
Quote from kennedyarz on May 25th, 2017, 12:38 PM
print(testArray[0] == Listbox);
print(testArray[1] == Window);
print(testArray[2] == Button);
print(testArray[3] == Sprite);

??
To make sure that the GUI elements are present in the order inserted.
But it is talking about print on the client side and is adjusting it that way. Should not be

Code: [Select]
Console.Print(testArray[0] == Listbox);
Console.Print(testArray[1] == Window);
Console.Print(testArray[2] == Button);
Console.Print(testArray[3] == Sprite); 
?

Stormeus

  • VC:MP Developer
  • oh god how did i get here im not good w computer
  • Posts: 1,128
Re: List of bugs and suggestions
« Reply #58, on May 25th, 2017, 04:46 PM »
Quote from kennedyarz on May 25th, 2017, 04:31 PM
Quote from Stormeus on May 25th, 2017, 01:44 PM
Quote from kennedyarz on May 25th, 2017, 12:38 PM
print(testArray[0] == Listbox);
print(testArray[1] == Window);
print(testArray[2] == Button);
print(testArray[3] == Sprite);

??
To make sure that the GUI elements are present in the order inserted.
But it is talking about print on the client side and is adjusting it that way. Should not be

Code: [Select]
Console.Print(testArray[0] == Listbox);
Console.Print(testArray[1] == Window);
Console.Print(testArray[2] == Button);
Console.Print(testArray[3] == Sprite); 
?
print() on the client side writes to a debug log and is valid.

rww

  • VC:MP Beta Tester
  • LU-DM Team
  • Posts: 403
Re: List of bugs and suggestions
« Reply #59, on May 25th, 2017, 08:54 PM »
Quote from vito on March 24th, 2017, 11:37 AM
...
Bugs:
1) Using custom radar disc with opening map in the pause menu make game crash after back to game.
...
bump

and not only when opening map in pause menu, game crashes also when we enable/disable radar in display menu.

Join to LU-DM Team Discord: https://discord.gg/PFwem6J