Raised This Month: $32 Target: $400
 8% 

MP3 player for client [Update 19.08.08]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
Brute
Junior Member
Join Date: Jan 2008
Old 08-06-2008 , 01:26   MP3 player for client [Update 19.08.08]
Reply With Quote #1

Introduction:
MP3 PLAYER FOR CLIENT is the plugin,
allowing to lose the client for own tracks, by means of it the opportunity to lose for the tracks not leaving from game is given to the client. MP3 the player supports unceasing playback - that very conveniently and is the main advantage of this plug-in above analogues, and also there is a function of viewing playlist. Fill up the playlist the client can by means of the console, or having loaded a configuration file containing commands of addition of tracks in playlist.(читать статью на русском)

Installation:
1. Download archive "MP3 player for client (full packet).zip"
2. Unpack contents of archive in any place convenient for you.
3. Transfer contents of a folder " MP3 player for client " in moddir.
4. Add a line "MP3_player_for_client.amxx" in yours plugins.ini

cvar:
Code:
 "amx_mp3_player" - 1 (by default) - the plug-in is active, other values switch off it.
Use:
1. Creation of a directory:
To use MP3 a player you should create a directory with name MP3 in a directory a fashion(For example for a fashion counter-strike the address of a directory will be approximately such: C:\Program Files\Steam\steamapps\yourEmail\counter-strike\cstrike\MP3)


2. Filling of your directory by music:

Simply move(or copy) files in the directory earlier created by you, but remember:
1) the Player works only with MP3 files;
2) the Maximal length of a track should be no more than 9 minutes of 59 seconds (9:59), the minimal length of a track not less than 30 seconds;
3) the Maximal length of a name of a file (without expansion) no more than 64 symbols.
4) the Maximum quantity of tracks 100.


3. Creations playlist:
Without playlist playback is not possible! To create playlist open a directory a fashion(For example for a fashion counter-strike the address of a directory will be approximately such: C:\Program Files\Steam\steamapps\yourEmail\counter-strike\cstrike\),Create the text document, rename it in MP3 and necessarily change its expansion on cfg. As a result at you the file "MP3.cfg" should turn out, open it by means of the standard program "notepad", and add in it the following information:
"mp3_addtrack" "the name of a track" "duration"
For example:
"mp3_addtrack" "Rammstein-Links 2 3 4" "36"
"mp3_addtrack" "123" "0:42"
Pay attention:
1) Expansion of a file to specify it is not necessary!
2) it is possible to specify Time only so in such format: "m:ss" (where m-quantity of minutes, ss-quantity of seconds)
3) Necessarily quote each parameter: " "
4) the Name of a track should not be empty.
Necessarily observe these rules, mistakes in a chat and in the console differently will spread.


4. Use of the menu.
1. To cause the menu it is necessary to register a command in the console: mp3_menu, also it is possible to cause the menu by means of a chat (say, say_team): it is necessary to print /mp3.
2. Keys:
1) Play - to start playback(the console command mp3_play)
2) Next - to pass to playback of a following track(the console command mp3_next)
3) Prev - to pass to playback of the previous track (the console command mp_prev)
4) Stop - to stop playback(a console command mp3_stop)

7) (Re)Load - to reload/load (if you have just created) yours palylist. (a console command mp3_reload)
9) Help - a call of the information (the console command mp3_help)
0) Close - closes the menu.

CHANGELOG:
Quote:
Changes in the version 'S 1.1':

*it is changed: the Maximum quantity of tracks is changed with 99 on 100.
*is corrected: mistakes appearing at excess of a maximum quantity of tracks.
*it is changed: now the leaf with tracks is deduced not in game MOTD, and in the console on 10.
*is corrected: contents of Help-files.
*are changed: contents of a language file (Brute_MP3.txt)
*the code of a plugin is a little optimized.
The current version S 1.1

I wait for your reports on work of a plugin...
Attached Files
File Type: zip MP3 player for client v1.0.0.0 (full packet).zip (50.1 KB, 1573 views)
File Type: zip MP3 player for client S 1.1(full packet).zip (50.1 KB, 1351 views)
File Type: sma Get Plugin or Get Source (MP3_player_for_client.sma - 2336 views - 8.9 KB)

Last edited by Brute; 08-19-2008 at 06:31. Reason: Update
Brute is offline
{PHILMAGROIN}
Senior Member
Join Date: Aug 2007
Location: In the middle of the des
Old 08-06-2008 , 03:29   Re: MP3 player for client
Reply With Quote #2

Sounds good. havent tested it yet
__________________
[B]
{PHILMAGROIN} is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 08-06-2008 , 05:01   Re: MP3 player for client
Reply With Quote #3

wow this looks great (Coding) I just took a quick glance but still ;) WoW!
Styles is offline
Send a message via AIM to Styles
F4RR3LL
Member
Join Date: Jun 2008
Location: Russia :)
Old 08-07-2008 , 05:05   Re: MP3 player for client
Reply With Quote #4

nice plugin. thx
F4RR3LL is offline
xjose93
Member
Join Date: Apr 2008
Old 08-15-2008 , 13:27   Re: MP3 player for client
Reply With Quote #5

Dont download music, dont have precache =S.
xjose93 is offline
xjose93
Member
Join Date: Apr 2008
Old 08-15-2008 , 13:47   Re: MP3 player for client
Reply With Quote #6

Can u create a cvar to admin play music to all? and players can stop music? Thx.
xjose93 is offline
Brute
Junior Member
Join Date: Jan 2008
Old 08-15-2008 , 19:27   Re: MP3 player for client
Reply With Quote #7

[en]
Mp3-player for clients, instead of for administration. A mp3-player not that not precache. The mp3-player simply loses for that your client wishes to hear. By the way, small updating will be fast, has found pair defects.

[ru]
mp3-плеер для клиентов, а не для администрации. mp3-плеер не чего не precache. mp3-плеер просто проигрывает то, что хочет слышать ваш клиент.
Кстати, скоро будет небольшое обновление, нашёл пару недочетов.
Brute is offline
Mirun.Frontier
Member
Join Date: Aug 2008
Old 08-16-2008 , 17:01   Re: MP3 player for client
Reply With Quote #8

Very Interesting. Mp3s... With no precaching? Indeed should be good.
Strange, its not working for me. The plugin works n all but the mp3 doesn't play.
__________________
I can't believe I wasted 5 years of my life not knowing how to program correctly. Went too deep into advanced coding before even learning the basics correctly. :c

Last edited by Mirun.Frontier; 08-16-2008 at 19:26. Reason: NOT WORKING D:
Mirun.Frontier is offline
sekos
Member
Join Date: May 2007
Location: Poland
Old 08-17-2008 , 11:19   Re: MP3 player for client
Reply With Quote #9

Quote:
Originally Posted by Mirun.Frontier View Post
The plugin works n all but the mp3 doesn't play.
same
__________________
rzulf




sekos is offline
Send a message via MSN to sekos Send a message via Skype™ to sekos
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-17-2008 , 11:24   Re: MP3 player for client
Reply With Quote #10

This will not work unless the client has the mp3 files on their computer. And the only way to do that is to precache them. Good try, but unless you play it through a web page, you won't get around the precaching part
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
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

Forum Jump


All times are GMT -4. The time now is 17:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode