Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: Murdock on Aug 30, 2015, 12:07 AM

Title: List of bugs and suggestions
Post by: Murdock on Aug 30, 2015, 12:07 AM
Before I went on holidays, I wrote a list of all bugs i had noticed while scripting my server.
Now that I'm back, I noticed not all of them have been fixed yet, thus I will post the remains of the list as follows;

Bugs:

Suggestions:
Title: Re: List of bugs and suggestions
Post by: NewK on Aug 30, 2015, 12:56 AM
Quote from: Murdock on Aug 30, 2015, 12:07 AM
  • Bikes reverse too fast after the custom vehicles update
This one's hilarious. The first time I found out about this was with a pizza boy, it was actually faster in reverse than normally   driving forward.

Quote from: Murdock on Aug 30, 2015, 12:07 AM
  • A player can still be killed after applying all immunity flags
Yea this one's the most frustrating for me, since the anti-spawn kill system in the CTF server relies on it and it's basically useless without it :/
Title: Re: List of bugs and suggestions
Post by: DizzasTeR on Aug 30, 2015, 03:32 AM
I totally agree on all the suggestions posted up there, I can't even tell which is the most important of all in those suggestions since all of them are important to take VCMP to a higher level. Nice list Murdock, hope the devs will get this for us soon.
Title: Re: List of bugs and suggestions
Post by: KAKAN on Aug 30, 2015, 04:01 AM
Agree.
Title: Re: List of bugs and suggestions
Post by: Castagna on Aug 31, 2015, 07:53 AM
In addition to Murdock's list I would like to attach a few bugs client and plugin related:

(highlighted the most urgent and critical requests)

Title: Re: List of bugs and suggestions
Post by: KAKAN on Aug 31, 2015, 08:39 AM
Hmm, I have never tried to add classes with server.conf, actually I don't have a server.conf file in my server AT ALL
Title: Re: List of bugs and suggestions
Post by: EK.IceFlake on Aug 31, 2015, 11:56 AM
Quote from: KAKAN on Aug 31, 2015, 08:39 AMHmm, I have never tried to add classes with server.conf, actually I don't have a server.conf file in my server AT ALL
Me too, I hate it
Title: Re: List of bugs and suggestions
Post by: Thijn on Aug 31, 2015, 03:57 PM
@Castagna Are you talking about classes or vehicles? I'm confused.
If you mean classes, make sure you have an "a" attribute with a default value of 255 for Alpha.
Title: Re: List of bugs and suggestions
Post by: KAKAN on Aug 31, 2015, 04:06 PM
I have tested the classes using server.conf, it doesn't harm my server
Title: Re: List of bugs and suggestions
Post by: DizzasTeR on Aug 31, 2015, 04:52 PM
@Thijn, He is talking about classes ( skins ). In 0.3 applying team = 255 or -1 would make it free for all ( independent ). You can kill anyone, which is not working in 0.4
Title: Re: List of bugs and suggestions
Post by: Thijn on Aug 31, 2015, 05:14 PM
Quote from: Doom_Killer on Aug 31, 2015, 04:52 PM@Thijn, He is talking about classes ( skins ). In 0.3 applying team = 255 or -1 would make it free for all ( independent ). You can kill anyone, which is not working in 0.4
I was talking about the first bold point.
Title: Re: List of bugs and suggestions
Post by: Castagna on Aug 31, 2015, 06:31 PM
@Thijn I'm talking about the vehicles. Custom RGB in classes are working like a charm.
Title: Re: List of bugs and suggestions
Post by: maxorator on Aug 31, 2015, 07:55 PM
Quote from: Castagna on Aug 31, 2015, 06:31 PM@Thijn I'm talking about the vehicles. Custom RGB in classes are working like a charm.
RGB colours were never supported though. Which means the plugin fails to read them since it doesn't recognize the format, then obviously the vehicles are not created.
Title: Re: List of bugs and suggestions
Post by: KAKAN on Sep 01, 2015, 05:57 PM
RGB colours are recognized, before some days when i was using ADM script, that time, custom RGB and vehicles were through server.conf file, and they were working like a charm, I never has any problems regarding to custom RGB classes from server.conf
Title: Re: List of bugs and suggestions
Post by: krystianoo on Sep 26, 2015, 04:38 PM
..any update regarding all this?
Title: Re: List of bugs and suggestions
Post by: Stormeus on Sep 26, 2015, 04:56 PM
Quote from: krystianoo on Sep 26, 2015, 04:38 PM..any update regarding all this?

