Convoy Trucking

Hyde Park => GTA & SA-MP => Topic started by: Raz3r on September 12, 2011, 21:18

Title: SA:MP 0.3d RC 1
Post by: Raz3r on September 12, 2011, 21:18
SAMP 0.3d RC

Here is whole text

Quote from: Kalcor;1399107
(http://forum.sa-mp.com/images/samp/logo_forum.gif)

SA-MP 0.3d RC

Changes for SA-MP 0.3d:

- Support for Shoutcast/Icecast internet radio
- 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

Code: [Select]
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.

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.

Code: [Select]
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.

[pawn]native PlayerPlaySound(playerid, soundid, Float:x, Float:y, Float:z);[/pawn]

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

Notes:
- The 0.3d server lists are not yet operational.
- This release is for scripting only.
- More features and models will be added throughout the RC phase.

0.3d files

SA-MP 0.3d RC1 Client: http://team.sa-mp.com/RC/03d/sa-mp-0.3d-RC1-install.exe (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 (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 (http://team.sa-mp.com/RC/03d/samp03dsvr_RC1.tar.gz)
Title: Re: SA:MP 0.3d RC 1
Post by: Joshy on September 12, 2011, 21:23
Sweet  8) Shoutcast radio :)

That means I can use that on my phone too :D
Title: Re: SA:MP 0.3d RC 1
Post by: Raz3r on September 12, 2011, 21:29
Isn't so much for about a half year, how much we waited for 0.3d version ;)

P.S This server is still on SA:MP 0.3c, so if u download 0.3d, u couldn't play on CVT :)
Title: Re: SA:MP 0.3d RC 1
Post by: Ethan on September 12, 2011, 21:38
I could download 0.3d all I wanted to, but if I installed it, I couldnt play CT, and I dont really see any great upgrades except the radio plugins...  doesnt seem to be a great release like 3c was, and this is beta so maybe more things to come.
Title: Re: SA:MP 0.3d RC 1
Post by: $nake on September 12, 2011, 21:46
i hope that mick will upgrade CT to 0.3d soon :)
Title: Re: SA:MP 0.3d RC 1
Post by: creamy1 on September 12, 2011, 22:54
Remove objects! :O

I died.

The shoutcast/radio thing who cares. With remove objects we can get rid of stupid gates[KACC LV Airport] and maybe replace buildings with others! Think of the possibilities.
Title: Re: SA:MP 0.3d RC 1
Post by: mick88 on September 13, 2011, 17:56
You should link to the original thread (http://forum.sa-mp.com/showthread.php?t=282775)

I suspect it won't be very stable since maximum number or objects is increased so much. I have head full of ideas how to implement these new functions, but since I'm starting college now, I won't have much time left for scripting.

BTW I'm calling dibs on the realistic reverse horn (in case DiDok has the same idea and then accuses me of copying his 'original' ideas). Hopefully remote mp3 files will be cached.
Title: Re: SA:MP 0.3d RC 1
Post by: Dr_dog on September 13, 2011, 19:02
heh mick could hook my radio if he wants to or if the radio is still up..
Title: Re: SA:MP 0.3d RC 1
Post by: mick88 on September 13, 2011, 19:07
heh mick could hook my radio if he wants to or if the radio is still up..

That sounds possible
Title: Re: SA:MP 0.3d RC 1
Post by: creamy1 on September 14, 2011, 02:22
In lieu of asking for houses/objects to be added, can we ask for them to be taken away in that when it's in RC? :D
Title: Re: SA:MP 0.3d RC 1
Post by: Dr_dog on September 14, 2011, 05:27
also if its possible to remove objects from GTA, Theres that doherty garage you can remove the 1 door from far right and add a interior there and it can serve as the owner's garage etc.
Title: Re: SA:MP 0.3d RC 1
Post by: Raz3r on September 14, 2011, 11:30
Theres alot of ideas, we just wait finnaly version of samp 0.3d :]
Title: Re: SA:MP 0.3d RC 1
Post by: KaT37 on September 14, 2011, 15:57
yay xD that rly sounds cool :D
Title: Re: SA:MP 0.3d RC 1
Post by: DJ_Smashon on September 14, 2011, 16:27
Pretty Nice!  :)
Title: Re: SA:MP 0.3d RC 1
Post by: Ethan on September 14, 2011, 19:24
I was just thinking about this and the possibility to remove objects... wouldnt you only be able to remove objects while connected.. so wouldnt the only person (on here) who would be able to remove objects would be Admins?? If not only Mick since he would be the one scripting it?
Title: Re: SA:MP 0.3d RC 1
Post by: Storm94 on September 15, 2011, 00:10
Ethan, its a function.


