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 - AdTec_224
A client update has been released for 04rel006.

This release was supposed to go live back in December but apparently I actually forgot to release it (sorry!)

  • Fixed OnPlayerShoot eventing not being called for shotguns or snipers.
  • Fixed checkbox crash on clicked in buildmode.
  • Fixed filepath sprite crashes in buildmode.
  • Updated Squirrel.
  • Fixed shotguns shooting through objects with wall glitch disabled.
  • 'PlayerShoot' now gets called when firing in first-person view.
  • Fixed 'onObjectShot' for explosions being called for everyone.
  • Hopefully fixed a few issues with the Steam version
  • New splash screen (credits to Spiller, thanks!)

This update will take effect upon reloading the browser.
Tutorials / [Tutorial] Re: The first VC-MP Server built as plugin
« on June 10th, 01:31 PM »
First off I appreciate your enthusiasm for helping to keep VC:MP alive, however there are a few problems with example (bare in mind I've only had a quick look).

  • The first problem I see is you're never checking "Server" is a valid pointer anywhere. While yes, it should always be valid, never assume anything. Always check before using it.
  • for (int i = 1; i < 3000; i++) should be 1000 not 3000 as the vehicle limit is 1000 and you're just wasting CPU cycles.
  • fn_OnPlayerMessage and fn_OnPlayerConnect both have the same mistake, if for whatever reason GetPlayerName returns something other than 0, you're not freeing memory causing a memory leak.
  • fn_OnPlayerCommand allocates memory but doesn't free memory AT ALL, that'll cause a memory leak everytime a player issues a command, which is a big mistake.

For the above reasons I highly recommend avoiding using this, however I won't delete the topic as it gives yourself and other people the opportunity to learn.
It's also a really good demonstration as to why we as developers give server owners scripting languages such as Squirrel that offer garbage collection rather than expecting people to use languages like C.
I think you're misunderstanding what the colour parameter is for. In this case, colour refers to the colour of the text (and by extension text alpha) and not the alpha value of the overall label.

So simply put:

Code: [Select]


Code: [Select]

set the alpha (and colour) value of the label itself, whereas the colour parameter in this code:

Code: [Select]
GUILabel(VectorScreen(0, 0), Colour(255, 255, 255, 0), "Colour!");

sets the colour and alpha of the text only, so it's effectively doing the same as:

Code: [Select]

Hope this helps.
Bugs and Crashes / [Bug] Re: GUILabel().Text color not changing.
« on March 23rd, 2021, 07:00 PM »
It's not really a bug per se, MGUIs intended behaviour is to continue with the defined colour until you close the colour tag using '[#d]'. So to conform to what MGUI is looking for, it should be:

Code: [Select]
Label.Text = "[#ff00ff]purple colored text[#d]";

then when you change the text, you can just do:

Code: [Select]
Label.Text = "non-purple colored text";

and the line will be the default colour.

Hope this helps.
Server & Plugin Updates / Server Update Released (2021-03-21)
« on March 21st, 2021, 10:47 PM »
An update for VC:MP 0.4 (04rel006) servers has been released.

  • Fixed reference counting issue resulting in checkpoint bug located here.

Windows Server (x86)
Windows Server (x64)
Linux Server (x86)
Linux Server (x64)
Hello everyone :)

Today I am pleased to announce the grand opening of our official Discord channel! This has been created in an attempt to unite the community in one place, in the hopes to help grow and improve the community as a whole. In this server users are free to chat with one another, seek help with client issues or scripting problems, share memories and funny moments in our pics and vids channel and so much more!

To join our discord server, use the link below:

Please remember this discord server is a work in progress and certain channels/features are incomplete and/or subject to change.

Big thanks to PunkNoodle and everyone else who helped make this server possible!
Bugs and Crashes / [Bug] Re: CreateMarker
« on December 30th, 2020, 01:59 AM »
As far as I'm aware it's not a bug, you're just not using the function correctly. It's RGBA not RGB, so the correct line of code for a red marker should be:

Code: [Select]
CreateMarker(player.UniqueWorld, Vector(496.481, -84.883, 10.0304), 4, RGBA(255, 0, 0, 255), 0);
Client Updates / Client Update for 0.4.6 Released (2020-12-27)
« on December 27th, 2020, 07:46 AM »
A client update has been released for 04rel006.

  • Fixed vehicles taking damage while upside down and in the air
  • Fixed buildmode crash when a function returns the local player

This update will take effect upon reloading the browser.
Server & Plugin Updates / Server Update Released (2020-12-27)
« on December 27th, 2020, 07:43 AM »
An update for VC:MP 0.4 (04rel006) servers has been released.

  • Fixed GetAmmoAtSlot returning incorrect values
  • Fixed "Whenever you set the double of an ammo of a weapon you have, you get kicked."
  • Fixed "Equipping Brass Knuckles kicks you"

Windows Server (x86)
Windows Server (x64)
Linux Server (x86)
Linux Server (x64)
Support / Re: i can't join after the update
« on December 25th, 2020, 12:17 AM »
libpng16.dll is included with the client update (as seen here) so either something/someone deleted it or it may require the Visual Studio redistributable to be installed, located here.
Server & Plugin Updates / Server Update Released (2020-12-24)
« on December 24th, 2020, 09:01 PM »
An update for VC:MP 0.4 (04rel006) servers has been released.

  • Fixed typo in streaming code causing massive memory issues
  • Fixed potential crash relating to nicknames
  • Fixed server adding IP to the ban list if the IP is already there
  • Fixed crashes when changing/destroying entities while deleting a player
  • Fixed race condition when teleporting players in vehicles
  • Fixed small memory leak
  • Fixed GetWeaponSlotAmmo not updating if anticheat is disabled
  • Fixed OnPlayerAwayChange triggering when dying using the default death timer
  • Added 'logging' config option
  • Added '-nologging' command line parameter
  • Added 'w' option to MVL vehicle filename format for weapons, e.g. v6400_t0_p2_w_Hunter.7z (still requires xml info to be present)
  • Updated third-party components
  • Fixed players being able to launch missiles while frozen/unable to attack
  • Fixed projectile crash exploit

NOTE: This update is optional but recommended.

Windows Server (x86)
Windows Server (x64)
Linux Server (x86)
Linux Server (x64)
Client Updates / Client Update for 0.4.6 Released (2020-12-24)
« on December 24th, 2020, 09:01 PM »
A client update has been released for 04rel006.

While this is NOT the 0.4.7 update it does include a lot of the quality-of-life improvements (and more!) from 0.4.7 all while still being backward compatible with current 0.4.6 servers!

  • Fixed crash when enabling color tags after creating element
  • Fixed crash when deleting elements after OnClick
  • Fixed elements with keyboard control refocusing themselves
  • Fixed not being able to unfocus GUI elements
  • Fixed camera breakage when spectating while drunk
  • Fixed boat wakes rendering incorrectly on non-default water levels
  • Client now hides 2dfx and special sounds when world is hidden
  • Fixed corona reflections on non-AGP graphics
  • Stopped VC disabling disk caching (this may improve I/O on older machines)
  • Fixed pickup shadows that were broken when VC was ported to the PC
  • Fixed critical shot immunity
  • Fixed fall damage immunity
  • Fixed some objects becoming undeletable when moved
  • Custom hunters can now fire missiles (requires updated server to function)
  • Fixed game text style 5 not clearing as it should
  • Fixed KillCommandDelay sdk function
  • Fixed script crash when printing long messages
  • Fixed being able to enter vehicle as passenger while frozen
  • GUI events are no longer processed if the element is hidden
  • Fixed /recordkey command
  • UID2 is now unique per server
  • Fixed checkpoint position not updating correctly
  • Fixed spectate graphical issue
  • Fixed setting water levels when using custom waterpro.dat
  • Fixed checkpoints not updating correctly
  • Checkpoints now use the alpha value correctly
  • Fixed vehicle horn sync
  • Fixed some (if not all) SetHandlingData issues
  • Fixed GUI skins not loading in build mode
  • Fixed game crashing when World.FindLocalPlayer() is called
  • Fixed exceptions from custom content being unhandled in build mode
  • Fixed an issue where onObjectShot was not being called for explosions
  • Fixed element 'FontSize' not changing size correctly if called before 'Text'.
  • Updated third-party components
  • Fixed players being able to launch missiles while frozen/unable to attack (requires new server)
  • Fixed projectile crash exploit (requires new server)
  • Added the ability to replace the generic.txd - /store/maps/generic.txd
  • Other general fixes and improvements

This update will take effect upon reloading the browser.

NOTE: Changes have been made to UID2. This will mean all clients have a new UID, possibily invalidating previous bans.

Happy Holidays :)
General Discussion / Re: Help
« on October 9th, 2020, 05:19 AM »
I have removed that IP from the ban list, however any more "security" issues and It'll be permanently banned.
Support / Re: the server does not appear in the masterlist
« on October 3rd, 2020, 11:29 PM »
That IP has been banned from the masterlist as it was a fake version of an official server (proof). Anyone hosting scam servers like this will be banned without warning.
Support / Re: Can't Join - Update Fail- Crash - Wiki Down
« on October 2nd, 2020, 06:29 PM »
It is indeed the latest official one, direct backup from the original host.