Yes, I started my first semester of university a few weeks ago and am currently focusing on my studies, career paths, and my friends here. I'm aware that these issues exist but don't have sufficient time to fix them at the moment.
Title: Re: List of bugs and suggestions
Post by: Gudio on Sep 27, 2015, 08:15 AM
You're not the only one developer. :)
Title: Re: List of bugs and suggestions
Post by: krystianoo on Oct 29, 2015, 12:55 PM
Well?
It's been over a month since this has been posted and this clearly shows how much bugs are there, reported ones in this topic and in other topics as well.
I'm sure the community would appreciate any update that isn't: 'no time for vcmp' because we all can see developers logging in to the forums here-and-there and staying for not-the-shortest period of time..
Title: Re: List of bugs and suggestions
Post by: Thijn on Oct 29, 2015, 04:56 PM
There's a difference between logging into the forums and fixing bugs. The latter requires more time.
I'm sure Stormeus and maxorator try to find the time to fix what they can, but they have school and other personal stuff that comes first.
Title: Re: List of bugs and suggestions
Post by: Thijn on Feb 05, 2016, 10:13 PM
Quote from: vito on Feb 05, 2016, 10:04 PM
QuoteObject attach functions (as demonstrated in a dev video 3 months ago)
It's easy to make yourself by onPlayerMove.

And lag the shit out of your server? No thanks.
Title: Re: List of bugs and suggestions
Post by: aXXo on Feb 06, 2016, 12:30 AM
The onPlayerMove function is called very frequently. Even if a player's X/Y/Z changes by 0.0001 the event is called. Try adding a print/Message function in your event and watch the spam even when you move one step.

Now imagine having multiple moving players in your server. The event will be getting a lot of triggers. Your script will obviously lag if you put a code that executes slower than the event call in the function body.
Title: Re: List of bugs and suggestions
Post by: Thijn on Feb 06, 2016, 06:53 PM
And you find that acceptable? It looks slow and horrible.
Title: Re: List of bugs and suggestions
Post by: NewK on May 30, 2016, 10:02 PM
Something to add to the list: The GUIListbox's .RemoveItem(item) method seems to freeze the game completely and after a while it ends up crashing. Doesn't generate any error log.
Title: Re: List of bugs and suggestions
Post by: Nightstalker on Jun 17, 2016, 09:44 AM
It would be really useful to have custom flags for custom weapons. For example, headshot for weapons other than assault/sniper rifles, knockback for weapons other than shotguns and editing number of pellets to shoot. Also custom projectiles besides missiles and grenades would be rad too.
Title: Re: List of bugs and suggestions
Post by: NicusorN5 on Jun 17, 2016, 01:33 PM
I wanna NPCs .
Title: Re: List of bugs and suggestions
Post by: DizzasTeR on Jun 17, 2016, 03:14 PM
NPCs are unnecessary jeez.
Title: Re: List of bugs and suggestions
Post by: KAKAN on Jun 17, 2016, 04:15 PM
Quote from: Doom_Kill3R on Jun 17, 2016, 03:14 PMNPCs are unnecessary jeez.
instead the devs should fix the bugs, after that focus on suggestions.
Title: Re: List of bugs and suggestions
Post by: Xmair on Jun 17, 2016, 06:28 PM
Just tell me what will you do with the NPCs?
Title: Re: List of bugs and suggestions
Post by: Sebastian on Jun 26, 2016, 07:52 PM

