![]() |
Era's Radio
Not sure if this issue has been known and resolved by someone (Chris, Crow, Salesman, whoever else worked here), but its bugging me that it hasn't been fixed in the years that issue has been occuring. As many of you know, our radio system works fine until a player crosses over level links (on a gmap). The sound cuts out and a player is forced to open and close the radio again. We had someone briefly look over it, and he couldn't find any issues with it. So im just looking for suggestions on why this is occurring and how I can fix it.
|
A script or class being calling onPlayerEnters which resuilts playlooped() or stopmusic() or stopmidi() being called.
Could possibly relate to ganis as well. |
Hmm well with the script below the sound goes out about 40 seconds-90 seconds into the song.
This is a test script Chris Vimes used to attempt to try resolve the problem: PHP Code:
|
What happens when you use playlooped instead of play?
That script identifies what NPC is stopping it from playing. Might benefit from echo'ing the NPCs id, name and joinedclasses if it has any as well. Can also try this test: PHP Code:
|
Playlooped seemed to make no difference.
Using Chris's tool, i can't understand why its choosing one NPC over another. A window with PHP Code:
Then a flower with this was selected PHP Code:
and then PHP Code:
PHP Code:
With your script im getting this error: Quote:
My only scripting experience is from what i learned from trial/error over the years, so sorry if this is fairly easy fix, but i looked over your code and cant seem to understand why the lines would work in CV's script, but not yours. |
If it's choosing random NPCs, there's probably a GANI stopping the music rather than an NPC calling it in onPlayerEnters. Before I left last time, radios were working flawlessly, so it's a recent addition.
Quote:
|
| All times are GMT +2. The time now is 05:06 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.