GTA-Center.com » Forum
http://www.gta-center.com/forums/

Rilasciato SA-MP 0.3d RC3-2 test version
http://www.gta-center.com/forums/viewtopic.php?f=26&t=1450
Pagina 1 di 2

Autore:  Giovanni94m [ 12/09/2011, 19:23 ]
Oggetto del messaggio:  Rilasciato SA-MP 0.3d RC3-2 test version

Immagine


SA-MP 0.3d RC

Optional client update SA-MP 0.3d RC3-2

- Fixed problem with audio stream not always stopping when the next stream is played.
- If MoveObject() is used on an object that is already moving, the previous MoveObject() won't be finalised (it will start moving from its existing position, not the last MoveObject target position).
Although the proper behaviour of MoveObject() should be to finish the previous move before moving again, it doesn't match this behaviour in previous SA-MP versions, and the newer behaviour (introduced in 0.3d RC3) would break existing scripts.
- Fixed a game crash when surfing an object which was deleted.
- Fixed issue with player spinning when standing on a rotating object.
- Fixed some weapon issues related to the GTA engine tweaks introduced in 0.3d RC3.

Client/Server update SA-MP 0.3d RC3

- Some tweaks to the GTA:SA engine should result in increased FPS, smoother game-play, and less CPU usage for most players.
- Added final rotation parameters for MoveObject() (as default parameters).
- Added AttachObjectToObject() and object surfing on attached moving objects.
- Added example scripts: cargo ship, pirate ship, ferris wheel, for MoveObject rotation and AttachObjectToObject.
- Fixed buffer overflow in server config exec command described here: http://www.exploit-db.com/exploits/17893
As always, we recommend server owners never use config files or scripts from untrusted sources. Always edit your own config files and compile any pawn scripts your server uses from the .pwn file.

Important: The changes to MoveObject will not require you to change your script, however, all scripts that use MoveObject must be recompiled for SA-MP 0.3d.

Client/Server update SA-MP 0.3d RC2

- Added OnPlayerTakeDamage script callback for tracking damage events on a player
- Fixed problems with tow trucks losing their tow around other players
- Added DIALOG_STYLE_PASSWORD for ShowPlayerDialog() which shows a masked input box
- The audio stream will stop playing once the player is disconnected from the server
- Fixed problems playing certain audio IDs above 2000 in PlayerPlaySound
- Added /audiomsg command to disable audio stream URL messages in the chat
- The 0.3d server lists are now live

cessil has been working on some new models for SA-MP 0.3d.
Included in SA-MP 0.3d RC2 are replacement jail cell doors, a replacement SFPD interior model with the cell doors removed, taxi signs which can be attached to any vehicle.

Codice:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)


OnPlayerTakeDamage is called when a player takes damage and loses health.

playerid is the player who has taken damage. issuerid might be the player responsible for the damage. If the player has lost health as the result of a fall or collision, the issuerid will be INVALID_PLAYER_ID. The Float:amount contains the amount of health lost by the player from this damage event. weaponid contains the weapon type which might have caused the damage, similar to OnPlayerDeath.

Changes for SA-MP 0.3d:

- Support for Shoutcast/Icecast audio streams
- All misson sounds (IDs greater than 2000) from GTA:SA single player can now be used with PlayerPlaySound
- RemoveBuildingForPlayer can be used to remove any building or object from the game
- Fixed issue with radar jumping up and down while passengering in a vehicle
- Fixed quite a few issues with the vehicle sync which might cause vehicles to warp or to appear to be moving sideways
- Fixed problems with the motorbike/pushbike sync
- Fixed surfing on train carriages
- MAX_OBJECTS has been increased to 1000
- MAX_PICKUPS has been increased to 4096
- The frame limiter will now default to 50 fps
- Fixed some small issues with the vehicle exiting animation
- Fixed game crashes related to escalators
- Server has a feature to monitor internal frame rate in the network stats string
- Fixed an issue where you might respawn on top of the last vehicle you were surfing
- Removed the PED FACTALK animation from showing up in GetPlayerAnimationIndex
- Fixed the collision on the elevator model which would allow you to jump out while it was moving down