QuoteObject attach functions (as demonstrated in a dev video 3 months ago)

I would like to see that video.
Title: Re: List of bugs and suggestions
Post by: Stormeus on Jul 16, 2016, 06:44 PM
Quote from: Murdock on Aug 30, 2015, 12:07 AM
  • A player can still be killed after applying all immunity flags

I can't reproduce this one. The only scenario I can get something like this to happen is if the immunity flags are set, the player uses /kill and respawns without resetting the immunity flags, which is intended behavior.
Title: Re: List of bugs and suggestions
Post by: Drake on Jul 16, 2016, 11:13 PM
Quote from: Stormeus on Jul 16, 2016, 06:44 PM
Quote from: Murdock on Aug 30, 2015, 12:07 AM
  • A player can still be killed after applying all immunity flags

I can't reproduce this one. The only scenario I can get something like this to happen is if the immunity flags are set, the player uses /kill and respawns without resetting the immunity flags, which is intended behavior.
This was fixed by maxorator a month ago on my request.
Title: Re: List of bugs and suggestions
Post by: Whitie on Aug 11, 2016, 08:36 PM
Idea: Player animation ped.ifp and swimming script.
Title: Re: List of bugs and suggestions
Post by: Kewun on Aug 12, 2016, 01:51 AM
Quote from: TheRouke on Aug 11, 2016, 08:36 PMIdea: Player animation ped.ifp and swimming script.

There is already swimming script in a server ( daydream rp i think )
Title: Re: List of bugs and suggestions
Post by: rww on Aug 12, 2016, 11:53 PM
QuoteHaving chainsaws as custom weapons does not work, the weapon plays the chainsaw animation but behaves as baseball bat.

idk, but now, I tested with @Xenon, and all with custom chainsaw works good.
Title: Re: List of bugs and suggestions
Post by: rww on Jan 06, 2017, 09:32 AM
I found bug with MVL.. We can enter to custom BF Injection only from passenger seat side, and can't enter to passenger seat.
Title: Re: List of bugs and suggestions
Post by: Eduardovich on Jan 18, 2017, 11:32 PM
Devs, are you OMG or what? Why I can't use math library of squirrel?
AN ERROR HAS OCCURED [the index 'math' does not exist]
Title: Re: List of bugs and suggestions
Post by: jWeb on Jan 18, 2017, 11:58 PM
Quote from: Eduardovich on Jan 18, 2017, 11:32 PMDevs, are you OMG or what? Why I can't use math library of squirrel?
AN ERROR HAS OCCURED [the index 'math' does not exist]

Because you haven't earned that privilege yet.
Title: Re: List of bugs and suggestions
Post by: Thijn on Jan 19, 2017, 07:27 AM
Quote from: Eduardovich on Jan 18, 2017, 11:32 PMDevs, are you OMG or what? Why I can't use math library of squirrel?
AN ERROR HAS OCCURED [the index 'math' does not exist]
Because you need to just use the functions provided by it. Of course there's a math library.
Title: Re: List of bugs and suggestions
Post by: EK.IceFlake on Jan 19, 2017, 01:57 PM
Quote from: Eduardovich on Jan 18, 2017, 11:32 PMDevs, are you OMG or what? Why I can't use math library of squirrel?
AN ERROR HAS OCCURED [the index 'math' does not exist]
The math library is very abstracted, which means that you could use all math functions without the 'Math.' prefix
Title: Re: List of bugs and suggestions
Post by: KAKAN on Jan 19, 2017, 05:04 PM
Quote from: EK.IceFlake on Jan 19, 2017, 01:57 PMThe math library is very abstracted, which means that you could use all math functions without the 'Math.' prefix
off-topic: This makes the Squirrel in-efficient too :p
Title: Re: List of bugs and suggestions
Post by: jWeb on Jan 19, 2017, 05:54 PM
Quote from: EK.IceFlake on Jan 19, 2017, 01:57 PMThe math library is very abstracted, which means that you could use all math functions without the 'Math.' prefix
Quote from: KAKAN on Jan 19, 2017, 05:04 PM
Quote from: EK.IceFlake on Jan 19, 2017, 01:57 PMThe math library is very abstracted, which means that you could use all math functions without the 'Math.' prefix
off-topic: This makes the Squirrel in-efficient too :p


