Jukebox sound plays fine...

Go down

Jukebox sound plays fine...

Post by lordpsyan on Mon Dec 12, 2011 5:54 am

but if you select another, it does not stop the music, it overlaps...

Core: TrinityCore
Problem: Music does not stop playing.
Error:
Changes you have done: None yet.
Code: basic unmodified downloaded code for trinity
Pictures: NA

lordpsyan

Viestien lukumäärä : 4
Join date : 2011-12-12

Back to top Go down

Re: Jukebox sound plays fine...

Post by Rochet2 on Mon Dec 12, 2011 7:34 am

I am aware of this, but ..
I am not sure how to stop it or if there even is a way to stop it.
avatar
Rochet2
Admin

Viestien lukumäärä : 196
Join date : 2010-02-04

http://emuproject.bbflash.net

Back to top Go down

Re: Jukebox sound plays fine...

Post by lordpsyan on Thu Dec 15, 2011 8:57 am

was thinking about converting this to C++. probably some day, but that's alot of data to add. I do have another question. How do you get the stupid menu to close? once you select a song, the menu stays open. This lets players think they can easily change it if they don't like it. If I can figure out how to despawn and respawn after xx seconds, i'll do that, and it will automatically close.

lordpsyan

Viestien lukumäärä : 4
Join date : 2011-12-12

Back to top Go down

Re: Jukebox sound plays fine...

Post by Rochet2 on Thu Dec 15, 2011 10:47 am

That was the idea at first, since on mangos and arcemu I think .. you can stop the music from playing.

To make the gossip menu close on click, you should use smart scripts with action 72 (close gossip menu).
You would need to add this script for each option separately.

I created this SQL fast for you.
It should insert the needed rows. BUT! I created it with the defult menu_id and id etc values, so if you changed them when downloading, dont execute this.

http://pastebin.com/zvuqV0xp
avatar
Rochet2
Admin

Viestien lukumäärä : 196
Join date : 2010-02-04

http://emuproject.bbflash.net

Back to top Go down

Re: Jukebox sound plays fine...

Post by lordpsyan on Fri Dec 23, 2011 1:36 pm

thanks. I had figured it out about 5 minutes after sending that message, but hadn't come back to put the code up. all gossip stuffs now link to a single smartai script to close the menu.

Due to the holidays, I haven't had time to mess with the C++ version of this script, but once I get it, i'll give it to you. my script currently plays a bunch of mp3's but requires a patch I made to do it.

lordpsyan

Viestien lukumäärä : 4
Join date : 2011-12-12

Back to top Go down

Re: Jukebox sound plays fine...

Post by Rochet2 on Sun Dec 25, 2011 9:02 am

Well, there is no GREAT need for a C++ version, but..
a list of the songs with the options would be great.
Also the play song (and stop song, if one exists) method(s) would be nice.

To make a C++ version, I would likely just copy out my C++ version of the portal master and modify it to have the songs.

Help is appreciated! :3

PS. I can easily just get the songs and options from any version of jukebox, since DB info is very easily edited to a good from..
Likely just wasting time if someone gets them.
avatar
Rochet2
Admin

Viestien lukumäärä : 196
Join date : 2010-02-04

http://emuproject.bbflash.net

Back to top Go down

Re: Jukebox sound plays fine...

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum