Author Topic: Odd error (Fixed)  (Read 2994 times)

0 Members and 1 Guest are viewing this topic.

Offline xorgroth

  • Newbie
  • *
  • Posts: 40
  • Not active, RIP WM
Odd error (Fixed)
« on: December 01, 2010, 12:23:05 PM »
Ok, this only happens with 1 girl that I have downloaded. Fujiwara no Mokou, basically it will not show the pictures for the girl period. If I try to go into view gallery I get the following in the gamelog.txt which will freeze the game and just keep repeating the last line until I force close the program. I have tried to delete all pictures inside of the folder and make my own. Same deal....
Everything else looks fine as far as I can tell...and I have seen the .\Resources\Buttons error elsewhere but can't recall at the moment.


CSurface LoadImage loadedImage error with filename: .\Resources\Buttons\
Couldn't open .\Resources\Buttons\
Couldn't open .\Resources\Buttons\
ERROR - Loading Image '.\Resources\Buttons\'
cGirls::IsAnimatedSurface: unexpected image type: 15
cGirls::IsAnimatedSurface: unexpected image type: 15


Update: Here is the part where I feel stupid. Was a space at the end of the girl's name in the editor -.-
-Xorg
« Last Edit: December 03, 2010, 02:40:54 AM by xorgroth »

Offline DocClox

  • Dev Team
  • *****
  • Posts: 1867
  • Messing Around With Python
Re: Odd error
« Reply #1 on: December 01, 2010, 02:26:09 PM »
Hmmm... that can happen sometimes. Originally necno's code used to use an empty string as a button name if the button was to be hidden. These days, we have smart path objects that prepend the folder path, so that doesn't work anymore, and we use a hidden flag instead. But sometimes we still get a combo like that where a null string gets passed as a button image.

What svn version are you running?

Offline xorgroth

  • Newbie
  • *
  • Posts: 40
  • Not active, RIP WM
Re: Odd error
« Reply #2 on: December 01, 2010, 02:30:37 PM »
Running just the r485 on this one. Latest svn was iffy in areas to play much a serious game. Should probably run through on the latest and see what I get. Last I remember it was iffy on playing a semi-serious game at least.

Well, in the latest r559 that I compiled. Basically the same thing as before except that unexpectederror no longer shows up. Though I do get the following instead.

Code: [Select]
Loading brothel: Test
Loading girl: 'Fujiwara no Mokou
Loading girl: Fujiwara no Mokou
Loading global triggers
Loading default images
Error in RenderText m_Message. Text which was to be rendered:

Text has zero width
CTariff: base price for slave 'Fujiwara no Mokou ' = 795
slave sellprice = 795
Error in RenderText m_Message. Text which was to be rendered:

Text has zero width
CSurface LoadImage loadedImage error with filename: .\Resources\Buttons\
Couldn't open .\Resources\Buttons\
Couldn't open .\Resources\Buttons\
ERROR - Loading Image '.\Resources\Buttons\'
« Last Edit: December 01, 2010, 02:49:14 PM by xorgroth »

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: Odd error
« Reply #3 on: December 01, 2010, 04:34:49 PM »
Can you provide a link to the download for the girl in question?

Offline xorgroth

  • Newbie
  • *
  • Posts: 40
  • Not active, RIP WM
Re: Odd error
« Reply #4 on: December 02, 2010, 07:16:57 AM »
Main download location I got it from is the first link and my own quick upload is the second.

http://pinkpetal.org/index.php?topic=447.msg8286#msg8286 (F-Ke)

http://www.mediafire.com/?dwyxt4tw5xgi3u9 (With my own quick set of pictures in there)

-Xorg