Neither one of you are correct!

a) Please refresh you memory on what abstract means in programming (https://en.wikipedia.org/wiki/Abstract_type) or in general (https://en.wikipedia.org/wiki/Abstract_and_concrete).
b) They're efficient because they don't have to push the root table on the stack, push a 'math' string to pop the math table on the stack, then push the function name on the stack then pop the function object from the math table and remove the math table from the stack and finally invoke the actual function. Basically having a man in the middle to slow things down.

math <- {
    abs = ::abs,
    acos = ::acos,
    asin = ::asin,
    atan = ::atan,
    atan2 = ::atan2,
    ceil = ::ceil,
    cos = ::cos,
    exp = ::exp,
    fabs = ::fabs,
    floor = ::floor,
    log = ::log,
    log10 = ::log10,
    pow = ::pow,
    rand = ::rand,
    sin = ::sin,
    sqrt = ::sqrt,
    srand = ::srand,
    tan = ::tan
}
// dummy code to allow the CPU to cache the program
for (local n = 0, x = 1; n < 10000000; ++n) {
    x = (n % (n / x)) + 1;
}
// benchmark scoped math functions
local time_1 = clock();
for (local n = 0; n < 10000000; ++n) {
    n = math.abs(n);
}
local end_1 = clock();
// benchmark global math functions
local time_2 = clock();
for (local n = 0; n < 10000000; ++n) {
    n = abs(n);
}
local end_2 = clock();
// output results
print("Scoped math functions: " + (end_1 - time_1));
print("Global math functions: " + (end_2 - time_2));

[SCRIPT]  Scoped math functions: 2.305
[SCRIPT]  Global math functions: 1.976
Title: Re: List of bugs and suggestions
Post by: Xmair on Feb 07, 2017, 09:47 AM
It's ARGB.
Title: Re: List of bugs and suggestions
Post by: Roman on Feb 09, 2017, 10:08 AM
Small suggestion: bind of TAB key for GUI::InputReturn
Title: Re: List of bugs and suggestions
Post by: vito on Mar 24, 2017, 11:37 AM
Suggestions:
1) Let server to read interior ID of player to detect so-called "wallhack".
2) Clientside function to rotate 2d object
3) Clientside player.Angle (at least for read-only) its very useful for alot of things.
4) Clientside radar markers
5) Since we have a nice clientside gui is it possible to add option to hide native gui (radar, health, weapon, wanted level and so on)

