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.

Show posts Menu

Messages - AdTec_224

All accounts that were previously banned are still banned, however if you would like to request an unban for a specific user, go head. I can then make a decision based on the reason they were originally banned and the time since the ban.
As some of you may have been aware, the server running the web services for this community was hit by ransomware a few weeks ago, while we have been able to restore services fairly quickly it seems our forum was one of the casualties. Upon restoring the old forum (Wedge) it became obvious there we problems, some users being unable to post or even login. After several attempts to fix these problems and still no luck, I decided it was time to try a different approach...

Welcome back SMF!

Why the move? Simple! SMF is well maintained, unlike Wedge and offers a wide variety of mod and theme support should we be decide to utilise them. I have also managed to successfully convert most (if not all) user data and messages over from Wedge, however if anyone notices any issues feel free to report them.

Happy posting! :)
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.
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:


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

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:


Hope this helps.
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:

Label.Text = "[#ff00ff]purple colored text[#d]";
then when you change the text, you can just do:

Label.Text = "non-purple colored text";
and the line will be the default colour.

Hope this helps.
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 / Re: [Bug] CreateMarker
Dec 30, 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:

CreateMarker(player.UniqueWorld, Vector(496.481, -84.883, 10.0304), 4, RGBA(255, 0, 0, 255), 0);
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.
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)
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.
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)
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
Oct 09, 2020, 04:19 AM
I have removed that IP from the ban list, however any more "security" issues and It'll be permanently banned.