0.3a Scripting Build (ended)
#1

0.3a Scripting Build (ended)

SA-MP 0.3a is now in feature lockdown. That means that only major bugs will be fixed. I know there are lots of good suggestions being posted but please keep them for the next version and do not post them in this section of the forum.

This is a pre-release version of the SA-MP 0.3 client/server and is being released so that 0.2X server owners can start testing their scripts on 0.3 and provide feedback about any problems.

Please note: SA-MP 0.3 is still in Beta. There are still many things that need to be fixed before it will be released. Many new scripting functions are also not yet documented. A full list of changes suitable for outside development has not yet been produced. If you require this information please do wait for the full release.

Major changes needed to 0.2X scripts:
- Vehicle locking can only be applied to streamed-in vehicles. Please see the bottom of rivershell.pwn if your script uses SetVehicleParamsForPlayer.
- CreatePickup has a new virtual world default parameter. This won't require any changes to your script, although you will at least need to recompile with the 0.3 includes.
- SetDisabledWeapons is removed.
- The client commands /pm /tpm and the server callbacks OnPlayerPrivMsg and OnPlayerTeamPrivMsg are removed. If you need a replacement /pm command please see the base.pwn filterscript.
- Multi-car trains can only be created with AddStaticVehicle/Ex. Do not use CreateVehicle.
- The new limits of 0.3 can be found on this page: https://sampwiki.blast.hk/wiki/Limits
- New pawn scripting natives added in 0.3 can be found here: https://sampwiki.blast.hk/wiki/Category:Added_in_0.3
- Although the vehicle model limit in 0.3 is unlimited, if you use a large amount of vehicle models, you may notice parts of your mode become framey as vehicle models are dynamically loaded/unloaded. Keeping the number of vehicle models below 150 is a good idea.

Current RC Client: none
Current RC Server: none

Please check this thread again for updates.

Updates:

RC10-4 Client Update
- Fixed a fairly big problem with vehicle model loading which might have slowed the game.

RC10-3 Client Update
- Fixed an issue with trailer sync if the cab was carrying a passenger who paused.

RC10-2 Client Update
- Fixing some new and rare startup crash (0x5B8E64)

RC10-1
- Attempting to fix a vehicle rotation problem some people have noticed while spectating another vehicle.
- Weapon skills reset to 999 after a gamemode restart.
- Some fixes for entering/exiting vehicle modshops.
- Added OnEnterExitModShop callback.
- Fixed server crash if someone connected during a gamemode restart.
- Added GetPlayerSurfingVehicleID native.
- Changed the default server rates and streaming distance.
- Fixed samp_debug launching.

RC9-1
- Server slot limit increased to 250
- Some small fixes to the vehicle sync netcode.
- If the player's clock is enabled, weather ID changes will interpolate rather than instantly changing.
- The client exception dialog will display if GTA SA crashes during loading. This is needed to trace a startup crash some people are having. If you do crash while GTA SA is loading, please make a thread and post the exception box details. Please also confirm whether GTA SA single player is working correctly.
- The server crash_log on Windows will display the stack information. This is needed to trace a rare Windows server crash.
- Removed double border font for everything but the chat window as it was decreasing framerate in some cases.

RC8-5 Client Update
- Corrected some problems with vehicle rotation.
- Made cars with applied vehicle mods load a bit faster.
- Decreased the vehicle surfing 'stick' time.

RC8-4 Client Update
- If a server creates vehicles dynamically (CreateVehicle) the vehicle model loading wasn't optimised, which lead to small "lags/freezes" while vehicle models were being loaded/unloaded. This fix keeps more models loaded to avoid loading/unloading as you drive around.

RC8-3 Client Update
- This should fix a crash some people are having while starting SA-MP. The loading bar gets to about 80% and SA-MP just exits. Apparently this problem could be resolved by disabling 'visual themes' in Windows compatibility mode although this workaround should no longer be required in RC8-3.
- Fixed an issue with plane damage model which caused some planes to have an extra wheel or the hatch not to open properly.

RC8-1/2
- Planes now repair with RepairVehicle.
- Some improvements to the vehicle sync (smoother rotation).
- Reduced network bandwidth for vehicle syncing.
- Fixed server crash in gamemode restart.
- Optimised the chat text rendering a bit - should be a bit faster.
- The double border font will only apply to resolutions greater than 1280 width instead of 1024 in previous versions.
- Important: Updated the NPC recording format. The file format for both onfoot/incar recordings has changed. For those that use NPC recordings: backup your existing recordings. The first time the NPC is run the recording file will be automatically upgraded. After the file is upgraded the NPC will exit. This means you will need to restart your server twice for the NPCs to join.
- Player limit on RC servers is now 100 instead of 16 - for those that want to start running their own 0.3 betas.
- Fixed a flickering problem when the player's clock was enabled.
- (RC8-2 client) Removed a debug message related to object creation.

RC7-2
Some people had trouble connecting in RC7-1 due to some changed network code. Unfortunately this problem will require both clients and servers to update.