Codice:
native PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);
native StopAudioStreamForPlayer(playerid);


PlayAudioStreamForPlayer is used so that the player can hear a shoutcast or icecast audio stream. Formats supported are ogg/vorbis streams and MP3 streams. The audio can either by played in the background like the normal San Andreas radio, or it can be played at a particular position, and heard over a certain distance, when 'usepos' is set to 1.

Please Note: Due to patent restrictions on MP3 decoding, the user must have Windows Media Player installed to be able to hear MP3 streams (most shoutcast radio streams). For this reason it is recommended to use ogg/vorbis streams where possible, as these streams are decoded internally.

The volume of the audio stream playback is controlled by the player using their San Andreas radio volume. If their San Andreas radio volume is set to 0 they will not play any audio stream sent by the server.

Under most circumstances, audio streaming should just work. If the player requires a proxy to access the web, the SA-MP client will use the proxy they have set in their Windows internet settings. However, there is an option to override the proxy by adding audioproxyoff=1 to the sa-mp.cfg file.

Codice:
native RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);


RemoveBuildingForPlayer can remove existing objects and buildings from San Andreas for a particular player. This function only needs to be called once and the model ID you specify will be removed for that player around the given point and radius. You can specify a large radius to remove all objects of particular model ID.

Codice:
native PlayerPlaySound(playerid, soundid, Float:x, Float:y, Float:z);


This function can now play most sound IDs found in the \data\AudioEvents.txt file in your GTA San Andreas folder.

Notes:
- This release is for scripting only.
- More features and models will be added throughout the RC phase.

0.3d files

Latest:

SA-MP 0.3d RC3-2 Client: http://www.gta-center.com/area_download/index.php?act=view&id=1878
SA-MP 0.3d RC3 Windows Server (20 slot): http://www.gta-center.com/area_download/index.php?act=view&id=1877
SA-MP 0.3d RC3 Linux Server (20 slot): http://www.gta-center.com/area_download/index.php?act=view&id=1876

Older:

SA-MP 0.3d RC2 Client: http://team.sa-mp.com/RC/03d/sa-mp-0.3d-RC2-install.exe
SA-MP 0.3d RC2 Windows Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC2_win32.zip
SA-MP 0.3d RC2 Linux Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC2.tar.gz

SA-MP 0.3d RC1 Client: http://team.sa-mp.com/RC/03d/sa-mp-0.3d-RC1-install.exe
SA-MP 0.3d RC1 Windows Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC1_win32.zip
SA-MP 0.3d RC1 Linux Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC1.tar.gz

