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.

Topics - Spiller
When you shoot an (tracked) object with explosions, the onObjectShot function is called for all the spawned players.


What you think caused the bug
Explosion tracking was fixed in the QoL updates, it possibly exists ever since.
Quote from AdTec_224 on December 24th, 2020, 09:01 PM
  • Fixed an issue where onObjectShot was not being called for explosions
Used this code on a blank server:

Code: [Select]
local Tree = CreateObject( 444, 1, Vector( -337.578, -519.728, 11.9022), 255 );
Tree.TrackingShots = true;

function onObjectShot( object, player, weapon )
if(object.ID == Tree.ID)
Message("[#7A7A7A]Shot by: [#C0C0C0]" + player.Name);

Edit: Looks like a report already existed for this too ( :facepalm:

Bugs and Crashes / [Bug] Vehicle.Health returns 1000 for HP beyond that
« on November 3rd, 01:05 PM »
Vehicle.Health (serverside) always returns value as 1000 if the actual HP is greater than that.
If you try to set HP higher than 1000, it will reflect as it should although Vehicle.Health will only return 1000.
Clientside works fine in this case.


Servers / Rob The Vehicle (IV)
« on April 24th, 07:44 AM »

Rob The Vehicle (IV)
Releasing Sunday 25th April, 16 GMT

Greetings VCMP, the wait is over! After a long hiatus, Rob The Vehicle is finally coming back.

Rob The Vehicle is a team-based gamemode where one side applies their full force to steal and deliver the vehicle while the other defends it against their tactical attempts.

A while back, the server made its place in our hearts as one of the most popular servers VCMP has ever seen. After a chain of successful beta tests, OneVice is now reanimating the orange heaven.

( gameplay footage by Firecum / Karna )

We invite everyone to join us in the release event on this weekend.
Read more about the release here.

server files

Team OneVice
Bugs and Crashes / [Bug] Animation bug: Sitting on bikes while crouched
« on January 23rd, 04:31 AM »
If you try to sit on a bike using the passenger key while crouched, you'll enter and sit in the same state. It might hold some resemblance to this bug.


Steps to reproduce
  • Crouch near the rear tire of bike facing the front.
  • Press the passenger key.

What you were doing when the bug happened
Playing EGAD, Xobert pointed it out as "the cool thing".

What you think caused the bug


P.S The second (sliding) thing may or may not be a bug, it might be caused due to the tire somehow getting stuck in the ground, possible through the sidewalk.

I couldn't reproduce it again, so I assume it's just a VC bug, however I've put it in the video, just incase.

Tutorials / [Guide] Latency, Bufferbloat and Jitter
« on January 20th, 10:40 AM »
Hey everyone,

I don't seem to be having a rationale to why I'm writing this, just in hopes that it might help a few people. Although a big chunk of this thread is from something I posted back in 2016 at some other community, I've tried to update it and make it relevant to VCMP.

This thread entails about basic overview of Latency, Bufferbloat & its impact and a few advices/methods that can be devised to resolve the discussed issues.

— Jibber-Jabber

I'll throw in a few definitions here to reference them in other parts. Most of you might know about them already but anyway,

(a) Bandwidth
It is the maximum rate of data transfer. It can be seen as the "width" of a pipe, the narrower the pipe, the less material can be transferred across it.

(b) Latency
It is "response speed" of your network, measured as the round trip from your game client to the server. It is measured as Ping. The higher the latency, the higher will be the delay between your client and the server or otherwise known as "Lag".

(c) Jitter
This is the measurement of how much your ping is spiking / fluctuating over an average period of time. This can be caused by an inconsistent network or high usage of bandwidth. Higher jitter results into stuttering of your packets, degrading both your and your opponent's gameplay.

— Factors affecting lag

It is a common misconception that only ping has an impact on an individual's lag, while it depends upon a number of other factors, such as jitter, bufferbloat, quality, speed, routing, yadda yadda. Let's discuss a few before we can mitigate them.

(a) Ping
This is obviously the primary factor but not the only. Higher ping means higher delay on all of your actions requiring you to lead your aim on your opponent and also harder for your opponent to hit you.

There are not a lot of ways you can reduce your base ping except changing/upgrading your connection.
(The best would moving closer to the host but it can only be assessed theoretically)

(b) Instability
This causes jitters, stuttering and UDP packets getting lost often. This might vary on strength and bandwidth of your connection.

You might be able to control your network and mildly optimize your connection but in the end its completely dependent upon the architecture of your ISP.

(c) Higher Usage
There might be unwanted processes running in the background consuming your internet such as updates. And there can be a lot of devices connected to your network leeching off bandwidth and making you lag.

(d) Routing
There is a fair chance of misconfiguration by your ISP or at the server which can lead to higher latency. However, these are often temporary.

Another case can occur where the host server is not well optimized in terms of code, there might be a lot of resource consumption due to, for instance, a large number of timers causing the server to not operate at optimum performance. Client side processes can also rupture connectivity.

(e) Speed
I would not rank it as an important factor, because most (urban) connections can meet the basic requirement. However, yes it is a factor, without adequate speed, you're only getting a minimal amount of throughput.

— Bufferbloat & Jitter

This is a factor I'd like to separately highlight in this thread.

What is bufferbloat? defines it as "the undesirable latency that comes from a router or other network equipment buffering too much data" i.e there are way too many packets sent and they get queued which leads to ping spikes, stuttering and packet loss.

This page right here gives a neat illustration of how data accumulates as buffer.

How do I know if I have this problem?
You can test on DSL Reports, here. Anything below B in Buffer Bloat and we are talking unhittability, which can nowhere be condoned.

Can this be fixed?
Yes, the easiest method to fix it is the rate limit method. However, you'd require a router which allows you to limit bandwidth for a specific device (or total bandwidth). Otherwise you might want to buy switches or other equipment which provide that interface.

Below is a result without capping my bandwidth:
(click to show/hide)

After I limited bandwidth for my PC
(click to show/hide)

A test in-game
(click to show/hide)

20 checks over 40 seconds, Client Response calculated with a threshold of 30ms.

Lower rate, lower bloat
(click to show/hide)

A lower rate might result into a low bloat, but you need to maintain a balance at a point where your data is getting through at just fine speed while not getting buffering your network at the same time.

You also need to limit other devices on the network otherwise its not a significant change.

Some routers already come with QoS features, you can use them instead to let the router automatically manage bloat.

— Advices to reduce lag

As I said, lag does not depend on a single factor, and there is more than just bufferbloat or ping. So here are some advices that might result into a better gameplay experience.

(a) Wired Connection
If possible, always play on an ethernet connection, it is infinitely better than WiFi, especially 2.4 Ghz band. Mobile networks have a very high packet loss, devoid them from online gaming.

Moreover, there is less bloat, with minimum limit on rate.
(click to show/hide)

(b) Disable Windows Update
Updates in background are outright annoying while gaming, your ping will spike like crazy. You can either disable updates entirely, (DO NOT DO THIS! This is incredibly stupid and a security risk! Updates are required to maintain system stability and security.) or set your network as metered in network settings (Windows 10).

* Game Mode in Windows 10 restricts background internet activity.

(c) Using a game booster
You can use a game booster such as Razer Cortex which not only optimizes your rig for maximum performance but also shuts down background processes which might be consuming internet.

If you don't want to install one, you can still manually close any background process. To find out what is consuming your internet you can use the Task Manager (Win 8+) or Resource Monitor in 7.

(d) Wireless Advices
If you still plan to choose WiFi, or can not use a wired connection, you can atleast improve your wireless connection.

Choosing the best channel
(click to show/hide)
Your router automatically chooses a wifi channel for you to broadcast the signal on. However, it might not the best one.

To figure out which is the best one depending on other networks around you, you can use a WiFi tool such as WifiInfoView by NirSoft.

You have to select the least common channel in your area so it does not clash with any other.

Getting the best out of it
(click to show/hide)
Make sure you have disabled power saving for your network cards in network settings.

For this, go to Network and Sharing Center > Adapter Settings > WiFi > Properties > Configure > Power Management and uncheck "Allow the computer to turn off this device"

You might also reach there from device manager.

You also need to put your WiFi cards in full performance.

For this, go to Power Options > Change Plan Settings > Change Advanced Power Settings > Wireless Adapter Settings and set it to Max Performance

(e) DNS
Your ISP provides you with a DNS which is used to look up and resolve IP addresses. However you might change to public DNS by Google or Cloudflare which are faster.

(f) Flush the Network Profile
Sometimes you need to reset your network config.

Here's how
(click to show/hide)
Open Command Prompt as admin.
Type in the following one by one.

ipconfig /flushdns
ipconfig /registerdns
ipconfig /release
ipconfig /renew
netsh winsock reset

and restart your computer

(g) Change ISP?
You might require to change your ISP if you are not getting the ping you expect to get even after doing everything you could.

You can head over to Global Ping Stats, and check for the ping from your closest source to server location. If your ping is not around the ping calculated there, its time to upgrade or change.

(click to show/hide)

     - These advices are for Windows.
     - There is only so much you can damage in your router, however, be careful.
     - If I got anything wrong or something can be improved/added, feel free to contact or correct me.

Script Showroom / [Tool] Script Compiling Tool
« on December 11th, 2020, 08:36 AM »
What and why?

This is the result of accidentally locking myself in my room and ultimate boredom ):
This might not really be useful to a lot of people but helpful for anybody who compiles their scripts (at either server or client side) as compiled nut (cnut) files.

  • Compiles all files in one click, no configuration required.
  • Directory structure is retained.
  • Errors from all files are displayed after compiling.


(click to show/hide)
(click to show/hide)
(click to show/hide)


Virus Report.
GitHub Repository.
Servers / [0.4] The Demolition Wars
« on October 20th, 2020, 06:52 AM »

The Demolition Wars
Releasing 24th October

We are happy to finally announce release date for our server.
Save this date! Saturday 24th of October at 15 GMT.
After dedicating 3+ months of time into the server, we are glad that everything has been put in place.

The development does not stop here, we will keep adding new features constantly to the server.
Together with the release, staff applications will be opened to public for numerous ranks.