RemoveBuildingForPlayer(playerid, objectid, x, y, z, range);


So you can call it in OnPlayerConnect, so when a player connects, it removes the objects for them.
Title: Re: SA:MP 0.3d RC 1
Post by: Jopi on September 15, 2011, 09:23
 :)

when i came for 2-3 months i think server will be WOAH !  :D
Title: Re: SA:MP 0.3d RC 1
Post by: mick88 on September 20, 2011, 21:56
Quote
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

Finally password dialogs! It's my favourite 0.3d feature so far :P
Title: Re: SA:MP 0.3d RC 1
Post by: Storm94 on September 21, 2011, 04:54
Mick, are you planning on upgrading CVT to 0.3d?
Title: Re: SA:MP 0.3d RC 1
Post by: mrtrlt on September 21, 2011, 11:00
I dont think MTA lets you ethan, I hope i'm talking about the right thing, I struggled to catch ya drift there...
Title: Re: SA:MP 0.3d RC 1
Post by: Strato on September 23, 2011, 22:49
0.3d is awesome ;) I hope CVT will be there soon.
Title: Re: SA:MP 0.3d RC 1
Post by: mick88 on September 25, 2011, 19:07
Mick, are you planning on upgrading CVT to 0.3d?

No it'll stay 0.3c forever.

Of course it will be up-to-date with newest sa-mp version! Current version is 0.3c.
Title: Re: SA:MP 0.3d RC 1
Post by: KaT37 on September 26, 2011, 16:37
when i saw no it will stay 0.3c forever ... my heart allmost stopped !
Title: Re: SA:MP 0.3d RC 1
Post by: DJ_Smashon on September 26, 2011, 17:41
when i saw no it will stay 0.3c forever ... my heart allmost stopped !
same here KaT..  :fuckyeah:
Title: Re: SA:MP 0.3d RC 1
Post by: mrtrlt on September 27, 2011, 10:07
Then how are we mean to use the password dialogs then?
:pokerface:
Title: Re: SA:MP 0.3d RC 1
Post by: Joshy on September 29, 2011, 21:50
Quote
- Added OnPlayerTakeDamage script callback for tracking damage events on a player
Vehicle health hack detection?

Then how are we mean to use the password dialogs then?
:pokerface:
To enter your password in private when you login...
Title: Re: SA:MP 0.3d RC 1
Post by: Deff on October 03, 2011, 01:18
I just want the radio ???

It will be nice to hear it ingame while driving
Title: Re: SA:MP 0.3d RC 1
Post by: mrtrlt on October 03, 2011, 01:21
Then how are we mean to use the password dialogs then?
 :pokerface:
Quote
To enter your password in private when you login...



 :o OOhhhh nice, that means people can't see your password when logging in :P :) :)) :D


 :smile2:
Title: Re: SA:MP 0.3d RC 1
Post by: Dr_dog on October 08, 2011, 17:52
I can spare some my free time for running radio if mick wants to add one to server then.. Ofc nothing is yet confirmed
Title: Re: SA:MP 0.3d RC 1
Post by: mrtrlt on October 09, 2011, 07:00
I can spare some my free time for running radio if mick wants to add one to server then.. Ofc nothing is yet confirmed


That would be really nice


 :smile2:
Title: Re: SA:MP 0.3d RC 1
Post by: Storm94 on October 09, 2011, 08:46
I think you should be able to open whatever stream URL you want. That should be easily scriptable.
Title: Re: SA:MP 0.3d RC 1
Post by: Joshy on October 09, 2011, 10:13
I think you should be able to open whatever stream URL you want. That should be easily scriptable.
That, maybe call it /stream [url] and then if you do /radio [player/id] you can listen to what they are listening to too :)
Title: Re: SA:MP 0.3d RC 1
Post by: Pimm on October 10, 2011, 18:32
Does CVT work with 0.3d?  ::)
Title: Re: SA:MP 0.3d RC 1
Post by: Hayabusa. on October 10, 2011, 18:51
no CVT dont work with 0.3d ;D
Title: Re: SA:MP 0.3d RC 1
Post by: Pimm on October 10, 2011, 18:55
Thanks4quickanswer  :P
Title: Re: SA:MP 0.3d RC 1
Post by: $nake on October 10, 2011, 23:34
no CVT dont work with 0.3d ;D
yet :D