Autore:  Peppinux AKA Peppe_Stasu [ 12/09/2011, 19:32 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Fantastico. La funzione per lo streaming su internet mi serviva proprio.. Fanculo all'Audio Plugin che si deve installare anche il client :asd:.

Autore:  Giovanni94m [ 12/09/2011, 19:43 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

http://forum.sa-mp.com/showthread.php?p=1399292

Tutti +1 susu

Autore:  Angelo [ 12/09/2011, 20:54 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Fantastica :D mi serviva il RemoveBuildingForPlayer anche se rimuove solo il file collision, quindi l'oggetto potrebbe rimanere visibile :\ aspetto la R2 sperando in altre funzioni

Autore:  Peppinux AKA Peppe_Stasu [ 12/09/2011, 21:29 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

RC2 non R2 e poi, se permetti, io aspetto la versione finale :asd:.

Autore:  Giovanni94m [ 12/09/2011, 22:03 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Se non aggiungono altre funzioni è davvero una versione di merda.

Autore:  GabryIIPazzo2 [ 12/09/2011, 22:07 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Quoto Pippaiolo e Giovanni asd
Comunque il RemoveBuildingForPlayer non rimuove solo la collisione, ma elimina anche l'oggetto specificato, come in questo video:



L'idea dell'audiostreamed incluso nel pacchetto 0.3d è fantastica, anche se penso che abbiano preso spunto dal client di incognito asd
Finalmente potrò sentire canzoni del mio genere sull'OnPlayerRequestClass *-*
(vale come intrattenimento)

Autore:  Giovanni94m [ 12/09/2011, 23:22 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

GabryIIPazzo2 ha scritto:
L'idea dell'audiostreamed incluso nel pacchetto 0.3d è fantastica, anche se penso che abbiano preso spunto dal client di incognito asd


Anche se il plugin di incognito ha tantissime funzioni rispetto a questa che hanno addato...

Autore:  Angelo [ 13/09/2011, 0:02 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Non credo che la 0.3d abbia solo queste 4 funzioni, sarebbe come quando hanno pubblicato la 0.3b, una schifezza ._.

Autore:  Giovanni94m [ 13/09/2011, 0:24 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Se aggiungono la ghostmode e un limitatore frame impostato dal server diventa una cosa epica. Si potranno fare sfide race quasi come mta.

http://forum.sa-mp.com/showthread.php?t=282789 +1 +1

Autore:  GabryIIPazzo2 [ 13/09/2011, 10:02 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Già, senza contare che io (come tutti, penso) vorrei il pickup del cambiamento veicoli, come MTA.
Cioè, non proprio come MTA altrimenti violerebbe i diritti perchè hanno copiato, ma qualcosa che si avvicini.
Comunque mi sa che la Ghostmode prima o poi Kalcor la injecterà nel SA-MP 0.3d RC2 :D

Autore:  Angelo [ 13/09/2011, 10:58 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Il cambiamento veicoli come su MTA si potrebbe fare anche in samp asd

Comunque mi spiegate cosa dovrebbe fare questa GhostMode ?

Autore:  Peppinux AKA Peppe_Stasu [ 13/09/2011, 11:02 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Vero sarebbero fantastici i pickup di NOS, Repair e Cambio veicolo come su MTA :asd:.

@Angelo: Sì ovvio ._. ma quel pickup non c'è e rende tutto meno figo :asd:.

Autore:  GabryIIPazzo2 [ 13/09/2011, 18:23 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

@Angelo si lo so che si potrebbe fare in SA-MP, ma è piu rulloso come MTA asd

Autore:  Alajandro_Sosa [ 13/09/2011, 21:51 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Bellissime novità. Attendo con ansia la RC2 (ma di più la finale :asd:)

Autore:  Phanto90 [ 14/09/2011, 2:50 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Angelo ha scritto:
Il cambiamento veicoli come su MTA si potrebbe fare anche in samp asd

Comunque mi spiegate cosa dovrebbe fare questa GhostMode ?


Ghostmode potrebbe indicare essenzialmene la capacità di disabilitare le collisioni per un player (a piedi o in veicolo con altri giocatori)
E' molto utile per modalità race in quanto un giocatore può effettuare la gara a percorso libero senza essere intralciato da ostacoli.

Cita:
Il cambiamento veicoli come su MTA si potrebbe fare anche in samp asd

Attualmente solo con un plugin e un client modificati (qualcosa del genere è stato rilasciato di già)

Autore:  Giovanni94m [ 14/09/2011, 3:01 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC1 test version

Phanto90 ha scritto:
Attualmente solo con un plugin e un client modificati (qualcosa del genere è stato rilasciato di già)

Angelo si riferisce ai pickup di mta per cambiare veicolo non le texture di un veicolo.

Sempre in tema di collisioni dovrebbero mettere una funzione che permette di disabilitare la collisione anche per oggetti e pedoni come su mta.
http://wiki.multitheftauto.com/wiki/Set ... onsEnabled

Autore:  Giovanni94m [ 18/09/2011, 14:18 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC2 test version

Rilasciata versione RC2 ;)

Autore:  Peppinux AKA Peppe_Stasu [ 18/09/2011, 15:03 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC2 test version

Ancora troppo incompleta :/ La GhostMode dove sta? :asd:

Autore:  Giovanni94m [ 18/09/2011, 15:30 ]
Oggetto del messaggio:  Re: Rilasciato SA-MP 0.3d RC2 test version

Quello è un semplice suggerimento che sicuramente non cagheranno.

Pagina 1 di 2 Tutti gli orari sono UTC + 1 ora [ ora legale ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/