Mr BrycE Posted August 5, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Share Posted August 5, 2012 Sound Effects when....Logging in and Logging Out? i thinks its possible... hmm... if yes, how? xD like..hmm im guessing.. when OnPClogin event? or.. when Pressing , "Exit to Windows " when logging out the sound effects(wav) will trigger.. Quote Link to comment Share on other sites More sharing options...
Mystery Posted August 6, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted August 6, 2012 Indeed. To do what you want, you will need to use these: OnPCLoginEvent: OnPCLogoutEvent: Though, what's the point on the logout? I believe there's already a sound people hear when surrounding the player whose leaving. When a player logs out, theres some sort of teleport sound that goes off. Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted August 7, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted August 7, 2012 for logout, ... hmm, if your familiar with RGC "rank gaming client" when they logout...it says "Initiating Logout blah blah..".. hmm..maybe a good script will do this to only play the sound only to that player. Quote Link to comment Share on other sites More sharing options...
Jezu Posted August 8, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 566 Reputation: 34 Joined: 11/17/11 Last Seen: January 24 Share Posted August 8, 2012 (edited) Check this if this will work. Get the wav or mp3 file of that "Initiating Logout blah blah" on RankGamingClient (RGC) and put it on your BGM folder. Then named it "logout.mp3" or "logout.wav". then this is the script: - script BGMSounds -1,{ OnPCLoginEvent: playBGM "login"; OnPCLogoutEvent: playBGM "logout"; } if the above script is not working, then try to put the file type... just add logout.mp3 / login.mp3 (if the file is mp3 then .mp3... if wav, then .wav) Edited August 8, 2012 by Jezu Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted August 10, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted August 10, 2012 (edited) sorry for the late reply...ill try it and see if it works Hi, it doesnt work, btw, im using eathena... i already read about the playBGM in the doc file and it really needs .mp3 and it must be on BGM folder ( i think ) i already tried both... and i already tried putting the extenstion file and w/o the extention file.. PS; i only do unload/loadnpc command... does it needs a @reloadscript or a Restart Server to take effect? Edited August 10, 2012 by Mr BrycE Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted August 13, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted August 13, 2012 bump Quote Link to comment Share on other sites More sharing options...
Mystery Posted August 13, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted August 13, 2012 *playBGM "<BGM filename>"; *playBGMall "<BGM filename>"{,"<map name>"{,<x0>,<y0>,<x1>,<y1>}}; These two commands will play a Background Music to either the invoking character only ('playBGM') or multiple characters ('playBGMall'). BGM filename is the filename in /BGM/ folder. It has to be in .mp3 extension. It's not required to specify the extension inside the script. If coordinates are omitted, BGM will be broadcasted on the entire map. If the map name is omitted as well the BGM will be played for the entire server. You can add your own BGMs this way, naturally. No. All you have to do is add your BGM name. You do not need to add the extension .mp3. Either or would make the script run.. but I suggest just to restart your server for it. Maybe you can't hear the sound when you login beause it plays right when you login.. EVEN if you can't see the map yet. So, if you have a slow connection to load the map, right when your actual character connects to the map, the event will run. Suggest you add a sleep timer for 5 seconds then play the sound. Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted August 14, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted August 14, 2012 (edited) awee tried...but it wont play.. here...tell me what's wrong. - script BGMSounds -1,{ OnPCLoginEvent: sleep 5000; playBGM "login"; OnPCLogoutEvent: playBGM "logout"; } Edited August 14, 2012 by Mr BrycE Quote Link to comment Share on other sites More sharing options...
Mystery Posted August 14, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted August 14, 2012 Maybe its your MP3 file. Try changing it to 154 or something (like a map's BGM). If it works then, it's your MP3 file. Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted August 17, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted August 17, 2012 im only hearing it when i dual login Quote Link to comment Share on other sites More sharing options...
Question
Mr BrycE
Sound Effects when....Logging in and Logging Out?
i thinks its possible...
hmm...
if yes, how? xD
like..hmm im guessing..
when OnPClogin event? or..
when Pressing , "Exit to Windows " when logging out the sound effects(wav) will trigger..
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.