On my shard we like to do a lot of custom music. It is really simple, just rename the specific song to what you want in the client's config.txt
Right now, I have a request to add more music to the game. The problem is, if I add a line to Config.txt and try to play that midi, it will not play.
So my question is, does Uox3 only allow a finite amount of songs, or does the client "crap out" if you send it an integer more than some hardcoded value?
Music: Client or UOx limited?
If I add extra lines to config.txt, it won't play them.
So I have two ideas:
1) The client refuses to read any additional lines in config.txt (which would be bad for us.)
2) Uox3 only recognizes x-amount of midi files in config.txt. (This would be good for us, as we could configure the max amount of config.txt files in uox.ini).
I don't have a copy of the source, nor do I know where to look to verify.
So I have two ideas:
1) The client refuses to read any additional lines in config.txt (which would be bad for us.)
2) Uox3 only recognizes x-amount of midi files in config.txt. (This would be good for us, as we could configure the max amount of config.txt files in uox.ini).
I don't have a copy of the source, nor do I know where to look to verify.
- Jediman
- UOX3 Apprentice
- Posts: 177
- Joined: Fri Jul 16, 2004 1:38 am
- Location: New England
- Has thanked: 0
- Been thanked: 0
- Contact:
Didn't UOGateway support custom music?
How did Fixit do it..client hacking?
How did Fixit do it..client hacking?
Realms of Valor
- -=- http://www.realmsofvalor.com -=-
-=-Powered By UOX3-=-
Have you read the installation documentation?
http://www.uox3.org/documentation.shtml
'I have a moongate in my backpack' sounds like a bad Brittanian pickup line!
- -=- http://www.realmsofvalor.com -=-
-=-Powered By UOX3-=-
Have you read the installation documentation?
http://www.uox3.org/documentation.shtml
'I have a moongate in my backpack' sounds like a bad Brittanian pickup line!
-
Grimson
- Developer
- Posts: 802
- Joined: Sat Jun 04, 2005 1:52 am
- Location: Germany
- Has thanked: 0
- Been thanked: 0
The midi packet, the server sends to the client, allows values up to 255. If we allow anything above it would eighter be ignored by the client or could cause problems like client crashes.
If you haven't reached the number of 255 midis, the client is further limited.
In both cases there is not much that can be done from the point of UOX3.
If you haven't reached the number of 255 midis, the client is further limited.
In both cases there is not much that can be done from the point of UOX3.
-update-
Sadly it appears to be a client limitation.
Using the 'midi command I tried to play Midi's 72-67 that I added. Unless I did something wrong in my config.txt (possible), these midis do NOT play.
midi 66 cuts the sound off. It is set as ValoriaShips.mp3, and it is possible that this is a corrupted OSI song, and 66 *should* work.
65 does work, but nothing above 65 seems to work with my client.
Too bad.... 255 midi files would be PLENTY!!
Sadly it appears to be a client limitation.
Using the 'midi command I tried to play Midi's 72-67 that I added. Unless I did something wrong in my config.txt (possible), these midis do NOT play.
midi 66 cuts the sound off. It is set as ValoriaShips.mp3, and it is possible that this is a corrupted OSI song, and 66 *should* work.
65 does work, but nothing above 65 seems to work with my client.
Too bad.... 255 midi files would be PLENTY!!