1. Visit the donators section and enjoy 50% off on single awards and packages during the 2019 spring sale!
  2. Make sure you are using our new web and server addresses or the server might appear offline for you! The same are: www.lsb-rp.com for the web and play.lsb-rp.com:777 for the server!
Dismiss Notice
What's up, baby? If you are ready to start your journey on the streets, register an account now and meet up the homies!

SA:MP v0.3-DL San Andreas Multiplayer Updates

Discussion in 'Information & Announcements' started by michael, Apr 3, 2016.

Thread Status:
Not open for further replies.
  1. michael

    michael Lead Community Manager
    Management

    Joined:
    Jul 7, 2007
    Messages:
    704
    Likes Received:
    794
    SA-MP 0.3.7 Features

    - Over 500 new object IDs added, including stunt objects and land objects.
    - Interface font size changing.
    - Some new variations of the San Andreas cop skins.
    - Server control of the car doors and windows.
    - The ability to add sirens for unmarked cop cars.
    - A simple static actor system to more easily create actor NPCs for shops.
    - Many bug fixes and new scripting features.

    You can download the latest version here.
     
    #1 michael, Apr 3, 2016
    Last edited by a moderator: Apr 19, 2017
  2. michael

    michael Lead Community Manager
    Management

    Joined:
    Jul 7, 2007
    Messages:
    704
    Likes Received:
    794
    SA-MP 0.3.7 R2-1 Features

    - Adds protection against hackers who spam OnPlayerConnect messages.
    - Weapon ID checking after OnPlayerWeaponShot in case the script doesn't filter it.
    - Actors now default to being invulnerable (this might be needed later for a bandaid rotation fix in the client).
    - Adds console variable 'conncookies' (int) to disable the 0.3.7 connection cookie system.
    - Adds console variable 'cookielogging' to disable logging of connection cookies requested by newly connecting players.
    - Adds SHA256_PassHash() function for hashing player passwords.
    SQLite stuff:
    - The sqlite functions db_open and db_query now return indexes (starting at 1) instead of memory handles. That means the server tracks the memory handles internally and won't crash if invalid handles are used.
    - Several extra sqlite db_* functions have been added. Please see the a_sampdb.inc for a full list.
    - Adds %q to format(). %q is the same as %s although the input will first be passed through sqlite's string escaping function.
    - Adds console variable 'db_logging'. Logs sqlite db_* function errors to the main server_log.
    - Adds console variable 'db_log_queries'. Logs all sqlite db_query() calls including the query string.
     
    #2 michael, May 5, 2016
    Last edited by a moderator: Apr 19, 2017
  3. michael

    michael Lead Community Manager
    Management

    Joined:
    Jul 7, 2007
    Messages:
    704
    Likes Received:
    794
    SA-MP 0.3.8 Features

    The 0.3.8 version of SA-MP will feature server-side custom models. Right now custom objects and custom player skins are supported, with more types planned for the future. Since this feature potentially has a large scope for some servers, 0.3.8 is being placed in to RC early. This gives server owners plenty of time to plan. These new features will take some time to formalise, so be please be patient with the release.

    Although there are several new security features related to custom models, these are not yet enabled in the current build. Only use the RC version on servers you trust as there could be unknown security flaws in GTA:SA's model formats.

    Updates:

    SA-MP 0.3.8 RC4-4 Client update (optional)

    - The RC4-4 client is the same as RC4-3, although removes the "Server timer wrapped" message which was being triggered incorrectly. After some testing, I found there were no ill effects in game from the timer wrapping.

    SA-MP 0.3.8 RC4-3 Client update (optional)

    - Actors won't do the 'hands up' action when aimed at.
    - Limits the game timer some more to fix camera interpolation bugs, although increases the risk of a timer wrap.
    - You should be able to use downloaded txds as textdraw sprites using the tag mdl-ID:texturename. Where '-ID' is a model added with AddSimpleModel.
    The textdraw system is likely to be upgraded in future RCs, having features similar to MaterialText, so I'd recommend against using downloaded textures for text messages.
    - Max client sprite slots increased from 100 to 200.
    - More txd validation. The client will not accept textures with a width or height > 2048 pixels.
    - Vehicle exiting should work properly on server created objects.

    SA-MP 0.3.8 RC4-2 Client update

    - When loading a '2D Effect' from downloaded model, the client will only load lights and escalators. All the game's particles are already available in SA-MP as seperate objects.

    SA-MP 0.3.8 RC4-1 Client/Server update (optional)

    - Client will show a HTTP error instead of 'bad checksum' when downloading from a broken URL.
    - Fixes server bug: If RedirectDownload() was called along with script returning 1 in OnPlayerRequestDownload, the client would not know which download method to use.
    - When SetSpawnInfo is used with a custom skin, the custom skin won't be reset to 0.

    SA-MP 0.3.8 RC4 Client/Server update

    - Adds support for URL redirection for model/texture downloads, which means you can host downloads on a web server instead of sending them through the SA-MP server. Client URL downloading is done via libcurl version 7.57.0 compiled with support for http, https, and zlib (gzip).
    - If you require a proxy server to download over http, a proxy address can be entered in the Tools > Settings dialog of the SA-MP server browser.
    - Adds various pawn functions to deal with download redirection. See the dl_redirect.pwn filterscript for more information.
    - Adds GetPlayerCustomSkin() function.
    When SetPlayerSkin is used to set a custom skin (downloaded from the server), GetPlayerSkin returns the base skin (from the game), not the custom skin ID. Instead you must use GetPlayerCustomSkin to get the custom skin ID. The SA-MP client and server assume that downloads could fail, or that custom models may fail to load, in which case the base skin used in AddCharModel() is still the main skin.

    Code:
    forward OnPlayerRequestDownload(playerid, type, crc); // called when the player requests a download
    Code:
    native FindModelFileNameFromCRC(crc, retstr[], retstr_size);
    native FindTextureFileNameFromCRC(crc, retstr[], retstr_size);
    native RedirectDownload(playerid, url[]);
    Code:
    native GetPlayerCustomSkin(playerid);
    SA-MP 0.3.8 RC3-4 Client update

    - "FreeTXDs" was removed from the F5 screen as it was crashing some players.

    SA-MP 0.3.8 RC3-3 Client update

    - More dff/txd validation.

    SA-MP 0.3.8 RC3-2 Client update

    - The custom model unloading code added in RC3 is causing crashes for some people and has been disabled for now.

    SA-MP 0.3.8 RC3-1 Client update

    - The dff reader couldn't read the Skin extension on some skins.

    SA-MP 0.3.8 RC3 Client/Server update

    - Adds the first layer of security checks for model/texture file downloads. More security features will be added as the 0.3.8 RC period progresses. For now, only join servers where you trust the server owner.
    - You can now change the location of the model cache folder using the Tools > Settings menu in the SA-MP server browser.
    - Objects created from models downloaded from the server are now freed from memory after they are deleted.
    - Adds data compression to file downloads. Note: Downloads with thousands of small files can still be slow.

    SA-MP 0.3.8 RC2 Client/Server update

    - MAX_OBJECTS increased to 2000.
    - Fixes sniper hud was not drawing correctly.
    - In RC1, SelectObject was showing debug collision information and would crash if the information was unavailable.
    - Fixes invalid ped model crash that effected some 0.3.8 RC1 players
    - Adds 'local' cache concept to avoid having to download large numbers of models in game. This feature is not finalized. More on this later.
    - In RC1, streaming might have been broken if you teleported from one vworld in to the same vworld.

    - Adds support for timed objects in custom models.
    - AddCharModel/AddSimpleModel can now be called from pawn. There are currently no restrictions on when you can call these functions, but be aware that if you do not call them inside OnFilterScriptInit/OnGameModeInit, you run the risk that some players, who are already on the server, may not have downloaded the models.

    You can download the latest version here.
     
    Majestic and glockism like this.
  4. michael

    michael Lead Community Manager
    Management

    Joined:
    Jul 7, 2007
    Messages:
    704
    Likes Received:
    794
Thread Status:
Not open for further replies.