can someone test this please? [message #212438] |
Wed, 09 August 2006 09:43 ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/avatars/gosticon 0000.jpeg) |
jnz
Messages: 3396 Registered: July 2006 Location: 30th century
Karma: 0
|
General (3 Stars) |
|
|
this is a bot made to go along side the windows FDS.
you will need scripts 2.92 (for rlmon)
commands are limited but there is sounds (!sounds)
-
Attachment: config.zip
(Size: 36.44KB, Downloaded 200 times)
[Updated on: Wed, 09 August 2006 10:29] Report message to a moderator
|
|
|
|
Re: can someone test this please? [message #212709 is a reply to message #212438] |
Thu, 10 August 2006 23:23 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/4882.jpg) |
Goztow
Messages: 9735 Registered: March 2005 Location: Belgium
Karma: 13
|
General (5 Stars) Goztoe |
|
|
It's maybe because there are enough regulators out there already? I think I told you that when you came with the idea of writing one.
You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
|
|
|
|
|
|
|
Re: can someone test this please? [message #212768 is a reply to message #212438] |
Fri, 11 August 2006 08:25 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/4882.jpg) |
Goztow
Messages: 9735 Registered: March 2005 Location: Belgium
Karma: 13
|
General (5 Stars) Goztoe |
|
|
the reason i am writing a bot is because all the other bots out there are not configurable you mite say brenbot will have plugin support but i don't think that will ever come out...
---------------
LOL wanna bet 50 $ it comes out before you have a comparable stable release?
You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
[Updated on: Fri, 11 August 2006 08:25] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: can someone test this please? [message #212961 is a reply to message #212438] |
Sat, 12 August 2006 20:55 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/avatars/gosticon 0000.jpeg) |
jnz
Messages: 3396 Registered: July 2006 Location: 30th century
Karma: 0
|
General (3 Stars) |
|
|
finally fixed it. but there are a few bugs, i will fix them later.
i have added a startup sound which i think is quite cool. it also starts a new thread when ever somthing is recived because if someone says in public chat "!playstartupsound" you hear the startup sound which is quite long, no command will parse untill this is over.
i am also hopefully adding to go along side with sounds.txt sequence sounds, so if you want to play sounds in sequence (startup sound) you can.
EDIT: you will need to change the config file to:
[Bot]
fds_path = C:\Westwood\RenegadeFDS\Server (or what ever your path is) no trailing slash though!
auto_secs = 30
also dont forget the "[Bot]" bit or it will not work
[Updated on: Sat, 12 August 2006 21:44] Report message to a moderator
|
|
|
|
Re: can someone test this please? [message #212987 is a reply to message #212438] |
Sun, 13 August 2006 03:47 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
dead6re
Messages: 602 Registered: September 2003
Karma: 0
|
Colonel |
|
|
I think he is using the SNDA command that comes with the bhs.dll so the requirements would be
1) Bhs.dll
2) Sound in data/always.dat
Let all your wishes be granted except one, so you will still have something to strieve for.
|
|
|
|
Re: can someone test this please? [message #213004 is a reply to message #212438] |
Sun, 13 August 2006 07:15 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/2893.jpg) |
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
Hmm, I am not sure you understand... the sound file must be in the always.dat (or loose in the data folder) of the CLIENT, as well as the server, for it to work.
Only players with the sound in their data folder will actually hear it, other than the host (as I understand it anyway). So for it to work everyone in the server who wants to hear the sounds must download the sounds it uses...
It will work just fine with the default renegade sounds, as everyone has those, but any sounds you make yourself probably wont work unless people download them. Perhaps someone with a better understanding of the Renegade engine / net code can confirm this, but I am fairly certain thats how it works.
[Updated on: Sun, 13 August 2006 07:17] Report message to a moderator
|
|
|
Re: can someone test this please? [message #213005 is a reply to message #212438] |
Sun, 13 August 2006 07:29 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/avatars/gosticon 0000.jpeg) |
jnz
Messages: 3396 Registered: July 2006 Location: 30th century
Karma: 0
|
General (3 Stars) |
|
|
i understand perfectly well, i already know the client will not hear it unless it is in always.dat(client) i never said anything about using external sounds... but anyway while we are on this subjuect is it possible to play your own (without breaching copywrites) music (.mp3's), not just what is in always.dat(client). or is it not even possible... well i know it is possible but you would have to bring out a cp3 for clients and a new scripts and bhs.dll? to stream it.
[Updated on: Sun, 13 August 2006 07:30] Report message to a moderator
|
|
|
Re: can someone test this please? [message #213007 is a reply to message #213005] |
Sun, 13 August 2006 08:08 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/2893.jpg) |
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
help-linux wrote on Sun, 13 August 2006 15:29 | i understand perfectly well, i already know the client will not hear it unless it is in always.dat(client) i never said anything about using external sounds... but anyway while we are on this subjuect is it possible to play your own (without breaching copywrites) music (.mp3's), not just what is in always.dat(client). or is it not even possible... well i know it is possible but you would have to bring out a cp3 for clients and a new scripts and bhs.dll? to stream it.
|
Ok, sorry I misunderstood what you meant I was thinking about the startup sound you mentioned you created.
As for playing .mp3 files, I am not sure if the renegade engine supports .mp3, and it certainly does not support streaming them. You could do some kind of addon program which acts like winamp's shoutcast so players can connect to a media stream from the server they are playing on, but that would take a LOT of effort... not to mention the bandwidth considerations.
Slightly different idea would be to run a shoutcast server on winamp, and allow people in the server to vote for the next track or something, that would probably be a lot easier to do. Obviously people would have to connect to the stream via winamp, but an autoannounce message or !showMediaServer command could give out the address for the media stream... again you still need to consider bandwidth....
[Updated on: Sun, 13 August 2006 08:11] Report message to a moderator
|
|
|
Re: can someone test this please? [message #213008 is a reply to message #213004] |
Sun, 13 August 2006 08:10 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to previous message](/theme/Renegade_Forums/images/down.png) |
dead6re
Messages: 602 Registered: September 2003
Karma: 0
|
Colonel |
|
|
danpaul88 wrote on Sun, 13 August 2006 10:15 | Hmm, I am not sure you understand... the sound file must be in the always.dat (or loose in the data folder) of the CLIENT, as well as the server, for it to work.
Only players with the sound in their data folder will actually hear it, other than the host (as I understand it anyway). So for it to work everyone in the server who wants to hear the sounds must download the sounds it uses...
It will work just fine with the default renegade sounds, as everyone has those, but any sounds you make yourself probably wont work unless people download them. Perhaps someone with a better understanding of the Renegade engine / net code can confirm this, but I am fairly certain thats how it works.
|
Actually, I don't think the server needs the sounds to be able to play them because the SNDA sends the filename over the network.
Why do you need a decent compiler for PHP, you don't compile PHP. You use the PHP.exe to run the script.
Let all your wishes be granted except one, so you will still have something to strieve for.
[Updated on: Sun, 13 August 2006 08:11] Report message to a moderator
|
|
|