Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » CloudyServ
CloudyServ [message #327767] Fri, 25 April 2008 04:51 Go to next message
Dean20056 is currently offline  Dean20056
Messages: 46
Registered: September 2007
Location: England,London
Karma: 0
Recruit
Hi there. i was wondering if anyone knows how to get ingame sounds with a cloudyserv bot. i have seen a few servers with it.i tried this (below) from another persons post but id did not work for cs. It is CloudyServ Version 0.982.

zunnie wrote on Thu, 01 February 2007 17:02

You need to setup an mirc bot to do it, at least thats how we used
to do it back in the day WOL was still WOL and not XWIS..
Put this in remotes (ALT+R in mirc) for example and place this
dll in your mirc folder:
http://www.game-maps.net/index.php?action=file&id=683

alias FDS {
  dll mIRC_Ren.dll FDS_Send 127.0.0.01 5050 password %msg
}


on *:text:*:#ChannelName: {
if ($nick == BRenBotName) {
  if ($2 == gotya) FDS snda mx0_nodsniper_alt07.wav
  if ($2 == chicky) FDS snda m00achk_kill0001i1gbmg_snd.wav
  if ($2 == skill) FDS snda mxxdsgn_dsgn014i1gbmg_snd.wav
  if ($2 == snipe) FDS snda mx0_nodsniper_alt01.wav
  if ($2 == killem) FDS snda mx1dsgn_dsgn0018i1dsgn_snd.wav
  if ($2 == guns) FDS snda mxxdsgn_dsgn005i1gbmg_snd.wav
  if ($2 == smile) FDS snda mxxdsgn_dsgn004i1gbmg_snd.wav
  if ($2 == toy) FDS snda mtudsgn_dsgn0289i1gbmg_snd.wav
  if ($2 == hehe) FDS snda mtudsgn_dsgn0377a1gbmg_snd.wav
  if ($2 == jerks) FDS snda m11dsgn_dsgn0104r1gbmg_snd.wav
  if ($2 == kills) FDS snda m00avis_kick0030i1moac_snd.wav
  if ($2 == ^^) FDS snda m00avis_kifi0021i1ccsf_snd.wav
  if ($2 == waiting) FDS snda m11dsgn_dsgn0069i1mbpt_snd.wav
  if ($2 == haveya) FDS snda m11dsgn_dsgn0073i1mbpt_snd.wav
  if ($2 == tt) FDS snda m00mstm_kill0013i1gbrs_snd.wav
  if ($2 == bwahaha) FDS snda m00asqr_kill0019i1mbrs_snd.wav
  if ($2 == death) FDS snda m00avis_kick0030i1moac_snd.wav
  if (n00b isin $2-) FDS snda m00asqr_kill0018i1mbpt_snd.wav
  if ($2 == coffee) FDS snda m00gnod_gcon0041i3nbmg_snd.wav
  if ($2 == squirrel) FDS snda m00asqr_kill0034i1gbmg_snd.wav
  if ($2 == sit) FDS snda m00bnsn_kill0053i1gbmg_snd.wav
  if ($2 == ask) FDS snda m00ccck_kitb0029i1gbmg_snd.wav
  if ($2 == die) FDS snda m00decx_004in_nsrs_snd.wav
  if ($2 == fun) FDS snda m00gbmg_sfcx0001i1gbmg_snd.wav
  if ($2 == hunt) FDS snda m00gbmg_sfsx0001i1gbmg_snd.wav
  if ($2 == medic) FDS snda m00ffire_003in_gemg_snd.wav
  if ($2 == run) FDS snda m00decx_010in_nbft_snd.wav
  if ($2 == daddy) FDS snda mtudsgn_dsgn0320a1gbmg_snd.wav
  if ($2 == shoot) FDS snda mxxdsgn_dsgn029i1gbmg_snd.wav
  if ($2 == haha) FDS snda laugh1.wav
  if ($2 == left) fm3 snda lefty1.wav
  if ($8-9 == Tiberium field.) FDS snda m00gbrs_dfax0001i1gbrs_snd.wav
  if ($4-5 == been killed.) FDS snda m00kimd_004in_nors_snd.wav
  if ($2 == buuurn) FDS snda m00decx_007in_neft_snd.wav
  if ($2 == stfu) FDS snda mxxdsgn_dsgn010i1gbmg_snd.wav
  if ($2 == burn) FDS snda m00decx_009in_neft_snd.wav
  if ($2 == boink) FDS snda m00bnss_kill0053i1gbmg_snd.wav
  if ($2 == more?) FDS snda m00ccck_kitb0029i1gbmg_snd.wav
  if ($2 == nonono) FDS snda m00gbrs_stoc0001i1gbrs_snd.wav
  if ($2 == noes) FDS snda m00gcc3_sftd0001i1gcc3_snd.wav
  if ($2 == udie) FDS snda m00gcf1_decx0001i1gcf1_snd.wav
  if ($2 == boo) FDS snda m00kimd_001in_neft_snd.wav
  if ($2-3 == i smell) FDS snda m00avis_kifi0020i1nctk_snd.wav
  if ($2 == moo) FDS snda amb_cow1.wav
  if ($2-3 == killed himself.) FDS snda m00gbrs_dfax0001i1gbrs_snd.wav
  if ($2 == cya) FDS snda m00bnol_kill0054i1gbmg_snd.wav
  if ($2 == help) FDS snda m00gbrs_hftd0001i1gbrs_snd.wav
  if ($2 == gg) FDS snda m00bncy_kill0054i1gbmg_snd.wav
  if ($2 == lucky) FDS snda m00gnod_kill0037r1nbft_snd.wav
  if ($2 == urdead) FDS snda l02b_02_hav02.wav
  if ($2 == finally) FDS snda m00gsmg_atoc0001i1gsmg_snd.wav
  if ($2 == strike) FDS snda m00gsrs_kill0029i1nbft_snd.wav
  if ($2 == wasted) FDS snda m00gsrs_kiov0016i1nbft_snd.wav
  if ($2 == present) FDS snda bombit1.wav
  if ($2 == pray) FDS snda m11dsgn_dsgn0073i1mbpt_snd.wav
  if ($2 == amateur) FDS snda m00bntu_kill0040i1gcm1_snd.wav
  if ($2 == eye) FDS snda m03dsgn_dsgn0005r1gbmg_snd.wav
}
}


