devolution

Poll

If you are reporting a bug, follow these steps to assist us in finding the cause of your bug

1. Delete the "gamelog.txt" file from your game folder to clear it.
2. Run the game as you normally would until it crashes.
3. Create a zip file with your savegame and your "gamelog.txt" files.
4. Post your bug report with details of how and when you get the crash.
5. Attach the zip file to your report.

Author Topic: Crazy and PP's mod bug thread  (Read 619589 times)

0 Members and 10 Guests are viewing this topic.

Offline aevojoey

  • Hero Member
  • *****
  • Posts: 1413
  • Thats ok, I'm used to disappointment.
Re: Crazy and PP's mod bug thread
« Reply #645 on: January 04, 2015, 07:46:02 PM »
Hello. I found a bug :

When a girl learn the skill "DeepThroat" from the script "no gag reflex", il doesn' t appear in the skill list.
In the summary, le skill "DeepThroat" is write "Deepthroat" (T> t)
 
Ex : korra  (from lurker's pack) have passively "DeepThroat". If worring, she gains "No gag reflex".

all girls learn and lose "No gag reflex" in a continuous loop.
It is totally new code and is bound to have a few bugs.
I'll check it out.

Update: found and fixed the problem
I missed the space in "Deep Throat" so it was seeing the wrong trait.
You will have to edit your savegame to change the incorrect "Deepthroat" trait to "Deep Throat".
« Last Edit: January 04, 2015, 11:19:36 PM by aevojoey »
Fixing the game is a better game than actually playing it.
Get the Current Version <|> Discuss the Game <|> Report a bug

Offline Randomguy

  • Newbie
  • *
  • Posts: 2
Re: Crazy and PP's mod bug thread
« Reply #646 on: January 05, 2015, 11:55:08 AM »
in the first place : Thanks for fixing this game

secondly : sorry, i have looking for with WMEdit.8.14.exe and WMEdit.8.14 in DefaultInteractDetails.script, GlobalTriggers.xml, CoreTraits.traits and i haven't found where is this bug.

thirdly : I'm not a native English speaker, I check my grammar to make sure everything is correct.  Sorry if that's not the case.

Update : i will start a new game.
« Last Edit: January 05, 2015, 03:02:27 PM by Randomguy »

Offline Dagoth

  • Administrator
  • *****
  • Posts: 617
Re: Crazy and PP's mod bug thread
« Reply #647 on: January 05, 2015, 12:51:34 PM »
It's been a while since I've really come out of lurking, but I've recently been trying this version out a bit and enjoying it. Kudos.

A couple of things were bugging me about the scrollbars. Since I originally wrote all the code for them in the first place and was responsible for these issues, I figured it might be fitting to take care of them myself.

1. After scrolling down the list of job ratings on the girl details screen, and then switching to a different girl, the scrollbar position for the job ratings text wasn't correctly resetting to the top when the text was updated, leaving it out of sync with the actual text box until moved. This was a bug, fixed.
2. Clicking in the space between the draggable part of the scrollbar and the top or bottom was set to move only 3 lines, while the standard for most applications with scrollbars is to scroll either a full page or more commonly one line less than a full page. The "one line less than a full page" approach is now used.
3. Using a mouse scrollwheel or the up and down buttons on the scrollbar itself was set to scroll only 1 line at a time, while the standard is generally 3 lines in most applications. So, scrollbars now default to scrolling 3 lines at a time instead of 1.

I also went ahead and added config options for that last point so that the scroll amount can be configured, with separate options between listboxes and textboxes. I added these under Resolution in the config as ListScrollAmount and TextScrollAmount, so for example (note the last two options added):
Code: [Select]
<Resolution
Resolution="J_1024x768"
Width="1024"
Height="768"
ScaleWidth="800"
ScaleHeight="600"
FullScreen="false"
ListScrollAmount="3"
TextScrollAmount="3" />
That way, if somebody for instance wants their listboxes to still only scroll one line at a time, or to have textboxes scroll more lines at a time (the job ratings text is pretty long, so that might be convenient), they can easily change it.

Attached is a diff patch against SVN revision 128 with these changes.

Offline akab

  • Newbie
  • *
  • Posts: 38
Re: Crazy and PP's mod bug thread
« Reply #648 on: January 07, 2015, 10:31:37 AM »

My first little contribution to the community.
It comes to just a few lines that essentially assign a surname
to a new girl born in the brothel, and adds to her description indication
of mother and father.


the modified function is the "child_is_grown" contained in cGirls.cpp

Code: [Select]
   string playersurname = "XXXXXXX";

   int playerfather = child->m_IsPlayers; // is 1 if father is player
   string daughtername = sprog->m_Realname; string surnamemom = ""; string biography = "";
   int posspace = 0;
   posspace = mom->m_Realname.find(' ');
   if (playerfather !=1)
      {
         if (posspace >= 0)
            {
               surnamemom = mom->m_Realname.substr(posspace+1);
               daughtername = daughtername + " " + surnamemom;
               sprog->m_Realname = daughtername;
               biography = sprog->m_Desc + " Daughter of " + mom->m_Realname + " and " + " anonymous brothel client ";
               sprog->m_Desc = biography;
            }
         else
            {
               daughtername = daughtername + " Smith";
               sprog->m_Realname = daughtername;
               biography = sprog->m_Desc + " Daughter of " + mom->m_Realname + " and " + " anonymous brothel client ";
               sprog->m_Desc = biography;
            }
      }
   else   
      {
         daughtername = daughtername + " " + playersurname;
         sprog->m_Realname = daughtername;
         biography = sprog->m_Desc + " Daughter of " + mom->m_Realname + " and " + " the Brothel owner Mr. " + playersurname;
         sprog->m_Desc = biography;
      }


Offline crazy

  • Hero Member
  • *****
  • Posts: 733
Re: Crazy and PP's mod bug thread
« Reply #649 on: January 07, 2015, 06:34:56 PM »
Thanks for the patch dagoth and thanks for the code submission akab.

Offline akab

  • Newbie
  • *
  • Posts: 38
Re: Crazy and PP's mod bug thread
« Reply #650 on: January 07, 2015, 07:40:32 PM »
Crazy you are welcome, so little for the work you are doing.  ;)