RC7-1
- 0.3a server list is online.
- announce will now use the 'bind' address for announcing on linux.
- Fixed death window icons.
- Fixed SetPlayerPos not working while vehicle surfing.
- Made the game timer sync immediately on connect.
- Fixed server crash using Kick() in OnPlayerSpawn
- Fixed some problems using input dialog at class selection.
- Fixed could use pageup/pagedown while at menu.
- Fixed OnPlayerRequestClass being called twice.
- Fixed Russian character problem in format()
- Added /pagesize client command to set the number of chat lines displayed (10-20 lines default: 10).

RC6-2 Server Only
- Fixed onfoot NPCs can't read their recording files causing them to leave the server.
(You can just replace samp-npc/.exe if you have the 6-1 server)

RC6-1
- Fixed falling to death during gmx.
- Dialog info limit is now 4096 characters.
- NPCs buffer recording data in to memory to avoid disk access.
- Fixed SetPlayerFacingAngle
- Fixed another issue with DetachTrailerFromVehicle.
- Fixed problem using dialogid -1 when no dialog was open.
- Added version information to the Windows binaries.

RC5-2 Client Update
RC5-2 is a small client-only update which fixes some issues with dialogs that were reported.

- Fixed the listbox scrolling issue.
- If the dialog style is a listbox, the inputtext in OnDialogResponse will be equal to the list item text.
- Fixed dialog minimum width issue.
- Chat input will disable when dialog is displayed.
- If dialogid is less than 0 (ie -1) any open dialog will be closed.
- Enabled tab (\t) expansion in dialog info text and list item text.
- Temporarily disabled low memory condition because someone reported a problem with it.

RC5-1

- Added automatic low memory condition for those with less than 256mb RAM.
- Reverted GetTickCount to be a wrapped 32bit signed value.
- Removed call.pri jump.pri instructions from the pawn interpreter - fixes a security issue.
- Added 'maxnpc' server variable which defaults to 0. This can limit the number of connecting NPCs.
- Made the weather default to 1 because of some flickering in LS if the far clipping plane is too high.
- NPC can connect to a passworded server.
- Fix for CARMODTYPE_SPOILER.
- Fix for Attach/DetachTrailerFromVehicle (can be applied to streamed in vehicles only).
- Added SetPlayerArmedWeapon. (bye SetDisabledWeapons :'( )
- Added ShowPlayerDialog native/OnDialogResponse callback with 3 dialog styles. Examples in test_cmds.pwn.
- Added OnPlayerClickPlayer detects player clicks from the scoreboard.
- Removed automatic /pm (id) on scoreboard click.
- Fixed an issue with player rotation.
- Fix for GetVehicleTrailer server crash.
- Fixed a problem which messed up the vehicle surfing.
- Moved test commands from npc_record to test_cmds.pwn.
- Fixed fight styles related exception (still testing).

RC4-4

- Fixed cinematic camera issue
- Fixed client crash using SetVehicleZAngle
- Fix for RemoveVehicleComponent
- Important: GetTickCount now wraps around to 0 after 24.8 days (2147483647 milliseconds) and not to negatives as in SA-MP 0.2. Will be reverted for next version.
- Fixed a few random client crashes that were reported

RC4-2

- Fixed trailer sync
- CreatePickup will take -1 vworld param for all vworlds
- StartRecordingPlayerData - fixed directory traversal capability
- 3D Text has an LOS parameter for line-of-sight checking
- TextDrawDestroy is fixed
- LinkVehicleToInterior is fixed

Notes:

- SetVehicleNumberplate does not work. This function can't work due to SA's internal coding which only assigns 1 numplate per vehicle model. The function itself will be left in for future use if it can be made to work.

- Bug report: PutPlayerinVehicle will crash your Client if the Vehicle is not streamed in. [I can't replicate this crash. /player2v (playerid) (vehicleid) in npc_record fs works as expected].
- Bug report: Paintjobs based on invalid texture IDs won't work anymore. [That's right. Invalid IDs may have worked but could also induce crashes. Invalid paintjob IDs are blocked.]
- Bug report: Long TextDraws will crash the client. [This problem isn't well understood yet. In the npc_record fs /longtd command I create a 670 character textdraw which does not crash. Ones that do crash are either exceeding some formating code limit or have dimensions wrong for their text.]
- Bug report: Car mods aren't applied after vehicle is created. [No problems here. I tried the exact script given and it functions as expected. Regression function is in npc_record under /carmodtest]

RC3-4
Client fix for vehicle moving forward when exiting.

RC3-3
Client fix for SetPlayerTime causing fast time.

Attached Files (see below):
* sa-mp-0.3-RC*_beta_client.zip - 0.3 RC Client Installer
* samp03svr_RC*_win32.zip - 0.3 RC Windows Server and Pawn Compiler/Includes
* samp03svr_RC*.tar.gz - 0.3 RC Linux Server
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)