Server/Squirrel Update Released (29 May)

Started by Stormeus, May 29, 2015, 05:28 PM

Previous topic - Next topic

Stormeus

An update for VC:MP 0.4 (04rel002) servers has been released.
  • Added spheres.
  • Added checkpoints.
  • Added a new disconnect reason (4) for players who are suspected of cheating.

This update introduces new cheat prevention mechanisms which will be updated as seen fit.

Plugins which do not need to support spheres or checkpoints do not need to be updated.

Windows Server (x86)
Windows Server (x64)
Linux Server (x86)
Linux Server (x64)

A Squirrel update will be released shortly.

[Updated SDK] [SDK Diff]



An update for Squirrel has also been released:
  • Added FindCheckpoint(id) and CreateCheckpoint(player, world, pos, ARGB, radius)
    • If player is null, the checkpoint is created for all players.
    • Checkpoint.Color, Checkpoint.ID, Checkpoint.Owner, Checkpoint.Pos, Checkpoint.Radius, Checkpoint.World properties available.
    • Checkpoint.Remove(), Checkpoint.StreamedToPlayer(player) functions available.
  • Added FindSphere(id) and CreateSphere(player, world, pos, RGB, radius)
    • If player is null, the sphere is created for all players.
    • Sphere.Color, Sphere.ID, Sphere.Owner, Sphere.Pos, Sphere.Radius, Sphere.World properties available.
    • Sphere.Remove(), Sphere.StreamedToPlayer(player) functions available.
  • Added callbacks onCheckpointEntered(player, checkpoint), onCheckpointExited(player, checkpoint), onSphereEntered(player, sphere) and onSphereExited(player, sphere)

Updated binaries are available on the download page for the Squirrel plugin:
https://bitbucket.org/stormeus/0.4-squirrel/downloads

Stormeus


DizzasTeR

#2
Waited for a long time for this, Brilliant work guys! ;)

Finally some unique things to make now!

Preview

ℛḝξ☂

I may be a slow walker but I am always walking.

EK.IceFlake

Quote from: stormeus on May 29, 2015, 05:28 PM
  • Added callbacks onCheckpointEntered(player, checkpoint), onCheckpointExited(player, checkpoint), onSphereEntered(player, sphere) and onSphereEntered(player, sphere)
You made mistake here, you repeated onSphereEntered and no onSphereExited (in your post).

MacTavish

Thanks now i can easily create my Curcuit and Drag race systems :)

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Stormeus

#6
Quote from: FinchDon on May 31, 2015, 03:25 AMStormeus Add these function to wiki.vc-mp.org too

It's a community wiki. I can't maintain all the documentation and keep up with development at the same time. I don't know why you can't handle it, especially when @vcmptr is the only one maintaining things there at the moment.