Error -WinnerSound?

Having problems with GunGame5 (NOT FOR BUGS)? Ask here!

Error -WinnerSound?

Postby zeroibis » Thu Nov 27, 2008 12:52 am

After starting my server it will crash with this error:

Traceback (most recent call last):

  File "C:\gameservers\krod\TC28032470810567850382176\cstrike\addons\eventscripts\_libs\python\gungamelib.py", line 2269, in addDownloadableWinnerSound
    info = mp3lib.mp3info(realPath)

  File "C:\gameservers\krod\TC28032470810567850382176\cstrike\addons\eventscripts\_libs\python\mp3lib.py", line 438, in mp3info
    id3v2 = get_v2head(fp)

  File "C:\gameservers\krod\TC28032470810567850382176\cstrike\addons\eventscripts\_libs\python\mp3lib.py", line 416, in get_v2head
    tagsize = tagsize+ord(bytes[3 - i]) * 128 * i

IndexError: string index out of range


My random_winner_sounds.txt:

gungame/1-YMCAv3.mp3
gungame/2-PushItv3.mp3
gungame/3-GangstaParty.mp3
gungame/4-Dancing.mp3
gungame/5-pullupattheclub.mp3
gungame/6-KingBack.mp3
gungame/7-Feelfine.mp3
gungame/8-Arabia.mp3
gungame/9-TwilightRemixv2.mp3
gungame/10-FastLane.mp3
gungame/11-HotelCali.mp3
gungame/12-Helena.mp3
gungame/13-WalkOnSun.mp3
gungame/14-calilove.mp3
gungame/15-GoodTimes.mp3
gungame/16-noHana.mp3
gungame/17-RnRBand.mp3
gungame/18-Stay.mp3
gungame/19-YourMusic.mp3
gungame/20-AngryMan.mp3
gungame/21-StayFly.mp3
gungame/22-RidinSpinners.mp3
gungame/23-ImAKing.mp3
gungame/24-InClub.mp3
gungame/25-BeatToFloor.mp3
gungame/26-DancinPole.mp3
gungame/27-LyricalGangbang.mp3
gungame/28-HowWeDo.mp3
gungame/29-YouScared2.mp3
gungame/30-AmbitionsRider.mp3
gungame/31-LongWay.mp3


Do I have something set wrong, all of these files worked in gg4. Also I do have "gg_dynamic_chattime 1"
zeroibis

Private
Private
 
Posts: 6
Joined: Thu Nov 27, 2008 12:46 am

Postby zeroibis » Thu Nov 27, 2008 1:00 am

In an attempt to try to figure out what is going wrong is there any files/folders that need permissions adjusted in order for gg5 to work correctly.
zeroibis

Private
Private
 
Posts: 6
Joined: Thu Nov 27, 2008 12:46 am

Postby zeroibis » Thu Nov 27, 2008 1:27 am

gg_dynamic_chattime 0 => fixed this problem
zeroibis

Private
Private
 
Posts: 6
Joined: Thu Nov 27, 2008 12:46 am

Postby Saul » Sat Nov 29, 2008 1:29 pm

One of the mp3's is invalid. It doesn't crash, it just shows you the error and keeps everything as normal.

There should be a message above it. Something like:
[GunGame] Cannot set dynamic chat time. Unable to get file length of: <file name here>

You can see what file it cannot get the length of, and delete it / fix it appropriately.
Saul

GunGame5 Developer
GunGame5 Developer
 
Posts: 147
Joined: Sun Sep 07, 2008 3:29 pm
Xfire Name: saul0

Re: Error -WinnerSound?

Postby zeroibis » Sun Dec 07, 2008 2:37 am

Yes, but if that was true then would the file work on gg4? Because they all work fine in gg4....
zeroibis

Private
Private
 
Posts: 6
Joined: Thu Nov 27, 2008 12:46 am



Return to Troubleshooting (NOT FOR BUGS)

Who is online

Users browsing this forum: No registered users and 10 guests