Raised This Month: $12 Target: $400
 3% 

MP3 player for client [Update 19.08.08]


Post New Thread Reply   
 
Thread Tools Display Modes
Brute
Junior Member
Join Date: Jan 2008
Old 08-17-2008 , 13:26   Re: MP3 player for client
Reply With Quote #11

[en]
Probably we badly understand each other, probably it will help...

The Principle of work of this plugin:
1. The client sends a command with the name of a track and its duration on a server.
2. Whether the plugin checks the name of a track and its time if it is true are truly set, the plug-in adds the name of a track in the first array, and time in the second array.
3. When the client presses button Play in the menu of a mp3-player, from a server to it the client console command sends: mp3 play "mp3/the entered name of a track.mp3".
4. When the client presses button Stop in the menu of a mp3-player, from a server to it the client console command sends: mp3 stop.

Mp3 files should there is at the client in a folder <game mod>/mp3, a file mp3.cfg too at the client.

[ru]
Видимо мы плохо понимаем друг друга , возможно это поможет...

Принцып работы этого плагина:
1. Клиент отправляет команду с названием трека и его продолжительностью на сервер.
2. Плагин проверяет верно ли заданы имя трека и его время, если верно, плагин добавляет название трека в первый массив, а время во второй массив.
3. Когда клиент нажимает кнопку Play в меню mp3-плеера, с сервера ему отправляется консольная команда: mp3 play "mp3/введенное название трека.mp3".
4. Когда клиент нажимает кнопку Stop в меню mp3-плеера, с сервера ему отправляется консольная команда: mp3 stop.

Mp3 файлы должны находится у клиента в папке <game mod>/mp3, файл mp3.cfg тоже у клиента.

Last edited by Brute; 08-17-2008 at 13:29. Reason: ERRORS :D
Brute is offline
h2sk8ter
Junior Member
Join Date: Apr 2008
Old 08-17-2008 , 13:29   Re: MP3 player for client
Reply With Quote #12

NICE BEST MP3!
h2sk8ter is offline
PremunitioN
BANNED
Join Date: Jul 2008
Location: Always use Search before
Old 08-17-2008 , 17:15   Re: MP3 player for client
Reply With Quote #13

Do you read? It does not work..It only works under certain circumstances.
PremunitioN is offline
Brute
Junior Member
Join Date: Jan 2008
Old 08-17-2008 , 19:22   Re: MP3 player for client
Reply With Quote #14

What exactly does not work?
Brute is offline
Brute
Junior Member
Join Date: Jan 2008
Old 08-17-2008 , 22:36   Re: MP3 player for client
Reply With Quote #15

[add]
Here demonstration film (a format mpeg-2 ~35Mb) works of a plug-in, for those who does not trust that it is efficient
mp3-player_for_client.mpg
Brute is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-17-2008 , 22:37   Re: MP3 player for client
Reply With Quote #16

So, this plugin will only work if the client downloads the zip file and adds the mp3 files themselves? Do you honestly think people will do that?
__________________
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
Brute
Junior Member
Join Date: Jan 2008
Old 08-17-2008 , 23:27   Re: MP3 player for client
Reply With Quote #17

[en]
And here ZIP a file?
The client needs to create a folder mp3, to place there the mp3 files. To create a file mp3.cfg and to place there the information on the mp3 files. This procedure will borrow from the client no more than 5-10 minutes. Other ways of reception of the information about mp3 files of the client are not present.

If you are not assured, that the plugin is useful, do not put it on a server better.

[ru]
Причем тут ZIP файл?
Клиенту нужно создать папку mp3, поместить туда свои mp3 файлы. Создать файл mp3.cfg и поместить туда информацию о своих mp3 файлах. Эта процедура займет у клиента не более 5-10 минут. Других способов получения информации о mp3 файлах клиента нет.

Если вы не уверены, что плагин полезен, лучше не ставьте его на сервер.
Brute is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-17-2008 , 23:46   Re: MP3 player for client
Reply With Quote #18

Do you offer a Help page that will tell the client how to set it up? Such as an ingame help command that will tell a brand new client how to set up his folders to listen to music?
__________________
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
Brute
Junior Member
Join Date: Jan 2008
Old 08-18-2008 , 00:00   Re: MP3 player for client
Reply With Quote #19

[en]
Quite right, in the menu of a mp3-player there is button Help which causes game MOTD with instructions to use of a mp3-player. There the client all necessary information to create and fill up mp3 with files a folder mp3. And also to create mp3.cfg a file and it is correct to fill it.

[ru]
Совершенно верно, в меню mp3-плеера есть кнопка Help, которая вызывает game MOTD с инструкциями к использованию mp3-плеера. Там клиент всю необходимую информацию, чтобы создать и пополнить mp3 файлами папку mp3. А также создать mp3.cfg файл и корректно его заполнить.
Brute is offline
Reaper2331
Veteran Member
Join Date: Nov 2006
Location: Columbus,Ohio
Old 08-18-2008 , 00:15   Re: MP3 player for client
Reply With Quote #20

yeah but do you understand people are lazy now days they dont want to manually download stuff themselves. there is a thing calld Fast Download A.K.A. sv_downloadurl which would be way better to have them download the files faster while in the server....they dont have to manually do anything. except ask the server admin to add more songs :O
__________________

Reaper2331 is offline
Send a message via AIM to Reaper2331 Send a message via MSN to Reaper2331 Send a message via Yahoo to Reaper2331
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 12:49.


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