Bugs:
1) Using custom radar disc with opening map in the pause menu make game crash after back to game.
2) Client's memory is not cleaning after reconnect and all unpacked /store/ files will be added to client's memory again and again up to overlimit of application after each reconnection
Title: Re: List of bugs and suggestions
Post by: T800 on Apr 02, 2017, 05: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.
Title: Re: List of bugs and suggestions
Post by: KAKAN on Apr 03, 2017, 05:09 AM
Quote from: T800 on Apr 02, 2017, 05:28 PMI 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.
Title: Re: List of bugs and suggestions
Post by: T800 on Apr 03, 2017, 06:04 PM
Quote from: KAKAN on Apr 03, 2017, 05:09 AM
Quote from: T800 on Apr 02, 2017, 05:28 PMI 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.
Title: Re: List of bugs and suggestions
Post by: T800 on May 13, 2017, 08: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.
Title: Re: List of bugs and suggestions
Post by: PunkNoodle on May 14, 2017, 07:46 AM
Quote from: T800 on May 13, 2017, 08:07 PMRecently, 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 (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Vehicle.Radio) to check the current radio station.
Title: Re: List of bugs and suggestions
Post by: T800 on May 14, 2017, 04:05 PM
Quote from: PunkNoodle on May 14, 2017, 07:46 AM
Quote from: T800 on May 13, 2017, 08:07 PMRecently, 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 (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/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.
Title: Re: List of bugs and suggestions
Post by: Stormeus on May 24, 2017, 05: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 (http://forum.vc-mp.org/?topic=4405.0)):

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.
Title: Re: List of bugs and suggestions
Post by: Anik on May 24, 2017, 06:23 PM
Quote from: Stormeus on May 24, 2017, 05:07 PMThe 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
Title: Re: List of bugs and suggestions
Post by: Stormeus on May 25, 2017, 09:32 AM
Quote from: Murdock on Aug 30, 2015, 12:07 AMWhen 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):

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 Aug 30, 2015, 12:07 AMWhen 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.
Title: Re: List of bugs and suggestions
Post by: kennedyarz on May 25, 2017, 11:38 AM

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

??
Title: Re: List of bugs and suggestions
Post by: Stormeus on May 25, 2017, 12:44 PM
Quote from: kennedyarz on May 25, 2017, 11:38 AMprint(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.
Title: Re: List of bugs and suggestions
Post by: Aaron on May 25, 2017, 01:36 PM
SetAlpha for custom skins.
Title: Re: List of bugs and suggestions
Post by: SAzEe21 on May 25, 2017, 02:05 PM
Quote from: Aaron on May 25, 2017, 01:36 PMSetAlpha for custom skins.
I don't think there's any function like that, but it should also work with custom skins too.
Title: Re: List of bugs and suggestions
Post by: kennedyarz on May 25, 2017, 03:31 PM
Quote from: Stormeus on May 25, 2017, 12:44 PM
Quote from: kennedyarz on May 25, 2017, 11:38 AMprint(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

Console.Print(testArray[0] == Listbox);
Console.Print(testArray[1] == Window);
Console.Print(testArray[2] == Button);
Console.Print(testArray[3] == Sprite); 
?
Title: Re: List of bugs and suggestions
Post by: Stormeus on May 25, 2017, 03:46 PM
Quote from: kennedyarz on May 25, 2017, 03:31 PM
Quote from: Stormeus on May 25, 2017, 12:44 PM
Quote from: kennedyarz on May 25, 2017, 11:38 AMprint(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

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.
Title: Re: List of bugs and suggestions
Post by: rww on May 25, 2017, 07:54 PM
Quote from: vito on Mar 24, 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.
Title: Re: List of bugs and suggestions
Post by: karan20000000000 on May 26, 2017, 08:25 AM
Quote from: vito1 on May 26, 2017, 07:58 AMClientside Player's camera position (behind his back)
Similar to LU's right?
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Functions#Camera_Functions
Title: Re: List of bugs and suggestions
Post by: Aaron on May 26, 2017, 12:20 PM
Quote from: vito1 on May 26, 2017, 07:58 AMAnticheat for 'greenless' (edited generic.txd), animations (edited ped.ifp), 'spead gear' and 'wall hack' (player switching interior anywhere on the map)


Badly needed in this new generation.
Title: Re: List of bugs and suggestions
Post by: Anik on May 27, 2017, 11:10 AM
The game still crashes if any GUISprite is on the screen.

Also, GUI_FLAG_TEXT_TAGS not working on compiled script.

@Stormeus
Title: Re: List of bugs and suggestions
Post by: Stormeus on May 27, 2017, 11:17 AM
Quote from: Anik on May 27, 2017, 11:10 AMThe game still crashes if any GUISprite is on the screen.

This is fixed internally pending another update release.
Title: Re: List of bugs and suggestions
Post by: Anik on May 27, 2017, 11:51 AM
Quote from: Stormeus on May 27, 2017, 11:17 AM
Quote from: Anik on May 27, 2017, 11:10 AMThe game still crashes if any GUISprite is on the screen.

This is fixed internally pending another update release.
Thats good. But seems like not only GUI_FLAG_TEXT_TAGS  nut none of the flags are working on compiled script.
Title: Re: List of bugs and suggestions
Post by: EK.IceFlake on May 27, 2017, 12:29 PM
Quote from: Anik on May 27, 2017, 11:51 AM
Quote from: Stormeus on May 27, 2017, 11:17 AM
Quote from: Anik on May 27, 2017, 11:10 AMThe game still crashes if any GUISprite is on the screen.

This is fixed internally pending another update release.
Thats good. But seems like not only GUI_FLAG_TEXT_TAGS  nut none of the flags are working on compiled script.
Then don't compile it?
Title: Re: List of bugs and suggestions
Post by: DizzasTeR on May 27, 2017, 02:19 PM
Quote from: vito1 on May 26, 2017, 10:56 AM
Quote from: karan20000000000 on May 26, 2017, 08:25 AM
Quote from: vito1 on May 26, 2017, 07:58 AMClientside Player's camera position (behind his back)
Similar to LU's right?
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Functions#Camera_Functions
No, I want to get current player's camera position (read-only) to make my own nametags of players. (position of camera needed to calculate visiblity of players on the screen)

Custom nametags are still possible to code
Title: Re: List of bugs and suggestions
Post by: EK.IceFlake on May 27, 2017, 02:35 PM
Quote from: vito1 on May 26, 2017, 10:56 AM
Quote from: karan20000000000 on May 26, 2017, 08:25 AM
Quote from: vito1 on May 26, 2017, 07:58 AMClientside Player's camera position (behind his back)
Similar to LU's right?
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Functions#Camera_Functions
No, I want to get current player's camera position (read-only) to make my own nametags of players. (position of camera needed to calculate visiblity of players on the screen)
You don't need to calculate it because as Doom? or someone else suggested you can do it with a built in function.
GUI::GetScreenPos();
If the Z parameter in the return value is positive, that area is visible on the screen. Otherwise it's not.
Title: Re: List of bugs and suggestions
Post by: krystianoo on May 27, 2017, 03:01 PM
Quote from: Aaron on May 26, 2017, 12:20 PM
Quote from: vito1 on May 26, 2017, 07:58 AMAnticheat for 'greenless' (edited generic.txd), animations (edited ped.ifp), 'spead gear' and 'wall hack' (player switching interior anywhere on the map)


Badly needed in this new generation.
Title: Re: List of bugs and suggestions
Post by: krystianoo on May 27, 2017, 03:08 PM
Ped.ifp can be protected like weapon.dat is and the same could be done with generic.txd, although 'palm' mods and such wouldn't work anymore. Which isn't such a problem, I suppose.

Other things that need protection are weapon animations so mods that edit them don't work anymore. Like walking while shooting or stuff like that.

Hiding big / certain map objects doesn't work.
Title: Re: List of bugs and suggestions
Post by: karan20000000000 on May 27, 2017, 03:12 PM
Quote from: vito1 on May 26, 2017, 10:56 AM
Quote from: karan20000000000 on May 26, 2017, 08:25 AM
Quote from: vito1 on May 26, 2017, 07:58 AMClientside Player's camera position (behind his back)
Similar to LU's right?
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Functions#Camera_Functions
No, I want to get current player's camera position (read-only) to make my own nametags of players. (position of camera needed to calculate visiblity of players on the screen)
Well, since you didn't mention the one I thought of, so I'll mention it formally here.

Suggestion:
Don't know how long will this take to be added but atleast add a reminder to add the camera functions (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Functions#Camera_Functions) to the client side.
Title: Re: List of bugs and suggestions
Post by: vito1 on May 27, 2017, 08:44 PM
Quote from: EK.IceFlake on May 27, 2017, 02:35 PM
Quote from: vito1 on May 26, 2017, 10:56 AM
Quote from: karan20000000000 on May 26, 2017, 08:25 AM
Quote from: vito1 on May 26, 2017, 07:58 AMClientside Player's camera position (behind his back)
Similar to LU's right?
http://liberty-unleashed.co.uk/LUWiki/Squirrel/Client/Functions#Camera_Functions
No, I want to get current player's camera position (read-only) to make my own nametags of players. (position of camera needed to calculate visiblity of players on the screen)
You don't need to calculate it because as Doom? or someone else suggested you can do it with a built in function.
GUI::GetScreenPos();
If the Z parameter in the return value is positive, that area is visible on the screen. Otherwise it's not.

I wrote about Z value 3 months ago http://forum.vc-mp.org/?topic=4323.msg31992#msg31992 you even liked that post, now you're teaching me...

Doom and you please DO NOT offtop here, it's not about worldtoscreen, it's about 3d position to calculate collisions via raytrace. Please do not teach me you even not understand the point. Stop it. I'm not asking for your advice. I don't need it. Leave me without this.

Moderator, please remove all offtop posts here.
Title: Re: List of bugs and suggestions
Post by: KAKAN on May 28, 2017, 04:19 PM
Add Domain Name support( or DDNS support, call whatever you wish :D )
Title: Re: List of bugs and suggestions
Post by: rww on Jun 15, 2017, 09:21 AM
function SetCameraPos for Client-Side.
Title: Re: List of bugs and suggestions
Post by: NicusorN5 on Jun 16, 2017, 07:07 AM
and SetCameraRotation.FromQuartenion(Quartenion) and SetCameraRotation.FromEulerAngles(Vector) cuz why not?
Title: Re: List of bugs and suggestions
Post by: vito1 on Sep 17, 2017, 10:27 AM
fix anti-wallglitch bug collision in printworks location (its working even when wallglitch allowed)
Title: Re: List of bugs and suggestions
Post by: NicusorN5 on Feb 13, 2018, 08:03 PM
Quote from: vitosca1 on Oct 22, 2017, 09:24 AMclinetside:
Player.Angle
Player.AimDir
Player.AimPos
Vehicle.Rotation
CreateMarker
DestroyMarker
PlaySound
You can use these by sending strings btw from the server to the players.
Title: Re: List of bugs and suggestions
Post by: NicusorN5 on Feb 14, 2018, 03:07 PM
Quote from: vitogta on Feb 13, 2018, 08:20 PM
Quote from: Athanatos(^_^) on Feb 13, 2018, 08:03 PMYou can use these by sending strings btw from the server to the players.
the point of client-side is to be lagless, also markers is limited at server-side of 100 instances total. For example if you want to show players on radar to player in case if they are located close to player you will be able to handle 10 players only. For 50 players you will need to work with 2450 instances of makers in server! Client-side stuff will help with that and will save tons of server resources.
Im wondering why you would need 2k markers in the server? I'm not sure that vc will handle that.
Title: Re: List of bugs and suggestions
Post by: haxerx on Jul 14, 2018, 03:50 PM
Quote from: vitogta on Jul 02, 2018, 01:25 AMsuggestion:
allow game_sensitivity_ratio below 0.500000
people anyway are using gaming mouses and other software for that
just let all people freedom to configure it as they wants

yes pls
Title: Re: List of bugs and suggestions
Post by: rww on Dec 16, 2018, 03:54 PM
small bump..

something like this (http://liberty-unleashed.co.uk/LUWiki/Squirrel/Server/Functions/Game/SetSurfaceTraction) or surface.dat in custom files
Title: Re: List of bugs and suggestions
Post by: Luis_Labarca on Aug 22, 2019, 02:35 AM
good night my friend, my suggestion is that if you could add these audio functions you could add mp3 from the store

FindSound( "Store/Audio/Audio.mp3" );
Sound.Open
Sound.Play
Sound.Pause
Sound.Stop



function of http://liberty-unleashed.co.uk

function onPlayerCommand( pPlayer, szCommand, szText )
{
if ( szCommand == "moo" )
{
local sound = FindSound( "moo.mp3" );
if ( sound )
{
sound.Open( pPlayer );
sound.Play( pPlayer );
sound.Close( pPlayer );
}
}
return 1;
}