SA-MP Forums

Go Back   SA-MP Forums > SA-MP > News and Updates

Reply
 
Thread Tools Display Modes
Old 12/08/2014, 03:08 AM   #1
Kalcor
SA-MP Developer
 
Join Date: Apr 2005
Location: Oblivion
Posts: 711
Reputation: 2436
Spray SA-MP 0.3z R4 server update

This update is for SA-MP server owners only

If updating from an existing 0.3z server: you can update simply by replacing the 'samp03svr' file on linux, or 'samp-server.exe' file on Windows, found in the 0.3z server download package.

Important: If your script uses the OnUnoccupiedVehicleUpdate callback, you will need to recompile your scripts with the latest pawn includes to use this server update.

SA-MP 0.3z R4 server

We received some reports that players might be able to use the vehicle trailer syncing in order to move vehicles around on the server without being in control of them.

- Additional sanity checks have been added to the trailer validation on the server.
- A new callback is added to identify players updating their vehicle's trailers:

Code:
public OnTrailerUpdate(playerid, vehicleid); 
// playerid is the player who sent a trailer update. vehicleid is the trailer being updated.
// Returning 0 to this function will stop the trailer update being sent to other players on the server. The trailer's position will still be updated internally on the server.

- The OnUnoccupiedVehicleUpdate is updated to include the new velocity of the vehicle updated.

Code:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z);
// If your script uses this callback, you will need to update this definition and recompile your scripts to use the 0.3z-R4 server.

- Removes script HTTP debug messages left in the 0.3z-R3 server.

Downloads:

SA-MP 0.3z R4 Linux Server: http://files.sa-mp.com/samp03zsvr_R4.tar.gz
SA-MP 0.3z R4 Windows Server: http://files.sa-mp.com/samp03z_svr_R4_win32.zip
SA-MP 0.3z R4 Linux Server (1000 max player): http://files.sa-mp.com/samp03zsvr_R4-1000p.tar.gz
Kalcor is offline   Reply With Quote
Old 12/08/2014, 03:11 AM   #2
Swedky
Banned
 
Join Date: Jun 2013
Location: Argentina.
Posts: 2,093
Reputation: 827
Default Respuesta: SA-MP 0.3z R4 server update

Ty Kalcor!
Swedky is offline   Reply With Quote
Old 12/08/2014, 03:21 AM   #3
SW1FTmeister
Big Clucker
 
Join Date: Jul 2013
Location: Portugal
Posts: 100
Reputation: 0
Default Re: SA-MP 0.3z R4 server update

Thanks, fast update!

PS: Remove the ";" from the callbacks as it can confuse the newer scripters.
SW1FTmeister is offline   Reply With Quote
Old 12/08/2014, 03:30 AM   #4
EduGTA
Gangsta
 
EduGTA's Avatar
 
Join Date: Mar 2011
Location: Venezuela / Monagas
Posts: 787
Reputation: 200
Default Respuesta: SA-MP 0.3z R4 server update

Thanks a lot!
__________________
|| 2014 = 654 / 50 REP || 2015 = 745 / 145 REP || 2016 = 758 / 173 REP || 2017 = 778 / 191 REP ||
osu! - Steam - YouTube
EduGTA is offline   Reply With Quote
Old 12/08/2014, 03:31 AM   #5
davve95
High-roller
 
davve95's Avatar
 
Join Date: Nov 2009
Location: Sweden
Posts: 3,833
Reputation: 230
Default Re: SA-MP 0.3z R4 server update

Thanks for the update!
davve95 is offline   Reply With Quote
Old 12/08/2014, 03:46 AM   #6
nickdodd25
Huge Clucker
 
nickdodd25's Avatar
 
Join Date: Jan 2012
Location: Unknown
Posts: 444
Reputation: 98
Default Re: SA-MP 0.3z R4 server update

Oh nice i recently had issues with syncing trailers with players and OnTrailerUpdate should come in handy.

Also what about adding vehicle angle to OnUnoccupiedVehicleUpdate?
__________________
Nick

Quote:
Originally Posted by Sanel123 View Post
Calculator will you update when a samp client needs a new version to return players
Willing to do do server, website, and forum installs for people in need of help. Contact me via pm for pricing and information.

Hosted tab monitor, statistics and player search!
Click for more info for Team Shrimp Teamspeak3

Team Shrimp, Why settle for anything less?
nickdodd25 is offline   Reply With Quote
Old 12/08/2014, 04:19 AM   #7
Miguel_Leopold
Big Clucker
 
Miguel_Leopold's Avatar
 
Join Date: Jul 2011
Location: México City
Posts: 143
Reputation: 28
Default Respuesta: SA-MP 0.3z R4 server update

Thanks a lot.
Also some players use Vehicle Sync Update on vehicles drive by other users to confuse some anticheats.
__________________
HOLA MUNDO, HELLO WORLD
Miguel_Leopold is offline   Reply With Quote
Old 12/08/2014, 04:22 AM   #8
Unrea1
Gangsta
 
Unrea1's Avatar
 
Join Date: Oct 2013
Location: Venezuela
Posts: 821
Reputation: 70
Default Re: SA-MP 0.3z R4 server update

Awesome. Thanks Kalcor.
Unrea1 is offline   Reply With Quote
Old 12/08/2014, 04:24 AM   #9
Luis-
High-roller
 
Luis-'s Avatar
 
Join Date: Jan 2010
Location: England
Posts: 4,048
Reputation: 343
Default Re: SA-MP 0.3z R4 server update

Nice one Kalcor.
Luis- is offline   Reply With Quote
Old 12/08/2014, 04:31 AM   #10
MehranGta
Huge Clucker
 
Join Date: Jul 2012
Location: CA - IR
Posts: 204
Reputation: -7
Default Re: SA-MP 0.3z R4 server update

Nice release Kalcor.
MehranGta is offline   Reply With Quote
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW DO I UPDATE MY SERVER? SA:MP MAN Server Support 4 28/06/2012 06:30 AM
Cant Update My server to 0.3e :[HELP] ℓмяαη_кнαη Server Support 3 20/05/2012 12:45 PM
Server update help razerclaus Server Support 7 03/01/2011 01:07 AM
Server Won't? Update? owner jacob Server Support 4 12/02/2010 07:54 PM


All times are GMT. The time now is 05:08 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.