Offline gcdeathrow

  • Newbie
  • *
  • Posts: 4
Re: Crazy and PP's mod bug thread
« Reply #651 on: January 11, 2015, 07:36:20 PM »
For the past few versions I have been seeing when girls get assigned back to their job by the Matron, the night shift is correctly assigned, but day shift stays on Free Time.

Offline MuteDay

  • Sr. Member
  • ****
  • Posts: 421
  • Loving life and PinkPetal Family
Re: Crazy and PP's mod bug thread
« Reply #652 on: January 12, 2015, 09:36:45 AM »
i keep having a crash at end turn when my girl is prego, and my log isnt telling me anything
Please Enjoy all the hard work i Do to help make the game and forums a better place :)

Offline Metaphor23

  • Newbie
  • *
  • Posts: 2
Re: Crazy and PP's mod bug thread
« Reply #653 on: January 13, 2015, 03:24:47 PM »
i'm getting crashes when my girls Daughter grows up

Offline MuteDay

  • Sr. Member
  • ****
  • Posts: 421
  • Loving life and PinkPetal Family
Re: Crazy and PP's mod bug thread
« Reply #654 on: January 13, 2015, 05:21:50 PM »
same here and so far log isn't helping me at all
Please Enjoy all the hard work i Do to help make the game and forums a better place :)

Offline aevojoey

  • Hero Member
  • *****
  • Posts: 1413
  • Thats ok, I'm used to disappointment.
Re: Crazy and PP's mod bug thread
« Reply #655 on: January 13, 2015, 06:20:18 PM »
i keep having a crash at end turn when my girl is prego, and my log isnt telling me anything
I found the source of this problem and fixed it.
I had tried to clean up the handle children function by allowing it to ignore the summary text but it didn't work so I put it back the way it was.

The log is rarely ever of any help with crashes.
Fixing the game is a better game than actually playing it.
Get the Current Version <|> Discuss the Game <|> Report a bug

Offline MuteDay

  • Sr. Member
  • ****
  • Posts: 421
  • Loving life and PinkPetal Family
Re: Crazy and PP's mod bug thread
« Reply #656 on: January 13, 2015, 06:35:25 PM »
my log tells me exactly what caused the game to crash
Please Enjoy all the hard work i Do to help make the game and forums a better place :)

Offline MuteDay

  • Sr. Member
  • ****
  • Posts: 421
  • Loving life and PinkPetal Family
Re: Crazy and PP's mod bug thread
« Reply #657 on: January 13, 2015, 10:39:30 PM »
---- ERROR - Saved more traits then girls can have




if i may ask what does that mean, and still crashing at girl coming of age
Please Enjoy all the hard work i Do to help make the game and forums a better place :)

Offline crazy

  • Hero Member
  • *****
  • Posts: 733
Re: Crazy and PP's mod bug thread
« Reply #658 on: January 13, 2015, 11:18:41 PM »
---- ERROR - Saved more traits then girls can have
Girls can only have 60 traits.. My guess is one of ur girls has more then that

Offline Gmind

  • Newbie
  • *
  • Posts: 10
Re: Crazy and PP's mod bug thread
« Reply #659 on: January 14, 2015, 05:11:35 AM »
Found this lil' dealie doo (see attached pic) while trying to do some problem solving for some issues I've been having. Haven't added any new traits to the game, so the problem is somewhere in the coding I'm guessing. Also, been trying to make grammar edits to some of the scripts as well as adding new dialogue, but the game doesn't like me adding to 'em apparently and now freezes/crashes after inputting brothel name and hitting start (v06.00.18). (would attach a gamelog but, after reviewing them myself, no reason for a crash is sited in the logs)