Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Xmair
1
General Discussion / Re: Xmair's VCMP Launcher
« on July 15th, 01:02 PM »
Quote from M4Goku on July 14th, 03:44 PM
its crashing help me and plz verify me on discord.
skill issue
2
Yes. There is a limit on both, the XML objects and custom objects. Although none of the limits are documented anywhere.
3
Quote from UncleRus on April 1st, 12:20 PM
Quote from habi on April 1st, 11:37 AM
They are sqmod plugins, which may be downloaded at
Code: [Select]
https://discord.gg/JMcXBa3
Quote from . on August 24th, 2016, 12:12 AM
Binaries can be found here: https://discord.gg/JMcXBa3
Habi in this channel i find 64 bits but i need 32 bits
I don't think SqMod officially supports 32 bit anymore.
4
Off-Topic General / Re: Need a plugin
« on March 6th, 03:16 PM »
Quote from MRSK143 on March 6th, 06:26 AM
Bruh... then can you make it again or provide its source code plz?
I lost the source code and I don't have any interest or time to spare for VCMP. Sorry.
5
Off-Topic General / Re: Need a plugin
« on March 6th, 05:52 AM »
Don't have it anymore
6
Community Plugins / Re: Whitelist plugin
« on February 26th, 11:17 AM »
Quote from habi on February 26th, 10:56 AM
Include every .h file inside main.h and at last including main.h in every .cpp.
.. what
7
Quote from Chicken on February 21st, 12:17 PM
I probably understand, is it possible to get the server name by sending a data packet whose protocol is UDP and whose format is byte set 32+strlen to the server IP and port?
Yes it is possible to get the server name by sending a UDP dgram packet. However I don't think you understand how to parse the result properly so I would suggest you to just use premade code. Fleka did something a few years ago: https://forum.vc-mp.org/?topic=5530.msg39171#msg39171

One small thing to note is you should try changing the magic to 'VCMP' instead of 'MP04' since back when I was coding a browser, some servers wouldn't work if you used 'MP04' as magic.
8
I don't really understand what you really mean but if you want to make something such as a server browser, here's what you need to do:

Firstly, you make a GET request to a master list URL (I usually use https://master.thijn.ovh/). This returns a JSON array of servers. You are provided with each announced server's IP, port and official status.

Afterwards, you loop through the server list received from the master list and you send a UDP packet to each of them. There's more information about this in the following wiki page:
http://wiki.thijn.ovh/index.php?title=Query_Mechanism

The page is pretty self explanatory but if you still face issues, you can always use a reference such as:
https://github.com/BigETI/SAMPLauncherNET/blob/master/SAMPLauncherNET/Source/SAMPLauncherNET/Core/Server.cs
9
Support / Re: Could not load main.nut on linux
« on February 20th, 06:38 AM »
Change the file ending to LF (\n)
10
Script Showroom / Re: Set Grapics Command!
« on October 5th, 2021, 07:26 PM »
Quote from Jutt on October 5th, 2021, 06:33 PM
khud banai hai -- translated: made it myself
No offense but it clearly shows lmao
11
Script Showroom / Re: Set Grapics Command!
« on October 2nd, 2021, 10:35 AM »
big brain code
12
Quote from DizzasTeR on August 24th, 2021, 10:21 AM
Quote from Xmair on August 24th, 2021, 06:43 AM
This function is used to convert the world's 3D co-ordinates to the client's 2D screen co-ordinates.
Its the other way around. The Z parameter in Screen -> World Pos or World Pos -> Screen represents visibility. Value is between -1 or 0 (forgot exactly) if the vector is not visible on screen and anything else if it is. (You probably have to test)
My bad, didn't read the function name closely. If the Z coordinate is in negative, the vector is formed behind the player's screen (from my last experiment)
13
This function is used to convert the world's 3D co-ordinates to the client's 2D screen co-ordinates.
14
Support / Re: Stuttering issue....
« on June 6th, 2021, 09:39 PM »
@DizzasTeR faced the same issue. Apparently it's common for new hardware, VC is an old game.
15
Bugs and Crashes / Re: ini script systems
« on May 2nd, 2021, 05:11 PM »
Stop using INIs for storing account information, they are not meant for that.