This should do the trick, you can use the FDS alias to do
whatever valid FDS command is possible...

Obviously you have to change "5050" and "password" to whatever
you set it to in server.ini


i tried that with cloudyserv but it did not work. please help if you can.

Dean20056
Re: CloudyServ [message #327778 is a reply to message #327767] Fri, 25 April 2008 06:17 Go to previous messageGo to next message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma: 0
Recruit
Dean

Theres no reason why that shouldn't work if setup properly. Remember to set #ChannelName to the #chan that you currently have cloudyserv logging to, and $nick to the name of your cloudyserv bot; in addition to the instructions posted by zunnie.
Re: CloudyServ [message #327788 is a reply to message #327778] Fri, 25 April 2008 08:04 Go to previous messageGo to next message
Dean20056 is currently offline  Dean20056
Messages: 46
Registered: September 2007
Location: England,London
Karma: 0
Recruit
buffymaniack wrote on Fri, 25 April 2008 08:17

Dean

Theres no reason why that shouldn't work if setup properly. Remember to set #ChannelName to the #chan that you currently have cloudyserv logging to, and $nick to the name of your cloudyserv bot; in addition to the instructions posted by zunnie.


ok buffy i will try again. i was in abit of a rush when i tried it the first time as i had to get to school lol. thanks for replying Thumbs Up

btw just 1 more thing. I was putting it in DreamBot irc bot. does that matter? i just added it to the remotes and the mirc_ren.dll into the DreamBot folder.
Re: CloudyServ [message #327799 is a reply to message #327767] Fri, 25 April 2008 08:48 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

Buffy posting on ren forums Surprised.

Re: CloudyServ [message #327801 is a reply to message #327799] Fri, 25 April 2008 08:50 Go to previous messageGo to next message
The Executor is currently offline  The Executor
Messages: 464
Registered: February 2008
Location: Eastern Coast, USA
Karma: 0
Commander
{SB}Lone0001 wrote on Fri, 25 April 2008 10:48

Buffy posting on ren forums Surprised.


Lets play a game called "Explain what you mean by that". Well?


Imperial Class Super Star Destroyer
http://l.yimg.com/us.yimg.com/i/us/wrlds/strwrs/gr/hdrs/super-star-destroyer-1.jpg

Quote:

"Fear will keep these systems inline, fear of this battle station!"

-Grand Admiral Moff Tarkin



Re: CloudyServ [message #327803 is a reply to message #327767] Fri, 25 April 2008 08:51 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

Well if you search for posts by him you would see the gap in between them is big.

Re: CloudyServ [message #327844 is a reply to message #327767] Fri, 25 April 2008 12:51 Go to previous messageGo to next message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma: 0
Recruit
I come and go, give a lil help where I can. People who know me, know where they can contact me. And yes dean it should work in any mirc, regardless of scripts running, as long as mirc and the game server are on the same machine hence the 127.0.0.1 in the code.
Re: CloudyServ [message #327854 is a reply to message #327767] Fri, 25 April 2008 14:12 Go to previous messageGo to next message
mrãçķz is currently offline  mrãçķz
Messages: 3069
Registered: August 2007
Karma: 0
General (3 Stars)
Permabanned for trying and failing DDoS
Change MonkeyX01 with your Name:

class AlarmChatCommand : public ChatCommandClass {
	void Triggered(int ID,const TokenClass &Text,int ChatType) {
		   const char * name = Get_Player_Name(Get_GameObj(ID));
 if (strcmp(name, "MonkeyX01") == 0)
Console_Input("snda klax1a.wav");
}
};
ChatCommandRegistrant<AlarmChatCommand> AlarmChatCommandReg("!alarm",CHATTYPE_ALL,0,GAMEMODE_AOW);

Re: CloudyServ [message #327864 is a reply to message #327854] Fri, 25 April 2008 15:18 Go to previous messageGo to next message
Dean20056 is currently offline  Dean20056
Messages: 46
Registered: September 2007
Location: England,London
Karma: 0
Recruit
Madrockz wrote on Fri, 25 April 2008 16:12

Change MonkeyX01 with your Name:

class AlarmChatCommand : public ChatCommandClass {
	void Triggered(int ID,const TokenClass &Text,int ChatType) {
		   const char * name = Get_Player_Name(Get_GameObj(ID));
 if (strcmp(name, "MonkeyX01") == 0)
Console_Input("snda klax1a.wav");
}



};
ChatCommandRegistrant<AlarmChatCommand> AlarmChatCommandReg("!alarm",CHATTYPE_ALL,0,GAMEMODE_AOW);





ok Thanks Simon. btw madrockz what is that for?

[Updated on: Fri, 25 April 2008 15:34]

Report message to a moderator

Re: CloudyServ [message #327868 is a reply to message #327767] Fri, 25 April 2008 16:28 Go to previous messageGo to next message
Lone0001 is currently offline  Lone0001
Messages: 2112
Registered: August 2006
Location: Ontario, Canada
Karma: 0
General (2 Stars)

That's C++ code for a command that makes an alarm sound(klax1a.wav) every time you say "!alarm" I don't know why he posted it here it is pretty useless really you could do it much easier with Lua or mirc scripts even.

Re: CloudyServ [message #327965 is a reply to message #327767] Sat, 26 April 2008 16:40 Go to previous message
cncnick13 is currently offline  cncnick13
Messages: 232
Registered: August 2007
Karma: 0
Recruit
yea use lua for sounds. i can give u a codelist with 50 sounds.
Previous Topic: Poly Amount
Next Topic: Taunts Agian
Goto Forum:
  


Current Time: Sat Nov 30 16:34:19 MST 2024

Total time taken to generate the page: 0.00903 seconds