Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: crazy on December 02, 2012, 04:32:10 AM

Title: Crazy and PP's mod bug thread
Post by: crazy on December 02, 2012, 04:32:10 AM
Plz start list bug found in our mod here.  I'll update here with a know bug list soon.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 02, 2012, 04:32:32 AM
saved
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on December 03, 2012, 04:27:07 PM
Obvisiously known?

Most of the Defaultpics don't work. That should be fixed. This would be helpful to find out other bugs in sripts.

Not shure if thers a bug : One of my girls was paid with 123gold for cleaning . Her  cleaning value was 120 or so, isn't that too much ?

Kind regards,

HuiBui


Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 05, 2012, 07:14:10 PM
Not shure if thers a bug : One of my girls was paid with 123gold for cleaning . Her  cleaning value was 120 or so, isn't that too much ?
HuiBui

That would definately be a bug.. currently cleaning should pay exactly 25 gold every week no matter what. Was this girl cleaning in a regular brothel, or one of the new buildings?
Title: Re: Crazy and PP's mod bug thread
Post by: trex on December 05, 2012, 11:06:54 PM
That would definately be a bug.. currently cleaning should pay exactly 25 gold every week no matter what. Was this girl cleaning in a regular brothel, or one of the new buildings?


May not be a bug, but I have slave (100%) house girls EARNING money. Of course, the purpose of a slave is kind of defeated with this game mechanic, could you change that to count house % for cleaning,security, advertising ect?






Also, on the catacomb's no rape thing I mentioned earlier. I don't double shift because of the income bug, but I did for one girl I was testing.


On the double shift, she got weakened from her first job, and then was defeated & raped in the catacomb's shift after whoring in the same week.


I never got defeated & raped no matter what the girl's condition when I only gave her a single catacomb shift each week.


So from my perspective, it seems catacomb defeat rape can happen (rarely) but with conditions making it too infrequent (too much 'no one wants to play'?).
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 05, 2012, 11:14:36 PM
So from my perspective, it seems catacomb defeat rape can happen (rarely) but with conditions making it too infrequent (too much 'no one wants to play'?).
The no one wants to play thing is for girls with really low combat skills if I remember the code right it been awhile the last time I looked that job.
Title: Re: Crazy and PP's mod bug thread
Post by: trex on December 05, 2012, 11:24:49 PM
TBH I only put them on catacombs to sometimes get unique girls from there, but mainly to get the rare healing items that in the default items list, are the only way to cure the worst negative traits.


I'll try to release a preliminary item pack that gets rid of the need for the latter reason in about 12 hours. Would you like me to do anything for the items list?


Sorry this is starting to go off-topic, if you'd prefer to PM me with any suggestions that'd be a fine remedy.


Oh, there doesn't seem to be an 'Underwear' category in my item's maker (WMEDIT0.7.1) ?
Title: Re: Crazy and PP's mod bug thread
Post by: Parlarkey on December 06, 2012, 04:05:44 PM
I don't think any of crazy&PP's featured are in the WMEdit tool at all. You might get them to work by opening the file later and adding the Underwear items manually.

Similarly, I tried to add Oral to my .girlsx files manually, but the values I entered don't work properly (I set 30% to test, the girl ended up with 10% from a trait, but ignored my entry). I tried adding it by creating an extra line with the following:
        Oral="30"
Is the command I should be using different, or does the order in which the stats are put also matter?
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 06, 2012, 08:41:05 PM
Similarly, I tried to add Oral to my .girlsx files manually, but the values I entered don't work properly (I set 30% to test, the girl ended up with 10% from a trait, but ignored my entry). I tried adding it by creating an extra line with the following:
        Oral="30"
Is the command I should be using different, or does the order in which the stats are put also matter?
Should be OralSex instead of just Oral
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on December 07, 2012, 04:22:02 AM
That would definately be a bug.. currently cleaning should pay exactly 25 gold every week no matter what. Was this girl cleaning in a regular brothel, or one of the new buildings?

That occours in a regular brothel. I'm not shure if i had a look on these girl each week. What i can say is.
I saw these twice.  one week she earned 123Gold, the other week 124Gold. And on the brothel overview there was shown Filthiness : -100 
These happens not at the start of the game, but after these two strange weeks , she was paid normaly with 25gold again until now.
Title: Re: Crazy and PP's mod bug thread
Post by: trex on December 07, 2012, 04:35:06 AM
As HuiBui mentions, there are occasions where you get -xx filthiness  I avoid cleaners, as you can get it done free if you get a girl in your office and make them clean the place up. Seeing I don't use cleaners because they get paid regardless of slave/non-slave, I can't comment further on his bug.


BUT, I also get -security every week. Again, I've barely used the whore job, but it the limited play I've had, it doesn't impact on the rate of occurrence, ie the only factor is the config rape rates. I'm fine with -2000+ security, any whores don't get raped any more often then the rape % set in config.


Do security girls prevent rapes? I assume they do, but then, guarding gangs, do they also do the same thing? <-These questions = limited playthrough with whore jobs, I'm just curious.


Unsure if both filthiness & security are just not implemented fully yet, or there actually are bugs.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 07, 2012, 05:21:16 AM
BUT, I also get -security every week.
Security goes down 30 every week if you don't have a girl working it.
Again, I've barely used the whore job, but it the limited play I've had, it doesn't impact on the rate of occurrence, ie the only factor is the config rape rates. I'm fine with -2000+ security, any whores don't get raped any more often then the rape % set in config.
Security lvl is on my bug list and PP's also.  As it works it goes up and down but it means nothing rape will happen no matter the lvl of it which I hate.
Do security girls prevent rapes? I assume they do, but then, guarding gangs, do they also do the same thing? <-These questions = limited playthrough with whore jobs, I'm just curious.
Girls prevent rape more often the gangs.  Gangs almost never do Girls will atleast try to stop it if there set to security.... Again I find this to be bad as the number of people who are trying to rape a girl is always random so it makes it very unfair for a girl working the job..
Unsure if both filthiness & security are just not implemented fully yet, or there actually are bugs.
Filth is full implemented if your brothel is dirty u will lose cusmtoers.  Security is full implemented it just doesn't work well I think others might disagree.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 07, 2012, 08:29:22 AM
Cleaning:

Currently almost any job that gets performed increases filthiness by a small amount. Maids will reduce filthiness by a pretty large amount, but that amount depends on their Service skill, but it will be a minimum of 50 points. I don't think the matron reduces filthiness at all.

As Crazy said, you want to keep filthiness down, because it will directly cause you to lose customers.

Security:
As far as I can tell, the actual security rating of the Brothel does not mean much. BUT, having girls working security does a lot to prevent rapes. Having a gang on guard not only helps prevent rapes, but also has other small benefits (girls don't refuse jobs as much)

Crazy and I plan to rework security quite a bit at some point.
Title: Re: Crazy and PP's mod bug thread
Post by: Parlarkey on December 07, 2012, 10:06:50 AM
Should be OralSex instead of just Oral

That would explain it, ta!
Title: Re: Crazy and PP's mod bug thread
Post by: darkvahl on December 08, 2012, 02:25:02 PM
Hi!

Got a bug to report.

I played WM just now and found out that my girls in the dungeon cannot die. ??? WTF!!!! Is she an Undead? Ghost? Frankenstein? Immortal? God? LOL :D

I got a few girls taken from family. I leave them for a lot of weeks in the dungeon and then a red script in the summary says she had killed herself. Then when I visit the dungeon, to my surprise she's still alive. Weird!! When someone killed themselves they should be dead, Right!! Her HP 100, Happy 0, got a pessimist trait and not incorporeal.

Well, I guess I'm gonna try this on slave and catacomb girls next and see what happen.



Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 08, 2012, 08:55:14 PM
Hi!
Got a bug to report.
I played WM just now and found out that my girls in the dungeon cannot die. ??? WTF!!!! Is she an Undead? Ghost? Frankenstein? Immortal? God? LOL :D
I got a few girls taken from family. I leave them for a lot of weeks in the dungeon and then a red script in the summary says she had killed herself. Then when I visit the dungeon, to my surprise she's still alive. Weird!! When someone killed themselves they should be dead, Right!! Her HP 100, Happy 0, got a pessimist trait and not incorporeal.
Well, I guess I'm gonna try this on slave and catacomb girls next and see what happen.
Your right this is a bug I forgot about basiclly a girl can't kill them self in the dungeon so it pops saying they did when they can't.  A girl can die if you touture her long enough they just can't kill them self even if the game says they did.
Title: Re: Crazy and PP's mod bug thread
Post by: darkvahl on December 08, 2012, 11:50:30 PM
Noted but any chance to make it work?

So that you can give more attention in managing your dungeon.
Title: Re: Crazy and PP's mod bug thread
Post by: unusual_desires on December 09, 2012, 01:29:51 AM
I sent a girl from the Arena to the dungeon but her name was still in the arena so i sent her
to the brothel then I had one there and one in the dungeon. So i tried send to dungeon
again then had two of the same girl there, if i remove items from one it affects both. Then I
tried selling one copy and the other stayed so I still got to keep the girl but I got extra gold
I shouldn't have. That seems like a bug with sending girls to the dungeon from the arena.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 09, 2012, 02:55:36 AM
Hi!

Got a bug to report.

I played WM just now and found out that my girls in the dungeon cannot die. ??? WTF!!!! Is she an Undead? Ghost? Frankenstein? Immortal? God? LOL :D

I got a few girls taken from family. I leave them for a lot of weeks in the dungeon and then a red script in the summary says she had killed herself. Then when I visit the dungeon, to my surprise she's still alive. Weird!! When someone killed themselves they should be dead, Right!! Her HP 100, Happy 0, got a pessimist trait and not incorporeal.

Well, I guess I'm gonna try this on slave and catacomb girls next and see what happen.

Thats new to me, I'll put it in my notes and see if I can track it down.
--PP
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 09, 2012, 02:57:36 AM
I sent a girl from the Arena to the dungeon but her name was still in the arena so i sent her
to the brothel then I had one there and one in the dungeon. So i tried send to dungeon
again then had two of the same girl there, if i remove items from one it affects both. Then I
tried selling one copy and the other stayed so I still got to keep the girl but I got extra gold
I shouldn't have. That seems like a bug with sending girls to the dungeon from the arena.

There were quite a few bugs related to transferring girls. I have done a lot of work in there, so it seems to be working as it should now. The fixes should be in the next patch.
I will do some further testing to see if this kind of error made it past the bug fixes I have already done.
--PP
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on December 13, 2012, 09:38:45 AM
Well, meanwhile (version 0.5.c ) i've stopped searching for bugs.
 
Hoping that you guys have checked the actual  version, eliminate the listed bugs and hopefully implementate the really importent things ( all skills available  etc. )
 
And I'm looking forward to get the next update. My girls are still  waiting... 
 
Any chance that i can download the next update  before christmas?
 
Kind Regards
 
HuiBui
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 13, 2012, 07:44:42 PM
I'm sending my latest changes to Crazy tonight. There are some bug fixes, but I mostly worked on the Studio. I will post a changelog when the new version is up.
Title: Re: Crazy and PP's mod bug thread
Post by: Parlarkey on December 15, 2012, 10:25:05 PM
Been trying the new build a bit, and encountered one weird thing so far: the Community Center has an 'Arena Tryouts' button, which is not functional. Maybe an attempt to copy-paste the recruiting bit from the Arena to the Community Center, but the triggers are missing or something?

I'm liking the improvements so far, keep up the good work!
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 15, 2012, 10:28:37 PM
Been trying the new build a bit, and encountered one weird thing so far: the Community Center has an 'Arena Tryouts' button, which is not functional. Maybe an attempt to copy-paste the recruiting bit from the Arena to the Community Center, but the triggers are missing or something?

I'm liking the improvements so far, keep up the good work!
Simple mess up on my part taken care of now thanks for the notice.
Title: Re: Crazy and PP's mod bug thread
Post by: Parlarkey on December 16, 2012, 12:36:55 PM
Found another bug (that doesn't impact gameplay in any way, so no rush):

When viewing the details of a girl, constitution is listed twice. Thanks for adding it to the market screen by the way, it's quite helpful :).
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 17, 2012, 04:05:07 AM
Found another bug (that doesn't impact gameplay in any way, so no rush):

When viewing the details of a girl, constitution is listed twice. Thanks for adding it to the market screen by the way, it's quite helpful :) .
Fixed ty for pointing it out
Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on December 17, 2012, 04:33:01 AM
Hey guys, I found something completely by accident, but I'm not sure if it's just my system or not.


I accidentally exited out of my game right after I saved it- Not a problem, right? I saved the game, no big deal.

I went to load the game after hitting quite, and got a program exception violation that shut the game down! I attempted it again, just to see if it was a fluke. To date, I've repeated this same issue a total of twenty-four times.




Another issue which may or may not be my system also is that it appears as though the WM Editor can no longer be used to edit the config file.  I changed three stats, (I wanted to try with a slightly higher chance of meeting a girl, slightly less favorable house odds, and a higher chance of random gang stats), and the game went into exception every time I attempted to start it.  When I replaced the config file (because I always create backups) it worked again like normal.


The one thing I did notice with this issue is that every time I edited only one stat, the game would start, but the studio, arena and center were gone. Not sure if that tells you anything.


EDIT:  Sorry, just remembered one other thing I noticed, though I think it's that buggy random engine. Just in case, though... I've been having girls die on me left and right for no reason. Fortunately, I save my game every time I go to the next week, so I just restart and reload, but- I had some chick I had just bought die "of her injuries," when she didn't have any!!  (And seriously... Losing Summer Glau? NOT cool! lol)
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 17, 2012, 04:51:21 AM
I accidentally exited out of my game right after I saved it- Not a problem, right? I saved the game, no big deal.

I went to load the game after hitting quite, and got a program exception violation that shut the game down! I attempted it again, just to see if it was a fluke. To date, I've repeated this same issue a total of twenty-four times.
Post a game log of that maybe even the save
EDIT:  Sorry, just remembered one other thing I noticed, though I think it's that buggy random engine. Just in case, though... I've been having girls die on me left and right for no reason. Fortunately, I save my game every time I go to the next week, so I just restart and reload, but- I had some chick I had just bought die "of her injuries," when she didn't have any!!  (And seriously... Losing Summer Glau? NOT cool! lol)
Hmmm did she have full health to start with?  Personal I almost never see a girl die what was she doing when she died?
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 17, 2012, 04:52:57 AM
Another issue which may or may not be my system also is that it appears as though the WM Editor can no longer be used to edit the config file.  I changed three stats, (I wanted to try with a slightly higher chance of meeting a girl, slightly less favorable house odds, and a higher chance of random gang stats), and the game went into exception every time I attempted to start it.  When I replaced the config file (because I always create backups) it worked again like normal.


The one thing I did notice with this issue is that every time I edited only one stat, the game would start, but the studio, arena and center were gone. Not sure if that tells you anything.
It don't post what I said about this so here it is...  Always edit the config with something like notepad as WM edit will break the game
Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on December 17, 2012, 05:05:48 AM
It don't post what I said about this so here it is...  Always edit the config with something like notepad as WM edit will break the game

Believe me- I discovered that one in a hot second! lol


Post a game log of that maybe even the save

I can post a log for you, but it will happen with every save. Old games, new games... It doesn't matter. So... I don't think the save game will do you any good.


Hmmm did she have full health to start with?  Personal I almost never see a girl die what was she doing when she died?

She had full health.  And, she was resting!!
Title: Re: Crazy and PP's mod bug thread
Post by: Eiri666 on December 17, 2012, 05:06:12 AM
Anti preg potions bought in the studio don't work, you have to buy them in the first brothel.


Also, the game crashes when you forget to create a movie and too many scenes accumulate. An option to automatically create a movie when a certain number of scenes is reached would be welcome.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 17, 2012, 05:53:27 AM
She had full health.  And, she was resting!!
That is quite odd.  Just happen to that one girl or to a few different ones?
Title: Re: Crazy and PP's mod bug thread
Post by: galasis on December 17, 2012, 08:24:08 AM
It happens to at least 5 of my girls.








Galasis
Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on December 17, 2012, 10:47:49 AM
That is quite odd.  Just happen to that one girl or to a few different ones?

Several different girls, actually.


It happens to at least 5 of my girls.

Good to hear it's not just me! ...Well, not good, but you understand my meaning.
Title: Re: Crazy and PP's mod bug thread
Post by: Parlarkey on December 17, 2012, 03:18:17 PM
I found a bug in .05e.

When I set a girl as 'Whore in Brothel' during daytime, and 'Masseuse in Brothel' at night, she worked the day shift and earned 316 gold from two customers. Then she refused to work the night shift... but earned 316 gold again.

The next week, she did agree to work both shifts and earned 525 gold from 7 customers in the day shift as a whore, which is fine. The night shift, she earned 742 gold though, which seems high for the masseuse job. Perhaps there's still a problem with gold not resetting in the Whore, then Masseuse in Brothel settings?

In a similar case, a girl worked as Whore in Strip Club during day, and XXX Entertainer in the Gambling Hall at night... she earned 510 gold from 5 customers during daytime... so far so good. At night though, she earned 675 gold as an entertainer which again seems very high for that type of job, other girls I have doing a similar job hardly break the 200g mark at this point in time. When not working the day shift and only working nights, she earns 175 gold for the XXX entertainer job.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 17, 2012, 07:45:27 PM
Believe me- I discovered that one in a hot second! lol


I can post a log for you, but it will happen with every save. Old games, new games... It doesn't matter. So... I don't think the save game will do you any good.


She had full health.  And, she was resting!!

Actually posting a save game could help just because we can load it while debugging, and find out exactly where it is crashing.
Havent noticed the girls dying thing, but I hardly have time to actually play anymore... just debugging :)
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 17, 2012, 07:48:50 PM
Anti preg potions bought in the studio don't work, you have to buy them in the first brothel.
Hmm thought i had fixed that already, will take another look.

Also, the game crashes when you forget to create a movie and too many scenes accumulate. An option to automatically create a movie when a certain number of scenes is reached would be welcome.
Also new for me, but in any program there will be a maximum number of any certain item... still it should have something to either create the movies, like you suggest, or just stop accumulating scenes when it hits max.... although I think the auto-create movie is a good idea.. I will put that in there.. maybe after something like 20-30 scenes are added.
--PP
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 18, 2012, 07:56:28 PM
I found a bug in .05e.

When I set a girl as 'Whore in Brothel' during daytime, and 'Masseuse in Brothel' at night, she worked the day shift and earned 316 gold from two customers. Then she refused to work the night shift... but earned 316 gold again.

The next week, she did agree to work both shifts and earned 525 gold from 7 customers in the day shift as a whore, which is fine. The night shift, she earned 742 gold though, which seems high for the masseuse job. Perhaps there's still a problem with gold not resetting in the Whore, then Masseuse in Brothel settings?

In a similar case, a girl worked as Whore in Strip Club during day, and XXX Entertainer in the Gambling Hall at night... she earned 510 gold from 5 customers during daytime... so far so good. At night though, she earned 675 gold as an entertainer which again seems very high for that type of job, other girls I have doing a similar job hardly break the 200g mark at this point in time. When not working the day shift and only working nights, she earns 175 gold for the XXX entertainer job.

Ok, I spent some time on this one yesterday, and it looks like I have it fixed now. At least for the brothels.. I will have to go through the other buildings and apply the same fix there, but whatever.. it should be working properly on the next release.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 20, 2012, 08:11:04 PM
Progress report:
More bug fixes, fixed anti-preg potions not working in studio, it turned out that the original fix I put in was only working on regular sex scenes, I had forgot to include it in the other scenes.
I also took Eiri666's advise, and set it to automatically create a movie if you have more than 40 scenes made.I have been trying to research the sudden death bug people have reported, but not had any luck, I have actually had it happen to me once now, but I was looking at something else and did not get a chance to track what had caused it.

Anyone who gets this.. please let me know as much detail about the girl as possible...
The exact text it says when she dies, what building she was currently in, what job was she assigned to, how long you had her etc.. was she pregnant or addicted (both of these can cause death), anything at all will help me track it down.


Title: Re: Crazy and PP's mod bug thread
Post by: darkvahl on December 20, 2012, 09:50:59 PM
Bug for .05e.

1 - Film Titty fuck in studio cause my game to crash.

"The instruction at "0x00000000" referenced memory at "0x00000000". The memory could not be "read"."

happen to all my save game. if i put a girl to film titty fuck it will happen.
i have to stay away from filming titty fuck and random so that it will not crash.

2 - I got billions of gold from newly captured girl.

What I've done was :

a) Send 20 elite girl to explore catacomb. (max combat/ magic & incorporeal)
b) Got 40 catacomb girls in dungeon.
c) Brand them all as a slave in one go.
d) Take gold from all of the in one go.
e) Exit Screen

Then I will get random numbers of gold but usually in billions e.g initial cash before : 100000, after above method :1000100000.

The amount is random but if the total is more than 2.5 billions or around that i'll get negative gold. e.g do the above method to 60 girls and got -1 billion. Open the save game, the gold amount was actually 3 billions. I guess the max gold on screen around 2.5 billion.

Maybe the catacomb girl brought more than 100 millions gold when the was captures.  :D

I've checked my girlsx and rgirlsx and none of the have more than 100 gold.

Well it does not affect the game that much plus I can use the method if I'm desperate for cash. Right ;D

Thanks.




Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on December 20, 2012, 10:00:46 PM
Anyone who gets this.. please let me know as much detail about the girl as possible...
The exact text it says when she dies, what building she was currently in, what job was she assigned to, how long you had her etc.. was she pregnant or addicted (both of these can cause death), anything at all will help me track it down.




Told me that "so-and-so has died of her injuries, all the girls hate and fear you a little more now."


One girl was  pregnant, one was not, none of them were addicts.  All but the first girl were resting.  The one not resting was cleaning.  All but that first one I had literally JUST bought.
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on December 20, 2012, 11:13:46 PM
Hey all,


Came into a bug when i click the brothel setup game crashes.


is it osmething im doing wrong or is it a bug




ok only happens when i change config files to suit the game i would like to play. any ideas

Title: Re: Crazy and PP's mod bug thread
Post by: darkvahl on December 21, 2012, 03:56:40 AM
Hey all,

Came into a bug when i click the brothel setup game crashes.

is it osmething im doing wrong or is it a bug

ok only happens when i change config files to suit the game i would like to play. any ideas

Did you use the wmedit. If yes, that's the problem. The wmedit is not compatible with the mod.

Use notepad or xml editor.

I use the "first object xml editor". Google it. Its free.
Using this I can edit just about anything. config, item, girlsx files.
Plus it is more easier because it has overview on the left panel so i don't have to scroll over everything. just select the one i want and they will be highlighted.

Hope this helps.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 21, 2012, 04:56:15 AM
Bug for .05e.

1 - Film Titty fuck in studio cause my game to crash.

"The instruction at "0x00000000" referenced memory at "0x00000000". The memory could not be "read"."

happen to all my save game. if i put a girl to film titty fuck it will happen.
i have to stay away from filming titty fuck and random so that it will not crash.
Fixed now in my hurry to get the game back up after mediafire took it down I forgot to finish the job..  Will be working next patch.
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on December 21, 2012, 08:58:00 AM
Most of the default Pics aren't working.  Ofcourse "Sex" and "Profile" do.
 
Many of the Girls don't have pics of all categories.
 
It would be nice to implementate all Default pics.
 
Kind Regards
 
HuiBui
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 21, 2012, 05:22:06 PM



Told me that "so-and-so has died of her injuries, all the girls hate and fear you a little more now."


One girl was  pregnant, one was not, none of them were addicts.  All but the first girl were resting.  The one not resting was cleaning.  All but that first one I had literally JUST bought.

Hmm just bought, tells me it may be a problem in the default stats... if you happen to know which girl it was, look at her .girlx or rgirlsx file (whichever it is) and see if she has an entry for Health. If not, it may be defaulting stats to zero that do not have an entry in the file.(although there is code that is supposed to prevent this specifically for health).. I will look at my own too to see if I can duplicate that.

By any chance does the same girl always die?
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 21, 2012, 05:33:06 PM
Ah, found it, that was the cause of the bug alright, there is a code that sets all default stats to zero on unique girls.. including health. Will be fixed for next patch. Will make sure it is not hitting other important stats in a similar way.
Title: Re: Crazy and PP's mod bug thread
Post by: dragonlord562 on December 21, 2012, 11:17:57 PM
When you load up your game, any scenes you had in the studio appear to disappear. Not sure if this is due to them not saving properly, or if its not loading. Haven't made a full movie yet, so haven't had a chance to explore too much into it, but I lost 5-6 scenes I think.

Edit: Correction, it appears it's not upon loading the game, but merely, upon restarting the WM.exe that it loses the scenes.
Title: Re: Crazy and PP's mod bug thread
Post by: dpman03 on December 22, 2012, 02:16:41 AM
I've been playing the .05e update, and I noticed a problem.  My save game was loading, but it would crash when trying to go to the next week.  I tried a new game and didn't have the problem.  After some trial and error comparisons between the save files, I figured out what was causing it.

The old game was using this:
Code: [Select]
    <House_Manager>
        <Houses />
    </House_Manager>

The new, working game was using this:
Code: [Select]
    <House_Manager>
        <Houses>
            <House Name="House" id="0" NumRooms="20" Filthiness="0" SecurityLevel="0">
                <Girls />
            </House>
        </Houses>
    </House_Manager>

I have no idea how to replicate what happened, but copying those lines from the new file to the old one fixed it.  I hope this gives you enough to go on.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 22, 2012, 03:13:58 AM
I've been playing the .05e update, and I noticed a problem.  My save game was loading, but it would crash when trying to go to the next week.  I tried a new game and didn't have the problem.  After some trial and error comparisons between the save files, I figured out what was causing it.

The old game was using this:
Code: [Select]
    <House_Manager>
        <Houses />
    </House_Manager>

The new, working game was using this:
Code: [Select]
    <House_Manager>
        <Houses>
            <House Name="House" id="0" NumRooms="20" Filthiness="0" SecurityLevel="0">
                <Girls />
            </House>
        </Houses>
    </House_Manager>

I have no idea how to replicate what happened, but copying those lines from the new file to the old one fixed it.  I hope this gives you enough to go on.
It's cause I added the house as an actually place...  Never tested it on an existing save only new save I knew people would need a new save to use the house didn't know it would break old saves lol.  By the time .06 is out people would be better off with new saves anyway.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 22, 2012, 04:01:37 PM
When you load up your game, any scenes you had in the studio appear to disappear. Not sure if this is due to them not saving properly, or if its not loading. Haven't made a full movie yet, so haven't had a chance to explore too much into it, but I lost 5-6 scenes I think.

Edit: Correction, it appears it's not upon loading the game, but merely, upon restarting the WM.exe that it loses the scenes.

Hmm just took a very brief glance, and it seems to be saving very minimal info about the studio.. I'm not even sure if it is saving the movies to be honest.
I will have to look at this later, since I can't test it at the moment.
Title: Re: Crazy and PP's mod bug thread
Post by: alfalfa140 on December 24, 2012, 03:22:00 AM
I've come across a slight problem where girls recruited from the arena tryouts disappear since the current brothel is full. The game says that the girl was added to the brothel, but she doesn't show up there or in the dungeon.

EDIT: Actually, it seems that the arena doesn't add the girl even if there is room.
Title: Re: Crazy and PP's mod bug thread
Post by: darkvahl on December 24, 2012, 08:15:23 AM
I've come across a slight problem where girls recruited from the arena tryouts disappear since the current brothel is full. The game says that the girl was added to the brothel, but she doesn't show up there or in the dungeon.

EDIT: Actually, it seems that the arena doesn't add the girl even if there is room.

Have you check inside the arena? If you use arena tryout they will straight go into arena. It is the same for other new building.
Title: Re: Crazy and PP's mod bug thread
Post by: alfalfa140 on December 25, 2012, 12:55:00 AM
Thanks darkvahl.
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on December 25, 2012, 08:59:10 PM
anyone having issues with studio, crashes for me
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on December 26, 2012, 07:47:17 PM
anyone having issues with studio, crashes for me
There was an issue with the Titty movie causing crashes, which is reported fixed for the next release. Hopefully it won't be too long, I have been doing a rework of the Arena, which has been harder than most the other things I have done on this project so far, but I am aiming to have it done within 2 weeks.
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on December 27, 2012, 12:00:06 AM
sounds good thank you, didnt notice it when i was looking for the reported bug must of missed it.
Title: Re: Crazy and PP's mod bug thread
Post by: KageRyu on December 30, 2012, 06:11:02 PM
So, I used an item to get rid of the "aggressive" trait from a girl and she still beats up customers. Please fix this.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 30, 2012, 11:47:45 PM
So, I used an item to get rid of the "aggressive" trait from a girl and she still beats up customers. Please fix this.
A few other traits make girls beat customers up. So maker sure she doesn't have them also.
Title: Re: Crazy and PP's mod bug thread
Post by: Parlarkey on December 31, 2012, 11:27:48 AM
Yandere or Tsundere also cause this, I've seen a lot more beatings with one of those (not sure which) than with Aggressive to be honest.
Title: Re: Crazy and PP's mod bug thread
Post by: escout on January 13, 2013, 05:11:21 PM
Version .05e


held tryouts at the arena, got girl (Talia Gladys).
She was placed in the arena automaticly after recruiting
tried to send her to the dungeon from her individual interface (while she was in the arena)
She "ran-away" but she was still there, and then next turn my gang recaptured the second Talia.
long story short we have made a cloning machine.
Title: Re: Crazy and PP's mod bug thread
Post by: Xela on January 14, 2013, 05:08:59 AM
Version .05e


held tryouts at the arena, got girl (Talia Gladys).
She was placed in the arena automaticly after recruiting
tried to send her to the dungeon from her individual interface (while she was in the arena)
She "ran-away" but she was still there, and then next turn my gang recaptured the second Talia.
long story short we have made a cloning machine.

LoL

I still haven't played this but it sounds like a lot of fun :)
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on January 17, 2013, 10:11:00 PM
Version .05e


held tryouts at the arena, got girl (Talia Gladys).
She was placed in the arena automaticly after recruiting
tried to send her to the dungeon from her individual interface (while she was in the arena)
She "ran-away" but she was still there, and then next turn my gang recaptured the second Talia.
long story short we have made a cloning machine.

Hmm may have to take advantage of this... :)
Ok, new bug, added to notes. Thanks!
Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on January 25, 2013, 05:15:56 AM
Hey guys, going back to the girls dying, I think I nailed something down if you haven't already figured out what it was...


It seems that I can have the girls doing any job whatsoever so long as they are not "whore in [building here]."  For some reason, the girls are dying the week after they are placed on duty in the brothel, Casino, and/or strip club.  If they're whoring on the street, they're fine.  Doing any other job? A-okay.  Putting them to work inside a building, as a whore, is a death sentence right now.


If you'd already nailed down the problem, than awesome.  Consider this late input.  :D
Title: Re: Crazy and PP's mod bug thread
Post by: Xela on January 25, 2013, 05:42:21 AM
Hey guys, going back to the girls dying, I think I nailed something down if you haven't already figured out what it was...


It seems that I can have the girls doing any job whatsoever so long as they are not "whore in [building here]."  For some reason, the girls are dying the week after they are placed on duty in the brothel, Casino, and/or strip club.  If they're whoring on the street, they're fine.  Doing any other job? A-okay.  Putting them to work inside a building, as a whore, is a death sentence right now.


If you'd already nailed down the problem, than awesome.  Consider this late input.  :D

What version? I cannot reproduce this bug?

Whore is still way to overpowered compared to rest of the jobs but it doesn't kill anyone.
Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on January 25, 2013, 08:21:15 AM
.05d - Did I miss an update in the time I was recovering?  ???




Excuse me while I go shoot myself.  Sorry for the trouble, gents.
Title: Re: Crazy and PP's mod bug thread
Post by: FlamBurger on January 25, 2013, 01:18:29 PM
.05d - Did I miss an update in the time I was recovering?  ???




Excuse me while I go shoot myself.  Sorry for the trouble, gents.
LOL but it is pretty cool that you guys do get on top of the bugs.
Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on January 28, 2013, 03:35:08 AM
All right, so shortly after I got the proper version... (Still sorry about missing that) ...I discovered that I couldn't load a save game.  I'm not trying to use an old save at all: It's a new game save.

I thought I'd seen this issue addressed once already, but I can't find it.  I'm attaching the log, and I'm hoping someone can point out where things are screwed.


I know I was in the middle of an experiment, so I'd jacked up several things in the config file using an XML editor only.  I'm not convinced this is what's causing the problem.




Any and all help is appreciated!
Title: Re: Crazy and PP's mod bug thread
Post by: SilentStorm on February 03, 2013, 10:07:56 PM
Hi, I found some problems which look like it may be bugs...
 
Titty pictures only show up in the game gallery but don't show up when
we are playing the game.
 
I notice some problems with pregnancy pics too...
 
PregMast  (It's not working)
PregNude  (It's not working)
PregOral   (It's not working)
PregTitty  (It's not working)
PregEcchi  (It's not working)
PregStrip  (It's not working)
PregBunny  (It's not working)
PregCard  (It's not working)
PregMaid  (It's not working)
PregSing  (It's not working)
PregWait  (It's not working)
PregCombat (It's not working)
 
Im making a pack of girls (with 200/300 pics for each girl in all jobs and scenes) but
this game have something missing... I hope it's not hard to fix.

Keep up the good work, and sorry my poor English =)
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on February 04, 2013, 11:05:11 PM
I notice some problems with pregnancy pics too...
 
PregMast  (It's not working)
PregNude  (It's not working)
PregOral   (It's not working)
PregTitty  (It's not working)
PregEcchi  (It's not working)
PregStrip  (It's not working)
PregBunny  (It's not working)
PregCard  (It's not working)
PregMaid  (It's not working)
PregSing  (It's not working)
PregWait  (It's not working)
PregCombat (It's not working)
Yeah those arent in the game as there is a bug with Preg pics that isnt fixed yet so those were never added
Title: Re: Crazy and PP's mod bug thread
Post by: Sc10n on February 08, 2013, 07:40:44 PM

Hi guys, I found a few bugs that I don't think anyone has mentioned yet.


The first one is a "free" clinic. Buy the clinic and exit and load the game without saving, you have both the clinic and the money you paid for it. Crashes the game after a bit. Haven't tried saving after loading.


The second one is when you select the next girl button in the new buildings, it sends you to girls in the first brothel instead of girls in the building you are in.


The third one is you can't make girls the matron in the new buildings if you have a matron in your brothel. Says you can only have one matron in this building.


That's it for now.
Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on February 10, 2013, 05:57:45 AM
I downloaded .05e again, in the hopes that something screwed up in the download, but I'm still really puzzled at this error.


Refresher: The game is crashing when attempting to load a savegame file.  Happens with old saves, and brand new ones.




I'll let you know if this solved the problem.






EDIT: All right- That did not fix the problem.  Gents, I've gone from annoyed in the beginning, to puzzled, and now I've skipped right to pissed off.  I'm going to start examining each of the game files, but is someone could PLEASE tell me what the @%#$ is wrong with this thing, I'd be ever so grateful.
Title: Re: Crazy and PP's mod bug thread
Post by: Chef on February 10, 2013, 06:39:25 AM
In the source, there are a number of potential ramifications of torture other than serious injury and mental traits. Unlike Masochist, Mind fucked and Broken Will which are temporary, these physical wound traits (scars, one eye, etc) are listed as permanent. If the mental traits are set to 'false' (normally rendering a trait permanent) they will never proc in torture (though an inordinately large temp duration works well enough), likewise to change the scar traits to a temporary value throws an error -so the problem runs pretty deep.

On a minor count there are (1) several spelling errors ('unfortunatly' in torture, 'brests' in milking), (2) a common crash when torturing multiple girls at once (increasingly likely with each additional girl selected), (3) a blank-but-for-the-torturee's-name text box when you accidentally seriously injure her and (4) an alert that a depressed girl killed herself while she is actually alive and (comparatively) well and residing in the dungeon.
Title: Re: Crazy and PP's mod bug thread
Post by: Xela on February 10, 2013, 06:51:27 AM
In the source, there are a number of potential ramifications of torture other than serious injury and mental traits. Unlike Masochist, Mind fucked and Broken Will which are temporary, these physical wound traits (scars, one eye, etc) are listed as permanent. If the mental traits are set to 'false' (normally rendering a trait permanent) they will never proc in torture (though an inordinately large temp duration works well enough), likewise to change the scar traits to a temporary value throws an error -so the problem runs pretty deep.

On a minor count there are (1) several spelling errors ('unfortunatly' in torture, 'brests' in milking), (2) a common crash when torturing multiple girls at once (increasingly likely with each additional girl selected), (3) a blank-but-for-the-torturee's-name text box when you accidentally seriously injure her and (4) an alert that a depressed girl killed herself while she is actually alive and (comparatively) well and residing in the dungeon.

LoL

Well, there is a whole bunch of unfinished/half-implemented code even in the official version. I suppose even more issues rise up when you try to build a game extension on top of that... I played a couple rounds in latest mod version, other than obvious bugs and whore job still being overwhelmingly powerful, this mod is very good.
Title: Re: Crazy and PP's mod bug thread
Post by: Aika on February 10, 2013, 01:26:03 PM
The second one is when you select the next girl button in the new buildings, it sends you to girls in the first brothel instead of girls in the building you are in.


I found an answer to this one.


Code: ("cscreengirldetails starting at line 761 and 807") [Select]

   if (selected_girl->m_InClinic)
   {
      prev_girl = g_Clinic.GetGirl(0, cycle_girls[cycle_pos]);
   }
   else if (selected_girl->m_InMovieStudio)
   {
      prev_girl = g_Studios.GetGirl(0, cycle_girls[cycle_pos]);
   }
   else if (selected_girl->m_InArena)
   {
      prev_girl = g_Arena.GetGirl(0, cycle_girls[cycle_pos]);
   }
   else if (selected_girl->m_InCentre)
   {
      prev_girl = g_Centre.GetGirl(0, cycle_girls[cycle_pos]);
   }


When g_xxx.GetGirl is called, it's calling the cBrothelManager::GetGirl(int brothelID, int num) function in cbrothel.cpp line 3990. It looks like you've tried to reference different classes, but since you haven't defined a GetGirl function within those classes, it's using the GetGirl function in cbrothel.cpp. For example, g_Arena.GetGirl refers to the cArenaManager::GetGirl function. But there is no cArenaManager::GetGirl function, so it should be failing to work. I don't know why it's finding the cBrothelManager::GetGirl function, but it's using that instead. You need to define a GetGirl function for each of these building managers, so it can use the correct function and find a girl in the correct building. Currently, since it's using the GetGirl function in cBrothel.cpp, it's looking in the brothels instead of the correct building, and since you're passing a 0 to the function for the brothel ID, it's looking specifically in the first brothel.

Edit: Thinking about the way this is coded, this could be the source of a lot of your crashes, too. What happens when cycle_girls[cycle_pos] gives a value higher than the current number of girls in brothel 0? This could happen if there are more girls in any of the new buildings than there are in the first brothel.

Edit again: I figured out what the problem really was and a solution to the problem, so edited this. My last post here was based on incomplete information.
Title: Re: Crazy and PP's mod bug thread
Post by: Xela on February 10, 2013, 02:00:09 PM
 I was about to link this thread to you, but you seem to have found it. Some of these bugs are nearly comical in nature. Good luck in fixing this stuff.
 I'll resume working on my own thing and restoring AGL (MediaFire killed most accounts hosting Hentai Sim Indies while you were away).
Title: Re: Crazy and PP's mod bug thread
Post by: Aika on February 10, 2013, 02:06:17 PM
MediaFire killed most accounts hosting Hentai Sim Indies while you were away
Yeah, I noticed that. They tore down my files too, and gave me an infraction for having had them there. Could be worse, I guess. They could have banned me.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on February 24, 2013, 05:26:46 PM
Yeah those arent in the game as there is a bug with Preg pics that isnt fixed yet so those were never added

Actually I think I know what is wrong with preg pictures, it just has not been a high priority for me.

The problem is that when it loads the pictures, it uses this little logic bit...
{"Anal*.*g","BDSM*.*g","Sex*.*g","Beast*.*g","Group*.*g","Les*.*g","Preg*.*g","Death*.*g","Profile*.*g","Combat*.*g","Oral*.*g","Ecchi*.*g","Strip*.*g","Maid*.*g","Sing*.*g","Wait*.*g","Card*.*g","Bunny*.*g","Nude*.*g","Mast*.*g","Titty*.*g","PregAnal*.*g","PregBDSM*.*g","PregSex*.*g","pregbeast*.*g","preggroup*.*g","pregles*.*g",};
if you look you will see that Preg*.*g  comes before all the other preg ones... but it will also load all the same pics as the others, so it is probably overrideing them, and just loading the pics before the others do.
For example... Pregles.jpg  will still qualify as true under Preg*.*g   since that is looking for ANY pic that begins with Pregxxxx
SO I think it is just loading it into the normal preg file and skipping the rest.
It is possible that it could be fixed by just moving Preg*.* to the end of that line, so it hits after the other ones.... but I could be wrong.

I am not sure about it, as I have not tested it at all.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on February 24, 2013, 05:28:09 PM
LoL

Well, there is a whole bunch of unfinished/half-implemented code even in the official version. I suppose even more issues rise up when you try to build a game extension on top of that... I played a couple rounds in latest mod version, other than obvious bugs and whore job still being overwhelmingly powerful, this mod is very good.

man is that the truth, there is a lot in the code that is just WAY overly complicated... when it wasn't really needed, and it makes trying to fix these type of thing very difficult to do.
Title: Re: Crazy and PP's mod bug thread
Post by: az55za on March 02, 2013, 12:08:06 PM
i can't tell if this is a bug with this mod or with Gismo's map, but when i try to change the config file it messes up all the visuals to an extent.
Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on March 02, 2013, 02:35:42 PM
i can't tell if this is a bug with this mod or with Gismo's map, but when i try to change the config file it messes up all the visuals to an extent.


Are you using the config editor, or something like a text editor?
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on March 07, 2013, 07:29:33 AM

Hello,


I like your guys' work, but I have been encountering crashes going to Next Week. It does autosave, then crashes with standard Windows (xp) dialog, code 0xc0000005, Address 0x0...047d610 and WM.exe Image Base 0x00400000.


Have encountered these previously and went back to earlier save and left out girl transfer and other complications, but now that doesn't help.


Gamelog after "Loading house" section has messages like "Brothel 1 not found in list!" and then several errors of:
CSurface LoadImage loadedImage error with filename: .\Resources\Buttons\
Couldn't open .\Resources\Buttons\
Couldn't open .\Resources\Buttons\


I have girlsx and rgirlsx files from several sources, but they were presented as compatible with your mod.


Can send more info on crash if needed.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on March 07, 2013, 11:28:58 PM
Sounds like it may be an issue with the new house thing that was in .05e which I have not had time to look at yet. As soon as I get done with current project I will try to clear some of the bugs again.
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on March 09, 2013, 09:59:28 PM
In the Turn Summary of gang recapture, the rgirlsx name is used instead of the Real Name; somewhat confusing.

In Arena, Girl Details, if send a girl to dungeon she is still listed in Arena (Details give an option of Release), and a crash occurred on Next Week after several such transfers, on a test save that worked OK before.


Have started new game so not related to prior crashes.
Title: Re: Crazy and PP's mod bug thread
Post by: NEXEON on March 12, 2013, 07:36:17 AM
whenever i clicked on next week even with girls pack or without window give error whoremaster,exe has stopped working
when i clicked on detail i have this log

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    Whore Master.exe
  Application Version:    0.0.0.0
  Application Timestamp:    50d1a38c
  Fault Module Name:    Whore Master.exe
  Fault Module Version:    0.0.0.0
  Fault Module Timestamp:    50d1a38c
  Exception Code:    c0000005
  Exception Offset:    0004e01b
  OS Version:    6.1.7600.2.0.0.256.1
  Locale ID:    1033
  Additional Information 1:    0a9e
  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:    0a9e
  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

please help

thankx
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on March 15, 2013, 07:33:49 PM
Quote
from Pinkutako (http://pinkpetal.org/index.php?action=profile;u=2652) , from other thread
   Re: Lots of girl packs (http://pinkpetal.org/index.php?topic=978.msg16894#msg16894)  « Reply #7 on: August 15, 2012, 09:25:02 AM »    I've noticed the opposite is true for Crazy's mod.   In my case, If you capitalize all the words the error occurs.  Basically, it depends on what mod your using. 

Fake orgasm expert, Fast orgasms, and Slow orgasms work just fine for crazy's and (I assume) Fake Orgasm Expert, Fast Orgasms, and Slow Orgasms for Aika's mod.

It would be nice if all mods used the same capitalization conventions, but modding is tough enough without another thing to worry about.
   

If you could schedule a fix for this to have all traits ignore upper/lowercase when matching traits, that would be a great help. Something like

if Traitread.ucase == "FAST ORGASMS"  (or whatever function is appropriate).   

I was greatly puzzled when the error messages popped up, before independently finding the editing solution.

{edit} Not as easy as I thought it would be, since code is C++, but should be able to build a small function similar to strcmp that ignores upper/lower case, based on code like : http://www.cplusplus.com/forum/beginner/3914/

Could also make a function of Trait like Trait.NameIs that returns boolean True/False based on no-case compare, which also simplifies the many "if" logics.

I can try to write it if you like.
Title: Re: Crazy and PP's mod bug thread
Post by: az55za on March 16, 2013, 06:46:13 PM

Are you using the config editor, or something like a text editor?


it was from the brothel editor located in C:\Users\X\Desktop\wm_1.30.4_beta_r593\BrothelMaster\Docs&Tools\Character & Item Editor
Title: Re: Crazy and PP's mod bug thread
Post by: Geron on March 16, 2013, 06:58:27 PM
The config editor from the Crazy/PP mod does come out with the 'working' upper/lowercase wordings and Incorporial too...  Since it is drawing from the trait file that the Crazy/PP mod is using.


Also...  the Princess and Queen trait...  I set the chance to 2%, but, it still means the random character starts out with stupid amounts of money?

Well, it is actually the Queen trait that starts a character off with stupid amounts it looks like.  The Princess one starts with a few hundred extra.
EDIT: Nope, something else is giving stupid amounts of money to newly captured random girls...
EDIT2: Anyone know why this would be happening?  And how to fix it?


Code: [Select]
<Gold
Min="0"
Max="10" />
It has this as it should... but it must not be reading it?
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on March 17, 2013, 05:33:34 AM
Nope, something else is giving stupid amounts of money to newly captured random girls...
EDIT2: Anyone know why this would be happening?  And how to fix it?

Code: [Select]
      <Gold
         Min="0"
         Max="10" />
It has this as it should... but it must not be reading it?

It's my first time looking at it, but I see nothing in the .05e gold/money assignment for generated random girls that would go outside the min/max. I tested thru over 20 weeks with two types of catacomb rgirlsx, and the angel I had for 0/10 always was in bounds, also the werewolf I set as 100/900 in bounds (not in bindings...).

How did you get these rgirls (gang kidnap, gang goes catacomb, etc.)?

Do you notice the large gold when you try to Take their gold in Girls Detail? That's what I did, and got normal results. Could you post your .rgirlsx as attachment?


Title: Re: Crazy and PP's mod bug thread
Post by: F-Trill on March 17, 2013, 07:24:28 AM

it was from the brothel editor located in C:\Users\X\Desktop\wm_1.30.4_beta_r593\BrothelMaster\Docs&Tools\Character & Item Editor


Use a text editor such as WordPad, or an XML editor.  The included editor has been kept because it still has some value, but for editing the config file and many of the girl files, it creates files that will kill the game.


I'm not certain, but I'm under the impression that the Character and Item Editor is no longer in development.  It may very well be done away with shortly, but I don't know that for sure.
Title: Re: Crazy and PP's mod bug thread
Post by: Geron on March 17, 2013, 09:17:25 AM

First is example of Random Monster, second is example of Random Human.  For all I can tell, it should theoretically work.  For now... I think it may be cause of having so many possible traits that is screwing it up.
(Using Notepad ++ to edit this, originally spawned from the WMEdit thing.)


Monsters get +100k to +millions, humans tend to be getting more reasonable numbers between 100-1000, but they can go higher too.
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Girls>
   <Girl
      Name="Lamia"
      Desc="-"
      Human="No"
      Catacomb="Yes">
      <Gold
         Min="0"
         Max="10" />
      <Stat
         Name="Charisma"
         Min="0"
         Max="11" />
      <Stat
         Name="Happiness"
         Min="100"
         Max="100" />
      <Stat
         Name="Libido"
         Min="0"
         Max="11" />
      <Stat
         Name="Constitution"
         Min="0"
         Max="11" />
      <Stat
         Name="Intelligence"
         Min="0"
         Max="11" />
      <Stat
         Name="Confidence"
         Min="0"
         Max="100" />
      <Stat
         Name="Mana"
         Min="0"
         Max="11" />
      <Stat
         Name="Agility"
         Min="0"
         Max="11" />
      <Stat
         Name="Fame"
         Min="0"
         Max="0" />
      <Stat
         Name="Level"
         Min="0"
         Max="0" />
      <Stat
         Name="AskPrice"
         Min="0"
         Max="0" />
      <Stat
         Name="House"
         Min="0"
         Max="0" />
      <Stat
         Name="Exp"
         Min="0"
         Max="0" />
      <Stat
         Name="Age"
         Min="17"
         Max="20" />
      <Stat
         Name="Obedience"
         Min="0"
         Max="11" />
      <Stat
         Name="Spirit"
         Min="0"
         Max="100" />
      <Stat
         Name="Beauty"
         Min="0"
         Max="11" />
      <Stat
         Name="Tiredness"
         Min="0"
         Max="0" />
      <Stat
         Name="Health"
         Min="100"
         Max="100" />
      <Stat
         Name="PCFear"
         Min="0"
         Max="0" />
      <Stat
         Name="PCLove"
         Min="0"
         Max="0" />
      <Stat
         Name="PCHate"
         Min="0"
         Max="0" />
      <Skill
         Name="Anal"
         Min="0"
         Max="11" />
      <Skill
         Name="Magic"
         Min="0"
         Max="30" />
      <Skill
         Name="BDSM"
         Min="0"
         Max="11" />
      <Skill
         Name="NormalSex"
         Min="0"
         Max="11" />
      <Skill
         Name="Beastiality"
         Min="0"
         Max="11" />
      <Skill
         Name="Group"
         Min="0"
         Max="11" />
      <Skill
         Name="Lesbian"
         Min="0"
         Max="11" />
      <Skill
         Name="Service"
         Min="0"
         Max="11" />
      <Skill
         Name="Strip"
         Min="0"
         Max="11" />
      <Skill
         Name="Combat"
         Min="0"
         Max="30" />
      <Trait
         Name="Small Scars"
         Percent="11" />
      <Trait
         Name="Cool Scars"
         Percent="5" />
      <Trait
         Name="Horrific Scars"
         Percent="2" />
      <Trait
         Name="Cool Person"
         Percent="11" />
      <Trait
         Name="Nerd"
         Percent="11" />
      <Trait
         Name="Clumsy"
         Percent="11" />
      <Trait
         Name="Fast orgasms"
         Percent="11" />
      <Trait
         Name="Slow orgasms"
         Percent="11" />
      <Trait
         Name="Quick Learner"
         Percent="11" />
      <Trait
         Name="Slow Learner"
         Percent="11" />
      <Trait
         Name="Cute"
         Percent="11" />
      <Trait
         Name="Strong"
         Percent="11" />
      <Trait
         Name="Psychic"
         Percent="11" />
      <Trait
         Name="Strong Magic"
         Percent="11" />
      <Trait
         Name="Shroud Addict"
         Percent="2" />
      <Trait
         Name="Fairy Dust Addict"
         Percent="2" />
      <Trait
         Name="Viras Blood Addict"
         Percent="2" />
      <Trait
         Name="Aggressive"
         Percent="11" />
      <Trait
         Name="Adventurer"
         Percent="11" />
      <Trait
         Name="Assassin"
         Percent="11" />
      <Trait
         Name="Nervous"
         Percent="11" />
      <Trait
         Name="Good Kisser"
         Percent="11" />
      <Trait
         Name="Nymphomaniac"
         Percent="11" />
      <Trait
         Name="Elegant"
         Percent="11" />
      <Trait
         Name="Fake orgasm expert"
         Percent="11" />
      <Trait
         Name="Sexy Air"
         Percent="11" />
      <Trait
         Name="Great Figure"
         Percent="11" />
      <Trait
         Name="Great Arse"
         Percent="11" />
      <Trait
         Name="AIDS"
         Percent="2" />
      <Trait
         Name="Chlamydia"
         Percent="2" />
      <Trait
         Name="Syphilis"
         Percent="2" />
      <Trait
         Name="Broken Will"
         Percent="2" />
      <Trait
         Name="Masochist"
         Percent="11" />
      <Trait
         Name="Sadistic"
         Percent="11" />
      <Trait
         Name="Lesbian"
         Percent="11" />
      <Trait
         Name="Tsundere"
         Percent="11" />
      <Trait
         Name="Yandere"
         Percent="11" />
      <Trait
         Name="Meek"
         Percent="11" />
      <Trait
         Name="Manly"
         Percent="5" />
      <Trait
         Name="Merciless"
         Percent="11" />
      <Trait
         Name="Fearless"
         Percent="11" />
      <Trait
         Name="Iron Will"
         Percent="11" />
      <Trait
         Name="Twisted"
         Percent="11" />
      <Trait
         Name="Optimist"
         Percent="11" />
      <Trait
         Name="Pessimist"
         Percent="2" />
      <Trait
         Name="Dependant"
         Percent="2" />
      <Trait
         Name="Sterile"
         Percent="2" />
      <Trait
         Name="Fleet of Foot"
         Percent="11" />
      <Trait
         Name="Tough"
         Percent="11" />
      <Trait
         Name="One Eye"
         Percent="2" />
      <Trait
         Name="Eye Patch"
         Percent="5" />
      <Trait
         Name="Fragile"
         Percent="2" />
      <Trait
         Name="Mind Fucked"
         Percent="2" />
      <Trait
         Name="Charismatic"
         Percent="11" />
      <Trait
         Name="Charming"
         Percent="11" />
      <Trait
         Name="Long Legs"
         Percent="11" />
      <Trait
         Name="Puffy Nipples"
         Percent="11" />
      <Trait
         Name="Perky Nipples"
         Percent="11" />
      <Trait
         Name="Malformed"
         Percent="2" />
      <Trait
         Name="Retarded"
         Percent="2" />
      <Trait
         Name="Different Colored Eyes"
         Percent="2" />
      <Trait
         Name="Strange Eyes"
         Percent="2" />
      <Trait
         Name="Not Human"
         Percent="100" />         
   </Girl></Girls>


Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Girls>
   <Girl
      Name="Redheadgirl1"
      Desc="-"
      Human="Yes"
      Catacomb="No">
      <Gold
         Min="0"
         Max="10" />
      <Stat
         Name="Charisma"
         Min="0"
         Max="11" />
      <Stat
         Name="Happiness"
         Min="100"
         Max="100" />
      <Stat
         Name="Libido"
         Min="0"
         Max="11" />
      <Stat
         Name="Constitution"
         Min="0"
         Max="11" />
      <Stat
         Name="Intelligence"
         Min="0"
         Max="11" />
      <Stat
         Name="Confidence"
         Min="0"
         Max="100" />
      <Stat
         Name="Mana"
         Min="0"
         Max="11" />
      <Stat
         Name="Agility"
         Min="0"
         Max="11" />
      <Stat
         Name="Fame"
         Min="0"
         Max="0" />
      <Stat
         Name="Level"
         Min="0"
         Max="0" />
      <Stat
         Name="AskPrice"
         Min="0"
         Max="0" />
      <Stat
         Name="House"
         Min="0"
         Max="0" />
      <Stat
         Name="Exp"
         Min="0"
         Max="0" />
      <Stat
         Name="Age"
         Min="17"
         Max="20" />
      <Stat
         Name="Obedience"
         Min="0"
         Max="11" />
      <Stat
         Name="Spirit"
         Min="0"
         Max="100" />
      <Stat
         Name="Beauty"
         Min="0"
         Max="11" />
      <Stat
         Name="Tiredness"
         Min="0"
         Max="0" />
      <Stat
         Name="Health"
         Min="100"
         Max="100" />
      <Stat
         Name="PCFear"
         Min="0"
         Max="0" />
      <Stat
         Name="PCLove"
         Min="0"
         Max="0" />
      <Stat
         Name="PCHate"
         Min="0"
         Max="0" />
      <Skill
         Name="Anal"
         Min="0"
         Max="11" />
      <Skill
         Name="Magic"
         Min="0"
         Max="0" />
      <Skill
         Name="BDSM"
         Min="0"
         Max="11" />
      <Skill
         Name="NormalSex"
         Min="0"
         Max="11" />
      <Skill
         Name="Beastiality"
         Min="0"
         Max="11" />
      <Skill
         Name="Group"
         Min="0"
         Max="11" />
      <Skill
         Name="Lesbian"
         Min="0"
         Max="11" />
      <Skill
         Name="Service"
         Min="0"
         Max="11" />
      <Skill
         Name="Strip"
         Min="0"
         Max="11" />
      <Skill
         Name="Combat"
         Min="0"
         Max="0" />
      <Trait
         Name="Small Scars"
         Percent="11" />
      <Trait
         Name="Cool Scars"
         Percent="5" />
      <Trait
         Name="Horrific Scars"
         Percent="2" />
      <Trait
         Name="Cool Person"
         Percent="11" />
      <Trait
         Name="Nerd"
         Percent="11" />
      <Trait
         Name="Clumsy"
         Percent="11" />
      <Trait
         Name="Fast orgasms"
         Percent="11" />
      <Trait
         Name="Slow orgasms"
         Percent="11" />
      <Trait
         Name="Quick Learner"
         Percent="11" />
      <Trait
         Name="Slow Learner"
         Percent="11" />
      <Trait
         Name="Cute"
         Percent="11" />
      <Trait
         Name="Strong"
         Percent="11" />
      <Trait
         Name="Psychic"
         Percent="11" />
      <Trait
         Name="Strong Magic"
         Percent="11" />
      <Trait
         Name="Shroud Addict"
         Percent="2" />
      <Trait
         Name="Fairy Dust Addict"
         Percent="2" />
      <Trait
         Name="Viras Blood Addict"
         Percent="2" />
      <Trait
         Name="Aggressive"
         Percent="11" />
      <Trait
         Name="Adventurer"
         Percent="11" />
      <Trait
         Name="Assassin"
         Percent="11" />
      <Trait
         Name="Nervous"
         Percent="11" />
      <Trait
         Name="Good Kisser"
         Percent="11" />
      <Trait
         Name="Nymphomaniac"
         Percent="11" />
      <Trait
         Name="Elegant"
         Percent="11" />
      <Trait
         Name="Fake orgasm expert"
         Percent="11" />
      <Trait
         Name="Sexy Air"
         Percent="11" />
      <Trait
         Name="Great Figure"
         Percent="11" />
      <Trait
         Name="Great Arse"
         Percent="11" />
      <Trait
         Name="AIDS"
         Percent="2" />
      <Trait
         Name="Chlamydia"
         Percent="2" />
      <Trait
         Name="Syphilis"
         Percent="2" />
      <Trait
         Name="Broken Will"
         Percent="2" />
      <Trait
         Name="Masochist"
         Percent="11" />
      <Trait
         Name="Sadistic"
         Percent="11" />
      <Trait
         Name="Lesbian"
         Percent="11" />
      <Trait
         Name="Tsundere"
         Percent="11" />
      <Trait
         Name="Yandere"
         Percent="11" />
      <Trait
         Name="Meek"
         Percent="11" />
      <Trait
         Name="Manly"
         Percent="5" />
      <Trait
         Name="Merciless"
         Percent="11" />
      <Trait
         Name="Fearless"
         Percent="11" />
      <Trait
         Name="Iron Will"
         Percent="11" />
      <Trait
         Name="Twisted"
         Percent="11" />
      <Trait
         Name="Optimist"
         Percent="11" />
      <Trait
         Name="Pessimist"
         Percent="2" />
      <Trait
         Name="Dependant"
         Percent="2" />
      <Trait
         Name="Sterile"
         Percent="2" />
      <Trait
         Name="Fleet of Foot"
         Percent="11" />
      <Trait
         Name="Tough"
         Percent="11" />
      <Trait
         Name="One Eye"
         Percent="2" />
      <Trait
         Name="Eye Patch"
         Percent="5" />
      <Trait
         Name="Fragile"
         Percent="2" />
      <Trait
         Name="Mind Fucked"
         Percent="2" />
      <Trait
         Name="Charismatic"
         Percent="11" />
      <Trait
         Name="Charming"
         Percent="11" />
      <Trait
         Name="Long Legs"
         Percent="11" />
      <Trait
         Name="Puffy Nipples"
         Percent="11" />
      <Trait
         Name="Perky Nipples"
         Percent="11" />
      <Trait
         Name="Malformed"
         Percent="2" />
      <Trait
         Name="Retarded"
         Percent="2" />
   </Girl>
</Girls>


[size=78%]Also, another fun bug I encountered, Pessimist in my dungeon keeps 'killing herself'  Still alive.  Getting that message every week.[/size]
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on March 17, 2013, 08:33:44 PM
First is example of Random Monster, second is example of Random Human.  For all I can tell, it should theoretically work.  For now... I think it may be cause of having so many possible traits that is screwing it up.
(Using Notepad ++ to edit this, originally spawned from the WMEdit thing.)


Monsters get +100k to +millions, humans tend to be getting more reasonable numbers between 100-1000, but they can go higher too.
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Girls>
   <Girl
      Name="Lamia"
      Desc="-"
      Human="No"
      Catacomb="Yes">
      <Gold
         Min="0"
         Max="10" />
      <Stat
         Name="Charisma"
         Min="0"
         Max="11" />
      <Stat
         Name="Happiness"
         Min="100"
         Max="100" />
      <Stat
         Name="Libido"
         Min="0"
         Max="11" />
      <Stat
         Name="Constitution"
         Min="0"
         Max="11" />
      <Stat
         Name="Intelligence"
         Min="0"
         Max="11" />
      <Stat
         Name="Confidence"
         Min="0"
         Max="100" />
      <Stat
         Name="Mana"
         Min="0"
         Max="11" />
      <Stat
         Name="Agility"
         Min="0"
         Max="11" />
      <Stat
         Name="Fame"
         Min="0"
         Max="0" />
      <Stat
         Name="Level"
         Min="0"
         Max="0" />
      <Stat
         Name="AskPrice"
         Min="0"
         Max="0" />
      <Stat
         Name="House"
         Min="0"
         Max="0" />
      <Stat
         Name="Exp"
         Min="0"
         Max="0" />
      <Stat
         Name="Age"
         Min="17"
         Max="20" />
      <Stat
         Name="Obedience"
         Min="0"
         Max="11" />
      <Stat
         Name="Spirit"
         Min="0"
         Max="100" />
      <Stat
         Name="Beauty"
         Min="0"
         Max="11" />
      <Stat
         Name="Tiredness"
         Min="0"
         Max="0" />
      <Stat
         Name="Health"
         Min="100"
         Max="100" />
      <Stat
         Name="PCFear"
         Min="0"
         Max="0" />
      <Stat
         Name="PCLove"
         Min="0"
         Max="0" />
      <Stat
         Name="PCHate"
         Min="0"
         Max="0" />
      <Skill
         Name="Anal"
         Min="0"
         Max="11" />
      <Skill
         Name="Magic"
         Min="0"
         Max="30" />
      <Skill
         Name="BDSM"
         Min="0"
         Max="11" />
      <Skill
         Name="NormalSex"
         Min="0"
         Max="11" />
      <Skill
         Name="Beastiality"
         Min="0"
         Max="11" />
      <Skill
         Name="Group"
         Min="0"
         Max="11" />
      <Skill
         Name="Lesbian"
         Min="0"
         Max="11" />
      <Skill
         Name="Service"
         Min="0"
         Max="11" />
      <Skill
         Name="Strip"
         Min="0"
         Max="11" />
      <Skill
         Name="Combat"
         Min="0"
         Max="30" />
      <Trait
         Name="Small Scars"
         Percent="11" />
      <Trait
         Name="Cool Scars"
         Percent="5" />
      <Trait
         Name="Horrific Scars"
         Percent="2" />
      <Trait
         Name="Cool Person"
         Percent="11" />
      <Trait
         Name="Nerd"
         Percent="11" />
      <Trait
         Name="Clumsy"
         Percent="11" />
      <Trait
         Name="Fast orgasms"
         Percent="11" />
      <Trait
         Name="Slow orgasms"
         Percent="11" />
      <Trait
         Name="Quick Learner"
         Percent="11" />
      <Trait
         Name="Slow Learner"
         Percent="11" />
      <Trait
         Name="Cute"
         Percent="11" />
      <Trait
         Name="Strong"
         Percent="11" />
      <Trait
         Name="Psychic"
         Percent="11" />
      <Trait
         Name="Strong Magic"
         Percent="11" />
      <Trait
         Name="Shroud Addict"
         Percent="2" />
      <Trait
         Name="Fairy Dust Addict"
         Percent="2" />
      <Trait
         Name="Viras Blood Addict"
         Percent="2" />
      <Trait
         Name="Aggressive"
         Percent="11" />
      <Trait
         Name="Adventurer"
         Percent="11" />
      <Trait
         Name="Assassin"
         Percent="11" />
      <Trait
         Name="Nervous"
         Percent="11" />
      <Trait
         Name="Good Kisser"
         Percent="11" />
      <Trait
         Name="Nymphomaniac"
         Percent="11" />
      <Trait
         Name="Elegant"
         Percent="11" />
      <Trait
         Name="Fake orgasm expert"
         Percent="11" />
      <Trait
         Name="Sexy Air"
         Percent="11" />
      <Trait
         Name="Great Figure"
         Percent="11" />
      <Trait
         Name="Great Arse"
         Percent="11" />
      <Trait
         Name="AIDS"
         Percent="2" />
      <Trait
         Name="Chlamydia"
         Percent="2" />
      <Trait
         Name="Syphilis"
         Percent="2" />
      <Trait
         Name="Broken Will"
         Percent="2" />
      <Trait
         Name="Masochist"
         Percent="11" />
      <Trait
         Name="Sadistic"
         Percent="11" />
      <Trait
         Name="Lesbian"
         Percent="11" />
      <Trait
         Name="Tsundere"
         Percent="11" />
      <Trait
         Name="Yandere"
         Percent="11" />
      <Trait
         Name="Meek"
         Percent="11" />
      <Trait
         Name="Manly"
         Percent="5" />
      <Trait
         Name="Merciless"
         Percent="11" />
      <Trait
         Name="Fearless"
         Percent="11" />
      <Trait
         Name="Iron Will"
         Percent="11" />
      <Trait
         Name="Twisted"
         Percent="11" />
      <Trait
         Name="Optimist"
         Percent="11" />
      <Trait
         Name="Pessimist"
         Percent="2" />
      <Trait
         Name="Dependant"
         Percent="2" />
      <Trait
         Name="Sterile"
         Percent="2" />
      <Trait
         Name="Fleet of Foot"
         Percent="11" />
      <Trait
         Name="Tough"
         Percent="11" />
      <Trait
         Name="One Eye"
         Percent="2" />
      <Trait
         Name="Eye Patch"
         Percent="5" />
      <Trait
         Name="Fragile"
         Percent="2" />
      <Trait
         Name="Mind Fucked"
         Percent="2" />
      <Trait
         Name="Charismatic"
         Percent="11" />
      <Trait
         Name="Charming"
         Percent="11" />
      <Trait
         Name="Long Legs"
         Percent="11" />
      <Trait
         Name="Puffy Nipples"
         Percent="11" />
      <Trait
         Name="Perky Nipples"
         Percent="11" />
      <Trait
         Name="Malformed"
         Percent="2" />
      <Trait
         Name="Retarded"
         Percent="2" />
      <Trait
         Name="Different Colored Eyes"
         Percent="2" />
      <Trait
         Name="Strange Eyes"
         Percent="2" />
      <Trait
         Name="Not Human"
         Percent="100" />         
   </Girl></Girls>


Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Girls>
   <Girl
      Name="Redheadgirl1"
      Desc="-"
      Human="Yes"
      Catacomb="No">
      <Gold
         Min="0"
         Max="10" />
      <Stat
         Name="Charisma"
         Min="0"
         Max="11" />
      <Stat
         Name="Happiness"
         Min="100"
         Max="100" />
      <Stat
         Name="Libido"
         Min="0"
         Max="11" />
      <Stat
         Name="Constitution"
         Min="0"
         Max="11" />
      <Stat
         Name="Intelligence"
         Min="0"
         Max="11" />
      <Stat
         Name="Confidence"
         Min="0"
         Max="100" />
      <Stat
         Name="Mana"
         Min="0"
         Max="11" />
      <Stat
         Name="Agility"
         Min="0"
         Max="11" />
      <Stat
         Name="Fame"
         Min="0"
         Max="0" />
      <Stat
         Name="Level"
         Min="0"
         Max="0" />
      <Stat
         Name="AskPrice"
         Min="0"
         Max="0" />
      <Stat
         Name="House"
         Min="0"
         Max="0" />
      <Stat
         Name="Exp"
         Min="0"
         Max="0" />
      <Stat
         Name="Age"
         Min="17"
         Max="20" />
      <Stat
         Name="Obedience"
         Min="0"
         Max="11" />
      <Stat
         Name="Spirit"
         Min="0"
         Max="100" />
      <Stat
         Name="Beauty"
         Min="0"
         Max="11" />
      <Stat
         Name="Tiredness"
         Min="0"
         Max="0" />
      <Stat
         Name="Health"
         Min="100"
         Max="100" />
      <Stat
         Name="PCFear"
         Min="0"
         Max="0" />
      <Stat
         Name="PCLove"
         Min="0"
         Max="0" />
      <Stat
         Name="PCHate"
         Min="0"
         Max="0" />
      <Skill
         Name="Anal"
         Min="0"
         Max="11" />
      <Skill
         Name="Magic"
         Min="0"
         Max="0" />
      <Skill
         Name="BDSM"
         Min="0"
         Max="11" />
      <Skill
         Name="NormalSex"
         Min="0"
         Max="11" />
      <Skill
         Name="Beastiality"
         Min="0"
         Max="11" />
      <Skill
         Name="Group"
         Min="0"
         Max="11" />
      <Skill
         Name="Lesbian"
         Min="0"
         Max="11" />
      <Skill
         Name="Service"
         Min="0"
         Max="11" />
      <Skill
         Name="Strip"
         Min="0"
         Max="11" />
      <Skill
         Name="Combat"
         Min="0"
         Max="0" />
      <Trait
         Name="Small Scars"
         Percent="11" />
      <Trait
         Name="Cool Scars"
         Percent="5" />
      <Trait
         Name="Horrific Scars"
         Percent="2" />
      <Trait
         Name="Cool Person"
         Percent="11" />
      <Trait
         Name="Nerd"
         Percent="11" />
      <Trait
         Name="Clumsy"
         Percent="11" />
      <Trait
         Name="Fast orgasms"
         Percent="11" />
      <Trait
         Name="Slow orgasms"
         Percent="11" />
      <Trait
         Name="Quick Learner"
         Percent="11" />
      <Trait
         Name="Slow Learner"
         Percent="11" />
      <Trait
         Name="Cute"
         Percent="11" />
      <Trait
         Name="Strong"
         Percent="11" />
      <Trait
         Name="Psychic"
         Percent="11" />
      <Trait
         Name="Strong Magic"
         Percent="11" />
      <Trait
         Name="Shroud Addict"
         Percent="2" />
      <Trait
         Name="Fairy Dust Addict"
         Percent="2" />
      <Trait
         Name="Viras Blood Addict"
         Percent="2" />
      <Trait
         Name="Aggressive"
         Percent="11" />
      <Trait
         Name="Adventurer"
         Percent="11" />
      <Trait
         Name="Assassin"
         Percent="11" />
      <Trait
         Name="Nervous"
         Percent="11" />
      <Trait
         Name="Good Kisser"
         Percent="11" />
      <Trait
         Name="Nymphomaniac"
         Percent="11" />
      <Trait
         Name="Elegant"
         Percent="11" />
      <Trait
         Name="Fake orgasm expert"
         Percent="11" />
      <Trait
         Name="Sexy Air"
         Percent="11" />
      <Trait
         Name="Great Figure"
         Percent="11" />
      <Trait
         Name="Great Arse"
         Percent="11" />
      <Trait
         Name="AIDS"
         Percent="2" />
      <Trait
         Name="Chlamydia"
         Percent="2" />
      <Trait
         Name="Syphilis"
         Percent="2" />
      <Trait
         Name="Broken Will"
         Percent="2" />
      <Trait
         Name="Masochist"
         Percent="11" />
      <Trait
         Name="Sadistic"
         Percent="11" />
      <Trait
         Name="Lesbian"
         Percent="11" />
      <Trait
         Name="Tsundere"
         Percent="11" />
      <Trait
         Name="Yandere"
         Percent="11" />
      <Trait
         Name="Meek"
         Percent="11" />
      <Trait
         Name="Manly"
         Percent="5" />
      <Trait
         Name="Merciless"
         Percent="11" />
      <Trait
         Name="Fearless"
         Percent="11" />
      <Trait
         Name="Iron Will"
         Percent="11" />
      <Trait
         Name="Twisted"
         Percent="11" />
      <Trait
         Name="Optimist"
         Percent="11" />
      <Trait
         Name="Pessimist"
         Percent="2" />
      <Trait
         Name="Dependant"
         Percent="2" />
      <Trait
         Name="Sterile"
         Percent="2" />
      <Trait
         Name="Fleet of Foot"
         Percent="11" />
      <Trait
         Name="Tough"
         Percent="11" />
      <Trait
         Name="One Eye"
         Percent="2" />
      <Trait
         Name="Eye Patch"
         Percent="5" />
      <Trait
         Name="Fragile"
         Percent="2" />
      <Trait
         Name="Mind Fucked"
         Percent="2" />
      <Trait
         Name="Charismatic"
         Percent="11" />
      <Trait
         Name="Charming"
         Percent="11" />
      <Trait
         Name="Long Legs"
         Percent="11" />
      <Trait
         Name="Puffy Nipples"
         Percent="11" />
      <Trait
         Name="Perky Nipples"
         Percent="11" />
      <Trait
         Name="Malformed"
         Percent="2" />
      <Trait
         Name="Retarded"
         Percent="2" />
   </Girl>
</Girls>


[size=78%]Also, another fun bug I encountered, Pessimist in my dungeon keeps 'killing herself'  Still alive.  Getting that message every week.[/size]

I was unaware of any starting money bugs, but I still haven't even looked at .05e yet.

As for random monsters.. this is actually something I am working on including in the next update with the arena. The files will be VERY similar to the rgirlsx files.. but a bit simpler, and I may change the stats some...
I also am very tempted to add a strength stat to girls, as there is not one, but am reluctant to do so, as it could easily introduce new bugs.

I will look into the cash bug when I finish the current arena work...
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on March 17, 2013, 11:01:27 PM
First is example of Random Monster, second is example of Random Human.  For all I can tell, it should theoretically work.  For now... I think it may be cause of having so many possible traits that is screwing it up.
(Using Notepad ++ to edit this, originally spawned from the WMEdit thing.)

Monsters get +100k to +millions, humans tend to be getting more reasonable numbers between 100-1000, but they can go higher too.
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Girls>
   <Girl
      Name="Lamia"


Replicated your results with the Lamia. Investigating.

[/size]
[size=78%]
Also, another fun bug I encountered, Pessimist in my dungeon keeps 'killing herself'  Still alive.  Getting that message every week.[/size]

Known issue, Crazy knows, post is
http://pinkpetal.org/index.php?topic=1031.msg17620#msg17620
Title: Re: Crazy and PP's mod bug thread
Post by: Geron on March 17, 2013, 11:42:53 PM
The Pessimist bug could just as easily(or it might be harder) be fixed with: 
While in dungeon, your goons prevent Pessimist from killing herself due to depression or some such.


Also, yes, I fixed the issue with crazy cash by knocking down the number of possible traits.  It definitely has to do with having way too many random traits, so there is a limit to how much the program can read or something. 
There is a progression to the bugginess versus #of traits.


1st progression: Nearly 100% chance on the first 1-3 traits in the list, despite each being less then 10% chance.  (In short: Basically all the Lamias sported the 3 scar types.)
2nd progression: 100-10k in gold
3rd progression: 10k-millions/billions in gold
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on March 18, 2013, 03:03:06 AM

Also, yes, I fixed the issue with crazy cash by knocking down the number of possible traits.  It definitely has to do with having way too many random traits, so there is a limit to how much the program can read or something. 

Good hunch; this is confirmed cause.

From the code, the max traits you can list as possible for a random girl is 60 out of universe of 91 traits.  You used  63 on the Lamia; since the MAXNUM_TRAITS is not well enforced, it ended up overwriting the money/gold which is after traits name/pct in the structure.. The gold got loaded first, so unrelated data got stored there and interpreted as numbers. Take off 3 or more traits & that rgirl will be OK; need to check all your created rgirls you load. (I used Word for linecount of traits.)

Redheadgirl1 has exactly 60 possiuble traits; you got excess gold with her also? Any chance you deleted trait(s) since you last got bad gold for her?

Bugfix:

Need to enforce not adding more than MAXNUM_TRAITS in reading rgirls and storing poss. traits.  Check if exactly that number traits also works (see Redheadgirl1 above).

Quote
There is a progression to the bugginess versus #of traits.

Matches your observation. Names of traits over 60 will replace earliest trait pct with character trash; the pcts for traits over 60 will overwrite the gold min/max with trash and possibly whatever is next in memory.
Title: Re: Crazy and PP's mod bug thread
Post by: Geron on March 19, 2013, 02:11:58 AM
@DustyDan, redheadgirl1, hmmm... yea, I did some trimming in some of em beforehand, she might've been one who hit the chopping block.


*Snip* Really old CoreTraits with information download here
I have been wondering where I can get this.  But... its missing some of the new stuff added in the C+PP Mod thing and maybe some others too.

C+PP is missing:
Code: [Select]
Immortal
This girl simply does not age.
Inhuman Lifespan
This girl ages quite a lot more slowly than a normal human would.
Old stuff is missing:
Code: [Select]
Shape Shifter
This girl can change her shape to anything.
Queen
She is a queen.
Princess
She is a princess.
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on March 20, 2013, 03:32:23 AM
   If you could schedule a fix for this to have all traits ignore upper/lowercase when matching traits, that would be a great help.

Found in existing SC modules, a function "strnatcasecmp" that compares ignoring case, and additionally compares as unsigned number if both strings numeric. Unfortunately, from my reading of the code (will run test), it would compare as equal "There is no w" and "there i snow". It also seems to shift into numeric comparison so "south 40" > "south 9"; may have other complications.

There is a standard algorithm in some c++ that also could work: "std::lexicographical_compare" which can be packaged in a shorter function name.

Some problems can be avoided if only testing for equality, like "if traitA.nameIs(GOOD_KISSER)" etc.

I have some other thoughts on organizing trait storage & methods, which I hope will help coding and possibly cpu efficiency.
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on March 23, 2013, 04:16:12 AM
In cMovieStudio.cpp,  SaveMovieStudioXML

...
   sMovie* movie = m_Movies;
   while(movie)
   {
      TiXmlElement* pMovie = new TiXmlElement("Movie");
      pMovies->LinkEndChild(pMovie);
      pBrothel->SetAttribute("Qual", movie->m_Quality);


last line should be      pMovie->SetAttribute("Qual", movie->m_Quality);
which explains the "Qual" attrib showing in wrong place.

And I separately found the reason for my latest game crashes: if there are more than 1 saved movie element in what I load, the Next Week action gives memory violation crash. I took the same savefile, removed all but one movie element (there were 18), and it successfully goes to next week. Haven't started chasing down what in Next Week could be faulting on that; even happens if no movies added.
Title: Re: Crazy and PP's mod bug thread
Post by: PinkPervert on March 25, 2013, 09:56:10 PM
DustyDan,

Just wanted to say I appreciate all the help, as you can see, this mod needs a lot of work :)

I will start looking into these more closely as soon as I finish the my current project (haven't looked at the studio code for a little while now, been very bogged down in the Arena).

Once again, thanks!
--PP
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on March 28, 2013, 01:15:29 AM
In the Turn Summary of gang recapture, the rgirlsx name is used instead of the Real Name; somewhat confusing.
Fixed thanks for the bug report
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on April 02, 2013, 08:27:37 AM
The last couple of times I've started a game, the game works for the first few weeks before crashing.  It appears to have some sort of problem reading the files related to the button files.

Attached is the most recent gamelog
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on April 03, 2013, 01:47:07 AM
The last couple of times I've started a game, the game works for the first few weeks before crashing.  It appears to have some sort of problem reading the files related to the button files.
Mirrors some problems I've experienced, incl most debug log stmts you have. Large problems seem to be in loading Slave Market girls (has calls to cTariff), which is a strange place to try setting up buttons. I'm digging into this somewhat now.
 
Found:
out_fact.brothel_support has no default; referenced in sConfig.cpp but no default in get_expense_factors(TiXmlElement *el).  Not an issue in my sys since my config.xml does incl the attrib.
 
Separately, HeWho (if I may), you can edit the items files that throw errors on skill Oral to use OralSex instead; case is also significant, as XHTML users found out.
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on April 03, 2013, 02:18:43 AM
On HWCBN's log, some error msgs could be avoided by patching the self-described kludge in CSurface::DrawSurface() to have:
Code: [Select]
if(m_Filename == "./Resources/Buttons/" || m_Filename == ".\Resources\Buttons\") {
  return false;
 }
to cover Linux/Unix and also MS-Windows file path naming. Don't know if this will affect crash any.
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on April 03, 2013, 06:42:03 AM
Separately, HeWho (if I may), you can edit the items files that throw errors on skill Oral to use OralSex instead; case is also significant, as XHTML users found out.

Why, yes you may, thank you, kind sir!  Anyway, would OralSex re-edit reduce the quantity of errors?  If so, do you know why this is?
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on April 03, 2013, 03:54:59 PM
Will just elim errors for Items that try to mod the OralSex skill, but apparently use another WM variant for the skill name. Since game did not crash immediately on detection while reading several Itemsx files, there is probably code to just ignore unrecognized skill names.
 
Crazy, PP:
The other debug err msgs probably are no help in finding crash. I have msgs like:
Code: [Select]
CSurface LoadImage loadedImage error with filename: .\Resources\Buttons\
Couldn't open .\Resources\Buttons\
Couldn't open .\Resources\Buttons\
ERROR - Loading Image '.\Resources\Buttons\'
Error in RenderText m_Message. Text which was to be rendered: Text has zero width
that still at least go on to "saving Player data " thru "
Saving brothel: House
sGirl::preg_chance: base %chance = 8, good flag = 0, factor = 1"
and only crash on later NextWeek steps (apparently does autosave but no screen or debug msgs before those crashes).
 
More debug texts during NextWeek steps, please!
 
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on April 03, 2013, 11:23:05 PM
I compiled a list of my observed v .05e bugs and of other reccomended code changes/corrections & recc. comments.
 
I understand if any of these need to be left until a future revision.
 
Though I dl'd the source code, I have refrained from changing and test-compiling, to have it as static reference.
 
Debug notes in attachment.
Title: Re: Crazy and PP's mod bug thread
Post by: Aika on April 10, 2013, 08:53:34 PM
Don't know if this helps, but I've modified the Clinic Manager to be able to handle the GetGirl function. I've commented the new code to make it easy to find, just search for "Aika Edit". It shouldn't be hard to replicate what I've done in the Arena and Centre managers. This is to address the bug where when you select the next girl button in the new buildings you get one of the girls in the first brothel instead.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on April 14, 2013, 01:05:08 PM
Don't know if this helps, but I've modified the Clinic Manager to be able to handle the GetGirl function. I've commented the new code to make it easy to find, just search for "Aika Edit". It shouldn't be hard to replicate what I've done in the Arena and Centre managers. This is to address the bug where when you select the next girl button in the new buildings you get one of the girls in the first brothel instead.
This breaks a few things for me atleast.  I can no longer transfer girls to clinic when I merged this code in.  Did it do this for you Aika?
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on April 14, 2013, 01:36:18 PM
Hey, I noticed something:  If I sell a unique girl, they remain in my Inventory window.  For instance, I sold 3 unique girls in my most recent game, but when I look at the "Manage Inventory" or "Shop" screens, they're still in the list of girls. 

EDIT:

Somehow, they wound up at the Centre.  I know I sold them (I sold them from the Dungeon screen), and that they were gone.  I don't know how they got to the Centre.  Somehow, I got the money from the sale, and autotransfered the girls to the Centre.  Is that supposed to happen?  Also, this doesn't work with the randoms, just the uniques.
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on April 14, 2013, 11:47:14 PM
(Huge amouints of cash with some new random girls)

From the code, the max traits you can list as possible for a random girl is 60 out of universe of 91 traits.  You used  63 on the Lamia; since the MAXNUM_TRAITS is not well enforced, it ended up overwriting the money/gold which is after traits name/pct in the structure, and also first traiit percentages.
Will have comprehensive fix for this soon.


Apparently has been problem in code at 30-trait limit for some time; see this hilarious note from 1.30 changelog.txt:


1.30.3 beta r485
* [snip]
* girls with more than 30 traits would fuck things up (and probably fuck things in other directions, too)
Title: Re: Crazy and PP's mod bug thread
Post by: MrKlaus on April 19, 2013, 08:29:48 AM
In Brothel Setup can't dissable Titty Fuck. After clicking back and going in the setup the option is still able.
Title: Re: Crazy and PP's mod bug thread
Post by: rixto003 on April 23, 2013, 12:27:41 AM
game crash when open brothel settings

edit: my bad, conf file vanished after extracting for some reason
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on April 23, 2013, 09:06:13 AM
About "Ecchi"-Pics:
 
Are they still needed anymore during the gameplay.
 
These type of pics are only shown in the gallery now but not during the game , am I right?
 
Kind Regards
 
HuiBui
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on May 07, 2013, 07:11:17 PM
my game still crashes for some reaosn when i open brothel settings. my config file is their and working everything else works. no idea anyone able to help?


reinstalled multiple times


Edit: Have found issues and taken care of them mismatched mod
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on May 08, 2013, 08:58:08 PM
i have seen this issue in prior post but my game keeps crashing as i hit the next week button. i def do have more then 1 movie going




any help on how i can fix this issue i would greatly appreciate it




thanks again




Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on May 08, 2013, 10:49:50 PM
i have seen this issue in prior post but my game keeps crashing as i hit the next week button. i def do have more then 1 movie going




any help on how i can fix this issue i would greatly appreciate it




thanks again

I'd advise you not to use the studio at all.  Whenever I use the studio, my game becomes suicidal.  Plus, it isn't very profitable.
Title: Re: Crazy and PP's mod bug thread
Post by: DustyDan on May 28, 2013, 01:11:55 AM

i have seen this issue in prior post but my game keeps crashing as i hit the next week button. i def do have more then 1 movie going

I'd advise you not to use the studio at all.  Whenever I use the studio, my game becomes suicidal.  Plus, it isn't very profitable.


Yes and no.  Au contraire on the "not profitable."  Once it is working correctly, I believe we'll need to dial it back so it doesn't become a xx-week flood of money for each release.


That said, yes I've been preoccupied, but will release a partial fix of movie next-week crashes.  Soon.  In the meantime, when you get a crash, edit a savegame to remove content between the <movies> and </movies> tags, and load that.


Yours for better AV,
Dusty Dan
Title: Re: Crazy and PP's mod bug thread
Post by: Geron on May 28, 2013, 04:30:44 PM
I think the studio consistently crashed when you did the Titty movies.  Which a random movie can hit.
Title: Re: Crazy and PP's mod bug thread
Post by: melikesit on August 20, 2013, 12:18:46 AM
I've found a bug on the slave market, and i have absolutely no idea what's causing it, basically what happens is that if the dislikes, or has anything against working as a whore, everytime you click more details to show her job preferences and such, click it again to go back, and then click it to see it again her hate gets stronger. Oh and this happens every time.


It basically goes like this: Click more details - see dislikes whore job - click it 2 more times - really dislikes whore job - repeat untill reach maximum hate. This is unreversable, you can only increase the hate, not decrease it.


This only appeared in .05f, in .05e this did not happen.


Oh and another weird thing is that im seeing ALOT more girls dislike working as a whore than before. Like at least half of the slave market on any time i check it.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on August 30, 2013, 12:04:03 AM
I've found a bug on the slave market, and i have absolutely no idea what's causing it, basically what happens is that if the dislikes, or has anything against working as a whore, everytime you click more details to show her job preferences and such, click it again to go back, and then click it to see it again her hate gets stronger. Oh and this happens every time.
Its a bug and I know what causes it just gotta find a work around for it.. Will be fixed soonish
Oh and another weird thing is that im seeing ALOT more girls dislike working as a whore than before. Like at least half of the slave market on any time i check it.
This is a new change with that patch.  Girls will start liking or disliking jobs based on there traits.. but for what ur saying I would have to say that the one that dislike it are virgins who start out disliking working as whores... I've never met a virgin who who would want to be a whore so I made virgins hate doing that job.  Alot of traits have girls disliking working as whores as it don't make sense for them to have those traits and want to whore.
Title: Re: Crazy and PP's mod bug thread
Post by: melikesit on September 01, 2013, 10:19:40 PM
That makes alot of sense, i feel dumb for not thinking about it.
Title: Re: Crazy and PP's mod bug thread
Post by: Dakushna on September 05, 2013, 02:00:50 AM
Hi, I just noticed a bug: when I look at the turn summary and go to the studio, the game crashes  :-\
Title: Re: Crazy and PP's mod bug thread
Post by: Sarav on November 05, 2013, 04:14:13 AM
Found a bug where if you put a girl in security or cleaning, she will do it twice in the same timeframe. I also found out that it does the same for exploring the catacombs.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on November 05, 2013, 03:18:35 PM
Found a bug where if you put a girl in security or cleaning, she will do it twice in the same timeframe. I also found out that it does the same for exploring the catacombs.
Fixed thanks for the bug report.  Will be in the next release
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on November 05, 2013, 04:16:11 PM
Amendment for the Bug :Working twice at the same time.
It  also occurs when a girl refuses the work and at the same time she does the job
Title: Re: Crazy and PP's mod bug thread
Post by: Sarav on November 06, 2013, 07:24:01 AM
Modifying the the config.xml with WMEdit makes the game crash on startup.
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on November 06, 2013, 08:44:35 AM
Modifying the the config.xml with WMEdit makes the game crash on startup.

If you mod it using Notepad instead of the WMEdit, it works just fine.
Title: Re: Crazy and PP's mod bug thread
Post by: geoper on November 08, 2013, 01:35:08 AM
Hello, I'm playing with the last version of the mod, and the titty fuck interaction seems to show just the normal oral images. I don't know if it is a problem of this version or a local problem. Well, if it is the second case. Is there a way of changing it without the source code? It is not a problem with the images, cause the gallery in game shows them.

EDIT: I fixed it. The script of the default interactions, had "Have Oral" instead of "Have Titty" after the check of disobey, so i changed that line. I don't know if there are other problems like that one on the rest of the script, but that was the problem.
Title: Re: Crazy and PP's mod bug thread
Post by: mteir on November 09, 2013, 03:33:42 PM
Hi, i'm having problems entering the bank in the new version. Entering the bank at the moment results in a crash every time, the reason stated is vector subscript out of range, and refers to line 1140 but that seems to be just debug code. In the call stack is cWindowManager (.h and .cpp), cScreenBank.cpp, cInterfaceWindow.cpp, main.cpp and crtexe.c
The old f version still works. OS is windows 7.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on November 09, 2013, 03:55:18 PM
Hi, i'm having problems entering the bank in the new version. Entering the bank at the moment results in a crash ever time
That's an odd bug as I didn't touch the bank at all. I'll look into see if I can get it to happen.  Is this a new game or old save?
Title: Re: Crazy and PP's mod bug thread
Post by: campeonkid on November 10, 2013, 12:03:03 PM
hi, my game freezes after a few weeks, must close and reopen it no error code
Title: Re: Crazy and PP's mod bug thread
Post by: mteir on November 11, 2013, 01:14:11 PM
That's an odd bug as I didn't touch the bank at all. I'll look into see if I can get it to happen.  Is this a new game or old save?
New game, no changes made, even tried without loading any girls.
Did you do any changes to the window manager or interface?
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on November 11, 2013, 01:48:24 PM
Did you do any changes to the window manager or interface?
Did nothing to the bank.  And I cant replicate this bug.  I suggest maybe a fresh download of the game maybe something is corrupt idk.
Title: Re: Crazy and PP's mod bug thread
Post by: _rhetorik_ on November 11, 2013, 01:50:47 PM
I have the bank bug as well. But it only happens when i put the updated .exe with the old files. With the .05g files it works fine.
Title: Re: Crazy and PP's mod bug thread
Post by: mteir on November 13, 2013, 02:33:42 PM
I have the bank bug as well. But it only happens when i put the updated .exe with the old files. With the .05g files it works fine.
I tried re downloading and the bug still presists, but then i tried moving the g .exe into the old f files and i can enter the bank without problems. So i have a problem with new exe and new folder but not with new .exe and old folder. Also the old .exe has the same problems in the new folder.
So the problem might be outside the .exe

[EDIT] Ok, i got it to work by moving the bank_screen.xml into .../Interface/ from .../Interface/classic (the 1024 had owerlap) and removing an extra { inside the .xml
i tried a few other changes with the xml (moving and changing variables) but this was the only solution i found.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on November 14, 2013, 02:47:51 AM
I tried re downloading and the bug still presists, but then i tried moving the g .exe into the old f files and i can enter the bank without problems. So i have a problem with new exe and new folder but not with new .exe and old folder. Also the old .exe has the same problems in the new folder.
So the problem might be outside the .ex
I know what cause the problem now.  bank.xml should be outside the classic folder and just in the interface folder.. I fixed it for next release so should be no problems with next release.
Title: Re: Crazy and PP's mod bug thread
Post by: Kestin on December 14, 2013, 06:32:44 PM
I did some testing

it seems every single rape is successful, even against strongest girls, girls never escape or fight back.
same goes for "force sex", successful every time.

but girls do fight back if you torture her.

is this a bug?
(if girls can resist torture, they should be able to resist rape too)
Title: Re: Crazy and PP's mod bug thread
Post by: tt_green on December 17, 2013, 01:39:46 PM
My game crashes when pressing "next week " , added gamelog in attachments
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on January 12, 2014, 09:38:17 PM
Not sure if this has been pointed out yet, but the bank seems non-functional.  Any attempt to enter it, causes a crash.
EDIT:  Probably already reported, but sometimes opening Studio in the Turn Summary also causes crash.
Title: Re: Crazy and PP's mod bug thread
Post by: mteir on January 14, 2014, 10:03:03 PM
Not sure if this has been pointed out yet, but the bank seems non-functional.  Any attempt to enter it, causes a crash.
EDIT:  Probably already reported, but sometimes opening Studio in the Turn Summary also causes crash.

yeah had that one too
move the bank_screen.xml into .../Interface/ from .../Interface/classic
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on January 15, 2014, 09:43:08 AM
yeah had that one too
move the bank_screen.xml into .../Interface/ from .../Interface/classic
Thanks Mteir.  That'll teach me to read the thread!
Any sage words on the studio problem?

EDIT:  Alrighty, well, it turns out that bank_screen.xml was already in my Interface, as well as in Interface/classic.  Switching the two made no difference, nor did removing it only from interface/classic.  I think we might've had different problems.
Title: Re: Crazy and PP's mod bug thread
Post by: Richard99 on January 21, 2014, 01:57:32 PM
i had a similar problem, the bank_screen.xml i had was missing the code for one of the buttons i think, here's a working one, copy it to the interface directory
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on January 21, 2014, 04:29:57 PM
i had a similar problem, the bank_screen.xml i had was missing the code for one of the buttons i think, here's a working one, copy it to the interface directory
Thanks Richard.  How'd you find that?
Title: Re: Crazy and PP's mod bug thread
Post by: Richard99 on January 21, 2014, 06:20:06 PM
Thanks Richard.  How'd you find that?


I've got like 5 different versions of WM on my computer and I was moving and deleting all the xml files about trying to isolate the problem and i noticed one of the bank_screen.xml files was a different size.


also looking at the source code for the game theres a bug where the game only looks for bank_screen.xml in the interface folder and not in any subdirectory's in it.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on January 21, 2014, 07:11:55 PM
also looking at the source code for the game theres a bug where the game only looks for bank_screen.xml in the interface folder and not in any subdirectory's in it.
Yeah I found and fixed that bug about nov-early dec..  but never put a new release out for it.  So should be fixed in new release
Title: Re: Crazy and PP's mod bug thread
Post by: fromspain on January 29, 2014, 11:48:03 AM
I can't find girls in catacombs. All my demon girls are not random, and had been edited to be founded in catacombs.

Gangs, or other adventurers send to catacombs, only brings me money or items.
Title: Re: Crazy and PP's mod bug thread
Post by: Sarav on February 24, 2014, 01:00:35 AM
With version .05h when you click on quit it takes you to the new game menu where you put in the name for your brothel. Also when a girl does XXX Entertainer in the gambling hall, if she masturbates, she does it twice.
Title: Re: Crazy and PP's mod bug thread
Post by: TZHawk on February 24, 2014, 01:08:03 AM
Unsure of the cause, but when I have more than eight girls and hit next week, the game freezes up and crashes.
It also crashes when I have a girl go to catacombs.
Title: Re: Crazy and PP's mod bug thread
Post by: Sarav on February 24, 2014, 02:20:48 AM
Unsure of the cause, but when I have more than eight girls and hit next week, the game freezes up and crashes.
It also crashes when I have a girl go to catacombs.
Is it a specific girl or do all girls crash when sent to catacombs?
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on February 24, 2014, 04:28:36 AM
With version .05h when you click on quit it takes you to the new game menu where you put in the name for your brothel.
That is suppose to happen u cant actually click in the name thing it just lets u quit or not.. So no more accedents while clicking back to fast
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on February 24, 2014, 04:30:42 AM
Unsure of the cause, but when I have more than eight girls and hit next week, the game freezes up and crashes.
Cant duplicate this one.
It also crashes when I have a girl go to catacombs.
Might sound dumb but make sure u have girls u can get from the catacombs otherwise the game will crash from trying that job.
Title: Re: Crazy and PP's mod bug thread
Post by: Sarav on February 24, 2014, 07:02:21 AM
That is suppose to happen u cant actually click in the name thing it just lets u quit or not.. So no more accedents while clicking back to fast
I see, if you click ok it goes to the main menu, guess I should have tried that first, but it still a good idea, there have been many times when I clicked one to many times.
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on February 24, 2014, 01:53:37 PM
If you load a saved game from a previous version and  If you have any girls in the dungeon "stored" then a bug occurs because you can put these girls into a dungeon again. And have them twice.

But if you have these, just release all girls and put them back into dungeon and all works fine.

@crazy : GREAT WORK!
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on March 05, 2014, 05:14:04 AM
1) I have OVER NINE THOUSAND(>20k actually) security rating, but my security girls keep getting attacked all the time. Sometimes it's four fights a week per girl. Those events also say a girl was attacked, then i thrashed the attackers somehow. Sounds strange. Girl is on security somewhere, but i need to defend her.
2) Janitor job on the summary screen says that they're cleaning my house. They can also decrease filthiness in clinic to the negative values.
3) New quit confirmation dialog has a text field in it.
4) I remember list position saving were working in WM some time ago. Now it resets all the time. Very annoying.
5) One of my catacomb explorers(Aisha Clanclan) gets raped by the monsters every single week. She has combat, magic, constitution, agility at 100. She's also tough, adventurer, agressive, strong. Maybe i'm missing something here, i don't know the game mechanics this well.
6) Slave girls working at customer service in a brothel are paid for the job. "*girlname* earned a total of x gold directly from you. She gets to keep it all".
Title: Re: Crazy and PP's mod bug thread
Post by: MrKlaus on March 08, 2014, 09:50:54 AM
5) One of my catacomb explorers(Aisha Clanclan) gets raped by the monsters every single week. She has combat, magic, constitution, agility at 100. She's also tough, adventurer, agressive, strong. Maybe i'm missing something here, i don't know the game mechanics this well.

She probably is to willfull to submit. Check her levels for:
to low: confidence, spirit, rebelliousness
to high: obedience

also the brokenwill trait is negative for fighter girls.
Title: Re: Crazy and PP's mod bug thread
Post by: gff1979 on March 09, 2014, 02:42:03 AM
If I highlight multiple girls by shift or ctrl clicking dungeon (haven't tried customers yet) and push the torture button the game crashes.
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on March 11, 2014, 12:38:51 PM
When I get a "free"girl by using the MeetTowndialog she receives again the virgin trait.
sounds crazy but with a second girl everything works well...
I've tested it with more girls and its getting more strange.. In most cases, they get the trait virgin.

Just as an idea : Could it be possible that it always occurs when a stat check has been  conducted "IfHasTrait (*Virgin*) while running a script?

I've modified the MeetTownDefault script to ask them in some cases about their virginity and always if the script asked them and set them finally into the brothel the 've got the trait "virgin"

Finally I've created an item which has the ability to remove the virgin trait. It doesn't work. The only ways to remove is to have sex with her personally or during her work in a brothel.
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on March 15, 2014, 04:46:29 AM
Am I the only one who gets the virgin bug?
Title: Re: Crazy and PP's mod bug thread
Post by: Pintero on March 17, 2014, 10:01:59 PM
Hey Crazy, love the mod! I have a request that's kind of like a bug but not really. Thing is, I want to make one of my custom girls only available as your daughter in the game. So, she can't be found in the slave market, catacombs, wandering town, etc. She can ONLY be received randomly as a girl who you've fathered.

Since you made this mod I was hoping you'd consider working on this addition. Let me know, and thanks!
Title: Re: Crazy and PP's mod bug thread
Post by: FlamBurger on March 18, 2014, 11:14:13 AM
Hmm, that would be interesting to put in, but would probably require lot of coding. Plus he got lots of coding on the back burner that he already is trying to do.
Title: Re: Crazy and PP's mod bug thread
Post by: _rhetorik_ on March 18, 2014, 01:28:02 PM
Hey Crazy, love the mod! I have a request that's kind of like a bug but not really. Thing is, I want to make one of my custom girls only available as your daughter in the game. So, she can't be found in the slave market, catacombs, wandering town, etc. She can ONLY be received randomly as a girl who you've fathered.

Since you made this mod I was hoping you'd consider working on this addition. Let me know, and thanks!


After taking a look at the code it doesn't seem a trivial change just to make the c++ code work with that. And after that the script engine should be updated to reflect the c++ change.

It might take a good while to get in the code...

At https://code.google.com/p/crazys-wm-mod/wiki/PageName?ts=1395168619&updated=PageName there is a (big) list of things that might get (or not) to the game at some point.
Title: Re: Crazy and PP's mod bug thread
Post by: Pintero on March 19, 2014, 03:30:57 AM

After taking a look at the code it doesn't seem a trivial change just to make the c++ code work with that. And after that the script engine should be updated to reflect the c++ change.

It might take a good while to get in the code...

At https://code.google.com/p/crazys-wm-mod/wiki/PageName?ts=1395168619&updated=PageName (https://code.google.com/p/crazys-wm-mod/wiki/PageName?ts=1395168619&updated=PageName) there is a (big) list of things that might get (or not) to the game at some point.

So what are you saying? (I don't quite get the lingo)

What about adding the trait "Your Daughter" to the girl's file? Would that work?
Title: Re: Crazy and PP's mod bug thread
Post by: _rhetorik_ on March 19, 2014, 08:15:51 AM
So what are you saying? (I don't quite get the lingo)

What about adding the trait "Your Daughter" to the girl's file? Would that work?


It isn't easy to add the feature you suggested (although imo it seems a good one). To be honest it is hard to add anything to this code in its current state. On the other hand trying to fix it is also hard because you can break it in many places.


I am working on making a few "potentially" breaking changes to make it easier to add new stuff. It is nowhere near done though (i've just started...).


About adding it as a trait, the honest answer is i have no idea. But using traits for that seems a "dirty" fix ...
Title: Re: Crazy and PP's mod bug thread
Post by: Pintero on March 20, 2014, 06:36:05 AM
I agree about the "dirty fix". Still, Ima try it and get back to you guys. In the meantime, can this be added to the list?

EDIT: So I just tried it and yeah, it says "Your Daughter" but she's found at the slave market. I want to BIRTH these girls. Anyhow, hope this makes it in.
Title: Re: Crazy and PP's mod bug thread
Post by: _rhetorik_ on March 20, 2014, 03:12:49 PM
I agree about the "dirty fix". Still, Ima try it and get back to you guys. In the meantime, can this be added to the list?



There already. ;)
Title: Re: Crazy and PP's mod bug thread
Post by: Pintero on March 20, 2014, 03:35:19 PM

There already. ;)

Awesome, thanks! I totally started playing this game again just because I thought I could do that but it's ok, still loving the game.

Another thing that'd be cool is if you could have girls work anywhere so, the brothel, the studio, your house, just make it more "across the board" instead of "one or the other". That and the gangs would be nice to see fleshed out. I'm thinking like a "Gangsters" kind of thing where you have more direct and involved (if you so desire) control over your gang aspect sand even interacting with the city itself (mayor, politicians, opinion polls, etc).
Title: Re: Crazy and PP's mod bug thread
Post by: Pintero on March 21, 2014, 06:15:47 PM
Another bug popped up:

I have a girl "warming" the bed in my house. There was a "debug" that said "ERROR: she has a loss of -100 gold Please report this to the pink petal team" etc.
The summary said " You tell her she is going to warm your bed tonight. She is totally in love with you and doesn't want as much money"
Title: Re: Crazy and PP's mod bug thread
Post by: unusual_desires on March 26, 2014, 01:43:17 AM
beast catcher job seems to crash the game in .05h
Title: Re: Crazy and PP's mod bug thread
Post by: ShadowMage on March 26, 2014, 01:31:21 PM
beast catcher job seems to crash the game in .05h

Where did you get the h version from? The download link is for the .05g version
http://www.pinkpetal.org/index.php?topic=953.0 (http://www.pinkpetal.org/index.php?topic=953.0)
Title: Re: Crazy and PP's mod bug thread
Post by: unusual_desires on March 26, 2014, 09:17:01 PM
Where did you get the h version from? The download link is for the .05g version
http://www.pinkpetal.org/index.php?topic=953.0 (http://www.pinkpetal.org/index.php?topic=953.0)


from here
Okay haven't giving an update in a long time so here goes.  As I may have said before my job is crazy sometimes I can months without having time to code any.  Other times I can code all I want to.  Right now its kinda in the no time.  But I would like to get a this new version out for you all to try.  So heres a list of new things in it but I know Im forgetting some.1- A job rating system.  Note that its only for jobs that need it and that are in the brothel.  I havent done it for any other buildings.2- New text for jobs.  Hall jobs have over 30 new things that can be said in the turn summary thanks to hewhocums.  Other jobs might have a few some have none.3- The job rework was bugged and i didnt know it until I did the job rating system.  So they are all fixed and work as intened now.  They still need some more balancing but working right now.4- HTML for some of the screens.  SO u need to make sure u copy everything into the folder u use not just the .exe5- A are u sure when u hit quit type thing.  It pops up and asks OK or cancel it okay to go to main menu.6- New jobs in most buildings...  I cant remember what was in last release so yeah lolLink- https://mega.co.nz/#!NgokGQQY!e4TDHiZZX1qNiag4Iej0ZCbiZ7isjY-FuR5lIpVbcIc (https://mega.co.nz/#!NgokGQQY!e4TDHiZZX1qNiag4Iej0ZCbiZ7isjY-FuR5lIpVbcIc)Anyway hoping to finish the text for jobs then try and clean up somethings and take a look at what to do next then.  Its also very important that u use this whole update or the game wont work right.
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on April 14, 2014, 12:16:44 AM
I am experiencing some flavor of reoccuring bug that keeps shutting down WM on the "Next Week" push, and no obvious solution has presented itself.  Gamelog is attached.
Title: Re: Crazy and PP's mod bug thread
Post by: Lurker on April 14, 2014, 08:13:05 PM
I am experiencing some flavor of reoccuring bug that keeps shutting down WM on the "Next Week" push, and no obvious solution has presented itself.  Gamelog is attached.

Had this issue myself. For some reason i thought it had something to do with the studio but I cant remember why... I -think- I could go on to the next week after removing all girls from the studio but this was a while ago so yeah.. Can't remeber. Gonna see if i can replicate it.
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on April 14, 2014, 10:14:17 PM
Had this issue myself. For some reason i thought it had something to do with the studio but I cant remember why... I -think- I could go on to the next week after removing all girls from the studio but this was a while ago so yeah.. Can't remeber. Gonna see if i can replicate it.
Thanks for the advice, Lurker, but it didn't take.  I am very interested in what you might come up with, though!  Also, your latest packs have been awesome.
Title: Re: Crazy and PP's mod bug thread
Post by: Otaku_Hanzo on April 14, 2014, 10:48:35 PM
I've been playing a lot lately and looking through the code experimenting with all sorts of stuff. I have yet to get a Next Week crash. Lurker's thoughts on the Studio might not be far off though. The only time the game has ever crashed on me was after Next Week while reading the turn summary and I go to click on the Studio for it's update. Three times in the past two weeks it crashes right there. No indication as to why. I always save now before going through the summary just in case. Other than that, no problems except from my own experimenting and certain issues with the coding in areas that I'm trying to tweak.
Title: Re: Crazy and PP's mod bug thread
Post by: Zangril on April 20, 2014, 11:55:42 AM
I was having Samta warm my bed and I got an error that said #DEBUG# ERROR: She had a loss of -25 gold.  Please report this to the Pink Petal Team.. etc.

I tried it with another girl and it worked fine.
Title: Re: Crazy and PP's mod bug thread
Post by: Zangril on April 20, 2014, 09:40:10 PM
I found another bug. I don't exactly know what happened, but I had sent someone to the dungeon from the studio. She put up a fight and my guards killed her. Her dead body stayed in the studio, but was also in the dungeon. I tried to send someone else to the dungeon and she went on her own, but she was also still in the studio. So, I advance to the next week and about 4 of my girls I had in the studio are missing. So, I didn't save it, I quite the game and loaded it back up, but the girls were still missing. The dead body was still in the dungeon though.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on April 23, 2014, 03:32:39 PM
I was having Samta warm my bed and I got an error that said #DEBUG# ERROR: She had a loss of -25 gold.  Please report this to the Pink Petal Team.. etc.

I tried it with another girl and it worked fine.

I have been looking through the source code from crazys-wm-mod.googlecode.com
This problem is most likely caused by missing brackets in the WorkPersonalBedWarmer.cpp file.
Code: [Select]
else
            {    // corrected missing brackets
                message += "She can't stand the sight of you and demands way more money to lay with you at night.\n\n";
                wages = +250;
            }    // corrected missing brackets
The missing brackets cause the code after it to fail.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on April 23, 2014, 09:21:13 PM
The missing brackets cause the code after it to fail.
Nice catch but still dont seem to fix it.  Thats why I put the if wages drop below 0 that wages = 25 in the code..  My guess is they are playing an older version.  I still can't figure out what cause the actually problem is though.  But with that work around people shouldn't be getting the error
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on April 24, 2014, 11:02:11 AM
Comparing my code and the original, I found I had also moved the disobey check out of the if slave/else check.
Not sure if it was intended to only allow non-slaves to be able to disobey but I would figure the disobey check itself would take that into account?

Also found that if a free girl likes you she gets paid -25 instead of 25 less
Code: [Select]
wages = -25;
changed it to
Code: [Select]
wages -= 25;
as it was she would get paid 50 because of the if(wages < 0) wages = 50; if she liked you and gave you the discount.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on April 24, 2014, 11:13:21 PM
Code: [Select]
wages = -25;
changed it to
Code: [Select]
wages -= 25;
Wow can't belive i missed that all this time..  Higher pay was also messed up but its fixed now thanks.
Comparing my code and the original
What all have u changed?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on April 25, 2014, 03:01:20 PM
I have only been playing with the source code for a few days and have only really done cleanup on it; fixing white space, learning the stats for jobs, finding out how the game handles files, etc.
So far I have only really changed the WorkPersonalBedWarmer.cpp file to correct the problem above.
I also condensed the if(HateLove) sections:
Code: [Select]
    if(girl->m_States&(1<<STATUS_SLAVE))
    {
             if(HateLove < -80)    message += "She hates you more then anything but you own her so she does what she is told.\n\n";
        else if(HateLove < -60)    message += "She hates you but knows she must listen.\n\n";
        else if(HateLove < -40)    message += "She doesn't like you but she is your slave and does what she is told.\n\n";
        else if(HateLove < -20)    message += "She finds you annoying but knows she must listen.\n\n";
        else if(HateLove <  0)    message += "She finds you to be annoying but you own her.\n\n";
        else if(HateLove < 20)    message += "She finds you be a decent master.\n\n";
        else if(HateLove < 40)    message += "She finds you be a good master.\n\n";
        else if(HateLove < 60)    message += "She finds you to be attractive.\n\n";
        else if(HateLove < 80)    message += "She has really strong feelings for you.\n\n";
        else                message += "She loves you more then anything.\n\n";
    }
    else
    {
             if(HateLove < -80)    {wages +=150;    message += "She can't stand the sight of you and demands way more money to lay with you at night.\n\n";}
        else if(HateLove < -60)    {wages +=100;    message += "She don't like you at all and wants more money to lay with you at night .\n\n";}
        else if(HateLove < -40)    {wages += 75;    message += "She doesn't like you so she wants extra for the job.\n\n";}
        else if(HateLove < -20)    {wages += 50;    message += "She finds you annoying so she wants extra for the job.\n\n";}
        else if(HateLove <   0)    {wages += 25;    message += "She finds you to be annoying so she wants extra for the job.\n\n";}
        else if(HateLove <  20)    {            message += "She finds you to be okay.\n\n";}
        else if(HateLove <  40)    {wages -= 20;    message += "She finds you to be nice so she gives you a discount.\n\n";}
        else if(HateLove <  60)    {wages -= 40;    message += "She finds you attractive so she gives you a discount.\n\n";}
        else if(HateLove <  80)    {wages -= 60;    message += "Shes has really strong feelings for you so she lays with you for less money.\n\n";}
        else                {wages -= 80;    message += "She is totally in love with you and doesn't want as much money.\n\n";}
    }


I also have found that in the WorkPersonalTraining.cpp file it also uses the same "roll" to figure both the skill and the gain that essentially makes the result:
Code: [Select]
if (roll <= 15)  SKILL_ORALSEX+5
else if (roll <= 20) SKILL_ORALSEX+4
else if (roll <= 35) SKILL_GROUP+4
else if (roll <= 40) SKILL_GROUP+3
else if (roll <= 55) SKILL_BDSM+3
else if (roll <= 60) SKILL_BDSM+2
else if (roll <= 80) SKILL_ANAL+2
else SKILL_NORMALSEX+2

Making 2 "rolls" would correct this.

In the WorkPersonalBedWarmer.cpp file, the same "roll" controls the DisobeyCheck as well as the {message += "She was horney and she likes you so she ";...} check.



Some things I plan on doing:
Making a folder "Resources\Items" < Done
Moving the "config.xml" file to the root game directory and/or combining it with "ScreenMode.txt"
Consolidating the "Resources\Buttons" and "Resources\Images" folders and/or including the buttons/images in with the individual Interfaces.
Allow for subfolders in "Resources\Characters" for sorting of image types and allowing "girlsx" and "rgirlsx" files to be put into the girl's folder for easier sharing/sorting.
Make the game create the "Saves" folder if it does not exist.
Title: Re: Crazy and PP's mod bug thread
Post by: Zangril on April 26, 2014, 09:59:17 PM
This is the second time it has happened to me. I sent a few girls from the studio to my dungeon, where I sold them and when I click next week the game crashes. But, when I load it back the girls I sent to the dungeon and sold are still at the studio and more than half of the girls I had in the studio are missing.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on April 27, 2014, 02:56:03 AM
I think something is wrong between new locations and a dungeon. For example: i go to the clinic, girl management, slect a girl, open details and click "Send to dungeon". Now that girl is in clinic and in dungeon at the same time. If you release her from the dungeon, she will instead appear in your brothel, and will still be in the clinic.

Don't save a game after doing this, or you will end up with a borked save.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on April 27, 2014, 07:08:27 AM
This is the second time it has happened to me. I sent a few girls from the studio to my dungeon, where I sold them and when I click next week the game crashes. But, when I load it back the girls I sent to the dungeon and sold are still at the studio and more than half of the girls I had in the studio are missing.


Apparently this has been a long time known bug in the game that does not correctly send girls to the dungeon so the following code had been added in cScreenGirlDetails.cpp
Code: [Select]
    if (selected_girl->m_InClinic || selected_girl->m_InMovieStudio || selected_girl->m_InHouse || selected_girl->m_InCentre || selected_girl->m_InArena)
    {
        DisableButton(senddungeon_id, true);
    }

The cause of your problem has to do with game loading.
When the game loads, it does not currently set where the girl is located (m_In...).

If you transfer a girl before you send her to the dungeon it will set where the girl is located thereby removing the "Send To Dungeon" button unless she is in a main brothel, preventing this problem.

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on April 28, 2014, 11:10:49 PM
**Replying to a bug report made in "Complete Game Download" topic**

if u try to use the "next" and "prev" buttons in the studio, house, the arena or the clinic u end up getting the next girl in the brothel u have selected, not the location that u are actually looking at. is that something fixable?
This bug seems to have already been fixed in the source code but has not yet been compiled and released by Crazy.



for some reason the game crashes sometimes when i try to adjust the money spent on promotion for my movie studio, mostly if it´s done the first turn after loading a game.
This bug stems from the game not saving/loading the movie studio settings propperly.
To fix it, I copy/pasted the following code from sBrothel::LoadBrothelXML to sMovieStudio::LoadMovieStudioXML
Code: [Select]
// load variables for sex restrictions
pBrothel->QueryValueAttribute<bool>("RestrictAnal", &m_RestrictAnal);
pBrothel->QueryValueAttribute<bool>("RestrictBDSM", &m_RestrictBDSM);
pBrothel->QueryValueAttribute<bool>("RestrictOral", &m_RestrictOral);
pBrothel->QueryValueAttribute<bool>("RestrictTitty", &m_RestrictTitty);
pBrothel->QueryValueAttribute<bool>("RestrictBeast", &m_RestrictBeast);
pBrothel->QueryValueAttribute<bool>("RestrictGroup", &m_RestrictGroup);
pBrothel->QueryValueAttribute<bool>("RestrictNormal", &m_RestrictNormal);
pBrothel->QueryValueAttribute<bool>("RestrictLesbian", &m_RestrictLesbian);
pBrothel->QueryValueAttribute<unsigned short>("AdvertisingBudget", &m_AdvertisingBudget);
and this from sBrothel::SaveBrothelXML to sMovieStudio::SaveMovieStudioXML
Code: [Select]
// save variables for sex restrictions
pBrothel->SetAttribute("RestrictAnal", m_RestrictAnal);
pBrothel->SetAttribute("RestrictBDSM", m_RestrictBDSM);
pBrothel->SetAttribute("RestrictOral", m_RestrictOral);
pBrothel->SetAttribute("RestrictTitty", m_RestrictTitty);
pBrothel->SetAttribute("RestrictBeast", m_RestrictBeast);
pBrothel->SetAttribute("RestrictGroup", m_RestrictGroup);
pBrothel->SetAttribute("RestrictNormal", m_RestrictNormal);
pBrothel->SetAttribute("RestrictLesbian", m_RestrictLesbian);
pBrothel->SetAttribute("AdvertisingBudget", m_AdvertisingBudget);
(Also need to copy them to arena/center/house/clinic if they use them)
Title: Re: Crazy and PP's mod bug thread
Post by: Otaku_Hanzo on April 29, 2014, 05:54:34 PM
I've encountered an interesting bug I thought I should share. I tried looking through the coding to see if I could fix it but to no avail. It's not game breaking anyway.


Basically when I set a promotional budget for the Studio it resets to 0 every week. Every place other than there holds it's budget from week to week.


Anyway, just thought I'd mention it.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on April 29, 2014, 09:51:56 PM
This bug seems to have already been fixed in the source code but has not yet been compiled and released by Crazy.
Should have been in the last few release actually.
This bug stems from the game not saving/loading the movie studio settings propperly.
To fix it, I copy/pasted the following code from sBrothel::LoadBrothelXML to sMovieStudio::LoadMovieStudioXML
Code: [Select]
// load variables for sex restrictions
pBrothel->QueryValueAttribute<bool>("RestrictAnal", &m_RestrictAnal);
pBrothel->QueryValueAttribute<bool>("RestrictBDSM", &m_RestrictBDSM);
pBrothel->QueryValueAttribute<bool>("RestrictOral", &m_RestrictOral);
pBrothel->QueryValueAttribute<bool>("RestrictTitty", &m_RestrictTitty);
pBrothel->QueryValueAttribute<bool>("RestrictBeast", &m_RestrictBeast);
pBrothel->QueryValueAttribute<bool>("RestrictGroup", &m_RestrictGroup);
pBrothel->QueryValueAttribute<bool>("RestrictNormal", &m_RestrictNormal);
pBrothel->QueryValueAttribute<bool>("RestrictLesbian", &m_RestrictLesbian);
pBrothel->QueryValueAttribute<unsigned short>("AdvertisingBudget", &m_AdvertisingBudget);
and this from sBrothel::SaveBrothelXML to sMovieStudio::SaveMovieStudioXML
Code: [Select]
// save variables for sex restrictions
pBrothel->SetAttribute("RestrictAnal", m_RestrictAnal);
pBrothel->SetAttribute("RestrictBDSM", m_RestrictBDSM);
pBrothel->SetAttribute("RestrictOral", m_RestrictOral);
pBrothel->SetAttribute("RestrictTitty", m_RestrictTitty);
pBrothel->SetAttribute("RestrictBeast", m_RestrictBeast);
pBrothel->SetAttribute("RestrictGroup", m_RestrictGroup);
pBrothel->SetAttribute("RestrictNormal", m_RestrictNormal);
pBrothel->SetAttribute("RestrictLesbian", m_RestrictLesbian);
pBrothel->SetAttribute("AdvertisingBudget", m_AdvertisingBudget);
(Also need to copy them to arena/center/house/clinic if they use them)
Nice got this in and will be in the next patch.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 06, 2014, 06:31:17 PM
I have modified my code to move the items from ".\Resources\Data" to ".\Resources\Items"

InterfaceProcesses.cpp
Code: [Select]
void LoadGameInfoFiles()
{
    DirPath location = DirPath() << "Resources" << "Data";
    DirPath location_i = DirPath() << "Resources" << "Items"; // `J` moved items from Data to Items folder

    FileList fl(location, "*.traits");
    FileList fl_i(location_i, "*.itemsx"); // `J` moved items from Data to Items folder

    for(int i = 0; i < fl.size(); i++) {
        g_Traits.LoadTraits(fl[i].full());
    }
    load_items_temp(fl_i); // `J` moved items from Data to Items folder
}
Tested it a few times and had no problems so far.

The code could probably be simplified by separating the processing of the items from the traits and/or merging it with the load_items_temp function.
I may do that later but for now this change causes the least possibility of errors.



I also modified the damage/healing of constructs to be 10% instead of a max of +/-4
cGirls::UpdateStat
Code: [Select]
        if(HasTrait(girl, "Construct"))
        {
            /*
            if(amount < -4)
            amount = -4;
            else if(amount > 4)
            amount = 4;
            `J` Reworked construct damage/healing to 10% instead of maximum of 4 up or down
            */
            amount = (int)ceil(amount*0.1);
        }
Items should now heal constructs 10% of the items regular healing.
This should also help with healing using the repair shop in the hospital.

(the code for WorkRepairShop.cpp needs to be reworked and a job WorkMechanic.cpp needs to be created.)


I also did a complete rewrite of WorkPersonalTraining.cpp and attached it to this post if anyone wants to check it.
It now takes into account players disposition and if the girl is a virgin as well as trains any of the sex skills and displays how much she learns.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on May 07, 2014, 07:51:30 PM
I also did a complete rewrite of WorkPersonalTraining.cpp and attached it to this post if anyone wants to check it.
It now takes into account players disposition and if the girl is a virgin as well as trains any of the sex skills and displays how much she learns.
Interesting changes there.  I may have went with felling towards the player instead of disposition but what u did is nice.  Set it up to check the sex restrictions and it would be almost perfect.  That way if a person didn't want to train in group or beast or whatever they could just restrict it and it wouldn't do that type.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 07, 2014, 08:25:47 PM
I may have went with felling towards the player instead of disposition
At first I considered doing it with player love/hate/fear but it is set up to say "You decide to ..." so I figured player disposition would be more appropriate.
I could add l/h/f to the chance of accepting but that would really have little noticeable effect on it.


Set it up to check the sex restrictions and it would be almost perfect.  That way if a person didn't want to train in group or beast or whatever they could just restrict it and it wouldn't do that type.
I made the players disposition also take this into account for the most part, Benevolent players will almost never do beast or bdsm while evil players will do much more harsher stuff.
Also, unless you have added it, my sc does not have a brothel management page for the house. If you want the brothel management from the first brothel to control the house, I can do that.


I also considered making it check for a skill that is lower than the average for that girl but that would involve more programming than I am familiar with. So for now it only skips a skill if it is already at 100.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on May 07, 2014, 08:36:31 PM
At first I considered doing it with player love/hate/fear but it is set up to say "You decide to ..." so I figured player disposition would be more appropriate.
I could add l/h/f to the chance of accepting but that would really have little noticeable effect on it.
Ive always set it up with the lovehate type deal but this way may be better then that.  Takes the choice out of the girls and gives it more to the player on if she decides.
I made the players disposition also take this into account for the most part, Benevolent players will almost never do beast or bdsm while evil players will do much more harsher stuff.
Also, unless you have added it, my sc does not have a brothel management page for the house. If you want the brothel management from the first brothel to control the house, I can do that.
I thought house had a brothel management page...  I dont think its a whole seapreate thing its like arena and stuido its just kinda tacked on.  But maybe I forgot to do that part I do that sometimes lol.  If it dont then yeah off the brothel would work fine.
I also considered making it check for a skill that is lower than the average for that girl but that would involve more programming than I am familiar with. So for now it only skips a skill if it is already at 100.
I seen that part it should work well.  After looking that over I think ur probally much better coder then me so idk how to do that either but what u have done works fine i think.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 07, 2014, 09:04:19 PM
After looking that over I think ur probally much better coder then me
I have only been coding in c++ for 2 weeks now.
I can look at code and figure out how it works and how to use it but if I have no reference it takes me longer.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on May 07, 2014, 09:12:05 PM
I have only been coding in c++ for 2 weeks now.
I can look at code and figure out how it works and how to use it but if I have no reference it takes me longer.
Well that is me lol.  Ive been doing it for a few years on this game but its all I have ever tried and Im self taught so I can do somethings but others is beyond me.  So I do what I can to try and make the game better.  Sometimes it works sometimes it dont but atleast Im trying lol.
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on May 09, 2014, 08:27:51 AM
and all I can do is play and try to find bugs...
lately i found that the game tends to crash when u are on the studio page during turn summary and press the "next" button. i asume it tries to change to a brothel that is not linked to the button in that case?
btw, will there be a whole updated client that has the bugs mentioned in this thread fixed? i am absolutely no good at inserting all these hotfixes into the gamecode... =(
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 09, 2014, 09:24:07 AM
I am currently in the process of combining my code into crazy's.
I should have it done by this weekend and then push it to the svn.

Update: done and pushed
Crazy can then check it and compile it.
So hopefully you can have the new and improved version next week. :)


So far the only major changes that you will need to do when changing to the new version will be moving the items from  ".\Resources\Data" to ".\Resources\Items"

I tried to allow for uncorrected spelling changes from older ".girlsx" and ".rgirlsx" to be automatically corrected and ignored
ie. "Incorporial" will be  corrected to "Incorporeal" when the game loads the file.
The file itself will not be corrected and I have not yet added a file I will call "spellcheck_needed.txt" that will tell you where any errors in girl files are. This should complement the existing "gamelog.txt" by showing only things you can fix on your end not in the source code.
Title: Re: Crazy and PP's mod bug thread
Post by: Sorren on May 09, 2014, 09:32:08 PM
I tried to allow for uncorrected spelling changes from older ".girlsx" and ".rgirlsx" to be automatically corrected and ignored
ie. "Incorporial" will be  corrected to "Incorporeal" when the game loads the file.
The file itself will not be corrected and I have not yet added a file I will call "spellcheck_needed.txt" that will tell you where any errors in girl files are. This should complement the existing "gamelog.txt" by showing only things you can fix on your end not in the source code.


Or you could just pester someone who fixes and ports the packs for their own benefit, for instance I've currently got 891 girls in game. No doubt I've a few duplicates over different packs and there's only one that loads the defaults as I haven't hunted down the typo yet, plus I have a few girl packs of my own mingled in with all the stuff others have released. Also been working on expanding and sorting all the images so that the older packs utilise the new image calls and lacking girls got new content now and then as I dive onto the imageboards.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 09, 2014, 11:08:06 PM
I tried to allow for uncorrected spelling changes from older ".girlsx" and ".rgirlsx" to be automatically corrected and ignored
ie. "Incorporial" will be  corrected to "Incorporeal" when the game loads the file.
Well this code failed to work as I intended :(
It would require adding a massive if/then check to make it work the way I wanted but I don't feel like doing that at this time :/



Or you could just pester someone who fixes and ports the packs for their own benefit, for instance I've currently got 891 girls in game. No doubt I've a few duplicates over different packs and there's only one that loads the defaults as I haven't hunted down the typo yet, plus I have a few girl packs of my own mingled in with all the stuff others have released.
I split all girlsx and rgirlsx into 1 girl per file. This made it easy to find duplicates and unmatched girlsx/folders

A great tool for checking your files is Notepad++
With it, I spell checked all my 740 girlsx and 200 rgirlsx files.
Notepad++ can open up to 400 files at a time and can search for and replace text in all opened files so a known misspelling is easy to find and fix.
I also found and moved 30 unmatched folders and 5 unmatched girlsx files out of the game folder until I find the matches.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 10, 2014, 02:55:22 AM
Crazy was having problems compiling with some of my changes so he asked me to compile and upload the new version.
Hopefully this link works

(removed link when newer version was added)
- update 2: with msvcp120d.dll and related files (all are 32bit versions)

There are no girls in the Characters folder, if you need some, there are many available elsewhere on the forums.
The only Interfaces are my "J_1024x768" (tested good) and the base ones (not tested)


The only major change is moving all the ".itemsx" files from ".\Resources\Data" to ".\Resources\Items"
The items I have included with this version are all in "1 item type per file" so they should be easy to find.
Items with the same base name such as "Healing Salve" and "Incense of Serenity" have the (L), (M), (S), (T) all in the same file.
To some items, I added what I call "Other Sellers". These include:
"(This Seller has a full stock but he charges a lot more)" = Unlimited number but twice the price - "Healing Salve" and "Incense of Serenity"
"(This Seller can get more but he charges more)" = More commonly available but twice the price - "Cure for Fairy Dust Addiction" and other cures
Some items I moved from one category to another.
Some items that had variations all with the same name would default to the first variation found when the game was reloaded, so I renamed the variations:
adding spaces, commas or periods for single use items
or (letters) for equipable items

There are a few new and rearranged jobs so be sure to reassign jobs to all girls before hitting the "Next Week" button.
Title: Re: Crazy and PP's mod bug thread
Post by: Sorren on May 10, 2014, 04:03:38 AM
I split all girlsx and rgirlsx into 1 girl per file. This made it easy to find duplicates and unmatched girlsx/folders

A great tool for checking your files is Notepad++
With it, I spell checked all my 740 girlsx and 200 rgirlsx files.
Notepad++ can open up to 400 files at a time and can search for and replace text in all opened files so a known misspelling is easy to find and fix.
I also found and moved 30 unmatched folders and 5 unmatched girlsx files out of the game folder until I find the matches.
I keep the original files, but I use Notepad++  for fixing the traits. Haven't bothered running through all the names yet though, I really should do so I know if I have any orphans.
Title: Re: Crazy and PP's mod bug thread
Post by: Lurker on May 10, 2014, 05:38:47 AM
Crazy was having problems compiling with some of my changes so he asked me to compile and upload the new version.
Hopefully this link works

http://www.fileswap.com/dl/XetbdtAtDO/WhoreMaster.05i.zip.html (http://www.fileswap.com/dl/XetbdtAtDO/WhoreMaster.05i.zip.html)

There are no girls in the Characters folder, if you need some, there are many available elsewhere on the forums.
The only Interfaces are my "J_1024x768" (tested good) and the base ones (not tested)


The only major change is moving all the ".itemsx" files from ".\Resources\Data" to ".\Resources\Items"
The items I have included with this version are all in "1 item type per file" so they should be easy to find.
Items with the same base name such as "Healing Salve" and "Incense of Serenity" have the (L), (M), (S), (T) all in the same file.
To some items, I added what I call "Other Sellers". These include:
"(This Seller has a full stock but he charges a lot more)" = Unlimited number but twice the price - "Healing Salve" and "Incense of Serenity"
"(This Seller can get more but he charges more)" = More commonly available but twice the price - "Cure for Fairy Dust Addiction" and other cures
Some items I moved from one category to another.
Some items that had variations all with the same name would default to the first variation found when the game was reloaded, so I renamed the variations:
adding spaces, commas or periods for single use items
or (letters) for equipable items

There are a few new and rearranged jobs so be sure to reassign jobs to all girls before hitting the "Next Week" button.

Says MSVCP120D.dll is missing when i run the exe.
Nevermind sorted it by installing Visual C++ Redistribitable blablabla...

Nvm again... Still doesnt work...
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on May 10, 2014, 08:05:22 AM
same dll error here...
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 10, 2014, 09:59:19 AM
Sorry about that, Try it again

From now on I will test it on my other computer before uploading an update.
Title: Re: Crazy and PP's mod bug thread
Post by: Lurker on May 10, 2014, 10:23:19 AM
Now i get another error saying i cant start the program correctly (0xc000007b).
>_<
Title: Re: Crazy and PP's mod bug thread
Post by: MrKlaus on May 10, 2014, 10:27:36 AM
Sorry about that, Try it again

From now on I will test it on my other computer before uploading an update.


When lunching the game error pops up, named: WhoreMaster.exe - wrong image.
Error from MSVCP120D.dll, saying that it isn't to be run on Windows or have an internal error. Please reinstal.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 10, 2014, 10:44:17 AM

http://www.fileswap.com/dl/elSyxQIyQS/WhoreMaster.05i.2.zip.html (http://www.fileswap.com/dl/elSyxQIyQS/WhoreMaster.05i.2.zip.html)
- update 2: with msvcp120d.dll and related files (all are 32bit versions)


OK  this time it should work.
Tested on my other computer.
I compiled this on a 64 bit system and accidently copied some 32bit and some 64bit versions of the msvc?120d.dll so they were conflicting.


Just tested it in linux and it works well in wine :)
Title: Re: Crazy and PP's mod bug thread
Post by: MrKlaus on May 10, 2014, 10:59:45 AM
The game is working fine.
Title: Re: Crazy and PP's mod bug thread
Post by: Lurker on May 10, 2014, 11:37:10 AM
Works. Cheers. ^^
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on May 10, 2014, 12:53:19 PM
yay! ;)
the game ran amazingly stable for quite a while today, but somehow i managed to get my safegame borked again...and i don´t know what it was that caused the crash. happened after i assigned the first girls at the towncenter. but i honestly have no idea if that is the reason for the crash or maybe some of the girls i added to the game earlier.


would someone like to have a look in the gamelog file or maybe check the safegame? this game is much too enjoyable to be crashing all the time! :)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 11, 2014, 10:55:09 AM
happened after i assigned the first girls at the towncenter.
I couldn't replicate your problem. What jobs did you assign and to how many girls?

would someone like to have a look in the gamelog file or maybe check the safegame?
If you can upload both I'll take a look at them
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on May 11, 2014, 11:32:01 AM
let me up them somewhere then... probably the safe only, though, i started a new game and thus have a different gamelog, i asume.
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on May 11, 2014, 03:45:02 PM
Out of curiosity, do you (aveojoey) have a changelog of some sort, or anything else that shows what, precisely, was changed?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 11, 2014, 04:06:59 PM
I started a one ("changelog-j.txt") but haven't been very good about keeping up with it :'(


the game ran amazingly stable for quite a while today, but somehow i managed to get my safegame borked again...and i don´t know what it was that caused the crash. happened after i assigned the first girls at the towncenter. but i honestly have no idea if that is the reason for the crash or maybe some of the girls i added to the game earlier.
I found the cause of your problem and am working on a fix.
It is caused because the movies are only supposed to run for 35 weeks and then get removed, however, the counter counts the number of weeks then resets to zero and deletes all movies.
I am fixing it by making each movie track its own weeks then get pulled from the shelves after the 35 weeks.

Fix completed and is in version .05j here:
http://www.pinkpetal.org/index.php?topic=953.msg27445#msg27445 (http://www.pinkpetal.org/index.php?topic=953.msg27445#msg27445)
I also updated and added "changelog-j.txt"
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on May 12, 2014, 06:23:07 AM
great job, thanks for your efforts!


btw, the game does show the right jobs in the girls´ screen now, indeed, but it doesn´t reassign a girl if u change the girl´s job in her screen, at least not during the turn review. not that much of a problem, though. i prefer assigning jobs in the brothel screen, anyway.
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on May 12, 2014, 06:08:10 PM
Hey Crazy:


Still Loving the game with the different paths u can go, couple things I noticed and they are all random.


   1: random crashes when I click the 3rd brothel management screen and Brothel Setup (haven't yet progressed past the 3rd one)


   2: random crashes when I click the weekly summary and I choose studio.


    I have reassigned all jobs like listed but its random unfortunately, but when you restart from  a crash it works and then it becomes random again as you play.


     Just and FYI not sure if u can recreate them or not but I'm sure they are bugs.
P.S. I applaud your creativity and the way the game has turned out, gets quite addictive
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 12, 2014, 08:04:36 PM
If you upload your savegame, I'll take a look at it.
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on May 12, 2014, 09:38:05 PM
Here you go. Hopefully it helps you find bugs.
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on May 13, 2014, 03:35:14 AM
not that i might actually help with fixing the bugs, but about that crash in the brothel screen: it seems that if u open a brothel screen after having visited the studio, the arena or ur house be4 the game displays the screen for the building u have visited be4. i can´t say why, but i have noticed that happening a few times, it´s easiest to notice when u have the advertising budget set differently in all places. might that cause a crash when u try to switch stuff in a screen that doesn´t belong to the brothel u are acutally managing at that time?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 13, 2014, 09:50:49 AM
not that i might actually help with fixing the bugs, but about that crash in the brothel screen: it seems that if u open a brothel screen after having visited the studio, the arena or ur house be4 the game displays the screen for the building u have visited be4. i can´t say why, but i have noticed that happening a few times, it´s easiest to notice when u have the advertising budget set differently in all places. might that cause a crash when u try to switch stuff in a screen that doesn´t belong to the brothel u are acutally managing at that time?
Got it, fixed it, tested it, uploaded it here : http://www.pinkpetal.org/index.php?topic=953.msg27445#msg27445 (http://www.pinkpetal.org/index.php?topic=953.msg27445#msg27445)
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on May 13, 2014, 09:52:45 AM
Thank you for the help I will download it and try it this evening.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 13, 2014, 10:13:17 AM
Thank you for the help I will download it and try it this evening.
I had to reupload the zip, download it again.
Title: Re: Crazy and PP's mod bug thread
Post by: AkiraTepes on May 17, 2014, 01:45:30 PM
I've been hitting a bug where several traits aren't working. Incorporial, Basic Magic, Slow Orgasms, Fast Orgasms, Exhibitionist Lv1, Inhuman Lifespan... that's all for now. It works on some girls and others it doesn't. Could it just be something in the rgirls and girls files?
Title: Re: Crazy and PP's mod bug thread
Post by: Lurker on May 17, 2014, 03:38:22 PM
I've been hitting a bug where several traits aren't working. Incorporial, Basic Magic, Slow Orgasms, Fast Orgasms, Exhibitionist Lv1, Inhuman Lifespan... that's all for now. It works on some girls and others it doesn't. Could it just be something in the rgirls and girls files?

Exhibitionist Lv1, Inhuman Lifespan are leftovers from WMEX. So you are likely using a WMEX girlx file.
Which girls are you having problems with etc?
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on May 24, 2014, 05:23:21 PM
Hey all,




Started playing again with my save game and have redone jobs with all my brothels and studio.


when I tried to give jobs again in studio the job always stays at zero even though I have someone for that job.


Example:  I Gave masturbation to a girl and it stays at zero instead of one, showing that the position is filled




Attached is my save file
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on May 24, 2014, 07:04:00 PM
hey gamo, just give the girls the jobs in the brothel screen of the studio, not in her individual screen. the number of girls doing the job should be shown then.
and as far as i know, even if u select the jobs in the girl´s screen, the job WILL be assigned. u can see that on the brothel screen!
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 24, 2014, 09:53:03 PM
when I tried to give jobs again in studio the job always stays at zero even though I have someone for that job.

If your problem is occurring when you try to change jobs from the girl detail screen, this is a known bug in a recent update.
I am working on fixing that.
The fix for it is in .05m here - http://www.pinkpetal.org/index.php?topic=953.msg27593#msg27593 (http://www.pinkpetal.org/index.php?topic=953.msg27593#msg27593)

If you are having problems on the studio girls list, you must assign a "Camera Mage" and "Crystal Purifier" before assigning any "Film ..." job.




I have found a few bug and fixed them:
 - The buy 20 potions button in the house had the wrong shipping label and the potions were getting delivered to the Centre instead.  For now, only use the buy 10 button in the house.
 - Changed it so number of potions and restock is saved in each building.
These are not game breaking so they can wait until .05n

I am basically rewriting how antipreg potions work.
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on May 25, 2014, 09:18:48 AM
I do have every position filled in the studio acctresses to stage personnel


thank you for the fix i will play this evening and check it out.


Thank you Again
Title: Re: Crazy and PP's mod bug thread
Post by: DancingWind on May 27, 2014, 12:55:46 PM
Hello,
I updated to your 05n.01 build and now my save ctd's on ending week. Here's my save if you could take a look whats wrong.
Also I noticed in previous build that if I mass brand slaves in dungeon and then mass sell them ending week would CTD, but if I mass sell, save, exit, reload no more ctd on week end.

Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on May 27, 2014, 01:41:36 PM
I found a strange bug in 0.5n
If you hire a girl via walk and her rebeliounis is to high she is placed in your dungeon...however if you enter her personal manage list she is handled as if in your brothel, slaves captured in the catacombs or taken from their families are displayed and handled correctly
Title: Re: Crazy and PP's mod bug thread
Post by: Gamo on May 27, 2014, 03:26:01 PM
Hey all


So im having the end week crash again


I have reapplied all jobs and have updated to 5n.1




Thanks again
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 27, 2014, 06:50:04 PM
So im having the end week crash again
I have reapplied all jobs and have updated to 5n.1
You missed reassigning jobs in the house.

I updated to your 05n.01 build and now my save ctd's on ending week. Here's my save if you could take a look whats wrong.
In your save game, you need to reassign the jobs in the clinic and centre and it works properly.

Both your problems led me to the area of the code the problem occurs in so hopefully by the next version this will no longer be an issue.

I found a strange bug in 0.5n
If you hire a girl via walk and her rebeliounis is to high she is placed in your dungeon...however if you enter her personal manage list she is handled as if in your brothel, slaves captured in the catacombs or taken from their families are displayed and handled correctly
and
Also I noticed in previous build that if I mass brand slaves in dungeon and then mass sell them ending week would CTD, but if I mass sell, save, exit, reload no more ctd on week end.
I'll look into it after I sleep.
Title: Re: Crazy and PP's mod bug thread
Post by: Brozita on May 28, 2014, 05:24:38 AM
Hey!

First of all thanks for the patches! They really help a butt ton.


A bug I've noticed is; When you have a girl in your dungeon, and you interact and then go into the force menu, if you then try to press back you will still do one forced action, and it won't take you to the previous menu.


Edit; Another one (I think); Sometimes my girl lose the Broken Will trait, I've noticed it on my Torturer and Matrons, but I'm not sure if it's also happening on the other girls. There is nothing in those two jobs that would make people lose Broken Will is there?
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on May 28, 2014, 07:41:09 AM
Bug in the Clinic:
Asigning a girl to the "Arse Job"
upon completing the summary states the girl gained "Great Figure" Trait, in reality she correctly gains the "Great Arse" trait
Title: Re: Crazy and PP's mod bug thread
Post by: Xelan255 on May 28, 2014, 10:58:23 AM
I've just moved from Version 0.05g to 0.05n, importet all my characters and started a new game. Nice new features so far, but everytime I ask girls in the dungeon for sex or a bondage session the game crashes. Same if I try to force these two options. CMD window shows nothing special, but I wonder why it states "enabling torture". I went straight to interact->ask->bondage session after loading the game.
Bug in the game with my system or could it be caused by something else?
Title: Re: Crazy and PP's mod bug thread
Post by: Brozita on May 28, 2014, 11:41:00 AM
Bug in the game with my system or could it be caused by something else?


If you try uploading your save we can figure out if it's you or your save :)


I just purchased the Studio, but it didn't work until the 3rd time, but I'm now also the proud owner of the Clinic and the Centre. I'm assuming this is a bug.
Edit; I tried to recreate this, first time it only bought the Clinic before I got the Studio, and the 2nd time I got the Studio right away...
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 28, 2014, 12:00:50 PM
I have corrected several of the bugs and updated to .05n.02 here - http://www.pinkpetal.org/index.php?topic=953.msg27623#msg27623 (http://www.pinkpetal.org/index.php?topic=953.msg27623#msg27623)

I just purchased the Studio, but it didn't work until the 3rd time, but I'm now also the proud owner of the Clinic and the Centre. I'm assuming this is a bug.
This bug should have been fixed in version .05k


everytime I ask girls in the dungeon for sex or a bondage session the game crashes. Same if I try to force these two options.
I forgot to include dungeon girls in the antipreg check.
Now the Dungeon uses the same antipreg that the first brothel uses.


Bug in the Clinic:
Asigning a girl to the "Arse Job"
upon completing the summary states the girl gained "Great Figure" Trait, in reality she correctly gains the "Great Arse" trait
Fixed.


edit:
CMD window shows nothing special, but I wonder why it states "enabling torture".
The command window rarely shows anything relevant to crashes.
The "enabling torture" lines are just debug strings.
I have replaced them with "::init: Dungeon" and "Player selecting Dungeon Girl #".
It will be in version .05o.
Title: Re: Crazy and PP's mod bug thread
Post by: Brozita on May 28, 2014, 12:12:09 PM
This bug should have been fixed in version .05k


I was using .05n.01, but going to upgrade it to .02 now.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 29, 2014, 10:15:08 PM
Also I noticed in previous build that if I mass brand slaves in dungeon and then mass sell them ending week would CTD, but if I mass sell, save, exit, reload no more ctd on week end.
Well, This is apparently a long running bug.
It seems to be caused when the game removes the girl from the dungeon list of girls.
When added to the dungeon, the girl is actually still technically in the brothel she was sent from just with the job of "In Dungeon"
When removing the girl, it only deleted her from the dungeon list and left a hole in the brothel girls list where she was.
I added 1 line to the code and it seems to have fixed it.
It will be in version .05o after I finish a few other fixes I'm working on.
As always, this may have some unknown side effects so make a backup of your game before trying .05o.


Also, while finishing the correction of the bug "if girl is assigned a job outside of the building she is in", I found that I had actually broken it in more when I added it to .05n.02.
edit: Well it didn't really "break" it. It checks if the job is not in the building, finds that it is not, sets it to the wrong job and runs the correct code anyway. All it really does is force the girl into the wrong job title and basically says "We gave you the wrong title, here is your corrected wrong title, see you tomorrow with the same wrong title."

.05o will have it fixed and expanded to fix all the buildings.
Title: Re: Crazy and PP's mod bug thread
Post by: hewhocumsbynight on May 30, 2014, 06:20:39 AM
Thank you Joey!  I wish you luck with your bug hunt!
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on May 30, 2014, 12:46:13 PM
Not sure if it's mod-related or a bug hidden in the original source code of WM, but some of my custom made non-random girls get the virgin trait and the "She is a virgin" notification in their stats, while their .girlsx file has specifically that trait untouched in all cases.
If I remove the Virgin trait with its description from CoreTraits.traits and leave an empty line, the trait disappears, but the "She is a virgin" stat remains.
Title: Re: Crazy and PP's mod bug thread
Post by: Sorren on May 30, 2014, 02:26:33 PM
Not sure if it's mod-related or a bug hidden in the original source code of WM, but some of my custom made non-random girls get the virgin trait and the "She is a virgin" notification in their stats, while their .girlsx file has specifically that trait untouched in all cases.
If I remove the Virgin trait with its description from CoreTraits.traits and leave an empty line, the trait disappears, but the "She is a virgin" stat remains.


It could be legacy code, I vaguely recall girls (any kind) without the trait randomly getting it depending on their age and some hidden variable.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on May 30, 2014, 03:25:41 PM

It could be legacy code, I vaguely recall girls (any kind) without the trait randomly getting it depending on their age and some hidden variable.


I suspected as much but I searched the forum and didn't really find anything, so I posted the issue regardless.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 30, 2014, 06:34:49 PM
Not sure if it's mod-related or a bug hidden in the original source code of WM, but some of my custom made non-random girls get the virgin trait and the "She is a virgin" notification in their stats, while their .girlsx file has specifically that trait untouched in all cases.
If I remove the Virgin trait with its description from CoreTraits.traits and leave an empty line, the trait disappears, but the "She is a virgin" stat remains.
It is in the code in a few places.
The "Virgin" Trait is checked but there is also a "Virgin" stat.
Try adding this to the girlx file:
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Girls>
    <Girl
        Name="name"
        Desc="desc"
        Virgin = "0"
1 for is a virgin, 0 for not a virgin.

If the virgin stat is not set, when a girl is loaded and her age is checked, if it is 18 or less, she is set as a virgin.
If she is 19-25, the game averages her sex skills and if they average less than 30, she is a virgin.
Title: Re: Crazy and PP's mod bug thread
Post by: babanathie on May 30, 2014, 08:14:44 PM
I downloaded the SVN version to get an idea of the code.  I'm not an expert in C++, but I do some programming.  Just to see if the project would compile, I attempted to compile and ran into the following error:

1>z:\game projects\brothelmaster (svn)\ crazys-wm-mod\cEditBox.h(31): error C2864: 'cEditBox::m_Hidden' : only static const integral data members can be initialized within a class

I'm not an expert in C++, but I do know that it is some type declaration error in a class that is called a lot.  Is this class, EditBox, just out of date?  Or am I missing something important? 
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on May 30, 2014, 08:51:37 PM
I downloaded the SVN version to get an idea of the code.  I'm not an expert in C++, but I do some programming.  Just to see if the project would compile, I attempted to compile and ran into the following error:

1>z:\game projects\brothelmaster (svn)\ crazys-wm-mod\cEditBox.h(31): error C2864: 'cEditBox::m_Hidden' : only static const integral data members can be initialized within a class

I'm not an expert in C++, but I do know that it is some type declaration error in a class that is called a lot.  Is this class, EditBox, just out of date?  Or am I missing something important? 
What program are you using to compile?
I use VSE2013 and I do not get that error.

Title: Re: Crazy and PP's mod bug thread
Post by: babanathie on May 30, 2014, 09:13:51 PM
I have the free VSE2010 Express...  I just realized that I probably should upgrade...  But my other projects...
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on May 30, 2014, 10:32:38 PM
1>z:\game projects\brothelmaster (svn)\ crazys-wm-mod\cEditBox.h(31): error C2864: 'cEditBox::m_Hidden' : only static const integral data members can be initialized within a class
Its the same problem I have.  Its ur version of VS that is the problem I think u need 2013 to compile it right.
Title: Re: Crazy and PP's mod bug thread
Post by: babanathie on June 01, 2014, 12:40:09 AM
Yeah...  VSE2013 did fix it.  I had an issue with msvcp120d.dll.  I ended up downloading the redistributable from Microsoft and deleting the one in C++ directory.  But, I got it to compile.
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 01, 2014, 04:11:06 AM
Playing with Version 0.5o
after loading my save game from last version (0.5n-2) the Clinic seem to be broken
I reapplied all jobs
after passing the week EVERY Girl (even those that were added after the loaded week) get Tiredness value of either 98/252/254
First I thought it was a one time issue so I edited the values back to 0 as the save was....but even after this the value is changed to either 98/252/254 for all girls in the Clinic every passing week
If some of the girls actually manage to get down to tiredness 0 from resting the next week the values skyrocket again
other Buildings aren't affected

one more thing I noticed is the Arena training
Girls keep training stats they already maxed out (100)
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on June 01, 2014, 08:50:13 AM
It is in the code in a few places.
The "Virgin" Trait is checked but there is also a "Virgin" stat.
Try adding this to the girlx file:
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Girls>
    <Girl
        Name="name"
        Desc="desc"
        Virgin = "0"
1 for is a virgin, 0 for not a virgin.

If the virgin stat is not set, when a girl is loaded and her age is checked, if it is 18 or less, she is set as a virgin.
If she is 19-25, the game averages her sex skills and if they average less than 30, she is a virgin.


Does the line containing " Virgin = "0" " need to be precisely under the description line or can I paste it under the girls anywhere, inluding on the very bottom under the stats (but above traits) ?




EDIT:
Well, I tested it by adding the line on a vast majority of girls in the .girlsx (in the "proper"place - thus under the description as instructed) and it doesn't seem to work.
Your algorithm is right though, only and all of the girls under the age of 25 had the virgin label on them.

Any chance on fixing this in the source code? I imagine it's just a single line somewhere...
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 01, 2014, 11:12:17 AM
after passing the week EVERY Girl (even those that were added after the loaded week) get Tiredness value of either 98/252/254
First I thought it was a one time issue so I edited the values back to 0 as the save was....but even after this the value is changed to either 98/252/254 for all girls in the Clinic every passing week
If some of the girls actually manage to get down to tiredness 0 from resting the next week the values skyrocket again
other Buildings aren't affected
I tried to restore a failed attempt by a previous coder to make a simple natural -2 tiredness similar to the natural +2 health the girls already have.
That didn't work so now I fixed it, hopefully for good.

one more thing I noticed is the Arena training
Girls keep training stats they already maxed out (100)
I reworked WorkCombatTraining a little.
However, the most likely reason your girls are still training their skill while showing it at 100 is that the 100 may include modifiers for weapons and armor.
Take off their items and see if the numbers change.



Does the line containing " Virgin = "0" " need to be precisely under the description line or can I paste it under the girls anywhere, inluding on the very bottom under the stats (but above traits) ?
...
Any chance on fixing this in the source code? I imagine it's just a single line somewhere...
I modified the way "Virgin" is loaded from .girlsx files, specifically yes (1) or no (0)
 - if Virgin="0" or Virgin="1" is added inside the <girl ... > section.
 - if <Trait Name="Virgin" /> is in the traits list then yes.
 - if neither is specified, the game randomly sets virgin status based on age and sex stats.
 - .rgirls still use the <Trait Name="Virgin" Percent="#" />




The fixes are in .05o.01 here - http://www.pinkpetal.org/index.php?topic=953.msg27725#msg27725 (http://www.pinkpetal.org/index.php?topic=953.msg27725#msg27725)

Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 01, 2014, 01:12:17 PM
Well I double checked regardeing the stats in training
A girl with no combat related items already haveing 100% agi, Combat and Magic
Week report states she learned 1st +3 Magic; 2nd +5 Combat
btw useing 0.5o-1

Good thing the tiredness bug was fixed completly
on another note I have 1 Nurse and Doctor
However after reapllying all jobs week summory states that OPs require 4 days and will be reduced if I assign a Nurse
Same week one girl is getting healed her summary states that doctor AND Nurse took care of her
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 01, 2014, 03:33:07 PM
Well I double checked regardeing the stats in training
A girl with no combat related items already haveing 100% agi, Combat and Magic
Week report states she learned 1st +3 Magic; 2nd +5 Combat
Running a few test on this, I found that if a girl had 100 in all 4 stats that can be trained in the arena, it would not train anything (as it should the way it is currently written)
This code currently works as it should but I will rewrite it to make it a little better.

Open your savegame in a text editor and find the girl you are having problems with.
<Magic Value="100" Mod="38" />
The skill's Value is her actual level in it and the Mod is armor+weapon+any other item.




on another note I have 1 Nurse and Doctor
However after reapllying all jobs week summory states that OPs require 4 days and will be reduced if I assign a Nurse
This is the part of the overhaul I did with surgery jobs.
If you only have a Doctor on duty, the surgery will take 5 days. A nurse on duty speeds this up to 3 days.
The first shift of the summary should say "... require 4 days... " and the second shift  "... require 3 days... "
I probably should rewrite that to clarify it a bit.

Same week one girl is getting healed her summary states that doctor AND Nurse took care of her
Yes, the Doctor AND the Nurse both took care of her.
The Doctor did the healing and the Nurses made sure she was comfortable and checked up on her.
1 Doctor is required and one or more Nurses are optional (try it with 3 nurses)
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 01, 2014, 04:48:05 PM
Running a few test on this, I found that if a girl had 100 in all 4 stats that can be trained in the arena, it would not train anything (as it should the way it is currently written)
This code currently works as it should but I will rewrite it to make it a little better.

Open your savegame in a text editor and find the girl you are having problems with.
<Magic Value="100" Mod="38" />
The skill's Value is her actual level in it and the Mod is armor+weapon+any other item.
I see your point, however what I meant is that the girl in question only has 40% constitution, I would have expected that she either trains nothing or concentrates on raising her constitution level
Btw that aplies to atleast 3 random girls in the Arena (most of the others aren't high enough in their stats to be sure)

A suggestion...instead of allowing the girl to keep training if all her stats are 100 (those from training) why not auto apply her to rest job...like you already do in the Clinic (I mean like what happens after your succesfully aplied a "Liposuction" or an "Arse Job", etc.)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 01, 2014, 05:51:44 PM
I see your point, however what I meant is that the girl in question only has 40% constitution, I would have expected that she either trains nothing or concentrates on raising her constitution level
I see what you are saying and it gets me thinking...

I made the check for what is trained go through the list twice in case it fails to choose one the first time.
If all 4 skills/stats are maxed the girl then get sent to resting.


A suggestion...instead of allowing the girl to keep training if all her stats are 100 (those from training) why not auto apply her to rest job...like you already do in the Clinic (I mean like what happens after your succesfully aplied a "Liposuction" or an "Arse Job", etc.)
I considered this and actually finished half of it when I came up with another option.
Traits.
In the normal course of training, instead of training one of the 4 skills/stats, she has a 5% chance of gaining or loosing a trait.
If all 4 skills/stats are maxed, that chance goes up to 20% if she keeps training.

I considered including "Elegant" in the traits for if she can either gain OR loose it:
"Her brutish style of combat has made her less Elegant"
or
"Her deft with the blade is quite Elegant"


The third option would be to have traits added like they are with other jobs, randomly added after the job is done.

edit: For now I have gone with option 1 but have left the start of the trait gain/loss in for later.
They are in version .05o.03 here - http://www.pinkpetal.org/index.php?topic=953.msg27725#msg27725 (http://www.pinkpetal.org/index.php?topic=953.msg27725#msg27725)
Title: Re: Crazy and PP's mod bug thread
Post by: ManjoBanjo on June 01, 2014, 06:01:38 PM
So I started playing WM about 2 or 3 weeks ago and I started encountering the End Week crash a few days ago. I have tried the reassign all jobs, and I also tried some other things like moving slaves to different areas. I will post my save file within this post and hopefully this can be situated. I have had to restart 5 times now, if this bug can't be fixed I may restart again but it would be nice to figure out what is causing the crash specifically.


I am using version 05n.02
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 01, 2014, 06:33:17 PM
So I started playing WM about 2 or 3 weeks ago and I started encountering the End Week crash a few days ago. I have tried the reassign all jobs, and I also tried some other things like moving slaves to different areas. I will post my save file within this post and hopefully this can be situated. I have had to restart 5 times now, if this bug can't be fixed I may restart again but it would be nice to figure out what is causing the crash specifically.


I am using version 05n.02
Your savegame ran fine for me.

1. Delete your gamelog.txt file
2. Run the game again
3. If it crashes again, attach the gamelog.txt file
Title: Re: Crazy and PP's mod bug thread
Post by: ManjoBanjo on June 01, 2014, 07:19:50 PM
Your savegame ran fine for me.

1. Delete your gamelog.txt file
2. Run the game again
3. If it crashes again, attach the gamelog.txt file
It crashed again, I am thinking it might be corrupted images, but I am unsure how to find them. Anyway here is the gamelog that is requested.
Had to put it in a zip since it was 44 KB bigger :/
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 01, 2014, 08:07:37 PM
Rename the "Characters" folder to "Characters.old" and rerun the game.
It will have no pictures but if they are causing the problem it will not crash.

To check what folder is causing the problem:
Start by moving all the girlsx and rgirlsx files from the "Characters.old" folder to "Characters" folder
Run the game and if it doesn't crash
Move a few folders at a time from "Characters.old" to "Characters" running the game each time until you find the bad folder.

Title: Re: Crazy and PP's mod bug thread
Post by: ManjoBanjo on June 01, 2014, 08:12:14 PM
Rename the "Characters" folder to "Characters.old" and rerun the game.
It will have no pictures but if they are causing the problem it will not crash.

To check what folder is causing the problem:
Start by moving all the girlsx and rgirlsx files from the "Characters.old" folder to "Characters" folder
Run the game and if it doesn't crash
Move a few folders at a time from "Characters.old" to "Characters" running the game each time until you find the bad folder.
I don't actually think it is corrupted pictures because my game is crashing without characters. The save just crashes on all version I have tried 05n.o and a few others and the save itself crashes without any characters :/.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 01, 2014, 08:31:36 PM
Then it may be some other files that may be corrupt.
Download and extract the newest version and copy only your save game from your old game to the clean version.
If the clean version does not crash, then copy the Character folder from your old to the clean and try again.
Title: Re: Crazy and PP's mod bug thread
Post by: ManjoBanjo on June 01, 2014, 09:00:09 PM
Then it may be some other files that may be corrupt.
Download and extract the newest version and copy only your save game from your old game to the clean version.
If the clean version does not crash, then copy the Character folder from your old to the clean and try again.


I think my save file is actually corrupt instead. I tried what you just suggested and the game still crashes at next week with the save file, but other files don't crash. I wonder what I did in that save to cause it to start crashing. If it worked for you maybe the save isn't actually corrupt then. I did tests on different version of the game with JUST the save without any characters and the issue still consists.. Maybe something wrong with my computer now that's where I am confused.
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on June 02, 2014, 06:44:34 AM
i just upgraded to the o.3 version.
just skipped two weeks ahead to see if i can produce a crash, works fine so far.
BUT: a whole bunch of my girls get pregnant or inseminated, even though they are on birth control?
and there´s some typing error, either in my savestate or in the game. i get error message for ever orgasm related skill, be it fast, slow, fake, whatever. nothing to crash the game, but it´s annyoing. i will start a new game to doublecheck if it´s related to my savegame, though

Update: must be some template error, probably about the spelling of Orgasm with eiter lower or capital O. get it with a fresh start, too.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 02, 2014, 09:56:56 AM
i just upgraded to the o.3 version.
just skipped two weeks ahead to see if i can produce a crash, works fine so far.
BUT: a whole bunch of my girls get pregnant or inseminated, even though they are on birth control?
and there´s some typing error, either in my savestate or in the game. i get error message for ever orgasm related skill, be it fast, slow, fake, whatever. nothing to crash the game, but it´s annyoing. i will start a new game to doublecheck if it´s related to my savegame, though

Update: must be some template error, probably about the spelling of Orgasm with eiter lower or capital O. get it with a fresh start, too.
When you upgraded, did you only copy the exe from the zip to your game folder?
If so, you must also copy the .\Resources\Data\CoreTraits.traits file. This has the updated trait names.

The first note in yellow at the bottom of the version update post:
* In Version .05n, Anti-Pregnancy potions were completely redone. You will need to restock them before going to the next week to prevent a baby boom.
Double check all your buildings.
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 03, 2014, 02:36:09 PM
Hey...
looks like the Arena training is buggy again...got 2 girls with all combat stats <100...when I try to train them the game auto set them to rest
see attachement for screenshots...since single files are to big a 7zip
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 03, 2014, 08:37:37 PM
Hey...
looks like the Arena training is buggy again...got 2 girls with all combat stats <100...when I try to train them the game auto set them to rest
see attachement for screenshots...since single files are to big a 7zip
Sorry,  I used the wrong method to test the skill level and I forgot to add a confirmation of the job
Fixed and tested a few times.
It is in .05o.06 here - http://www.pinkpetal.org/index.php?topic=953.msg27725#msg27725 (http://www.pinkpetal.org/index.php?topic=953.msg27725#msg27725)
Title: Re: Crazy and PP's mod bug thread
Post by: a3535196 on June 05, 2014, 06:07:55 PM
It seems that girls do not benefit from items which reduce tiredness like the TV & robot. They only reduce tiredness once, which doesn't make sense (2000 gold for 10 tiredness). They should reduce it every turn.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 05, 2014, 09:36:55 PM
It seems that girls do not benefit from items which reduce tiredness like the TV & robot. They only reduce tiredness once, which doesn't make sense (2000 gold for 10 tiredness). They should reduce it every turn.

Well, it was easier than I thought it would be:
Code: [Select]
void cBrothelManager::do_daily_items(sBrothel *brothel, sGirl *girl)
{
    string message = "";

    if (g_Girls.HasItem(girl, gettext("Android, Assistance")) != -1)
    {
        message += "Her Assistance Android swept up and took out the trash for her.\n\n";
        brothel->m_Filthiness -= 5;
    }
    if (g_Girls.HasItem(girl, gettext("Television Set")) != -1)
    {
        message += "At the end of her long day, " + girl->m_Realname + " flopped down in front of her Television Set and relaxed.\n\n";
        girl->tiredness(-3);
    }


    if (message != "")   // only pass the summary if she has any of the items listed
    {
        girl->m_Events.AddMessage(message, IMGTYPE_PROFILE, EVENT_SUMMARY);
    }
}


These and some others will be in .05p.
Added a thread for this - http://www.pinkpetal.org/index.php?topic=3444.0 (http://www.pinkpetal.org/index.php?topic=3444.0)

Because it could be game breaking, some items may not get in for some time.
Title: Re: Crazy and PP's mod bug thread
Post by: a3535196 on June 05, 2014, 11:58:26 PM
The same problem occurred with a very expensive weapon but I forgot its name. Its purchase price was 15k IIRC, and its desc said it "trains" the girl, which should've supposedly increased her attacks every turn. Instead I was disappointed to discover it only raised them when equipped which doesn't justify the price.

These and some others will be in .05p.

When is 0.5p coming out? I've stopped playing 0.5o in anticipation and check the forum twice a day!
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on June 06, 2014, 03:47:02 AM
just a small one: after delivering a baby, the girls don´t seem to pick up their selected jobs again. i get the message they are doing nothing every time. even with a matron on duty. in fact i noticed it when it happened to my matron.... ;)
maybe that "giving them a week off" is interfering with the job selection there?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 06, 2014, 08:30:28 AM
When is 0.5p coming out? I've stopped playing 0.5o in anticipation and check the forum twice a day!
I change version letters when I make large changes and usually on the weekends between 10pm and 2am forum time.
I do sub-number changes to fix bugs or add something small. They can be done at anytime.


For .05p I am working on revamping most jobs.
The Jobs I have already gone through are:
 - Brothel: Explore Catacombs, Beast Capture
 - Arena: Fight Girls, Fight Beasts, Combat Training
 - Clinic: Nurse, Mechanic, (surgery jobs), Healing, Get Repaired
 - Centre: Drug Counselor, Rehab, Community Service, Feed Poor
 - House: Personal Training, Personal Bed Warmer, Recruiter

I am currently working on:
 - Brothel: Barmaid, Piano, Singer, Waitress, Beast Care

When I get more of the jobs done I will be doing .05p


It seems that girls do not benefit from items which reduce tiredness like the TV & robot. They only reduce tiredness once, which doesn't make sense (2000 gold for 10 tiredness). They should reduce it every turn.

If you want to help, start writing some texts for items that the girl keeps and can get benefits from.
Short, single line texts are best because they are all added in the same daily summary box.

Use [girl name] when you want the girls name in the text and [ #-# ] for ranges of numbers.

"While cleaning, [girl name] came across her Appreciation Trophy and smiled."
"[girl name]  managed to sell one of her paintings for [1-30] gold"


I have creating a new thread to let people submit their own items for review and possible inclusion.
 - http://www.pinkpetal.org/index.php?topic=3444.msg27810#msg27810 (http://www.pinkpetal.org/index.php?topic=3444.msg27810#msg27810)
Title: Re: Crazy and PP's mod bug thread
Post by: oldcityguy on June 08, 2014, 11:37:08 AM
Assigning girls to beast capture or exploring catacombs jobs always causes a Next Week crash. I've attached zipped gamelogs for each job. In these games, I gave myself extra starting cash to equip the first reasonable combat flavored girl.
version: .05o.06
I do wonder if I'm using girl file that are not completely compatible. I picked these off the "Restoration of Active Girls List" topic.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on June 08, 2014, 11:43:11 AM
Assigning girls to beast capture or exploring catacombs jobs always causes a Next Week crash. I've attached zipped gamelogs for each job. In these games, I gave myself extra starting cash to equip the first reasonable combat flavored girl.
version: .05o.06
I do wonder if I'm using girl file that are not completely compatible. I picked these off the "Restoration of Active Girls List" topic.
Did it work before this version?  If not ur problem is u dont have any random catacombs girls.  Which is what it sounds like to me.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 08, 2014, 12:43:38 PM
Assigning girls to beast capture or exploring catacombs jobs always causes a Next Week crash. I've attached zipped gamelogs for each job. In these games, I gave myself extra starting cash to equip the first reasonable combat flavored girl.
version: .05o.06
I do wonder if I'm using girl file that are not completely compatible. I picked these off the "Restoration of Active Girls List" topic.
Upload your savegame and I'll test it out.

Rarely would an incompatible girl file cause a crash, it would more likely just throw a few error messages at you.
Title: Re: Crazy and PP's mod bug thread
Post by: oldcityguy on June 08, 2014, 06:03:16 PM
Did it work before this version?  If not ur problem is u dont have any random catacombs girls.  Which is what it sounds like to me.
This the only version I've used. I didn't have any random girls, much less a catacomb girl. I downloaded and installed a random pack with a catacomb girl. It didn't fix the issue.
I've attached a save file.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 08, 2014, 08:09:26 PM
The gamelogs and the savegame you attached are not from the same game


Delete your gamelog file then run your savegame until it crashes
Then zip together the gamelog and savegame into 1 zip file and attach it
Title: Re: Crazy and PP's mod bug thread
Post by: oldcityguy on June 08, 2014, 10:02:09 PM
Here's the gamelog and matching save.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 08, 2014, 11:32:05 PM
Assigning girls to beast capture or exploring catacombs jobs always causes a Next Week crash. I've attached zipped gamelogs for each job. In these games, I gave myself extra starting cash to equip the first reasonable combat flavored girl.
version: .05o.06
I do wonder if I'm using girl file that are not completely compatible. I picked these off the "Restoration of Active Girls List" topic.
Found the problem.
Your game has no "Non-Human Random Girls"
They are needed to make Beast Capture, City Guard, Explore Catacombs, Fight Arena Girls and Fight Beast jobs work.
I am fixing it so if you have no "Non-Human Random Girls", the game will either just give you a minimal reward or pass the fight as a draw.
The job report and the gamelog will include an error report.

It is in .05p here - http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858 (http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858)
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 09, 2014, 08:03:54 AM
Bugs and inconvenient settings in 0.5p
Night and day Jobs are treated and accounted the same, i.e. training combat at day raises participant for 1 (also for night even if the appointed job is a different), same action at night doesn't raise number of participants (if day action is a different) if in girl screen the selected jobs even jumps to free time, in building management job is displayed correctly...if you train at both times its correct again (mainly since the day action counts double)
useing normal training in the brothels seem to work different , the jobs are accounted correctly but when chooseing day action the selection jumps back to free time while the desired job is raised by 1 participant
Clinic:
can't change operations in weekly summary after success message (works in building after weekly summary is closed)
succesful finished operations aren't marked as "warrning" in the weekly summary any longer so you need to check every girl for her traits/stats
Arena:
can't change a girl from training to combat job in weekly summary if she finished with all combat stats at 100 (works in building after weekly summary is closed)
Dungeon:
I like the idea of the details in the new tab, but pls don't make it a "warning", maybe make it an "event" like in the gang management
warnings should be reserved for heavy injury and trait gains/losses

Edit: seems like I misunderstood the job assignment in Clinic and Arena befor...I can change them in weekly summary but the selection always jumps back to "free time" while participant number raises by one on desired job...this is incredible confusing
useing building management:
chooseing night action befor day action selection is correctly displayed...changeing to day action the seletion shows the same as night action eventhough it should be "free time"
Title: Re: Crazy and PP's mod bug thread
Post by: Brozita on June 09, 2014, 09:04:35 AM
I suppose this isn't really a bug, but it's something that's been bothering me for a bit now...


In my experience the Slave Market has a tendency of only selling the same ~10 unique girls. It's even choosing the same girls across saves... And sometimes I've seen multiple copies of the same girl at the same time. Anything that can be done to make the Slave Market more random, and select from all the unique's?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 09, 2014, 12:06:58 PM
Bugs and inconvenient settings in 0.5p
Night and day Jobs are treated and accounted the same, i.e. training combat at day raises participant for 1 (also for night even if the appointed job is a different), same action at night doesn't raise number of participants (if day action is a different) if in girl screen the selected jobs even jumps to free time, in building management job is displayed correctly...if you train at both times its correct again (mainly since the day action counts double)
useing normal training in the brothels seem to work different , the jobs are accounted correctly but when chooseing day action the selection jumps back to free time while the desired job is raised by 1 participant
Not sure exactly what you mean,
please give more detail and examples




Clinic:
succesful finished operations aren't marked as "warrning" in the weekly summary any longer so you need to check every girl for her traits/stats
I am working on making successful rehab and surgeries go green instead of red.
Rehab is green, just need to fix the result text, should have the surgery jobs done either tonight or tomorrow.
Multiday jobs now change their (#) based on if there is a Nurse or Doctor is on duty.
If there is no Doctor on duty it changes to " (?)***" with a note in the job description.

(http://s24.postimg.org/jbshyz2hd/Good_News.jpg) (http://postimg.org/image/jbshyz2hd/)


Dungeon:
I like the idea of the details in the new tab, but pls don't make it a "warning", maybe make it an "event" like in the gang management
warnings should be reserved for heavy injury and trait gains/losses
Easily fixed


Clinic:
can't change operations in weekly summary after success message (works in building after weekly summary is closed)


Arena:
can't change a girl from training to combat job in weekly summary if she finished with all combat stats at 100 (works in building after weekly summary is closed)

Edit: seems like I misunderstood the job assignment in Clinic and Arena befor...I can change them in weekly summary but the selection always jumps back to "free time" while participant number raises by one on desired job...this is incredible confusing
useing building management:
chooseing night action befor day action selection is correctly displayed...changeing to day action the seletion shows the same as night action eventhough it should be "free time"
The special job handler will not let you put a girl into a job that she is either not qualified for or has no need for.
Some jobs are full time jobs so they take both Day and Night slots.
If you change the girl from a full time job to a part time job in one shit, she will get sent to free time for the other shift.

If that is not the problem you are having, please provide more detail.




In my experience the Slave Market has a tendency of only selling the same ~10 unique girls. It's even choosing the same girls across saves... And sometimes I've seen multiple copies of the same girl at the same time. Anything that can be done to make the Slave Market more random, and select from all the unique's?
The non-unique girls are chosen at random from your .rgirlsx files when the Slave Market is opened the first time that day.
I intend to work on the "randomness" of the girls by making it rechoose a new rgirl if that template has already been chosen in the past 8 choices.

The unique girls are chosen somewhat at random from the list of girls at the beginning of your savegame.
If you buy one of these, they are moved to your brothel and removed from that part of the save game.
If you sell or fire a unique girl she is added back to the list so you may be able to get them again.

Either way, the more girls files you have, the less duplicates you should have.
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 09, 2014, 12:27:27 PM
...I'll try...
first the false marker (pictures 1st-3rd)
2nd the jumping selection
I had the slave on combat training and than gave order to fight in the cage
kinda looks like what happens if you try to order a slave with all combat stats @ 100 to train her combat skills...just without a text message
same applies to changeing or applying surgerys
btw the counter for the chosen jobs increase correctly...just that your selection makes a jump..if you don't pay attention it seems like the girl refuses the job applyance and goes to rest while the scedule is planed correctly
...any better?

The special job handler will not let you put a girl into a job that she is either not qualified for or has no need for.
Some jobs are full time jobs so they take both Day and Night slots.
If you change the girl from a full time job to a part time job in one shit, she will get sent to free time for the other shift.

If that is not the problem you are having, please provide more detail.
thats not the problem I tried to change jobs from either resting to training or from training to fight in the cages... so no double shift jobs
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 09, 2014, 01:12:01 PM
...I'll try...
first the false marker (pictures 1st-3rd)
2nd the jumping selection
I had the slave on combat training and than gave order to fight in the cage
kinda looks like what happens if you try to order a slave with all combat stats @ 100 to train her combat skills...just without a text message
same applies to changeing or applying surgerys
btw the counter for the chosen jobs increase correctly...just that your selection makes a jump..if you don't pay attention it seems like the girl refuses the job applyance and goes to rest while the scedule is planed correctly
...any better?
thats not the problem I tried to change jobs from either resting to training or from training to fight in the cages... so no double shift jobs

Ok  I see the problem now

When I was cleaning up some scripts I accidentally changed a piece of code changing day to night.
Fixed it.
Will put .05p.01 either tonight or tomorrow.
Title: Re: Crazy and PP's mod bug thread
Post by: a3535196 on June 09, 2014, 11:27:42 PM
Fixed it.
Will put .05p.01 either tonight or tomorrow.

aevojoey, I noticed you changed the code on google last time without having to wait for the letter to change (from revision 74>75). Could you please keep doing that for small fixes in the future? Or at least post the changed files here so people working on mods like me can fix them without waiting one week?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 10, 2014, 11:23:14 AM
.05p.01 is up here - http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858 (http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858)
The source is up here - https://code.google.com/p/crazys-wm-mod/source/detail?r=76 (https://code.google.com/p/crazys-wm-mod/source/detail?r=76)
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 10, 2014, 04:21:39 PM
first thing I noticed is that Dungeon messages didn't change
the message for being torutred is still a "warning" rather than a neutral info
Title: Re: Crazy and PP's mod bug thread
Post by: dr678diablo on June 13, 2014, 01:16:20 AM
What.... is crashing my game this time o.o It just crashes after i spend a few mins in game.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 13, 2014, 07:33:21 AM
What.... is crashing my game this time o.o It just crashes after i spend a few mins in game.
Without the savegame I can not help you.
The game log is of no use without the matching savegame file.
Title: Re: Crazy and PP's mod bug thread
Post by: testyTom on June 13, 2014, 11:33:21 PM
I have a crash when going to the next week.  .zip of gamelog and savegame below.  I'm using version 5q (also crashed on 5p), girls from the HeWhoCumsByNight pack.  I tested saves from a few turns back, and they now crash, too.  I'm wondering if it was something in 5p?


Just checked, and the same save works in 5o.6.  So perhaps it's something changed in 5p?



Also, not a bug, but a question:  if I just click Girl Management, the list of girls comes up immediately.  But if I sort the girls, hit back, and then choose Girl Management again, my CPU fan spins up, and it hangs for a few seconds before opening.  That's fine, obviously it must be computationally expensive to sort or something.  But if I then click the upper right corner to unsort them, it still takes a long time to open Girl Management.  This persists for the rest of the session.  Is there some way to fix that?  Did something get loaded into memory and now has to be loaded every time I open management or something?


http://www.fileswap.com/dl/T63C5Df1aA/
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 14, 2014, 09:07:59 AM
I have a crash when going to the next week.  .zip of gamelog and savegame below.  I'm using version 5q (also crashed on 5p), girls from the HeWhoCumsByNight pack.  I tested saves from a few turns back, and they now crash, too.  I'm wondering if it was something in 5p?

Just checked, and the same save works in 5o.6.  So perhaps it's something changed in 5p?
The cause of this problem was the "Yesterday" addition in .05p.
The studio handles this differently than the other buildings.
If you own the studio but have no girls there it would crash on a null girl.
Fixed it.
Until I put out .05q.01 just keep at least 1 girl in the studio.


Also, not a bug, but a question:  if I just click Girl Management, the list of girls comes up immediately.  But if I sort the girls, hit back, and then choose Girl Management again, my CPU fan spins up, and it hangs for a few seconds before opening.  That's fine, obviously it must be computationally expensive to sort or something.  But if I then click the upper right corner to unsort them, it still takes a long time to open Girl Management.  This persists for the rest of the session.  Is there some way to fix that?  Did something get loaded into memory and now has to be loaded every time I open management or something?
When you have 240 girls in one building you can expect some lag.
I'll see if I can clean it up a little.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 14, 2014, 10:26:26 AM
I can't give a log or savegame to my crash problem because it's rather rare but it happens since the q release.
When i mark some girls in the dungeon and press torture, sometimes the game crashes with a critical error.
It's never after starting the game, always after i have played a while (at least 45-60 minutes i think)
or let's say after 6-10 game turns, the last game log message states, that one of the tortured girls has won in a fight against my guarding gang.
But even that doesn't seem to be the reason because i have girl escapes against a guarding gang without crash too,
and the message that the playerchar had to restrain her because she beat the gang comes quite often.
It's not really reproducable because it never happens again immediatly after loading the game.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 14, 2014, 12:02:09 PM
The crash happened again (4 turns after i started the game)
Code: [Select]
Saving brothel: Hell
***************** Saving clinics *****************
***************** Saving studios *****************
***************** Saving arenas *****************
***************** Saving centres *****************
***************** Saving houses *****************
Saving brothel: House

cGirlGangFight: random gang index = 0

cGirlGangFight: gang = The Wanderers
GirlGangFight: %    = 21
GirlGangFight: roll = 4
GirlGangFight: girl wins
is the last part of the gamelog (i saved directly before entering the dungeon and again marked all girls who should be tortured
I attach the saved game but as i wrote, it won't happen after loading it.

The girls in my dungeon a changing often, the guarding gang too, i'll torture them one by one now until the error happens again (if it does)

Edit:
I checked gamelog after each torture, it may be that a girl win against a guarding gang is causing it, tried about 100 single tortures now
only girl losses against the guard and no crash until now.

Another small bug in my game at the moment, experience is capped at 255 so no girl can reach more than level 2.

Last Edit:
The crash with torture in the dungeon only happens when i mark more than 1 girl and the first girl wins the fight against the guarding gang
(at least i think it is the first, because i never have messages about tortures before the crash, its always directly after clicking torture)
but according to the gamelog i never had any girls win a fight if i mark them all at once (and it doesn't crash)
so i don't really know if it's the first or any of them

it can happen also directly with the first torture attempt after game start if i'm really unlucky, i had that once
but i never had it with single tortures even if the girl wins the fight.
So its easy to avoid but hard for lazy guys like me, with 30 or more victims in the dungeon and who wants to torture them all (yes i'm evil)
Title: Re: Crazy and PP's mod bug thread
Post by: dr678diablo on June 14, 2014, 08:44:07 PM
Without the savegame I can not help you.
The game log is of no use without the matching savegame file.
sorry i deleted that save file but this save file is crashing in much the same way. Everytime i click girl details it crashes.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 14, 2014, 09:29:07 PM
The crash with torture in the dungeon only happens when i mark more than 1 girl and the first girl wins the fight against the guarding gang
(at least i think it is the first, because i never have messages about tortures before the crash, its always directly after clicking torture)
but according to the gamelog i never had any girls win a fight if i mark them all at once (and it doesn't crash)
so i don't really know if it's the first or any of them

it can happen also directly with the first torture attempt after game start if i'm really unlucky, i had that once
but i never had it with single tortures even if the girl wins the fight.
So its easy to avoid but hard for lazy guys like me, with 30 or more victims in the dungeon and who wants to torture them all (yes i'm evil)
I believe I found and fixed your problem.
It appears to be caused by the game trying to torture a customer who does not exist.


Another small bug in my game at the moment, experience is capped at 255 so no girl can reach more than level 2.
Fixed this too.


Both are in .05q.01 here - http://www.pinkpetal.org/index.php?topic=953.msg27929#msg27929 (http://www.pinkpetal.org/index.php?topic=953.msg27929#msg27929)


sorry i deleted that save file but this save file is crashing in much the same way. Everytime i click girl details it crashes.
I tried your savegame but it did not crash for me.
However I believe the problem is with the new green color and the !!!GOODNEWS!!! message when the girl levels up.
When you update, read the changes in the the message.
* In Version .05p.01, Successful Rehab and Surgeries show green when successful. If you don't use the J_1024x768 interface provided, You will need to edit your .\Resources\Interface\(interfacename)\InterfaceColors.txt or it may crash or not look correct.
   See the notes here for what to change - http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858 (http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858)
Title: Re: Crazy and PP's mod bug thread
Post by: dr678diablo on June 15, 2014, 02:14:28 AM
I think i did that. I changed the interfacecolor text adding lines u said in all 4 folders in the interface folder. I could had done something wrong or be confused. but this crash happened after i finished my weekly report.  also the text boxs are still kinda unreadable with white background and light aqua green text.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 15, 2014, 04:36:31 AM
Nice, thanks for your work.
There is another thing which is possibly a bug.
If i torture girls one by one i have girls who beat the guards and escape even with strong guarding gangs. (one every 50 tortures or so)
If i mark more than one and torture, i don't have girls who escape.
Every other event works fine as far as i see them (temp. gain of masochist trait, heavy beating, girls get badly hurt and so on)
At the moment, its positive, i don't have to set gangs to hunt them down but i don't think it's intended.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 15, 2014, 09:38:44 AM
also the text boxs are still kinda unreadable with white background and light aqua green text.
This is a matter of the settings in your interface.
Look in your .\Resources\Data\config.xml file at the Resolution section:
Code: [Select]
<Resolution
        Resolution          = "J_1024x768"
    />
Whatever is in the quotes is the interface name that you are using.
All interfaces are located in the ".\Resources\Interface\" folder
The one I made and make my changes to is "J_1024x768".
The InterfaceColors.txt is the file that controls the colors of everything.


There is another thing which is possibly a bug.
If i torture girls one by one i have girls who beat the guards and escape even with strong guarding gangs. (one every 50 tortures or so)
If i mark more than one and torture, i don't have girls who escape.
Every other event works fine as far as i see them (temp. gain of masochist trait, heavy beating, girls get badly hurt and so on)
At the moment, its positive, i don't have to set gangs to hunt them down but i don't think it's intended.
I tested this a bit and I did have girls escape a few times doing both single tortures and multi-tortures.
If you click too fast you may miss the escape message when going through a large number of messages.
I will change the message color to red so it stands out a little more.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 15, 2014, 12:59:03 PM
OK, then i was just lucky until now, i usually check the amount of girls on the run in my house every 2-3 weeks so i don't think i would have missed an escape.

Another thing which is a bit hard to explain,
i had 3 cases in the last weeks while i played Whore Master where stats of 100 became 0.
I checked my savegames and as far as i understood it, something changed the modifier value from positive to negative,
at the moment i have such a case so i attach my current save game.
I keep every girl in the dungeon, until obedience is 100 and spirit is low,
then i transfer them to the house for personal training for a while,
one of the girls in the house (Cara Cromwell) has currently obedience of 0
<Obedience Value="0" Mod="-56" /> is in the savegame
while all the other girls there (i checked about 10 of them)
have something like
<Obedience Value="20" Mod="100" /> or
<Obedience Value="20" Mod="70" />  (not 100 because i think the temporary masochist trait from the tortures has run out)

The same happened to me one time with constitution, when one of my arena girls suddenly had constitution of 0
and also Value 0 and Mod something high negative in the save game.

I can't say how long ago the change was or what i may have did in that turn, because i don't check the stats very often
What i do regularly is train constitution through "Interact with" if the con is low, give items which decrease Tiredness (Radicola, Incense, Nightmare Fuel and so on),
sometimes items which increase Love, Hapiness and Libido.

With the case of constitution and arena, i did nothing the past few turns as far as i remember.
Usually i put them in the arena mostly on town guard duty, together with a doctor and leave them alone.

Edit:
I forgot to add, that i'm using not only the standard items, but also Comeback.itemsx
(from http://www.pinkpetal.org/index.php?topic=1227.0 )
i know that at least one of the items is not really working
(the Workout Video Version with Special="AffectsAll")
maybe one of the others from that pack is a problem
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 15, 2014, 03:53:28 PM
i had 3 cases in the last weeks while i played Whore Master where stats of 100 became 0.
I checked my savegames and as far as i understood it, something changed the modifier value from positive to negative,
at the moment i have such a case so i attach my current save game.
I keep every girl in the dungeon, until obedience is 100 and spirit is low,
then i transfer them to the house for personal training for a while,
one of the girls in the house (Cara Cromwell) has currently obedience of 0
<Obedience Value="0" Mod="-56" /> is in the savegame
In the savegame, the Mod number is a temporary modifier usually caused by items.
The Value is the actual number the girl has.
If she had an item that raised the Mod and you removed it, her stat would reflect that.

I'll look into it more.



I forgot to add, that i'm using not only the standard items, but also Comeback.itemsx
(from http://www.pinkpetal.org/index.php?topic=1227.0 (http://www.pinkpetal.org/index.php?topic=1227.0) )
i know that at least one of the items is not really working
(the Workout Video Version with Special="AffectsAll")
maybe one of the others from that pack is a problem
The Special="AffectsAll" does not really work properly sometimes.

Also, I will check and add those items to the game.

edit:
I see what they were trying to do with the workout videos,
The problem is, the game does not handle multiple instances of an item if they all have the exact same name.
I am adding all the items from the Comeback.itemsx file so I will fix this.

Some of the items seem a little overpowered to be so common so I changed a few of them to be either less powerful or have variations with some powerful but rare and some common but less powerful.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 15, 2014, 06:24:54 PM
i remember that i used succubus milk once or twice today but i can't remember which girl got them,
what happens when a girl with obedience 100 (or maybe even more if the display weren't capped at 100)
gets another temporary +100 and what happens when that temporary effect is over?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 15, 2014, 07:02:25 PM
i remember that i used succubus milk once or twice today but i can't remember which girl got them,
what happens when a girl with obedience 100 (or maybe even more if the display weren't capped at 100)
gets another temporary +100 and what happens when that temporary effect is over?
The displayed value of stats and skills is Base + Mod + Temp
So when a temporary effect of an item wears off it should not affect the Base.
Same with the Mod value of an item when it is removed.


.05q.02 is up - http://www.pinkpetal.org/index.php?topic=953.msg27929#msg27929 (http://www.pinkpetal.org/index.php?topic=953.msg27929#msg27929)
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 16, 2014, 08:33:31 AM
A small bug related to pictures in the dungeon summary.
Let's say you have 3 girls in the dungeon A, B and C,
you torture them all and girl C gets masochist and is heavily wounded and gets a warning message.
You go to the dungeon turn summary, girl C is at the top, but if you mark her,
you see the pictures of girl A, which is the first girl in the dungeon list (without extra sorting).
That effect is only happening in the dungeon summary,
house and brothels are fine.
I don't have more buildings in my current game so i don't know about them at the moment.

Screenshot as attachment
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 16, 2014, 09:31:59 AM
i forgot to add, this is only happening when you torture yourself and not letting a torturer do it
and check the results of your tortures after you did them in the summary
(useful if you mark all girls, torture and just klick through the messages very fast and only check in the summary the important events)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 16, 2014, 11:21:46 AM
For future reference, you can edit your own posts with the "Modify" button at the top right so you don't have to create a new post.

A small bug related to pictures in the dungeon summary.
Let's say you have 3 girls in the dungeon A, B and C,
you torture them all and girl C gets masochist and is heavily wounded and gets a warning message.
You go to the dungeon turn summary, girl C is at the top, but if you mark her,
you see the pictures of girl A, which is the first girl in the dungeon list (without extra sorting).
That effect is only happening in the dungeon summary,
house and brothels are fine.
I don't have more buildings in my current game so i don't know about them at the moment.
i forgot to add, this is only happening when you torture yourself and not letting a torturer do it
and check the results of your tortures after you did them in the summary
(useful if you mark all girls, torture and just klick through the messages very fast and only check in the summary the important events)
The turn summary screen was not sorting the dungeon the same way it sorts the other buildings.
I fixed that and it will be in .05q.03



When you start a new turn, the events are cleared, so the summary will only say that she was already tortured that week.
If you check the dungeon after torturing but before hitting the next week, you can see the results of your torture.
However, Runaways are no longer in your dungeon therefore have no summary.
The number of runaways is in your house details page but only as a number, not as a list of the girls... yet.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 16, 2014, 04:12:01 PM
I tried to keep track about what i do and now i have a girl again where obedience switched from 100 to 0 without warning
I attach my save and the girlsx from her (Super Soniko)
I had her in the dungeon until obedience hit 100 and spirit low/near 0
then transfered her to the player house (there she is at the current turn)
all the other stats seem correct (unchanged) to me
The items she has are there since she left the dungeon about 10 turns ago, no items taken away
(Peasant Gown, Lace Lingerie, Wool Slippers, Bauble Necklace, Riding Crop, Stockings, Journal)

I gave her some healing and happiness consumable items after she left the dungeon
and maybe once or twice items to reduce tiredness,
no obedience changing items.
She may have had a temporary masochist trait (definitely no other temporary traits from the dungeon).
Maybe someone has an idea, i'm confused.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 16, 2014, 07:27:49 PM
I attach my save and the girlsx from her (Super Soniko)

"Fairy Dust Addict" is the problem.
It drops obedience by 30 per day if she does not get her drugs.
Send her to rehab.
Title: Re: Crazy and PP's mod bug thread
Post by: Sarav on June 16, 2014, 11:19:33 PM
It seems I may have found a bug with having sex with your own girls. I start a new game buy a bunch of girls and have sex with them, then I quit and when I come back to play later, when I try to have sex with my girls it crashes. I have started a new game several times to see if I could replicate this bug and it happens every time. It seems you can only have sex with your girls the first time you play, if you try to do it after exiting the game and restarting or loading a game it crashes when you try.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 17, 2014, 12:01:36 AM
It seems I may have found a bug with having sex with your own girls. I start a new game buy a bunch of girls and have sex with them, then I quit and when I come back to play later, when I try to have sex with my girls it crashes. I have started a new game several times to see if I could replicate this bug and it happens every time. It seems you can only have sex with your girls the first time you play, if you try to do it after exiting the game and restarting or loading a game it crashes when you try.
I found the problem and fixed it in .05q.04

The game was not properly recording what brothel she was in when the game loaded.
When it tried to check if there were enough antipreg potions, it would not know where to check causing it to crash.
I added the brothel number to the loading of the girl.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 17, 2014, 08:12:17 AM
I'm fairly sure i gave her the cure item many turns ago (can't remember when).
But dungeon seem to have a strange effect on addicted girls, addictions don't affect them while
they are in the dungeon, i forgot the cure once with a girl and wondered why her happiness was to 0 shortly
after i took her out. During her 10-15 weeks the only happiness drops were through torture and the dungeon itself.

Is it possible that giving a girl in the dungeon a cure doesn't disable the effect which drops obedience?
If thats the case i just avoid cures in dungeons and give them to the girls before i send them there
or after i take them out again.
Or maybe switch to using rehab as soon as i have my Centre up and running instead of the cure items.

And is one of the drugs affecting constitution in the same way?
Because then i know why my arena girl
had the constitution problem a few weeks ago.

Edit: And again, no addiction with this girl now, not in the original girlsx file, not during gameplay,
no special items

The only thing all of them have in common is the "personal training" job in the player house.
None of the girls in other houses/jobs or in the dungeon had that problem until now.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 18, 2014, 05:59:22 PM
Here are the only ways in the code that obedience can be lowered without using items on the girl.


Girls addicted to drugs loose 30 obedience each week.
These traits, when lost, can lower obedience: Meek-20, Mind Fucked-100, Dependant-50, Masochist-30, Lolita-5, Nervous-10
These traits, when gained, can lower obedience: Iron Will-90, Manly-10, Tsundere-10, Queen-15, Princess-5
If a girl is raped by a customer -10
If a girl on security duty gets defeated -10


I can find no other reason your girls could be loosing obedience.
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 19, 2014, 01:57:52 PM
playing 0.5r
reaplied all jobs in Center, Studios, Clinic, House and Arena

Bug: when assigning a doctore and ground keepers to the Arena they will only be asigned until you hit next week, the summary will inform you the girls are not assigned to any jobs....proof check after closeing summary states all girls as "free time"...tried it for several weeks now always reapllying the asignemt so I doubt it's a temporal issue
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 19, 2014, 08:25:19 PM
playing 0.5r
reaplied all jobs in Center, Studios, Clinic, House and Arena

Bug: when assigning a doctore and ground keepers to the Arena they will only be asigned until you hit next week, the summary will inform you the girls are not assigned to any jobs....proof check after closeing summary states all girls as "free time"...tried it for several weeks now always reapllying the asignemt so I doubt it's a temporal issue
When the arena jobs were split into Arena and Arena Staff, the code to fix the "Job is not in this building" bug was not updated.
I got it fixed and will get it out as soon as I check a few other things.
Title: Re: Crazy and PP's mod bug thread
Post by: Brozita on June 20, 2014, 09:27:49 AM
In version .05r.


While in the gallery - Attempting to view pregnancy pictures displays BDSM pictures.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 20, 2014, 11:07:03 AM
While in the gallery - Attempting to view pregnancy pictures displays BDSM pictures.
When I added pregnancy versions for all image types, I used the old pregnant number for the new torture number.

I have changed the gallery to check what image type to look for based on IMGTYPE instead of a set number.
I am now updating the image handling to allow every image type to be displayed properly.

In time, I will change the gallery from a button style to a list box style that will let you see how many of each type of image the girl has before choosing that type.
For now the W, S, UpArrow and DownArrow keys cycle through all image types that have at least 1 image.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 20, 2014, 12:07:58 PM
Here are the only ways in the code that obedience can be lowered without using items on the girl.


Girls addicted to drugs loose 30 obedience each week.
These traits, when lost, can lower obedience: Meek-20, Mind Fucked-100, Dependant-50, Masochist-30, Lolita-5, Nervous-10
These traits, when gained, can lower obedience: Iron Will-90, Manly-10, Tsundere-10, Queen-15, Princess-5
If a girl is raped by a customer -10
If a girl on security duty gets defeated -10


I can find no other reason your girls could be loosing obedience.

Nope, no changes in traits, no items taken away or added, no addictions
just sometimes when the obedience modifier reaches 100 it decides to become -9x in the next turn
(-100 + the change from the current turn)
when it would go above 100 if that were possible

lets say i take a girl who really hates me out of the dungeon (after 30 weeks there, they do hate you)
but who has obedience modifier close to 100 because of torture
then hate decreases and love increases over the next 50-60 turns in the player house
there is a small chance, that this bug happens (when love gets close to true love state or reaches it)

well this bug is quite rare and easy to fix, i just edit savegame and delete the -
so it's not really important
searching for the cause of it will take much more time than the 30 sek savegame editing every few days with the workaround
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 21, 2014, 01:10:21 AM
Nope, no changes in traits, no items taken away or added, no addictions
just sometimes when the obedience modifier reaches 100 it decides to become -9x in the next turn
(-100 + the change from the current turn)
when it would go above 100 if that were possible

lets say i take a girl who really hates me out of the dungeon (after 30 weeks there, they do hate you)
but who has obedience modifier close to 100 because of torture
then hate decreases and love increases over the next 50-60 turns in the player house
there is a small chance, that this bug happens (when love gets close to true love state or reaches it)

well this bug is quite rare and easy to fix, i just edit savegame and delete the -
so it's not really important
searching for the cause of it will take much more time than the 30 sek savegame editing every few days with the workaround
Well I may have found the problem.
I changed some of the code to no longer use the "Mod" for stat/skill.
If the game was saving the stat/skill changes as a "Mod" value instead of an actual value, when an item is added or removed that affects that stat/skill, the "Mod" is recalculated, removing the previous number.

If this fixes your problem, good.
If not, chalk it up to "Women can be temperamental and their mood changes for no reason."


It is in .05r.01 here - http://www.pinkpetal.org/index.php?topic=953.msg28037#msg28037 (http://www.pinkpetal.org/index.php?topic=953.msg28037#msg28037)
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on June 21, 2014, 05:15:07 AM
Harr, yes need more whips for the more temperamental ones then.
I start a new game and see what happens,
thanks for your work.
Title: Re: Crazy and PP's mod bug thread
Post by: oldcityguy on June 27, 2014, 05:21:59 PM
I'm getting a CTD when scrolling through the Consumables list. It occurrs when the "Major Tome of Genius" appears at the bottom of the list. I tried selling off every thing that is before the "Major Tome of Genius", but it didn't help.
Version .05.r.02
Save game and log file attached
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 27, 2014, 09:23:51 PM
I'm getting a CTD when scrolling through the Consumables list. It occurs when the "Major Tome of Genius" appears at the bottom of the list. I tried selling off every thing that is before the "Major Tome of Genius", but it didn't help.
Version .05.r.02
Save game and log file attached
This crash is caused by the additional item rarity options added a while back.
They were never used until I changed a few powerful items to rarity Catacomb05 and Catacomb01
They did not have a display color assigned to them so it crashed.

In your config.xml, go to the <Items ... > section and add the 2 new colors, RarityColor7 and RarityColor8:
Code: [Select]
<Items
        AutoCombatEquip    = "true"
        RarityColor0    = "#000000"
        RarityColor1    = "#000066"
        RarityColor2    = "#0000cc"
        RarityColor3    = "#0066ff"
        RarityColor4    = "#8f0000"
        RarityColor5    = "#00ff00"
        RarityColor6    = "#008f00"
        RarityColor7    = "#800000"
        RarityColor8    = "#b00000"
/>
Set the hex colors to whatever works with your other colors.


Or you can move or edit the items that have the new Catacomb05 or Catacomb01:
Golden Cookie.itemsx, Perfection.itemsx, Marae's Pearl.itemsx


The corrected code will be in the next version
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on June 28, 2014, 07:52:35 AM
I just had a game crash with the latest version 05s.

Following happened:
I've got a normal girl which was a virgin and she was directly put into the house by the program.
The orders I gave to her : At day she had free and at night she should be  personal trained.
Pushed the button next week.
The first thing I was wandering about was that at
first a message came on the screen "She's gotten pregnant"  Without any picture behind So I didn't know to whom these message belongs.
So I started the turn summary and had a look at the girls into the brothel. But there was nothing red, no warning.
Switched over to the house and there I saw the red message. The girl  was the only one in the house.
I went through the messages and after I read the night message in which her owner decided that she will loose her virginity I clicked on the red Message
Then the game crashed.
The girl had the virgin="1" as well as the trait "virgin"
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 28, 2014, 09:39:15 AM
I just had a game crash with the latest version 05s.
...
first a message came on the screen "She's gotten pregnant"  Without any picture behind
...
Then the game crashed.
This crash is caused by the default images being added back into the game improperly.
When I added them back I used
Code: [Select]
    if (girl->is_pregnant() && m_DefImages->m_Images[ImgType + PREG_OFFSET].m_NumImages)
Instead of
Code: [Select]
    if (girl->is_pregnant() && ImgType != IMGTYPE_PREGNANT && m_DefImages->m_Images[ImgType + PREG_OFFSET].m_NumImages)
so the IMGTYPE_PREGNANT was loading as IMGTYPE_PREGNANT + PREG_OFFSET

Fixing it in .05s.01
Title: Re: Crazy and PP's mod bug thread
Post by: Brozita on June 28, 2014, 02:44:18 PM
On 05s.01.


I've found girl in the slave market as young as 15.


Daughters of girl are still 18.


Edit; Added another picture, sorry for the size I had to make it smaller to fit within the limits.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 28, 2014, 04:48:46 PM
On 05s.01.
I've found girl in the slave market as young as 15.
Daughters of girl are still 18.
When I moved the virginity check into its own function it didn't properly flow the age change through to rgirls
Fixed it, reuploaded .05s.01
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on June 29, 2014, 01:06:03 PM
Just noticed that my normal preg*.* pics aren't loaded any more for all my girls...I know you changed the code abit but didn't you say the old name format/pics shuld still be displayed?
btw the girls gallery ingame show pregnancy pics...but they won't replace the profile pictures dureing pregnancy anymore
preg sex in all variants...if avaiable...are shown though

And yes ever since you updated I didn't knock up girls where I knew pregnancy pics existed...but now I did^^
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 29, 2014, 02:25:08 PM
Just noticed that my normal preg*.* pics aren't loaded any more for all my girls...I know you changed the code abit but didn't you say the old name format/pics shuld still be displayed?
btw the girls gallery ingame show pregnancy pics...but they won't replace the profile pictures dureing pregnancy anymore
preg sex in all variants...if avaiable...are shown though

And yes ever since you updated I didn't knock up girls where I knew pregnancy pics existed...but now I did^^
The problem was that for IMGTYPE_PROFILE, the changed code was looking for IMGTYPE_PREGPROFILE instead of passing IMGTYPE_PREGNANT
Fixed in .05s.02 so that if there are no IMGTYPE_PREGPROFILE then it looks for IMGTYPE_PREGNANT
Title: Re: Crazy and PP's mod bug thread
Post by: Claytod on June 29, 2014, 06:31:22 PM
Hey, a long time lurker here. I'm running into the problem of the menu not showing up when I start the game. Can someone tell me how to fix this. I don't run the latest version right now, but I tried it and it still didn't work.
EDIT: After a bit of tinkering I figured it out, just had to switch some stuff in the "Interface" folder.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on June 29, 2014, 08:15:02 PM
Hey, a long time lurker here. I'm running into the problem of the menu not showing up when I start the game. Can someone tell me how to fix this. I don't run the latest version right now, but I tried it and it still didn't work.
Unzip the newest version and try running the game directly from the unzipped folder without moving any of your old stuff into it.
If it runs from the clean folder, start moving things over from your old folder to the clean one a little at a time, testing after you move it.

If the problem is in the interface you use, compare the J_1024x768 interface in the new version with your interface.
There have been some changes in the interface that may be causing it not to show up.


Title: Re: Crazy and PP's mod bug thread
Post by: Drugas on July 05, 2014, 04:22:05 PM
The Current SVN "Rev90" has line 1207 of cGirls.cpp
Code: [Select]
    if (current->m_YourDaughter == 0)    AddTrait(newGirl, "Your Daughter");
This seems to be a check against the new YourDaughter Status, which is then adding the trait for 0. 0 in this instance means false or no, I believe.
I think it was an accident, since right above it's checking the same kind of check, but it's a human check, and adding "not human". That would mean this would have to be "not daughter".

This explains why I kept having the slave market propagated by my daughters. For some odd reason, this didn't make every single one to be out that way, but a random amount. I don't know why.

Switching the 0 to a 1 eliminates the random daughters.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 05, 2014, 10:21:24 PM
The Current SVN "Rev90" has line 1207 of cGirls.cpp
Code: [Select]
    if (current->m_YourDaughter == 0)    AddTrait(newGirl, "Your Daughter");
This seems to be a check against the new YourDaughter Status, which is then adding the trait for 0. 0 in this instance means false or no, I believe.
I think it was an accident, since right above it's checking the same kind of check, but it's a human check, and adding "not human". That would mean this would have to be "not daughter".

This explains why I kept having the slave market propagated by my daughters. For some odd reason, this didn't make every single one to be out that way, but a random amount. I don't know why.

Switching the 0 to a 1 eliminates the random daughters.
Fixed this and it is in .05s.03.
Title: Re: Crazy and PP's mod bug thread
Post by: Claytod on July 05, 2014, 10:36:46 PM
Hello again. I have another question about a annoying bug i'm running into. There a a few girls from packs i downloaded that won't show up in the game. It's not in the packs' fault, because some do work. What's also weird about my game is that girls are showing up that used have .girlx files, but no longer do. Can someone tell me what's going on?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 05, 2014, 11:49:41 PM
There a a few girls from packs i downloaded that won't show up in the game. It's not in the packs' fault, because some do work.
If the girls name does not exactly match the image folder's name, the images will not load.
If a girl has a status of "Catacombs" they can only be acquired from the catacombs.
If a girl has a status of "Arena" they can only be acquired from the arena.
If the (r)girlsx file is corrupt, they may not load properly and thus not be in the game.

What's also weird about my game is that girls are showing up that used have .girlx files, but no longer do. Can someone tell me what's going on?
When you first create a new game, it loads every girlsx file it finds and stores it in the savegame file.
If you later remove the girls image folder, the game still has the girl in the savegame so it will display the default images if there are any.
Title: Re: Crazy and PP's mod bug thread
Post by: Claytod on July 06, 2014, 01:38:09 AM
If the girls name does not exactly match the image folder's name, the images will not load.
If a girl has a status of "Catacombs" they can only be acquired from the catacombs.
If a girl has a status of "Arena" they can only be acquired from the arena.
If the (r)girlsx file is corrupt, they may not load properly and thus not be in the game.
Thanks for answering those questions. Is there anyway to know if the file is corrupt, because it looks fine to me?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 06, 2014, 09:17:45 AM
Thanks for answering those questions. Is there anyway to know if the file is corrupt, because it looks fine to me?
Load it into the editor.
If the (r)girlsx file is corrupt, it will either:
 - tell you where the error is,
 - crash the editor,
 - not show up in the list
 - or get fixed.

The newest version of the editor is included in .05s.03 in the "Docs&Tools\Character & Item Editor\" folder
or you can get it here - http://www.pinkpetal.org/index.php?topic=3456.0 (http://www.pinkpetal.org/index.php?topic=3456.0)
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on July 06, 2014, 12:52:57 PM
Dunno, maybe something is wrong in my save(it's the one i keep playing from before your patching), but anyway...
Bad things that happen to my game:
1) man in my gangs started dieing faster then i recruit new. Gangs at around 90% all stats.
2) girls get pwned all the time in the catacombs and patrols, despite having all the battle stats, maxed out in all the ways.
3) girls constantly assaulted even though i have over 20k security rating
4) no turn summary appears: i get income info, territory events, broke customers, then summary screen with nothing in it.
edit: if i close the summary and open it with the button, information appears, but that's still suspicious.

5) girls in the brothel being unassigned by matron, and not assigned back(oh man, this one drives me crazy).
6) Some girls marked green in the turn summary have nothing special in their day logs. Dunno why are those marked green.
7) Some girls with green status have a green log entry and a regular one with identical text in both.(i think this happens when girl gains a level and a trait)
8) I saw girls gaining levels while doing nothing. Dunno if it's intended or not, but looked strange.
9) Some slave girls working at customer service can get paid  ~1500 gold for serving 5 customers. Hey, know your place sluts.

that's on v05s.03.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 06, 2014, 01:46:39 PM
Dunno, maybe something is wrong in my save(it's the one i keep playing from before your patching), but anyway...
Attach your savegame and gamelog.txt
I will take a look at them.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on July 06, 2014, 04:16:49 PM
Here.
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on July 06, 2014, 05:20:09 PM
Ever since Version 0.5s-2 I get game crashes on hitting next week
Updated to Version 0.5s-3 but bug persists

save game and log ziped and attached
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on July 06, 2014, 11:53:40 PM
Everytime i edit the conig-data via the editor i cant start the game ... it crashes everytime before i can see anything
if i restore or redownload the whoremaster .03  and start it again ir gives no problems.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 07, 2014, 12:11:15 AM
Dunno, maybe something is wrong in my save(it's the one i keep playing from before your patching), but anyway...
Bad things that happen to my game:
1) man in my gangs started dieing faster then i recruit new. Gangs at around 90% all stats.
2) girls get pwned all the time in the catacombs and patrols, despite having all the battle stats, maxed out in all the ways.
This is a problem having to do with your rgirlsx files if you have any who have the Incorporeal trait.
If the game randomly chooses one of them as your opponent, they will always win (or tie with another incorporeal girl).

Also, The stock of Potions for gangs is all they get for that turn.
If they run out before the start of the next turn, they can not heal.
Buy more potions and they will survive longer.
Restocking is done as the very last thing before finishing the turn summary.

3) girls constantly assaulted even though i have over 20k security rating
I am rewriting the m_SecurityLevel.
It is extremely overpowered.
Your bug will be corrected.

edit:
 - m_SecurityLevel now drops by (10 + 1 per girl in that brothel) per day instead of a flat 30 per day
 - Each attempted attack on the girls now lowers m_SecurityLevel by 5 per attacker instead of 1 per.
 - m_SecurityLevel now actually stops the attacks from happening most of the time if there is a gang or girl working security (it was just passing failed attempts before)
Code: [Select]
    int SecLev = Brothl->m_SecurityLevel, OrgNumMem = enemy_gang->m_Num;
    int p_seclev = 95 + (SecLev / 2000);  if (p_seclev > 99) p_seclev = 99;
    if (SecLev > OrgNumMem * 5 && g_Dice.percent(p_seclev) &&
        (g_Brothels.GetNumGirlsOnJob(GirlsBrothelNo, JOB_SECURITY, day_night == SHIFT_DAY) > 0 ||
        g_Gangs.gangs_on_mission(MISS_GUARDING).size() > 0))
        return true;
- If they are not stopped entirely, they lower m_SecurityLevel an additional -5 per surviving attacker.
So having some security is important, But having too much can be bad:
 - If m_SecurityLevel is below 2000 then it is good.
 - If m_SecurityLevel is higher than 2000 then you start scaring away customers.
Code: [Select]
    // `J` Too much security will scare away customers
    int ScareCustomers = int(brothel->m_SecurityLevel / 500);
    ScareCustomers -= 4;    // less security could attract more customers (for good or bad)
    if (ScareCustomers < 0) ScareCustomers = (g_Dice%3) * -1;
    if (ScareCustomers > 10) ScareCustomers += g_Dice%ScareCustomers;
    m_NumCustomers -= ScareCustomers;

    if (ScareCustomers < 0)
        ss << gettext("Your nonintrusive security attracted ") << -ScareCustomers << gettext(" ") << (DayNight == 0 ? gettext("daytime") : gettext("nighttime")) << gettext(" customers. (for better or worse)");
    else if (ScareCustomers == 0)
        ss << gettext("Your brothel was safe and secure, so you didn't lose any ") << (DayNight == 0 ? gettext("daytime") : gettext("nighttime")) << gettext(" customers due to excessive security.");
    else if (ScareCustomers < 10)
        ss << gettext("You lost ") << ScareCustomers << gettext(" ") << (DayNight == 0 ? gettext("daytime") : gettext("nighttime")) << gettext(" customers due to the excessive security in your brothel.");
    else
        ss << gettext("You lost ") << ScareCustomers << gettext(" ") << (DayNight == 0 ? gettext("daytime") : gettext("nighttime")) << gettext(" customers due to the oppressive security in your brothel.");

4) no turn summary appears: i get income info, territory events, broke customers, then summary screen with nothing in it.
edit: if i close the summary and open it with the button, information appears, but that's still suspicious.
This is caused by one of the scripts.
Not sure what script but I will check them tomorrow.

5) girls in the brothel being unassigned by matron, and not assigned back(oh man, this one drives me crazy).
Looking into this

6) Some girls marked green in the turn summary have nothing special in their day logs. Dunno why are those marked green.
 8) I saw girls gaining levels while doing nothing. Dunno if it's intended or not, but looked strange.
Sometimes you have to scroll down to see the green message.
Girls only level up at the end of the shift.
If they gained enough xp to level up outside their shift, they will level up the next turn shift.

Edit:
The Green but no Green problem may be caused because you may have 2 girls with the same name and the green is being misplaced between them.

7) Some girls with green status have a green log entry and a regular one with identical text in both.(i think this happens when girl gains a level and a trait)
Easily fixed.

9) Some slave girls working at customer service can get paid  ~1500 gold for serving 5 customers. Hey, know your place sluts.
All jobs are getting looked at so this will be checked again after Crazy pushes his changes.



Ever since Version 0.5s-2 I get game crashes on hitting next week
Updated to Version 0.5s-3 but bug persists
I am not getting any crashes from your game.
What version were you using before you upgraded to .05s.02?
If you were using a version before .05p, then your crash is probably caused by the green turn summary.
See http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858 (http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858)



Everytime i edit the conig-data via the editor i cant start the game ... it crashes everytime before i can see anything
if i restore or redownload the whoremaster .03  and start it again ir gives no problems.
I have not gotten to the Config page of the WME yet.
I have only done the Girls and RGirls pages so far.
It will not fully work for the Items or the Config yet.
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on July 07, 2014, 01:04:23 AM
thanks for the fast answer =) .... and hopefully the next guys wont do the same mistake as me =)
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on July 07, 2014, 03:03:36 AM
Quote
6) Some girls marked green in the turn summary have nothing special in their day logs. Dunno why are those marked green.

If you have two girls with the same name (can happen with 2 randomgirls or one special girl and one random girl)
then the end turn messages for both are messed up.
You see the messages of one girl for both of them, so the green color might be correct
but you don't see the message of this girl but of the other girl with the same name
which has nothing special this turn

My own workaround for this was, editing the savegame, looking for both girls and rename one of them.
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on July 07, 2014, 03:50:58 PM

I am not getting any crashes from your game.
What version were you using before you upgraded to .05s.02?
If you were using a version before .05p, then your crash is probably caused by the green turn summary.
See http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858 (http://www.pinkpetal.org/index.php?topic=953.msg27858#msg27858)
Thats strange...no I am updateing regulary so befor was version 0.5s-1
Always get the windows error c0000005 (Win7 x64)...I can start a new game and advance a few weeks without problems...its just that if I hit next week in the save game I get the crash
Title: Re: Crazy and PP's mod bug thread
Post by: Liathano on July 11, 2014, 09:59:23 PM
Not entirely sure what's going on. But as of .05s.04, Brothel Prohibit options no longer function correctly.


In my previous versions I had always started a second Brothel called 'Virgin', where I'd stick all the Virgin girls. In the Club Options I'd disable all sex acts except for Anal, Lesbian, Oral, Titty and Handjob. The upside to doing this is you get the 20 gold virgin tip for every single customer.


I've noticed as of .05s.04 however the girls would immediately lose their virgin tags. Looking further into this I've discovered that there are numerous customers who get an untagged and no description sex act which removes Virgin tag. The entry usually goes as follows.


'<Customer choice reason>
<Girls name> <Blank space where sex description should be>
<Customer reaction>
<Girl Libido>
<Tip>'


The imagine for this blank sex act is the 'Normal Sex' Image.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 12, 2014, 12:11:58 AM
Not entirely sure what's going on. But as of .05s.04, Brothel Prohibit options no longer function correctly.


In my previous versions I had always started a second Brothel called 'Virgin', where I'd stick all the Virgin girls. In the Club Options I'd disable all sex acts except for Anal, Lesbian, Oral, Titty and Handjob. The upside to doing this is you get the 20 gold virgin tip for every single customer.


I've noticed as of .05s.04 however the girls would immediately lose their virgin tags. Looking further into this I've discovered that there are numerous customers who get an untagged and no description sex act which removes Virgin tag. The entry usually goes as follows.


'<Customer choice reason>
<Girls name> <Blank space where sex description should be>
<Customer reaction>
<Girl Libido>
<Tip>'


The imagine for this blank sex act is the 'Normal Sex' Image.
This problem is caused by the Strip sex type not being included in the "girlfucks" function.

I will add it to the code with place holder texts.
If anyone can write a few texts for:
 - the different skill_strip levels [<20, <40, <60 and <80],
 - the GetRandomStripString() function,
 - 'if inexperienced then will get hurt' text
I will add them in later.

Title: Re: Crazy and PP's mod bug thread
Post by: Drugas on July 12, 2014, 06:42:10 AM
doesn't workbarstripper.cpp have what you want?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 12, 2014, 03:44:48 PM
doesn't workbarstripper.cpp have what you want?
No, That has text for working the pole, not strip tease in private rooms.
This should be for customers who just like watching, or something like a bachelor party stripper.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on July 12, 2014, 04:51:46 PM
This problem is caused by the Strip sex type not being included in the "girlfucks" function.

I will add it to the code with place holder texts.
If anyone can write a few texts for:
 - the different skill_strip levels [<20, <40, <60 and <80],
 - the GetRandomStripString() function,
 - 'if inexperienced then will get hurt' text
I will add them in later.
That was never needed before did something change?  Haven't had time to look at the changes in awhile
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 12, 2014, 05:30:31 PM
That was never needed before did something change?  Haven't had time to look at the changes in awhile
Looking over the code again, it probably is unlikely that the strip is the problem.
If it is not, then I can't see what the problem is at this time.
Need more details as to how you get the bug.

I do want to add strip as a sex option as the fallback default if all sex types are prohibited.

The entire sex choice code needs to be revamped.
As it is now, if a customer wants to do something that is prohibited, they are flatly turned away with no option to have them choose something else to do.
Title: Re: Crazy and PP's mod bug thread
Post by: Liathano on July 13, 2014, 12:39:59 AM
I've attached the gamelog and savegames. If you hit the next turn button you are guaranteed to see an entry similar to the png I attached. It's a blank event that causes lose of Virgin tag.


I've no idea how to prevent it.


It happens on both the Brothel Whore job and Stripclub Whore job.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 13, 2014, 02:08:23 PM
Well, there is nothing causing this in the code.
If I run the save game from a freshly compiled version of the game, there are no problems.
When I run it from the zipped version I uploaded, I do get the bug.

The only possible conclusion is that there was a problem when the first .05s.04 was compiled.
I recompiled and reuploaded it.
http://www.pinkpetal.org/index.php?topic=3446.0 (http://www.pinkpetal.org/index.php?topic=3446.0)

Try your game with the new .05s.04 and see if you still get the bug.
Title: Re: Crazy and PP's mod bug thread
Post by: Liathano on July 13, 2014, 07:38:04 PM
Nope, worked like a charm. Bug is now resolved.


That's a weird one though, a compile error?


Edit: Something weird though. When I loaded that savegame. Belle who was at the Clinic working as a doctor was suddenly scheduled as Community Service... in a clinic.
And the Nurse became 'Rehab'


Feed the Poor turned into Personal training and Community Service became bedwarmer

More weirdness yay! luckily these are easily resolved just by checking what everyone was set to.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on July 15, 2014, 10:47:26 AM
The game handles virginity a bit differently (maybe thats the reason for the virgin tag to vanish)
In earlier versions every girl without info about their virgin state became one from the game, young and low sex skills became virgins
even without the trait or stat in their xml files.
Now only girls which have virgin set in their xml files are really virgins, all others are not.
I saw that now in my newest testgame, i had about 30-40% virgins, now virgins are really rare (maybe 5%)
because most girlx or rgirlx files don't have virgin information in them.

I'm using the newest recompiled 05s.04 version at the moment.
Title: Re: Crazy and PP's mod bug thread
Post by: madmonkskillz on July 19, 2014, 11:39:49 PM
Had a problem earlier in my game but haven't been able to replicate. One of my girls (in this specific case it was Saya Takagi) was at the studio "filming sex". I hadn't bought anti preg potions yet and so she got pregnant. I didn't want her to be pregnant so I sent her to the clinic to get an abortion. Doctor was Ciel with low medical and nurse was one of the "Cure" girls. I set "Saya" to get an abortion (1). Hit next week and it was still abortion(1). did this a few times and thought "maybe theres a problem with the doctor or nurse so I go to change them. When there was no nurse selected it changed abortion(1) to Abortion(80000+) (can't remember exact number but it was really high.) I just ignored it and left her to get an abortion with a nurse selected (so it went back to abortion(1)). About 30+ weeks later, she gave birth (while still on abortion(1) setting).

It was really early in my game and none of my crew were medically trained yet, she was also the first pregnancy in my game. once again, I can't seem to replicate the bug.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 20, 2014, 02:48:29 AM
Had a problem earlier in my game but haven't been able to replicate. One of my girls (in this specific case it was Saya Takagi) was at the studio "filming sex". I hadn't bought anti preg potions yet and so she got pregnant. I didn't want her to be pregnant so I sent her to the clinic to get an abortion. Doctor was Ciel with low medical and nurse was one of the "Cure" girls. I set "Saya" to get an abortion (1). Hit next week and it was still abortion(1). did this a few times and thought "maybe theres a problem with the doctor or nurse so I go to change them. When there was no nurse selected it changed abortion(1) to Abortion(80000+) (can't remember exact number but it was really high.) I just ignored it and left her to get an abortion with a nurse selected (so it went back to abortion(1)). About 30+ weeks later, she gave birth (while still on abortion(1) setting).

It was really early in my game and none of my crew were medically trained yet, she was also the first pregnancy in my game. once again, I can't seem to replicate the bug.
Interesting bug, I was unable to replicate it either.

The only thing I could think of would be if m_WorkingDay somehow got corrupt.
That would explain the "Abortion(80000+)" but changing jobs should fix that.
When I go over the jobs to update them for .06, I will see if I can track down a possible cause.
I made a couple of minor changes but I don't think that will prevent this particular bug.


Or possibly this may be caused by the "Duplicate Name" problem?
Do you have 2 girls with the exact same name?


In .05, Doctor and Nurse stats/skills play no part in the actual surgeries.
In .06 they will have more effect.
Title: Re: Crazy and PP's mod bug thread
Post by: madmonkskillz on July 20, 2014, 05:51:40 PM
Quote
The only thing I could think of would be if m_WorkingDay somehow got corrupt.
That would explain the "Abortion(80000+)" but changing jobs should fix that.

I remember setting her to time off but set her back to abortion with the same high number.

Quote
Or possibly this may be caused by the "Duplicate Name" problem?
Do you have 2 girls with the exact same name?

I don't believe so. And if I did, I don't anymore.

Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on July 21, 2014, 04:53:06 AM
I have a problem with the girl status Arena.
Two new created girls work fine with Status="Town" and also with Status="Slave"
but with Status="Arena", they don't appear.
No other girls in my testgame, only randomgirls, which appear in the arena from the beginning.
Gameversion is .05s.05

Seems really to be a bug.
While i was testing my meetgirl scripts
i met the girl with script also in the arena, but without the script triggering.
The script triggers in the town and also in the clinic (Status="Town" and Status="Normal" seems to be the same)
but not in the arena, there i got the girl with the standard dialogue.
No girl with the Status="Arena" ever appears in the game.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on July 21, 2014, 02:24:49 PM
No girl with the Status="Arena" ever appears in the game.
You win arena girls thru the fight girls job in the arena.  If the girl wins and there is an arena girl to win there is a 20% chance u will get one.  That is the only way to get them.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on July 21, 2014, 02:26:27 PM
Ah ok, thanks for the info.
That makes testing new arena girls a bit more time consuming, but i can rest easy now and put my 2 arena girlpacks online.

That leaves the bug with the meetgirl script triggering in Town and Clinic but not in arena while meeting the girl with the script.
(haven't tested the studio yet)
My original idea was for the script to only trigger in the Town walkaround and not meeting this girl anywhere else.

I'll add the triggers.xml here, just in case i made a mistake in that file and it's not a bug.
Title: Re: Crazy and PP's mod bug thread
Post by: madmonkskillz on July 22, 2014, 02:01:32 AM
This happened randomly and only once. I was wandering around the ER where I acquired Sailor Mars. Immediately afterward (I hadn't hit next week yet) the "Man cannot pay" text box showed up.
Title: Re: Crazy and PP's mod bug thread
Post by: Cajun on July 22, 2014, 06:40:25 AM
just a small thing ... women should never be a milf and a virgin at the same time
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on July 22, 2014, 09:02:09 AM
Its possible to restore virginity in the Clinic.
It would be strange if that treatment deletes MILF at the same time.

I avoid putting Virgin and MILF in the same girlsx or rgirlsx file I make,
but it should not be impossible in my Opinion.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on July 22, 2014, 12:22:48 PM
All kinds of enchanted items, consumables that heal injures, breast enlarging stuff...
Restoring hymen is definitely not a big problem for those crossgate perverts.
Title: Re: Crazy and PP's mod bug thread
Post by: madmonkskillz on July 22, 2014, 06:45:40 PM
maybe program it so that you can't have MILF and Virgin, but instead, make a new trait called, I don't know, "Restored Hymen?"
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on July 23, 2014, 04:24:36 AM
I think this calls for a discussion whether virginity is a state of the mind or a state of the hymen.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on July 23, 2014, 04:48:32 AM
A girl loses virginity if she had vaginal sex for the first time.
I don't think this one (sometimes really short) event can change a state of mind so much.
So in my opinion, it's just the hymen, which may bleed while having sex and which may bring a small amount of additional money,
nothing more.

I myself only care about that for roleplaying reasons, the group of warrior virgins fighting for glory in the arena and such stuff.
A clinical restored hymen is perfectly fine for that if the girl i wanted for my warriorgroup isn't a virgin anymore.

But the reason why this is in this thread was the question, is it a bug or not and it isn't
so maybe it's not the right thread for that.
Title: Re: Crazy and PP's mod bug thread
Post by: madmonkskillz on July 23, 2014, 11:48:35 PM
I do find it weird that when my gang kidnaps the wife and daughters of a man who can't pay, there's a 30+ year old milf of 2 daughters who is still a virgin. Or is that why he can't pay? Because his wife used all his money to restore her hymen?
Title: Re: Crazy and PP's mod bug thread
Post by: Cajun on July 24, 2014, 03:32:07 PM
Wow, I didnt mean to stir up a mess. I like the idea of "restored hymen". I was just pointing out that it seemed like a contradiction since there are no mystical births anywhere in the game. Milf by definition has had sex and virgin by definition has not.
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on July 25, 2014, 06:45:46 PM
first off there seems to be a problem with the movie settings... i don´t get paid for the "hard" work the girls do there. as the studio is more or less a better hunting / breeding ground that´s not so much of a problem. but while looking at the girls there i noticed one thing: there´s a job called "fluffer" - if there is ONE girl in this game whose oral sex skill should go skyrocket to 110% it should be this gal. alas: it doesn´t. no matter how long she does that job, not a single percent improvement. bug, or just a slight oversight in the old code? nothing gamebreaking, so no need to hurry with a fix. =)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on July 26, 2014, 01:28:09 AM
first off there seems to be a problem with the movie settings... i don´t get paid for the "hard" work the girls do there.
You need to click the "Create Movie" button and choose the scenes to add to the movie.
Currently in .05 you can only make 1 movie with the scenes that are available.
In .06 I plan to add multiple movies and other improvements to the studio.


but while looking at the girls there i noticed one thing: there´s a job called "fluffer" - if there is ONE girl in this game whose oral sex skill should go skyrocket to 110% it should be this gal. alas: it doesn´t. no matter how long she does that job, not a single percent improvement. bug, or just a slight oversight in the old code? nothing gamebreaking, so no need to hurry with a fix. =)
Big oversight.
Oral, hand job, titty sex and lesbian should all have a chance to increase with different texts for each.
Someone please write the text and it will get added.
If the fluffer's libido is too high, she may go too far and make the guy no longer ready to perform, reducing scene quality.
     "Please tell me we got that on video.  >:( "
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on July 26, 2014, 06:09:22 AM
Thanks for updating the game.
in .05s.05 (http://www.pinkpetal.org/index.php?topic=3446.0):
Girls keep unassigning. I think this happens after they give birth.
Could you please fix the positions in the lists yet again? It cycled between being fixed/broken for a long time, and stoped at broken.
What i mean is when you sell/transfer/use an item in the shop, the position in the item list resets everytime. Same thing happens in all the lists.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on August 02, 2014, 05:52:29 PM
When you take away an item a girl likes she loses only some happiness, but when you give it to her she gets several other stat bonuses (most notably a +1 to Obedience). This means it's possible to max Obedience by buying a cheap item she likes (like a dagger), and pass it multiple times between the player and the girl.

Something similar happens with several traits (if I remember correctly, Small Boobs, Nerd, all the traits that increase/decrease enjoyment cause this, and probably more). With an item that grants one of those traits it's possible to max stats by repeatedly equipping and unequipping the item.
However I've read that the Core Traits file is going to be converted to XML, if that means the stats changes traits provide will be included in the Core Traits XML (like the item XMLs) then fixing this now is not worth it.

Is it possible for Infinite="true" items to appear only once in the shop? It's annoying when stuff like bauble necklace shows up 4-5 times.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 02, 2014, 06:34:09 PM
When you take away an item a girl likes she loses only some happiness, but when you give it to her she gets several other stat bonuses (most notably a +1 to Obedience). This means it's possible to max Obedience by buying a cheap item she likes (like a dagger), and pass it multiple times between the player and the girl.

Something similar happens with several traits (if I remember correctly, Small Boobs, Nerd, all the traits that increase/decrease enjoyment cause this, and probably more). With an item that grants one of those traits it's possible to max stats by repeatedly equipping and unequipping the item.
However I've read that the Core Traits file is going to be converted to XML, if that means the stats changes traits provide will be included in the Core Traits XML (like the item XMLs) then fixing this now is not worth it.
This is a bug I have looked at but something bigger came up before I could fix it.
I will look at it again when I get to items.

Is it possible for Infinite="true" items to appear only once in the shop? It's annoying when stuff like bauble necklace shows up 4-5 times.
The game is supposed to check Infinite="true" when creating the list of items and not add the item again.
However, if you have multiple itemsx files with the same item name, it will see them as separate items.
I will check this also when I get to items.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on August 03, 2014, 01:38:10 PM
I made a testgame for a new created girlpack.
One of the girld should be a unique daughter.
I increased the pregancychange and reduced the pregnancy and adulthood times to a few weeks
and started "massproducing" daughters.
I never got the unique daughter to appear,
only randomgirls (about 20 daughters).
The girlx file is attached to this post, the first girl in it (Alice) is the destined daughter.
The girlsx was created with the WMEdit.8.04. Gameversion is 05s.05

Shouldn't unique daughters have priority over randomgirls if the randomgirls don't have the Daughter Status?
Am i just terribly unlucky, is there a bug in the girlsx file or is something else not working?
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on August 03, 2014, 07:21:29 PM
as i think have read here anywhere .... the personal daughter-girlx-files will be implemented in .06 .... if im not wrong with my memories
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on August 04, 2014, 03:04:16 AM
This is a bug I have looked at but something bigger came up before I could fix it.
I will look at it again when I get to items.
If it's of any help, I've found it in the source code.
Title: Re: Crazy and PP's mod bug thread
Post by: Dr_Poke on August 08, 2014, 04:47:51 AM
I've been wondering, what's with the start time?  If you have a lot of girl packs added in, the time builds up so quickly.  Sometimes, the game crashes before you get the girls in....
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 08, 2014, 12:30:10 PM
I've been wondering, what's with the start time?  If you have a lot of girl packs added in, the time builds up so quickly.  Sometimes, the game crashes before you get the girls in....
First, if the game crashes, then there is a problem with one or more of your girls files.

The game has to load into memory all the girls files so it can access them without having to load them every time they are needed, this takes some time.
I will see what I can do to reduce the time.




I ran procmon on my game and found that I can probably reduce the time a few seconds by checking if the game should look for .ani files before trying to load them.
It currently tries to load every image.ani type even if there are none in a girl's folder.
By checking if any ani exist instead, it should save a few milliseconds per girl, possibly saving 5-7 seconds per 1000 girls files.
Its not much but every second saved will help.
Title: Re: Crazy and PP's mod bug thread
Post by: Dr_Poke on August 08, 2014, 08:32:24 PM
First, if the game crashes, then there is a problem with one or more of your girls files.

The game has to load into memory all the girls files so it can access them without having to load them every time they are needed, this takes some time.
I will see what I can do to reduce the time.




I ran procmon on my game and found that I can probably reduce the time a few seconds by checking if the game should look for .ani files before trying to load them.
It currently tries to load every image.ani type even if there are none in a girl's folder.
By checking if any ani exist instead, it should save a few milliseconds per girl, possibly saving 5-7 seconds per 1000 girls files.
Its not much but every second saved will help.

I'm not a programmer so I dont know how much of this is practical, but the game likes to look for script trigger files.  Also, if a girl doesn't have a story quest line, wouldn't it be more efficient to load the girls into memory when they are bought/kidnapped/etc., rather than before they can even be encountered.  When beginning a game, you only have access to 1 or two girls and waiting for all 1000 girls to load just to only have access to a few is a bit annoying.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 09, 2014, 01:17:40 AM
Also, if a girl doesn't have a story quest line, wouldn't it be more efficient to load the girls into memory when they are bought/kidnapped/etc., rather than before they can even be encountered.
While the initial loading of the girls when creating a new game or loading an existing game may take some time, once the game is running, there is no noticeable slowdown caused by the number of girls prepared.

Random girls are not loaded at the start of the game, they are loaded when they are needed, from them there is very little slow down.

The only real slowdown when the game is running is when you have a large number of girls in a building, depending on your computer.
A bug the I have not gotten to yet is when you sort the girls in the list, the game slows down a lot.
Unsort the girls list (the top right box above the scroll bar) and the game should speed back up.

Title: Re: Crazy and PP's mod bug thread
Post by: Dr_Poke on August 09, 2014, 04:10:48 AM
Got to a point in the game where you hit next day -> Load... -> ... -> ... -> Whoremaster.exe has stopped loading

I have 17 girls, a few more girls in the dungeon, and about 5-6 gangs with 6k/10k  cash on hand/bank. 

Restarting doesn't really do anything.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 09, 2014, 11:39:14 AM
Got to a point in the game where you hit next day -> Load... -> ... -> ... -> Whoremaster.exe has stopped loading

I have 17 girls, a few more girls in the dungeon, and about 5-6 gangs with 6k/10k  cash on hand/bank. 

Restarting doesn't really do anything.
The gamelog is of little help without the savegame file.
zip both together and reupload
Title: Re: Crazy and PP's mod bug thread
Post by: Dr_Poke on August 09, 2014, 06:30:18 PM
Derp, missed that in half asleep mode.  ::)

Here ya go.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 10, 2014, 10:36:46 AM
Got to a point in the game where you hit next day -> Load... -> ... -> ... -> Whoremaster.exe has stopped loading
I have 17 girls, a few more girls in the dungeon, and about 5-6 gangs with 6k/10k  cash on hand/bank. 
Restarting doesn't really do anything.
The cause of your crash is the game requires at least 1 rgirlsx file.
Your objective to steal 2000 gold was completed and the reward for it is 1 random girl.
You have no rgirlsx files so the game can not create a random girl.
Code: [Select]
m_Dungeon.AddGirl(g_Girls.CreateRandomGirl(0, false, true, true, g_Dice%3==1), DUNGEON_NEWGIRL);
The code does not currently check if the "CreateRandomGirl" function actually returns a girl so the "m_Dungeon.AddGirl()" fails.

I will add in a default hard coded random girl to prevent this for .05t.
For now, just create an rgirlsx file.

:::edit:::
I went a little overboard with the "hard coded random girl" but it works
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on August 10, 2014, 01:25:34 PM
Thanks for updating the game.
in .05s.05 (http://www.pinkpetal.org/index.php?topic=3446.0):
Girls keep unassigning. I think this happens after they give birth.
Could you please fix the positions in the lists yet again? It cycled between being fixed/broken for a long time, and stoped at broken.
What i mean is when you sell/transfer/use an item in the shop, the position in the item list resets everytime. Same thing happens in all the lists.
A repost, since it has gone unnoticed it seems.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 10, 2014, 02:50:35 PM
A repost, since it has gone unnoticed it seems.
That is on my list of things to fix but I have not gotten to it yet.
I will start it now though.
Title: Re: Crazy and PP's mod bug thread
Post by: Dr_Poke on August 11, 2014, 05:45:33 AM
The cause of your crash is the game requires at least 1 rgirlsx file.
Your objective to steal 2000 gold was completed and the reward for it is 1 random girl.
You have no rgirlsx files so the game can not create a random girl.
Code: [Select]
m_Dungeon.AddGirl(g_Girls.CreateRandomGirl(0, false, true, true, g_Dice%3==1), DUNGEON_NEWGIRL);
The code does not currently check if the "CreateRandomGirl" function actually returns a girl so the "m_Dungeon.AddGirl()" fails.

I will add in a default hard coded random girl to prevent this for .05t.
For now, just create an rgirlsx file.

:::edit:::
I went a little overboard with the "hard coded random girl" but it works

Errr.... Cant you just recode it for a random girl we haven't obtained yet? I still haven't found a majority of my actual character list. 
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 11, 2014, 09:57:02 PM
Girls keep unassigning. I think this happens after they give birth.
The girls were not getting put back on their old job after giving birth because the game was not setting their old job.
Fixed it for .05t.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on August 12, 2014, 04:50:14 PM
Thanks, i'll be able to continue playing then xD
It was not a big issue when i had like 10 girls. But in the late game...
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on August 14, 2014, 03:48:02 PM
Regarding the WM Editor : Game configuration : Display settings

Its impossible to add four digit numbers into the boxes for Screen Width and Height.

It should be possible to add four digit numbers.

Kind Regards HuiBui
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 14, 2014, 04:34:39 PM
Regarding the WM Editor : Game configuration : Display settings
Its impossible to add four digit numbers into the boxes for Screen Width and Height.
It should be possible to add four digit numbers.
Sorry, I missed that.
Fixing it now.
Increased width and height boxes to 5 digits and interface name to 15.

I also forgot to add the screen scale to fix the 800x600 scale bug.
Added that.

While I was at it I fixed the fonts to allow them to be changed and made all the (%) things on the config only allow 0-100.
I also added a few more tool tips.

Push WME.8.07 - http://www.pinkpetal.org/index.php?topic=3456.msg28245#msg28245 (http://www.pinkpetal.org/index.php?topic=3456.msg28245#msg28245)
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on August 16, 2014, 07:47:09 AM
They keep unassigning in .05t.  :'(
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 16, 2014, 04:52:24 PM
They keep unassigning in .05t.  :'(
The girls are supposed to get a week off for maternity leave.
They should get put back to work the next week.

If that is not your problem, send me your save game from the turn before they get unassigned and specify which girl gets unassigned from what job.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on August 16, 2014, 05:05:16 PM
i started a new game and i had the same problem.
Example of Job Assignments:
Job before birth:   Brothel Whore and Free Time
Job week of birth: Time Off and Free Time
Job after 1 week: Free Time and Free Time
and it stays that way

i attach my testgame
the config was changed to save some time
(pregnancy only 4 weeks, higher chance for pregnancy)

all 5 girls were pregnant and i left them as they were
The last girl still pregnant (Terrylyn), currently Cleaning and Advertising
she has exactly the same behavior
switching to Time Off and Free Time
and a turn after that to Free Time twice
and stays that way

i'll attach my config, because i changed some values for testing purposes
just in case it's important to know what was changed
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on August 16, 2014, 05:37:40 PM
The girls are supposed to get a week off for maternity leave.
They should get put back to work the next week.
If that is not your problem, send me your save game from the turn before they get unassigned and specify which girl gets unassigned from what job.
They get a "time off"/"free time" schedule after being freed by the matron. It stays "time off" for two weeks(i seems it's cooldown in config, set to 2 in my game). Then they just get both "free time" and stay that way.
Logs/save will follow. Can't do it now.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 16, 2014, 05:58:56 PM
I looked over the code and found I missed a few things when transferring the fix I did for .06 into .05.
I made a section of the code so it could be easily cut and pasted into the buildings so I only had to change 1 thing, I forgot to change that 1 thing. :/
I uploaded .05t.01 - http://www.pinkpetal.org/index.php?topic=3446.msg27861#msg27861 (http://www.pinkpetal.org/index.php?topic=3446.msg27861#msg27861)
Try that and see if it works.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on August 17, 2014, 05:35:07 AM
No, it's still not working
i startet a new game with 05t.01
and they still stay at Free Time after giving birth
i'll attach my savegame
1 pregancy each week for 8 weeks so you can check every stage
Lara_Croft was the first and her Pregnancy cooldown is over in the current turn
the config settings are the same as in my save yesterday

i haven't changed any jobs after i started the pregnancy tests
the former jobs for the 4 girls past their pregnancy were

cleaning/advertising
brothel whore / free time
free time / brothel whore
masseuse / masseuse
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 17, 2014, 10:52:19 AM
No, it's still not working
i startet a new game with 05t.01
and they still stay at Free Time after giving birth
i'll attach my savegame
Well first off, the reason it did not work for you is that you did not have a matron to put her back to work.
However that did help me find the cause, kind of.

The fix I did worked a little too well.
Instead of waiting a week to put the girl back on duty, the matron was putting her back to work right away.
I changed it so that the matron's back to work check goes off m_PregCooldown instead of m_JustGaveBirth so she should have 1 full week of time off for her maternity leave.

I need to do a few more changes before it will be ready but I should be able to push .05t.02 later today.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on August 17, 2014, 12:09:13 PM
ah ok, you need a matron, good to know
i usually have one but not for this kind of short testgames
thanks
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 17, 2014, 02:19:00 PM
Should I change it so if you have a matron on duty, the birth process has less of a chance to harm the girl?
Or increase the chance of harm to the girl if there is no matron on duty?

Currently the chance of harm to the mother is 1% per 10 health below 100 and matron does not matter.
I could make it 2% per 10 without a matron, or 1% per 20 with a matron.

Currently, if the child is humanoid, the girl only becomes sterile, if it is a beast, she dies.
If she does not die from a beast birth, there is an additional 5% chance she becomes sterile.

Health|now|A - with|A - without|B - with|B - without
100%|1%|1%|2%|1%|1%
90%|2%|2%|4%|1%|2%
80%|3%|3%|6%|2%|3%
70%|4%|4%|8%|2%|4%
60%|5%|5%|10%|3%|5%
50%|6%|6%|12%|3%|6%
40%|7%|7%|14%|4%|7%
30%|8%|8%|16%|4%|8%
20%|9%|9%|18%|5%|9%
10%|10%|10%|20%|5%|10%
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on August 17, 2014, 02:40:42 PM
uh i think the chance to die should only exist, if there is no matron, so you can avoid loosing girls with a matron
so my opinion is, with human child 2% per 10 below max health without and 1% with a matron
and with beast child 1% death and 5% sterile without matron
with matron she should drop to 5 health or get a bad trait (fragile or scars) or loosing a good one instead
(a great figure or great ass could be lost with problematic pregnancies)
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on August 17, 2014, 02:53:48 PM
uh i think the chance to die should only exist, if there is no matron, so you can avoid loosing girls with a matron


Or, if you're losing precious unique girls with plenty of experience and don't feel like reloading, maybe add an item that would allow you to ressurect dead girls?
...possibly adding the "Incorporeal" trait. Or maybe add an "Undead" trait.


Remember: it's not necrophilia if they're UNdead!
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 17, 2014, 03:14:41 PM
Or, if you're losing precious unique girls with plenty of experience and don't feel like reloading, maybe add an item that would allow you to ressurect dead girls?
Already working on that. It will be in .06 but probably not .05.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on August 18, 2014, 03:08:48 PM
getting back to Job works perfectly fine now,
even with matron pregnant herself she gets back into matron job

Girls with 2 small weapons seem to lose one of them directly the next turn after you gave them her second
both were equiped before.
That is only the case for small weapons, large weapons or other items don't have that effect.
In my case, i had today 2 girls both with a shiv and another weapon, the shiv was gone the next turn.
Girls with only a shiv still have it.

Ok, after a few more tests, they keep the best (rarest) small weapon and all other small weapons vanish
regardless of equiped or unequiped.

I usually give them only one so it's not a big problem
I'll attach a savegame anyway, most girls in it have dagger and shiv, one (Ami Kawashima) has 3 small weapons (arcane glove the best)
after "next turn" all have only one. (They aren't back in the player inventory.)

Edit:
after comparing her money between the 2 turns, it seems to me that the game sells all additional small weapons,
because the money the girls have raises exactly by the values of these weapons
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on August 18, 2014, 03:23:16 PM
Yep, just tried it too. Girls are getting their jobs back as supposed now. Thanks for your efforts, aevojoey.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 18, 2014, 06:46:09 PM
getting back to Job works perfectly fine now,
even with matron pregnant herself she gets back into matron job
Yep, just tried it too. Girls are getting their jobs back as supposed now. Thanks for your efforts, aevojoey.
Good.
I am working on a more intelligent Matron code for .06 where she will try to place any girl with full health, happy and tired into a job that is needed.
I will probably have it added to .05 too but not sure, depends on how much Crazy or I get working on the Farm.


Girls with 2 small weapons seem to lose one of them directly the next turn after you gave them her second
both were equiped before.
This is a "feature" that has been in the game for longer than I have been working on it.
Each of the equipable item types has a limit to how many of that type of item the girl can equip at one time, any extras are sold.
Ring = 8, Dress = 1, Underwear = 1, Shoes = 1, Necklace = 1, Weapon = 2, Small Weapon = 1, Armor = 1, Armband = 2





I looked over this code last week and added a note to myself to instead of selling the item, it will be sent back to the "Store Room" when I add the "Store Room" and the "Vault" to item management.
"Store Room" and "Vault" will take over the current "Player" slot for where Items get put when acquired.
The "Player" will be for items the Player can use or equip.
That will be in later versions of .06.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on August 18, 2014, 06:52:36 PM

I am working on a more intelligent Matron code for .06 where she will try to place any girl with full health, happy and tired into a job that is needed.


Automatic re-assigment to the job? Fucking YES, please. Micromanaging a day and night shift for every girl every time she gets tired is annoying as fuck. I basically avoid it altogether, putting any girl "on hold" untill she has the toughness through traits and/or items to not get tired at all.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 18, 2014, 07:55:19 PM
Automatic re-assigment to the job? Fucking YES, please. Micromanaging a day and night shift for every girl every time she gets tired is annoying as fuck. I basically avoid it altogether, putting any girl "on hold" untill she has the toughness through traits and/or items to not get tired at all.
The basic matron code sends them back to work if they had been taken off work by the matron or given maternity leave.

The new code I am working on will assign them a new job even if they had no previous job in that building.

I am starting with the Movie Studio, because that has 2 required jobs, camera and purifier.
If neither of those jobs are filled then the Director will assign either a jobless girl, or an extra crew member or an actress to do that job.
Not sure yet what I am going to do if there are not enough available girls in the movie studio.

I can also have the Director have some control over the Film Random job but that will come later.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on August 19, 2014, 02:38:16 AM
Thanks for the info, i will avoid giving her more than these amounts of items.
The reason why this happened to me with small weapons is, that the girls can equip 2 small weapons
so i gave some of them 2.
There was never a reason to give them 2 of the other items which have a limit of 1, so i never saw that effect.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 19, 2014, 06:11:49 AM
Thanks for the info, i will avoid giving her more than these amounts of items.
The reason why this happened to me with small weapons is, that the girls can equip 2 small weapons
so i gave some of them 2.
There was never a reason to give them 2 of the other items which have a limit of 1, so i never saw that effect.
This is a bug.
In one part of the code it allows 2 small weapons to be equipped and in another part it only allows 1.
I will fix it so that 2 can be equipped.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on August 28, 2014, 06:27:04 PM
The new escort is fun. But her job function is misspelled as 'excort' on the assignment screen in the new game.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 28, 2014, 09:08:33 PM
The new escort is fun. But her job function is misspelled as 'excort' on the assignment screen in the new game.
Fixed.

Escort is not well fleshed out as a job.
It is just text and payment now.
Crazy wrote it and I am not sure if he has done anything more to it since.
I will add more to it when I start working on the brothel.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on August 29, 2014, 01:00:41 AM
Fixed.
Escort is not well fleshed out as a job.
It is just text and payment now.
Crazy wrote it and I am not sure if he has done anything more to it since.
I will add more to it when I start working on the brothel.
Be best to just block that job until I can finish it.  Its not near ready I was just test some stuff with it.  Ill get around to finishing it sooner or later
Title: Re: Crazy and PP's mod bug thread
Post by: Kanazzas on August 29, 2014, 06:30:26 PM
just want to hear if im the only one who has a problem with girls losing stats gained from items.


when i use 1 of my items to raise a girls stats to 100, the next week the stats are dropping again.


did i do something wrong or is it a bug?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 29, 2014, 06:49:52 PM
just want to hear if im the only one who has a problem with girls losing stats gained from items.
when i use 1 of my items to raise a girls stats to 100, the next week the stats are dropping again.
did i do something wrong or is it a bug?
Traits, stats and skills gained from consumable items are usually temporary.
Temp stats/skills depreciate by 30% toward 0 each week.
Temp traits last a certain number of weeks then they get removed.
Title: Re: Crazy and PP's mod bug thread
Post by: drakean on August 29, 2014, 08:08:31 PM
I don't know if it is something I'm doing or what, but about 2 months or so in I go into a downward spiral of debt. I have a profit of 4000 or more, but it keeps saying that I'm losing money. Almost like it randomly switches between from + money to - money on the earnings screen or something. This only popped up in version 6.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 29, 2014, 08:10:21 PM
I don't know if it is something I'm doing or what, but about 2 months or so in I go into a downward spiral of debt. I have a profit of 4000 or more, but it keeps saying that I'm losing money. Almost like it randomly switches between from + money to - money on the earnings screen or something. This only popped up in version 6.
Attach your save file and I will take a look at it.
Title: Re: Crazy and PP's mod bug thread
Post by: drakean on August 29, 2014, 08:14:51 PM
Here you go. Need anything else? It isn't a major bug, but it does prevent me from doing anything that takes cash.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 29, 2014, 10:50:34 PM
Here you go. Need anything else? It isn't a major bug, but it does prevent me from doing anything that takes cash.
I am not finding any cause for your problem in the code.
Attach your config.xml and gamelog.txt files.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on August 30, 2014, 05:51:58 AM
I have a profit of 4000 or more, but it keeps saying that I'm losing money.



What do the turn summary events state exactly? There has to be a reason for money loss, like police or gang raids.

Title: Re: Crazy and PP's mod bug thread
Post by: drakean on August 30, 2014, 08:28:16 AM
It doesn't say anything. I goes through the whole taxes, laundering, making money off of businesses, and nothing else. It seems to fix itself when I restart, but it gradually drops until I start losing money again.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on August 30, 2014, 06:06:47 PM
Nit: There's a problem with one of the strip tease results, plus a misspelling. I got text that read:

When trying to take of her t-shirt, girlsname head got stuck for minutes.

It should have read:

When trying to take *off* her t-shirt, *Karly's* head got stuck for minutes.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 30, 2014, 06:41:04 PM


Nit: There's a problem with one of the strip tease results, plus a misspelling. I got text that read:

When trying to take of her t-shirt, girlsname head got stuck for minutes.

It should have read:

When trying to take *off* her t-shirt, *Karly's* head got stuck for minutes.
Spell checking WorkPeepShow now.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on August 31, 2014, 05:00:00 AM

Since we're on the subject of typos at the moment...While trying to learn something more about custom scripting I stumbled upon some typos in GlobalTriggers.xml
I don't know how badly this could fuck things up, since that file is only an instruction and isn't responsible for anything directly... but the typos there could be an indication of typos within the hardcoded values themselves. In that case, it may just be better to leave them alone for the sake of everything working.


"Beastiality" instead of "Bestiality" (there is only one "a" in the correct spelling, contrary to what may seem logical. I've seen this typo a couple of times in multiple other instances)
"Controled" instead of "Controlled".

Plenty of other typos in GlobalTriggers.xml. "Atribute", "kelptomaniac" etc. Like stated above, they're not really important, since they're only in instructions to how scripting works, I think.


Are you still planning on doing something with the .script files? Not sure if my memory serves me right, but I think you said something about transitioning them to .xml somewhere...


And why is the introduction script file a .lua file?

Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on August 31, 2014, 06:02:23 AM
Spell checking WorkPeepShow now.


A spellchecker won't hurt, but I wonder how much it will help in the particular instance noted. 'Of' is a valid english word, and spellchecking won't know how to correct the substitution for the girl's name.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on August 31, 2014, 02:25:40 PM
A spellchecker won't hurt, but I wonder how much it will help in the particular instance noted. 'Of' is a valid english word, and spellchecking won't know how to correct the substitution for the girl's name.
I hate "Spellchecker" (1 word) programs, they never work.
When I said "Spell checking" (2 words) I mean I am checking the spelling and grammar and readability myself, manually.

Even though I failed English class a few times in school, it was not due to lack of ability, just lack of patience to do my homework.


Since we're on the subject of typos at the moment...While trying to learn something more about custom scripting I stumbled upon some typos in GlobalTriggers.xml
I don't know how badly this could fuck things up, since that file is only an instruction and isn't responsible for anything directly... but the typos there could be an indication of typos within the hardcoded values themselves. In that case, it may just be better to leave them alone for the sake of everything working.

"Beastiality" instead of "Bestiality" (there is only one "a" in the correct spelling, contrary to what may seem logical. I've seen this typo a couple of times in multiple other instances)
"Controled" instead of "Controlled".

Plenty of other typos in GlobalTriggers.xml. "Atribute", "kelptomaniac" etc. Like stated above, they're not really important, since they're only in instructions to how scripting works, I think.
I always thought it was spelled "Beastiality" because of the word "beast" - never even occurred to me to look it up.
I believe the previous programmers thought the same.

"Controled" and "kelptomaniac" are not in the game code.
"Atribute" was only misspelled in comments in the game code.


Are you still planning on doing something with the .script files? Not sure if my memory serves me right, but I think you said something about transitioning them to .xml somewhere...
I do plan on eventually converting the scripts into xml, but that is low priority at the moment.

And why is the introduction script file a .lua file?
I do not know why they put it into a .lua file.
It used to be hard coded, they probably made it a .lua so they could allow it to be edited by players.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on August 31, 2014, 03:03:39 PM

I always thought it was spelled "Beastiality" because of the word "beast" - never even occurred to me to look it up.



It is a pretty common mistake. The context of the word doesn't exactly guarantee its common usage and the proper spelling makes less sense than the wrong one, but... that's just the way it is. English!
It's not even my native language, heh.

Title: Re: Crazy and PP's mod bug thread
Post by: crazy on August 31, 2014, 05:33:49 PM
And why is the introduction script file a .lua file?
DocClox one of the orginal devs was converting scripting to lua once upon a time is why it is a lua file
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on August 31, 2014, 06:43:47 PM
DocClox one of the orginal devs was converting scripting to lua once upon a time is why it is a lua file


Honestly? I'm hardly complaining. The .lua file was REALLY easy to modify in Notepad++, which is great.
If the .xml format would be just as clear-written and simple then I await the new scripts with twice the eagerness.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on August 31, 2014, 08:39:20 PM

It is a pretty common mistake. The context of the word doesn't exactly guarantee its common usage and the proper spelling makes less sense than the wrong one, but... that's just the way it is. English!
It's not even my native language, heh.

The ancient origin of the word is latin (as with many words): bestia, which is beast in english today and bestie in german
so it makes sense, but i only know it, because the word is still nearly the same here in germany
Title: Re: Crazy and PP's mod bug thread
Post by: Kanazzas on September 01, 2014, 12:07:34 PM
hi.


when im raising girls stats with a consumable, the stats drop again after a few weeks (i checked, and i set it too "default behaviour (permanent)")


and my game crashes when i start getting 20+ girls. which i find strange since the only jobs i used were stripper, city guard and practice skills.
Title: Re: Crazy and PP's mod bug thread
Post by: Torajidi on September 02, 2014, 02:23:44 PM
when im raising girls stats with a consumable, the stats drop again after a few weeks (i checked, and i set it too "default behaviour (permanent)")

This is happening with every item for me, even equipment and default items. The stats drop by a fraction each week, starting with the week they're equipped: I gave a girl a test wristband, giving her 100 in every stat and making her an S rank in most of the professions. The turn summary message for Barmaid was the B rank message, meaning her stats had already dropped before they were called into effect for the week.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 02, 2014, 09:01:22 PM
I just replaced my hard drive with a new solid state drive.
My computer runs much smoother and faster now.  :)

when im raising girls stats with a consumable, the stats drop again after a few weeks (i checked, and i set it too "default behaviour (permanent)")
This is happening with every item for me, even equipment and default items. The stats drop by a fraction each week, starting with the week they're equipped: I gave a girl a test wristband, giving her 100 in every stat and making her an S rank in most of the professions. The turn summary message for Barmaid was the B rank message, meaning her stats had already dropped before they were called into effect for the week.
I will be looking at this problem shortly.


and my game crashes when i start getting 20+ girls. which i find strange since the only jobs i used were stripper, city guard and practice skills.
I need your save game and any files that you have changed to check the exact cause.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 02, 2014, 11:11:50 PM
So a cool thing happened, but it came with a bad thing.


One of my crystal purifiers, named Meta, refused to work. The director apparently made her film a scene instead of just sitting on her ass. That's cool!


But the text displayed when this happened was:


"film the scenes, the Director ordered Metato  while someone else filmed it"



Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 02, 2014, 11:35:57 PM
So a cool thing happened, but it came with a bad thing.
One of my crystal purifiers, named Meta, refused to work. The director apparently made her film a scene instead of just sitting on her ass. That's cool!
That is part of the new "Intelligent Matron" stuff I started.

But the text displayed when this happened was:
"film the scenes, the Director ordered Metato  while someone else filmed it"
That is part of the old "Coder Not Testing Everything" stuff I always do.

Fixed it.



I have gone over the item equip/use code and found that everything was using temp Skills/Stats.
I changed them to use skillmod and statmod instead.
Temp items still use temp S/S.
This will allow items to affect the girls stats more forcefully as well as allow them to improve their S/S.
The old way of having the items directly affect the base S/S could render some items useless because of the 0-100 limits.
Now the base S/S stays as 0-100 but the S/S mod can range from -100 to +100 effectively forcing the girl's S/S to either max or min.


Base + Temp + Mod = Total with 0-100 limit



While currently everything is limited to the 0-100, I may increase the limits by scaling numbers above and below the limits.
So effectively, if a girl has (Base 100 + Temp 100 + Mod 100) her Total would be some amount of the 300 scaled down.
Probably amounts above 100 would be counted as 1/10 so 300 would be 120.
Negative numbers would be an entirely different can of worms (-20 charisma?) so probably not going to happen.
This would require a lot of running through the code so it will probably not come anytime soon.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 03, 2014, 06:45:53 PM
Yeah, I like what the Director is thinking. I had it happen again, and she assigned the girl to do blowjob scenes - which I can't assign yet. I also see your post shows striptease scenes, which I also can't assign.  Nice! Will those categories be assignable in the next version?


Also, another bug report. If you save a turn partway through, scenes filmed but not yet released go away.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 03, 2014, 07:22:21 PM
Yeah, I like what the Director is thinking. I had it happen again, and she assigned the girl to do blowjob scenes - which I can't assign yet. I also see your post shows striptease scenes, which I also can't assign.  Nice! Will those categories be assignable in the next version?
Both are available now, "Film Oral Sex" and "Film Strip Tease".
Scroll down on the jobs list.


Also, another bug report. If you save a turn partway through, scenes filmed but not yet released go away.
This is a long time bug, filmed scenes are never saved.
I will be fixing that sometime but not sure when.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on September 04, 2014, 04:29:08 AM
Base + Temp + Mod = Total with 0-100 limit


While currently everything is limited to the 0-100, I may increase the limits by scaling numbers above and below the limits.
So effectively, if a girl has (Base 100 + Temp 100 + Mod 100) her Total would be some amount of the 300 scaled down.
Probably amounts above 100 would be counted as 1/10 so 300 would be 120.
Negative numbers would be an entirely different can of worms (-20 charisma?) so probably not going to happen.
This would require a lot of running through the code so it will probably not come anytime soon.

How about something like this:

Base + Temp + Items = Subtotal with 0-100 limit

Subtotal + Traits = Total with 0-? (whatever you feel it's OK) limit

That way a girl with 100 titfuck and big breasts would have an advantage over other girls with just the skill maxed (which makes sense), and would make traits more relevant and desirable in a more tangible way.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on September 04, 2014, 07:33:00 AM
While currently everything is limited to the 0-100, I may increase the limits by scaling numbers above and below the limits.
So effectively, if a girl has (Base 100 + Temp 100 + Mod 100) her Total would be some amount of the 300 scaled down.
Probably amounts above 100 would be counted as 1/10 so 300 would be 120.
Negative numbers would be an entirely different can of worms (-20 charisma?) so probably not going to happen.
This would require a lot of running through the code so it will probably not come anytime soon.


How possible would it be, from a gameplay and balance perspective, to just remove the 0-100 stat/skill limit? Make traits and items raise the maximum cap?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 04, 2014, 01:25:22 PM
How possible would it be, from a gameplay and balance perspective, to just remove the 0-100 stat/skill limit? Make traits and items raise the maximum cap?
If there was no limit to anything then there would be no point in the game.
It could be done but I would not do it, if there is no challenge, it is not a game.

Base + Temp + Items = Subtotal with 0-100 limit
Subtotal + Traits = Total with 0-? (whatever you feel it's OK) limit
That way a girl with 100 titfuck and big breasts would have an advantage over other girls with just the skill maxed (which makes sense), and would make traits more relevant and desirable in a more tangible way.
That could work.



I think having a maximum of 130% would be best
(Base = 0-100) + (Temp = 0-100) + (Item = 0-100) + (Traits = 0-100) = ( 0-100  ||  100 + 10%)
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on September 04, 2014, 03:03:06 PM
How about something like this:

Base + Temp + Items = Subtotal with 0-100 limit

Subtotal + Traits = Total with 0-? (whatever you feel it's OK) limit

That way a girl with 100 titfuck and big breasts would have an advantage over other girls with just the skill maxed (which makes sense), and would make traits more relevant and desirable in a more tangible way.

That could also solve my problems with girl creation,
when i have to sometimes make the base stats (like beauty and charisma) really low, because of the large bonus some traits give the girls
and i also want to keep a stat below 100, so items are still useful for her.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on September 04, 2014, 06:24:32 PM
If there was no limit to anything then there would be no point in the game.
It could be done but I would not do it, if there is no challenge, it is not a game.


You misunderstood, although my phrasing was completely wrong now that I looked at it twice.
I meant raising the limit a bit - modifying its maximum/minimum values through stats/skills/items. Not making it "unlimited" per se, just more flexible.


Example: girls with huge tits traits could potentially gain up to 120 titfuck, while the ones with small tits something like 80 maximum.
I'm asking if it's possible to add a different +/- value modifier to the traits that would affect the limit of the stat/skill, not the active amount.
And I'm only talking about small amounts of modification, 10,20,30 per trait. They could stack though.


So instead of all girls having potentially from 0-100 in any skill/stat, their maximum/minimum amounts would vary depending on their personality/traits and items - with values like 20-120, 40-100, 0-60 etc.


If anything,  this serves as a technique increasing difficulty - because most of the traits would offer positive effects only at the price of very detrimental ones.


The reason why I touched upon the subject is partially due to my thought about a "Flat Chest" kind of trait... logically enough, a girl with nothing there shouldn't be able to even perform titfucking at all - what's she gonna do, rub her nipples all over? Yet, at the moment, it's possible for ANY girl to be an absolute prodigy at any sex act. How so? All things in life require a certain amount of talent- some people were simply born doing certain things better than others.


I also like the idea of certain girls being "specialised" in certain matters - one of your girls is good at that, the other at something else,  and so forth.
It would most certainly add variety to the game, and again, perhaps even balance  - since you can't just have every girl with maxed skills in everything after enough grind.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 05, 2014, 10:53:01 AM
The reason why I touched upon the subject is partially due to my thought about a "Flat Chest" kind of trait... logically enough, a girl with nothing there shouldn't be able to even perform titfucking at all - what's she gonna do, rub her nipples all over?

Ummm. Yes. And with the right girl, quite enjoyable. My point is that it becomes counterproductive to try to account for the vast amount of differentiation possible within human sexuality. The game will implode via complexity.

Keep the list of categories and attributes relatively small, and let pack creators deal with issues like 'titty fuck pictures for flat chested girls.' That really shouldn't be an issue the game itself has to care about.

That being said:


I also like the idea of certain girls being "specialised" in certain matters - one of your girls is good at that, the other at something else,  and so forth.
It would most certainly add variety to the game, and again, perhaps even balance  - since you can't just have every girl with maxed skills in everything after enough grind.


Variable skill ranges would be cool. The only thing lacking from your proposal is that I think you should be able to hardcode an absolute prohibition against a particular girl performing a particular sex act, right into the .girlsx file. If the game/player tries to make her do that act, treat it like a 'refuses to work' result.


This is strictly to deal with the fact that finding pictures of every girl doing everything is simply impossible. If all you can find are lesbian pictures, pack creators should be able to restrict the girl to only being able to perform lesbian sex acts. The more sadistic game player will have fun torturing the poor girl to death, while more humane players will not be annoyed by faux 'sex' acts with pictures that aren't even close.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 05, 2014, 11:01:09 AM
I've been fooling around with recruiters from the house. I occasionally get results like:


She finds a girl, Sarika
'neutral guy reject text'


I don't know who that neutral guy is, but he doesn't get rejected every time. I have no idea what status the game is trying to convey.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 05, 2014, 12:04:10 PM
I've been fooling around with recruiters from the house. I occasionally get results like:
She finds a girl, Sarika
'neutral guy reject text'
I don't know who that neutral guy is, but he doesn't get rejected every time. I have no idea what status the game is trying to convey.
I am not a writer.
When I updated that job I didn't have any real text to put into it so I just added default responses.
So until someone writes texts for it, it will just use generic texts.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 05, 2014, 03:29:17 PM
Are you looking for volunteers?


I looked in the script files to see if I could modify that particular interaction, but I didn't see it. (It is entirely possible that I missed it, the script editor is functional but not friendly.)


Is that something a non-coder could modify? If so, where is it?
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on September 05, 2014, 06:04:44 PM
Are you looking for volunteers?
We are if you can do what needs to be done.
I looked in the script files to see if I could modify that particular interaction, but I didn't see it. (It is entirely possible that I missed it, the script editor is functional but not friendly.)
That is hard coded so you wouldnt be able to that.
Is that something a non-coder could modify? If so, where is it?
Again no its hard coded so not much u can do unless u can code.

As for helping if ur a good writer there is almost always something to write for the game.  Or just make some girl packs that always helps.
Title: Re: Crazy and PP's mod bug thread
Post by: rxformula91 on September 05, 2014, 07:48:05 PM
i dunno if anyone reported this yet but I compiled the latest r100 after arbitarily making all the codes work and compile...


I found out two things...


there's a miscalculation in hpay integer... right now i says this


int hpay = totalPay * current->m_Stats[STAT_HOUSE];


shouldn't it all be:

int hpay = totalPay * (current->m_Stats[STAT_HOUSE]/100);


so that its 60% and not 60? and 100% and not 100?


Second thing I noticed, playing around with the pictures... I tried adding picture categories cause as a person I never tired of adding more pic groups just for the fun of it and I notice that say even if pictures I only want the non-preg variant only... that the compiled game will crash if I don't add the preg_offset line to it...

for example:  I wanted to add a RaceQueen category to the game... so I added const int IMGTYPE_RACEQUEEN = 3x;  but if I only have that line the compiled game crashes until I add const int IMGTYPE_PREGRACEQUEEN = IMGTYPE_RACEQUEEN + PREG_OFFSET;
and add the appropriate "racequeen*.*g" and racequeen*.ani

my question is would that be necessary from now on? even for types that I don't want the pregvariant to it?


Thanks in advance I just want to ask these questions for confirmation.



Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 05, 2014, 10:37:29 PM
i dunno if anyone reported this yet but I compiled the latest r100 after arbitarily making all the codes work and compile...
I found out two things...
there's a miscalculation in hpay integer... right now i says this
int hpay = totalPay * current->m_Stats[STAT_HOUSE];
shouldn't it all be:
int hpay = totalPay * (current->m_Stats[STAT_HOUSE]/100);
so that its 60% and not 60? and 100% and not 100?
I already fixed this for the next version, but have not uploaded it yet.
Code: [Select]
int hpay = int(double(totalGold * double(current->m_Stats[STAT_HOUSE] * 0.01)));


Second thing I noticed, playing around with the pictures... I tried adding picture categories cause as a person I never tired of adding more pic groups just for the fun of it and I notice that say even if pictures I only want the non-preg variant only... that the compiled game will crash if I don't add the preg_offset line to it...

for example:  I wanted to add a RaceQueen category to the game... so I added const int IMGTYPE_RACEQUEEN = 3x;  but if I only have that line the compiled game crashes until I add const int IMGTYPE_PREGRACEQUEEN = IMGTYPE_RACEQUEEN + PREG_OFFSET;
and add the appropriate "racequeen*.*g" and racequeen*.ani

my question is would that be necessary from now on? even for types that I don't want the pregvariant to it?
There are actually 4 places in the code that need to be updated when adding Image Types.
There are also 3 places in the code that need to be updated when adding Action Types.
I added notes for how to update them in r98.
Code: [Select]
// `J` When adding or changing this section, search for "J-Change-Image-Types"
// `J` When adding or changing this section, search for "J-Change-Action-Types"


I have been preoccupied with merging my characters folder with the most recent torrent.
I have finished the folders and am now up to 1320.
I still need to do the (r)girlsx files but I am going to do more with WME to automate the process a little first.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on September 06, 2014, 05:59:34 PM
I think having a maximum of 130% would be best
(Base = 0-100) + (Temp = 0-100) + (Item = 0-100) + (Traits = 0-100) = ( 0-100  ||  100 + 10%)

Be careful with those caps, a girl with 50 Base obedience, the Iron Will trait (-90 obedience) and nothing else would have 50 obedience due to Traits being limited to 0-100.

What I posted isn't completely free of this as well (it happens when Base+Temp+Items is a negative number and the girl has a positive trait), but on the other hand I like the effect it has on the upper cap (bad traits lower it).


As a side note, wasn't the number of small weapon slots reduced to 1?
Title: Re: Crazy and PP's mod bug thread
Post by: TIFFD on September 07, 2014, 01:19:07 AM
I'm playing around a bit with the editor, and I've noticed there's a 'Affect all girls temporarily' Item Effect, but when I try to use it (to say, boost everyone's Libido by 100 as a test), it doesn't seem to get used, and when I try to log items, it doesn't seem to add anything to the Log File.

Has this been fully implemented? I'm using the latest build.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 07, 2014, 08:18:08 AM
Be careful with those caps, a girl with 50 Base obedience, the Iron Will trait (-90 obedience) and nothing else would have 50 obedience due to Traits being limited to 0-100.

What I posted isn't completely free of this as well (it happens when Base+Temp+Items is a negative number and the girl has a positive trait), but on the other hand I like the effect it has on the upper cap (bad traits lower it).
My bad - copy/paste error

(Base = 0 to 100) + (Temp = -100 to 100) + (Item = -100 to 100) + (Traits = -100 to 100) = (Final = 0 to 100 + (10% over 100))

Should there be negatives?
A negative obedience would mean she actively tries to defy you all the time.
While this could really add to game play, it would require tons more scripting for actions

As a side note, wasn't the number of small weapon slots reduced to 1?
No, it was increased to 2 small weapons.


I'm playing around a bit with the editor, and I've noticed there's a 'Affect all girls temporarily' Item Effect, but when I try to use it (to say, boost everyone's Libido by 100 as a test), it doesn't seem to get used, and when I try to log items, it doesn't seem to add anything to the Log File.

Has this been fully implemented? I'm using the latest build.
I looked at this last week when I got an item that had it.
It is in the items code but is only so much as to be excluded, it currently has no effect.
I started trying to make it work but I got sidetracked on updating my girls packs.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on September 07, 2014, 08:08:48 PM
My bad - copy/paste error

Ah, ok.

Should there be negatives?
A negative obedience would mean she actively tries to defy you all the time.
While this could really add to game play, it would require tons more scripting for actions

Maybe it makes sense for some stats like Obedience (yet it would require a lot of work), but not for all (negative Libido or Charisma?). If that means different equations for each stat and skill it may not be worth the effort.

Must base be 0-100 for skills? A lower cap would make more room for item and trait management. After spending some time at a job base alone maxes the skill associated with it.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on September 08, 2014, 04:38:25 AM
Ummm. Yes. And with the right girl, quite enjoyable.
Really. I mean... try to jack off with one hand...while its palm isn't clenched and is opened straight instead. It would work kind of similar.

Keep the list of categories and attributes relatively small, and let pack creators deal with issues like 'titty fuck pictures for flat chested girls.' That really shouldn't be an issue the game itself has to care about.

Link me to ONE image, whatever its context and source, where a flat (and I mean FLAT CHESTED, not small-tittied) girl is performing titty fuck and I'll accept your point entirely.

My point is that it becomes counterproductive to try to account for the vast amount of differentiation possible within human sexuality. The game will implode via complexity.


You're overexaggerating. I'm only talking about some traits raising/lowering the caps on skills/stats.
Right now the stats/skills system isn't complex at all - they can go to values from 0 to 100. A bit more complexity to that won't implode anything.

Variable skill ranges would be cool.

...so you agree with me?

The only thing lacking from your proposal is that I think you should be able to hardcode an absolute prohibition against a particular girl performing a particular sex act, right into the .girlsx file. If the game/player tries to make her do that act, treat it like a 'refuses to work' result.

This would also add an option to add logically working monstergirls into the game... so, you know, a lamia would be hardcoded to not be able to perform a footjob. Because she has no feet.


This is strictly to deal with the fact that finding pictures of every girl doing everything is simply impossible. If all you can find are lesbian pictures, pack creators should be able to restrict the girl to only being able to perform lesbian sex acts. The more sadistic game player will have fun torturing the poor girl to death, while more humane players will not be annoyed by faux 'sex' acts with pictures that aren't even close.

So you want to limit the sexual and non-sexual acts to the girls based on their images? That's a terrible idea IMO. Restrictions on actions should be based on a logical basis, like the aforementioned titless titfuck or footless footjob.


Should there be negatives? A negative obedience would mean she actively tries to defy you all the time.While this could really add to game play, it would require tons more scripting for actions


YES and no.
Instead of making negatives (I imagine negative values would cause all kinds of fuckery in the coding), you could implement the system that I'm desperately trying to propose.
Instead of Obedience being 0-100, make its skill range something like 0-200, and "shift" the current limits of obedience accordingly. So she would actively try to defy you all the time as you've said yourself at 0 "new" Obedience, while the 100 "new" Obedience would be the 0 "old" Obedience.
0-200 are only examples of values.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 08, 2014, 11:42:04 AM
I'm not going to respond point by point. I'm not interested in winning a discussion, I am more interested in improving a game.


RE: skill ranges
I approve of the idea of skill value ranges being something other than 0-100. I just objected to the absolute nature of your example. Sadly, I have no pictures, but I have an anecdotal existence proof that flat women aren't necessarily inept at titty-fucking. Take my word for it: while friction is necessary, one-sided friction is sufficient. Emotion trumps friction by far.


RE: flat-chested
While I have no objection per se to a 'flat-chested' attribute, I think it's covered sufficiently by 'small boobs'. Does the game need 'tiny arse', 'stumpy legs', 'large aureoles', 'torpedo tits', 'thick waist',  'bbw', and hundreds of ethnicity and nationality descriptors, too? Personally, I say no. Keep the attributes simple, and let the pictures themselves carry that freight.


RE: limiting actions a girl will do
Currently, brothels can limit what type of activities are portrayed. I just want to have that feature extended to individual girls. As you say, it enables 'correct monster girls' and specialist girls. And note - if you are making a pack for a flat-chested girl, just turn off the ability to titty-fuck and everyone is happy.


But just a quick defense of the ability to limit activities based upon available pictures: When playing a game like this, I am tremendously annoyed by pictures that don't match the textual action. For an obvious and common example, if the text says she's sucking a cock, then dammit, I want to see a prick in that picture and I want to see saliva on it. While others may be entertained by creative substitutes, I personally find pictures using dildos and finger-sucking and other look-a-likes to be annoying - and the fallbacks to ecchi or nude or profile pictures are disappointing at best.


Perhaps my imagination is limited. *Shrug*. So be it. I've never done well with cognitive dissonance.


(Note I'm not at all proposing that such a feature be MANDATORY. Current packs should continue to work as they do without modification. If other pack creators want to continue using substitute pictures and/or the extensive and well-done fallback picture mechanisms, I'm cool with that.)
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on September 08, 2014, 07:28:42 PM

I understand where you're coming from with your issue about images not matching actions. Not that I have that issue personally - my imagination works just fine and I am just all right with girls having 5 different kinds of image type varieties although the more the better. But I do get that from a "that one thing that just won't stop bothering you" kind of point of view.
For me it was the limitations on trait and script customizations.


Emotion trumps friction by far.

That's not the point. By this logic it's possible to climax to anything - and nothing at all. Which is TRUE, but not relevant. The fact is, we're discussing how well a girl can make you climax with her tits - and the answer is, without tits, she can't help you with that at all.
The sexual context doesn't work either - this is a physical attribute.

While I have no objection per se to a 'flat-chested' attribute, I think it's covered sufficiently by 'small boobs'.

This I just can't let go. It's not simply a matter of opinion.
Small tits are visible. Small tits are grope-able.
A flat chest is basically nothing but the nipples on skin.



Does the game need 'tiny arse', 'stumpy legs', 'large aureoles', 'torpedo tits', 'thick waist',  'bbw', and hundreds of ethnicity and nationality descriptors, too? Personally, I say no


Personally, I say https://www.youtube.com/watch?v=P3ALwKeSEYs (https://www.youtube.com/watch?v=P3ALwKeSEYs)

I've got bad news for you, there's an active thread right now about adding new traits to the game and boy is there a lot of them.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 08, 2014, 09:14:47 PM
Tit job does not always specify who's tits are used, the girl's or the customers, so flat chest could be irrelevant.
Same with foot job.  :P

While disagreements can be useful, arguing usually is not.
Keep disagreeing, I will try to make all sides get at least some of what they want.
If everyone agreed on everything, there would be very little chat on forums.

(You should start an argument thread, I would get a kick out of some good natured verbal parlay. As long as it doesn't get ugly, it could produce some good useable ideas.)



Does the game need 'tiny arse', 'stumpy legs', 'large aureoles', 'torpedo tits', 'thick waist',  'bbw', and hundreds of ethnicity and nationality descriptors, too? Personally, I say no. Keep the attributes simple, and let the pictures themselves carry that freight.
I've got bad news for you, there's an active thread right now about adding new traits to the game and boy is there a lot of them.
The thread for new traits is - http://www.pinkpetal.org/index.php?topic=3478.0 (http://www.pinkpetal.org/index.php?topic=3478.0) - Please submit your ideas.  ;D

Now, "Does the game need..." anything? No, just about everything is optional.

Most of the new traits I am adding, will eventually have some effect on the game... eventually.
If you want something descriptive like 'large aureoles', something that would have little or no effect in the game other than descriptions, you can add them yourself.
That is the purpose of making the traits editable.
If you want something to be added to the game, that is what the new traits thread is for.



The number limits I am still trying to figure out how it will work, what way will be best and what way would be easiest.
I have not even started writing any code for it.
The numbers are very integral to the game so any changes to them needs to be done carefully or the game may break.
Until all the bugs can be ironed out, the ranges will stay at (0 to 100) or (-100 to 100).
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 09, 2014, 11:05:20 AM
I'm not arguing. Since you've added lots of traits, you've made a decision that I'm perfectly happy to live with.  I personally would have used the development time elsewhere, but hey, it's your time and your party. As long as you're having fun, so am I.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 09, 2014, 11:16:26 AM
We are if you can do what needs to be done.That is hard coded so you wouldnt be able to that.Again no its hard coded so not much u can do unless u can code.

As for helping if ur a good writer there is almost always something to write for the game.  Or just make some girl packs that always helps.


So, how's about a new studio meet up script? Tell me what you think. It's a bit of a departure from the old script. I never liked the binary nature of the options presented, especially since one of the options was pretty much useless. If you didn't want to recruit another girl, why did you click the begin button in the first place?


This script assumes you will hire the girl, if you can. So now you have to get her to sign a contract, without scaring her off. There are also implications to how you sign her up. Treat her right, and she'll like you a bit. Treat her badly, and you may still sign her up, but she'll dislike you a little.


Question: If a script adds a random girl to your dungeon, is there any way for the script to modify that girl's attributes. Like, for example, make her hate the PC?


If it's possible, the text hard-coded into the game just before it calls the meet-up script would give a smoother flow if it said:
"You need a new girl for your next film. You set up a public casting call."


(Updated script moved here: http://www.pinkpetal.org/index.php?topic=3479.0)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 09, 2014, 12:53:56 PM
So, how's about a new studio meet up script? Tell me what you think.
I went over your script and changed a few minor things.
If you can make the kidnap at the end optional that would be better.
Or do something like, if the first girl refuses to work for you, 20% chance she will send you to try to kidnap another girl who she does not like.


If it's possible, the text hard-coded into the game just before it calls the meet-up script would give a smoother flow if it said:
"You need a new girl for your next film. You set up a public casting call."
Changing the prescript text was easy.
Code: [Select]
    int pre = g_Dice % 2;
    if (pre == 1) message = "You need a new girl for your next film. You set up a public casting call.";
    else          message = "You hold an open casting call to try to get a new actress for your movies.";
More options can be added so if you have any, post them.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 09, 2014, 01:08:33 PM
Those two options will do fine. There's not a lot of need for ten different phrases that all say the same thing. The script can do any further variation required.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 09, 2014, 01:50:08 PM
So, I take it that you approve in general?

I can make the kidnap optional.  I was going to make it optional to start with, but frankly, that editor is the balls to work with. Instead of expanding that option, I got tired of wrestling with the tools and left it as is. 


I'm glad you caught it, though. I'll add it back in. It is another place where the PC can choose to be good(ish) or evil.


I'm not sure why you changed the wording of the girl who lost her mom and pop. There is a lot of gang warfare in this game, and I wanted to call that out directly. It's not anything that changes game-play, but it adds a (slight) reminder to the PC that sending his gangs out to kill other gangs is likely to cause collateral damage, with all the moral consequences thereof. It's flavor intended to add to the game's moral ambiguity.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 09, 2014, 02:19:42 PM
So, I take it that you approve in general?
Yes.

I can make the kidnap optional.  I was going to make it optional to start with, but frankly, that editor is the balls to work with. Instead of expanding that option, I got tired of wrestling with the tools and left it as is. 
I'm glad you caught it, though. I'll add it back in. It is another place where the PC can choose to be good(ish) or evil.
The more options, the better.

I'm not sure why you changed the wording of the girl who lost her mom and pop. There is a lot of gang warfare in this game, and I wanted to call that out directly. It's not anything that changes game-play, but it adds a (slight) reminder to the PC that sending his gangs out to kill other gangs is likely to cause collateral damage, with all the moral consequences thereof. It's flavor intended to add to the game's moral ambiguity.
I didn't think of it like that but I see what you mean.
Either way works.
I started editing that line because of the "Ma and Dad" part, usually if "Ma" is used it is followed with "Pa", I just kept editing after changing that.
Use whatever version you think makes more sense.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 09, 2014, 03:42:43 PM
I added a brand new note for the script. We've kinda moved beyond a bug report stage.


http://www.pinkpetal.org/index.php?topic=3479.0
Title: Re: Crazy and PP's mod bug thread
Post by: ElvisLives27536 on September 09, 2014, 10:08:43 PM
I don't know if this has been reported yet but I encountered a bug using version 6.00.02:

Girls in the dungeon
Give healing item (specifically the +25 health item)
Torture girl again.

No matter what I do, the health never drops below 25. It's like her new minimum was set to 25. This works for any girl so far. Haven't tested it on a random girl though.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 09, 2014, 10:29:59 PM
I don't know if this has been reported yet but I encountered a bug using version 6.00.02:

Girls in the dungeon
Give healing item (specifically the +25 health item)
Torture girl again.

No matter what I do, the health never drops below 25. It's like her new minimum was set to 25. This works for any girl so far. Haven't tested it on a random girl though.
Doh...
When I changed items to use skill/stat mod instead of the base, I didn't think about health, happiness and tiredness.
I will fix that.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 10, 2014, 08:59:31 AM
This might not be the right place to report this, but:


In Script Edit.exe
The command "If Not Disobey" does not increase the indentation of succeeding text, making it very hard to follow the logic structure of complex scripts.

If you fix this, I'd love to beta test it, since I'm digging into the scripts.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on September 12, 2014, 09:37:39 AM
Doh...
When I changed items to use skill/stat mod instead of the base, I didn't think about health, happiness and tiredness.
I will fix that.

Can it cause issues with libido as well?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 12, 2014, 10:36:50 AM
Can it cause issues with libido as well?
I will double check that but some items should lock in libido.
"Minor Ring of the Horndog" gives +30 libido and it is a worn item so that would go into libido's mod value.
"Sinspice" is a temporary item that gives +75 libido so that would go into libido's temp value.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on September 12, 2014, 10:58:03 AM
I will double check that but some items should lock in libido.
"Minor Ring of the Horndog" gives +30 libido and it is a worn item so that would go into libido's mod value.
"Sinspice" is a temporary item that gives +75 libido so that would go into libido's temp value.

The items I think can cause trouble are consumables that add a permanent libido increase, like the Red Rose Extravaganza (if they use stat mod).
Title: Re: Crazy and PP's mod bug thread
Post by: 63648411 on September 12, 2014, 11:09:11 PM
Two things I've noticed about the turn summary page, and was wondering if other people had experienced:

First, on the Dungeon summary, the pictures are displayed as if the girls were in their original order, before having those of higher priority moved to the top. This results in the images displayed actually belong to the girl a number of spaces equal to the number of girls who have been moved to the top.

Second, and I would have thought this would have been brought up if it was happening to other people, but I'll mention it all the same, the images for girls on the Farm simply don't appear. Whatever image was previously been display stays up until you click on an entry for some other building, at which point the image updates as normal.
Title: Re: Crazy and PP's mod bug thread
Post by: deadkingblue on September 13, 2014, 01:01:52 AM
Completely incapable of using the WMEdit8.1.3, not only does my antivirus freak out (though i can handle that) i can't add any girls to the list and when i type in the name part it opens up an error message. same when i try to add girl to list so i can save it. I have confirmed that my antivirus is not causing this. i use windows 7 (is that the problem?) If u need the error message details pm me and i'll send them (they take up to much space for here)
Game runs fin tho
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on September 13, 2014, 03:14:37 AM
Completely incapable of using the WMEdit8.1.3, not only does my antivirus freak out (though i can handle that) i can't add any girls to the list and when i type in the name part it opens up an error message. same when i try to add girl to list so i can save it. I have confirmed that my antivirus is not causing this. i use windows 7 (is that the problem?) If u need the error message details pm me and i'll send them (they take up to much space for here)
Game runs fin tho
I agree. Something doesn't work. Although I don't get a virus alert , I'm using W7 too.
I am able to load an existing girl. But a save doesn't work correctly.
Title: Re: Crazy and PP's mod bug thread
Post by: rxformula91 on September 13, 2014, 03:53:13 AM
I agree with 63648411
[/size][/color]
[/size]On Top of those two issues I also found another weird issue...[/color]
[/size][/color]
[/size]When I save enough money to buy brothel 2, the game goes into the name the brothel screen but it restarts the game with both brothels but everything resets back to the original date and time, 0 girls, 0 gangs, default money and such... and have to start collecting the girls and gangs again.  ALready found that once I type the brothel name on it the other screen starts loading all the girls xml again and then 5 minutes later everything is back to starting a new game.[/color]
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 13, 2014, 10:39:53 AM
I am looking into why WME.8.13 is not working.

I tested it on win7-64bit, xp-sp3 and linux-wine1.6.2. All 3 worked.
I downloaded from both mirrors and tested both with no problems.

I even tried it on my ancient laptop, a pentium 233mhz with 128m ram running xp-sp3
It did not work because it does not have .net3.5 so I am updating it.
edit: after waiting half an hour for .net3.5 to install, WME.8.13 worked but it was a little slow.

If .8.12 worked for you, the only thing different in .8.13 is a few new trait types.
The trait types are currently hardcoded into WME so if you manually edit the traitsx file and don't enter the type exactly as it is in WME that trait will throw an error.
If .8.12 and .8.13 do not work at all, use .8.11 until I find the problem and fix it.


First, on the Dungeon summary, the pictures are displayed as if the girls were in their original order, before having those of higher priority moved to the top. This results in the images displayed actually belong to the girl a number of spaces equal to the number of girls who have been moved to the top.
I will look into it.

Second, ... the images for girls on the Farm simply don't appear. Whatever image was previously been display stays up until you click on an entry for some other building, at which point the image updates as normal.
The farm is still under construction so there will be some issues.
Found and fixed this problem.



When I save enough money to buy brothel 2, the game goes into the name the brothel screen but it restarts the game with both brothels but everything resets back to the original date and time, 0 girls, 0 gangs, default money and such... and have to start collecting the girls and gangs again.  ALready found that once I type the brothel name on it the other screen starts loading all the girls xml again and then 5 minutes later everything is back to starting a new game.
I was unable to replicate this.
Please attach your save game from before you try to buy the new building.

Title: Re: Crazy and PP's mod bug thread
Post by: noname on September 13, 2014, 05:52:34 PM
I found a bug in version .06.00.03.
In cCustomers::getCustomer() when the customers m_SexPref is generated, the loop doesnt filter out the new skills(SKILL_HERBALISM,SKILL_CRAFTING...).

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 13, 2014, 06:43:13 PM
I found a bug in version .06.00.03.
In cCustomers::getCustomer() when the customers m_SexPref is generated, the loop doesnt filter out the new skills(SKILL_HERBALISM,SKILL_CRAFTING...).
I thought I squished that bug already but I guess not.

Fixed it and updated it.
 - female customer = 50% les, 25% bdsm or beast
 - group = 10% strip or 90% group
 - single males = 20% normal, 15% anal or bdsm, 10% all others.
Added secondary sex pref to reduce sex restriction turn aways. (not implemented yet)
Reworked customer base: 10-40% Rich, 10-50% Middle, 10-80% poor (rich and middle are rolled then whatever is left is poor)
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on September 14, 2014, 07:15:24 AM
I've just doublechecked the WME 0.8.13
As far I can see it , it works fine for me.
I've loaded different existing girls, updated thes or even not and saved them again.
Everything was ok.
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on September 15, 2014, 02:31:29 AM
i had the old problem with the studio again, created a movie for no income. nothing gamebreaking, though, plus it seems to have disappeared after i put a promoter and director on duty.
is the incorporeal trait gone now? with the 0.2 version i got error messages, but now they are gone. the valkyrie and angel girls don´t show the trait anymore, though.
oh, and is there some way to increase the fontsize in the transfer and basically all other windows? it´s a tad tiny, tbh...
anyway, nice new update. can´t wait for more, this is an amazing way to spend time on. =)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 15, 2014, 10:13:03 AM
i had the old problem with the studio again, created a movie for no income. nothing gamebreaking, though, plus it seems to have disappeared after i put a promoter and director on duty.
It is possible to create scenes worth nothing or a negative value, just don't add them to a movie.

is the incorporeal trait gone now? with the 0.2 version i got error messages, but now they are gone. the valkyrie and angel girls don´t show the trait anymore, though.
It is not gone, but the spelling "Incorporial" has been culled a little.
When rewriting the the spelling correcter, I left that out but I put it back for .03
It should still load but will be changed to "Incorporeal"
Check the spelling of it in your files.

oh, and is there some way to increase the fontsize in the transfer and basically all other windows? it´s a tad tiny, tbh...
Edit your interface files.
The font sizes are easy to change but if you don't compensate for it, they could squeeze the screen a bit.
Title: Re: Crazy and PP's mod bug thread
Post by: PolitenessMan on September 16, 2014, 05:00:41 AM
Is there a new save format?   When I try to load a save on .04, it sends me back to the title screen.

The problem seems to be here:

"Tried and failed to parse savegame as XML file, error as follows
(If it says 'Error document empty.' it's probably old format)
Error reading Attributes.
.06 no longer supports Legacy Savegames. Start a new game."

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 16, 2014, 11:48:28 AM
Is there a new save format?   When I try to load a save on .04, it sends me back to the title screen.

The problem seems to be here:

"Tried and failed to parse savegame as XML file, error as follows
(If it says 'Error document empty.' it's probably old format)
Error reading Attributes.
.06 no longer supports Legacy Savegames. Start a new game."
If your save game was from .05 you will need to start a new game for .06.
If it is from .06 attach it and I will see if there is a bug in it.

This was done because several changes were made for .06 that could crash the game if certain things were set differently from a .05 game.
Title: Re: Crazy and PP's mod bug thread
Post by: PolitenessMan on September 16, 2014, 11:53:03 AM
It was a clean start from .06
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 16, 2014, 11:59:13 AM
Need the save game file not the game log.


I should probably get rid of the gamelog.txt as it is currently useless for finding bugs.
Title: Re: Crazy and PP's mod bug thread
Post by: PolitenessMan on September 16, 2014, 12:21:20 PM
Kay then.

To make sure there's no uneeded crud, here's some basic test save where I did nothing and still encountered the problem.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 16, 2014, 12:54:06 PM
Is there a new save format?   When I try to load a save on .04, it sends me back to the title screen.
The problem seems to be here:
"Tried and failed to parse savegame as XML file, error as follows
(If it says 'Error document empty.' it's probably old format)
Error reading Attributes.
.06 no longer supports Legacy Savegames. Start a new game."
To make sure there's no uneeded crud, here's some basic test save where I did nothing and still encountered the problem.
The problem is in the trait "Farmer's Daughter"  remove the  '  to make it "Farmers Daughter"
Change it in both your save game and your CoreTraits.traitsx file.

I fixed it on my end and it will be corrected for the next version.
I will extend this fix so it does not happen again, hopefully.
And I will improve the gamelog.txt message so it will be easier to check in the future.
Title: Re: Crazy and PP's mod bug thread
Post by: 63648411 on September 18, 2014, 02:58:36 AM
Very minor issue, but in the Gangs tab in the turn summary, the message "You have dealt [Rival Name] a fatal blow" is labelled as a Warning, which is usually something I see with negative events. Maybe the Good News label would be more appropriate?
Title: Re: Crazy and PP's mod bug thread
Post by: eviljanitor on September 18, 2014, 06:25:29 PM
Found an issue with girls not getting a stat update when useing the training submenu under the interact with screen. They don't seem to gain stat increases with weapon or magic training.
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on September 20, 2014, 08:25:44 PM
Hmmm, i think i found a bug ^^


the age-editing items dont work .... none of them in my place ... lolita-wand, chocolate cookie (i know not everyone work) etc


age 29 ... use any (every) age-lowering-item .... age still 29
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 20, 2014, 10:08:29 PM
the age-editing items dont work .... none of them in my place ... lolita-wand, chocolate cookie (i know not everyone work) etc
age 29 ... use any (every) age-lowering-item .... age still 29
This was caused by a recent update to how items adjust stats.
Age and exp have been added to the list of stats that do not use tempstat or statmod that already includers health happiness and tiredness.

The fix will be in .06.00.05
Title: Re: Crazy and PP's mod bug thread
Post by: guydude64 on September 23, 2014, 05:47:44 PM
Need the save game file not the game log.


I should probably get rid of the gamelog.txt as it is currently useless for finding bugs.


actually, not as useless as u think, i ran into a problem when starting a new game, it would load up all girls, then just hang, forever, without even getting past the name save part, but, after checking the log, it had this error message:
Error: Can't find stat 'Morality' for girl <---that message showed up for every single girl i had in the characters area
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 23, 2014, 07:34:17 PM

actually, not as useless as u think, i ran into a problem when starting a new game, it would load up all girls, then just hang, forever, without even getting past the name save part, but, after checking the log, it had this error message:
Error: Can't find stat 'Morality' for girl <---that message showed up for every single girl i had in the characters area
Well, you are right but for the wrong reason :P
It looks like your game hung up on a bad ani file, not the missing morality stat.
The missing stat does not break the game, it just gets set to 0 and continues loading the girls.
Title: Re: Crazy and PP's mod bug thread
Post by: guydude64 on September 23, 2014, 08:15:11 PM
well OK,now how do I fix that? just get a fresh download? (version used was .06.00.04)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 23, 2014, 09:10:26 PM
Remove the ani file, they rarely work anyway.
I will probably get rid of them if i get around to adding gif support.




For the girls part, there is nothing for you to fix really.
Morality, Refinement, Dignity and Lactation are all new stats that are in the game code but not in WME or girls files yet.
They all get set to default (0) if they are not found.
As they are not used yet, it does not matter right now.


I did update the (r)girlsx file loading messages section of the gamelog.txt so it will be easier to find problem files.
Code: [Select]
Loading File ::: .\Resources\Characters\arena.girlsx
Loading Girl : Cheetara
Error: Can't find stat 'Morality' for girl 'Cheetara' - Setting it to default.
Error: Can't find stat 'Refinement' for girl 'Cheetara' - Setting it to default.
Error: Can't find stat 'Dignity' for girl 'Cheetara' - Setting it to default.
Error: Can't find stat 'Lactation' for girl 'Cheetara' - Setting it to default.
Loading Girl : She Ra
Error: Can't find stat 'Morality' for girl 'She Ra' - Setting it to default.
Error: Can't find stat 'Refinement' for girl 'She Ra' - Setting it to default.
Error: Can't find stat 'Dignity' for girl 'She Ra' - Setting it to default.
Error: Can't find stat 'Lactation' for girl 'She Ra' - Setting it to default.

Loading File ::: .\Resources\Characters\digimon.girlsx
Loading Girl : LadyDevimon
Error: Can't find stat 'Morality' for girl 'LadyDevimon' - Setting it to default.
Error: Can't find stat 'Refinement' for girl 'LadyDevimon' - Setting it to default.
Error: Can't find stat 'Dignity' for girl 'LadyDevimon' - Setting it to default.
Error: Can't find stat 'Lactation' for girl 'LadyDevimon' - Setting it to default.
Loading Girl : Lilithmon
Error: Can't find stat 'Morality' for girl 'Lilithmon' - Setting it to default.
Error: Can't find stat 'Refinement' for girl 'Lilithmon' - Setting it to default.
Error: Can't find stat 'Dignity' for girl 'Lilithmon' - Setting it to default.
Error: Can't find stat 'Lactation' for girl 'Lilithmon' - Setting it to default.

Loading File ::: .\Resources\Characters\China Dress.rgirlsx
Loading Rgirl : China Dress

Loading File ::: .\Resources\Characters\randoms.rgirlsx
Loading Rgirl : 9-5'ers
Loading Rgirl : Aggressive Girl
Loading Rgirl : Archer Elf
Loading Rgirl : ArinKoohGirl
Loading Rgirl : Asari
...
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 27, 2014, 07:07:59 PM
Foot jobs are now happening, at least in the studio. Eh, I can do without 'em - but brothel settings have no way to turn that sex type off.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 27, 2014, 10:24:55 PM
The chained sex acts is working so much better. Thanks!  Now for some fine tuning:

A masseuse ended up fucking a customer. The problem is, in the ensuing sex act, all she did was strip for him, despite a specific reference to fucking.

I'd recommend changing the text of the 'masseuse chaining to another sex act' message to be as non-specific as possible. Probably something like "She decided to do something special for this customer".

Here's what it said:

"She massaged a customer. She made a few mistakes but overall she is okay at this.
Only few customers came today. She didn't earn much.                   <--- Missing 'a', by the way.
She massaged and ending up fucking the customer as well, making them very happy.
Antonia proudly took her clothes off infront of the customer.            <--- need a space after the 'in'
The customer swore they would come back.
It was nothing new for her, but she really does appreciate such work."

The picture was a 'strip' picture from the girl pack, which is correct to my way of thinking, since it's the actual last thing she did.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 27, 2014, 11:10:03 PM
When I added herpes and updated the other stds it seems I did made the numbers way too bad.
I am cutting down the numbers a lot.

I also found a problem in the code that actually made sterile and pregnant girls much less susceptible to stds.
This has probably been in the game for a very long time but was overlooked because it is several layers down below the std code.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on September 28, 2014, 04:53:18 AM
I just went .06.00.04-.06.00.05, and a bunch of my whoring girls(if not all) suddenly got a "Good Kisser" trait right on next week. Is it too easy to obtain, or is this because they've got all the prerequisites(dunno if those even exist) before?
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on September 28, 2014, 05:18:05 AM
I just went .06.00.04-.06.00.05, and a bunch of my whoring girls(if not all) suddenly got a "Good Kisser" trait right on next week. Is it too easy to obtain, or is this because they've got all the prerequisites(dunno if those even exist) before?
Its because its an old save.  A new game would take awhile to get the trait. So yes you had the prerequisites already
Title: Re: Crazy and PP's mod bug thread
Post by: keramond on September 28, 2014, 03:11:36 PM
hello


i cant get my rarity colors, which i defined in config.xml (root folder and Resources/Data), to work.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on September 28, 2014, 04:16:18 PM
The Mighty Unassigning is back in action somehow. Looks very much the same as before for now.

Yep, happens after they give birth.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on September 28, 2014, 05:11:22 PM
Continuing my theme, I had that same masseuse chain into a bdsm sex act, despite the fact that the brothel had bdsm sex turned off.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 28, 2014, 07:44:19 PM
i cant get my rarity colors, which i defined in config.xml (root folder and Resources/Data), to work.
Rarity colors were moved into .\Resources\Interface\(interface name)\InterfaceColors.xml
Title: Re: Crazy and PP's mod bug thread
Post by: Romanul on September 29, 2014, 02:15:34 PM
Can you please tell me why it crashes? It's a new game in the latest build.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 29, 2014, 06:31:37 PM
Can you please tell me why it crashes? It's a new game in the latest build.
One of the changes I made in reflowing the brothels was to move the dead girl check to the first part of the building check.
In that I missed a change in one line of code that broke the dead girl check.

Heal your girls so they don't die.
If you can not heal them, until I put out the corrected version, move them to the house where the dead girl code is not broken.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on September 29, 2014, 08:07:42 PM
Continuing my theme, I had that same masseuse chain into a bdsm sex act, despite the fact that the brothel had bdsm sex turned off.
Yeah its cause there was no check to see if it was allowed or not.
Title: Re: Crazy and PP's mod bug thread
Post by: keramond on September 30, 2014, 07:41:33 AM
Hello again,


i can't access the inventory of girls on the farm, it always chooses "shop" as active item in the exchange list and the girls of farm aren't in there.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on September 30, 2014, 09:23:53 AM
i can't access the inventory of girls on the farm, it always chooses "shop" as active item in the exchange list and the girls of farm aren't in there.
Added farm girls into the shop and cleaned the shop code a bit.
Should be fixed in the next version.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on October 01, 2014, 04:10:00 PM
Some brothel customers request whores to strip instead of having sex with them. I'm not sure if it's intended, but if it is a button to disable it in the brothel setup menu would be welcome.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on October 02, 2014, 05:14:15 AM
The chained sex acts is working so much better. Thanks!  Now for some fine tuning:
A masseuse ended up fucking a customer. The problem is, in the ensuing sex act, all she did was strip for him, despite a specific reference to fucking.
I'd recommend changing the text of the 'masseuse chaining to another sex act' message to be as non-specific as possible. Probably something like "She decided to do something special for this customer".
Next patch it will say what she does instead of just saying she fucks him.  And it will make more sense.  Group BDSM beast and strip wont be in it.  So we will see what everyone thinks when it come out.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 02, 2014, 11:39:51 PM
Some brothel customers request whores to strip instead of having sex with them. I'm not sure if it's intended, but if it is a button to disable it in the brothel setup menu would be welcome.
Stripping is intended to be a fallback if all others are banned.
When it is occurring too often it is a bug.
I am changing the way customers choose their preferred sex type so it will accommodate banned sex types better.
There is still a bug somewhere in the sex choice code I have not found yet.
When I fix it, stripping will be rare as a sex choice unless all other types are banned.

As for the other jobs having secondary side effects of the girls being too horny and having sex with the customers,
If a sex type is banned she will try one that is not banned,
If there are no banned types that will satisfy her, her obedience or some other stat is not good or her libido is very high,
She will break the rules.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 03, 2014, 10:27:10 AM
Sorry, but have you seen my report up there about unassigning back in action? Happens on .06.00.05 when they give birth.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 03, 2014, 11:46:47 AM
Sorry, but have you seen my report up there about unassigning back in action? Happens on .06.00.05 when they give birth.
Sorry, I missed that.
The Mighty Unassigning is back in action somehow. Looks very much the same as before for now.
Yep, happens after they give birth.
Is it only after they give birth?
If so, the matron is supposed to put them back to work after 1 week off.
If the girl's health, happiness and/or tiredness is bad, she may get some extra time off to recover.

If she does not get put back to work and she has full hht:

Zip them all into a file and attach it.
Specify which girl in what building so I know what to look for.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 03, 2014, 11:59:13 AM
About a "one week off": in WM one turn is one week long. Girls that give birth do not work during the week they gave birth. If matron unassigns them, it means they get two weeks off , one where they gave birth + one after.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 03, 2014, 02:08:25 PM
About a "one week off": in WM one turn is one week long. Girls that give birth do not work during the week they gave birth. If matron unassigns them, it means they get two weeks off , one where they gave birth + one after.
I see your point.
Then I should clarify that the girl is supposed to get 2 weeks off for maternity leave, the week she gives birth plus 1 full week.

One plan for pregnancy in the future was for the girl to give birth at a random time in the week.
As it is now, every girl gives birth on the first day of the week and takes that week and the next one off.
If the random time birth gets done, then the girl will get part of the first week off plus the next full week.
This will add more possibilities as to what happens with the baby.


While testing this problem, I did find a few other problems:
Girls in the Studio do not get taken off their jobs at all after giving birth,
Some of the arena jobs do not work.
I am checking those and working on the rest of the buildings.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 03, 2014, 02:46:10 PM
Yeah, Matron is doing her job now. They are being assigned back in a week.
I can see some strange stuff though. Riesz was assigned back to strip club whore/piano. In report i've got:
1) Back to work: The Matron puts Riesz back to work.
2) Summary: she made no money
3) Night shift: played the piano.... blah blah blah
4) Summary: earned a total of....
Something is missing between 1 and 2. No day action listed at all. Or was "back to work" a day action?

Other stuff:
the dungeon report's girl images are all wrong. You click one girl, and get images from another one.

Jobs like barmaid seem to be nearly unaffected by the girl's skill. Unbelievable barmaids can get around 150g and newcomers around 120g.

When i go to brothel setup first time i can see wrong "current rooms" sometimes. Like i have 80 and it says i currently have 35. If i reopen the setup, i see the correct amount of rooms. I think this happens if i visit a house right before going to brothel setup.

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 03, 2014, 05:27:37 PM
Yeah, Matron is doing her job now. They are being assigned back in a week.
I can see some strange stuff though. Riesz was assigned back to strip club whore/piano. In report i've got:
1) Back to work: The Matron puts Riesz back to work.
2) Summary: she made no money
3) Night shift: played the piano.... blah blah blah
4) Summary: earned a total of....
Something is missing between 1 and 2. No day action listed at all. Or was "back to work" a day action?
I am currently reflowing the brothel.
It has a few bugs in it that are causing minor text problems and some other problems.

the dungeon report's girl images are all wrong. You click one girl, and get images from another one.
I will look into this after I fix the brothel problems.

Jobs like barmaid seem to be nearly unaffected by the girl's skill. Unbelievable barmaids can get around 150g and newcomers around 120g.
Crazy is working on jobs

When i go to brothel setup first time i can see wrong "current rooms" sometimes. Like i have 80 and it says i currently have 35. If i reopen the setup, i see the correct amount of rooms. I think this happens if i visit a house right before going to brothel setup.
I will look into this after I fix the brothel problems.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on October 03, 2014, 05:45:34 PM
Jobs like barmaid seem to be nearly unaffected by the girl's skill. Unbelievable barmaids can get around 150g and newcomers around 120g.
Yeah its set up so a person who sucks at the job should make only like 20-40g..  Now if by newcomers you mean u had just put her on the job and she was making 120g then maybe she was just good at the job.  Girls can start out really good at jobs.  If you mean it said she was awful at the job and she still made 120g then something is wrong.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 05, 2014, 11:05:44 AM
I've seen identical stripper logs, but in one case she was not able to sell lap dances and in another one she sold plenty. The difference in payment was 20g.
That's why i'm spouting about this.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on October 06, 2014, 07:05:55 AM
I've seen identical stripper logs, but in one case she was not able to sell lap dances and in another one she sold plenty. The difference in payment was 20g.
That's why i'm spouting about this.
Yeah the lap dance code needs work.  It was mostly made to make them actually have to sell lap dance to have sex with the customers.. But Ill look at the pay for it see whats up.  Selling a few lap dances was only a 30g add to the wages.  Ill be bumping that up and play around with it some see what happens.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on October 12, 2014, 05:34:29 AM
When  I give an item to a girl the usual "She is happy with the gift" etc text don't show up anymore.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 12, 2014, 10:19:27 AM
When  I give an item to a girl the usual "She is happy with the gift" etc text don't show up anymore.
When I changed the way the text worked, I forgot to keep the output for it.
Fixed and will be working in .06.00.08

I am also making a checkbox for the inventory screen for auto use items.
It used to just give the item then you had to tell them to use it.
I changed it to automatically use items when they are given, but this can get confusing because the item does not show up in their inventory at all.
I will make it so if the checkbox is checked, then the item gets used right away.
If unchecked, you will have to tell her to use the item.
Equipable items will still get equipped, only consumables will be affected by the checkbox.
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on October 13, 2014, 02:36:12 PM
Hey there,


found sort of a bug if you can call it thisway  ???


if you use age-changing items, the age can go below 18 at the girl-brothel-screen and at the info of the girl. but if you save your game and load it ... the age goes back to 18 ^^


so not rly a bug but i thought it would be good to be written down ^^
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 13, 2014, 08:46:34 PM
if you use age-changing items, the age can go below 18 at the girl-brothel-screen and at the info of the girl. but if you save your game and load it ... the age goes back to 18 ^^
so not rly a bug but i thought it would be good to be written down ^^
Well I re-refixed this, hopefully it will work properly this time.
I made any attempt to modify Health, Happiness, Tiredness, Age, EXP or Level affect the main stat only.
The main stat update has the limiter in it.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 14, 2014, 11:17:16 AM
With 06.00.08 i started to notice an increased amount of group actions. For example a girl serves 10 rounds a shift, and 9 of them is a group sex. It's an extreme case, but i would say group is like 70% overall. Is there any traits that make girls appealing to groups? She does not even have group sex maxed out, it was around 60 with some other skills maxed.
Also nympho girls used to start feeling "not in the mood" after like 5-7 rounds, sometimes more. Now it's 2-3 rounds. Maybe something was changed, dunno.

BTW, a small question. For example girl has zero libedo, i use sinspice on her and expect it to go to 75. But sometimes the first sinspice only adds lets say 20 libedo(something less then 75). I use another one, and it goes to 20+75. It's like libedo can go to negative values, but interface just shows zero in such cases.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 14, 2014, 12:29:21 PM
With 06.00.08 i started to notice an increased amount of group actions. For example a girl serves 10 rounds a shift, and 9 of them is a group sex. It's an extreme case, but i would say group is like 70% overall. Is there any traits that make girls appealing to groups? She does not even have group sex maxed out, it was around 60 with some other skills maxed.
Group sex should only be around 5%
I'll look into it.

Also nympho girls used to start feeling "not in the mood" after like 5-7 rounds, sometimes more. Now it's 2-3 rounds. Maybe something was changed, dunno.
I had increased the libido loss for the girl when she has sex but I can decrease it for nymphos.
As it is now each sex type decreases libido by a rather large amount, I cut that down to:
Anal -20, Bdsm -10, Normalsex -30, Oralsex -5, Tittysex -5, Handjob -5, Beastiality -20, Group -40, Lesbian -20, Strip -2,
I added at the end a +15 for nymphos so they will want sex more especially it they don't get some.

BTW, a small question. For example girl has zero libedo, i use sinspice on her and expect it to go to 75. But sometimes the first sinspice only adds lets say 20 libedo(something less then 75). I use another one, and it goes to 20+75. It's like libedo can go to negative values, but interface just shows zero in such cases.
If you change LogExtraDetails to true in config.xml it will display the details of what the stats/skill numbers are made of.
( base + mod + temp )
Most stats/skill cannot be negative numbers but they can be negative with modifiers thus displaying as 0.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 14, 2014, 01:46:10 PM
I had increased the libido loss for the girl when she has sex but I can decrease it for nymphos.
As it is now each sex type decreases libido by a rather large amount, I cut that down to:
Anal -20, Bdsm -10, Normalsex -30, Oralsex -5, Tittysex -5, Handjob -5, Beastiality -20, Group -40, Lesbian -20, Strip -2,
I added at the end a +15 for nymphos so they will want sex more especially it they don't get some.
Sorry, but i don't get a +15 part. Nympho serving a titfuck will gain 10 libedo? If so, that's awesome.
If you change LogExtraDetails to true in config.xml it will display the details of what the stats/skill numbers are made of.
( base + mod + temp )
Most stats/skill cannot be negative numbers but they can be negative with modifiers thus displaying as 0.
Thanks, i'll try this out.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 14, 2014, 02:17:43 PM
Sorry, but i don't get a +15 part. Nympho serving a titfuck will gain 10 libedo? If so, that's awesome.Thanks, i'll try this out.
Yes.
Nymphos want sex, titfuck is not really sex, she will do it but she wants more.

With 06.00.08 i started to notice an increased amount of group actions. For example a girl serves 10 rounds a shift, and 9 of them is a group sex. It's an extreme case, but i would say group is like 70% overall.
I think I tracked down and fixed the problem but not sure.
I have updated the 3 brothel whore jobs and did find a few problems but they may not be what was causing your problem.

While I was at it, I added the secondary sex preference in so you should loose fewer customers if you have something banned in your brothel.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 14, 2014, 03:50:49 PM
Can't cure syphilis: i use an item, it disappears but syphilis remains.
Nurses at clinic learn much faster then interns... Wait, it's intended? Always thought interns > nurses. I might be wrong here.
Personal training at home is sloooow. I assigned like 5 girls to home for training, they are at ~65 now while working girls have learned everything long ago.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 14, 2014, 05:12:44 PM
Can't cure syphilis: i use an item, it disappears but syphilis remains.
I can not find any reason this should not work unless you gave the item to the wrong girl.
Attach your save game and the itemsx file for the item.

Nurses at clinic learn much faster then interns... Wait, it's intended? Always thought interns > nurses. I might be wrong here.
I changed the text of Intern to training to be a Doctor instead of a Nurse.
I am updating all the clinic jobs.
Girls will need at least 50 medicine and 50 intelligence to be a doctor.

Personal training at home is sloooow. I assigned like 5 girls to home for training, they are at ~65 now while working girls have learned everything long ago.
I agree, way too slow.
I changed the training amounts to now be 2-14 instead of 3-7.
14 chance is 1%  and chance% goes up as learning goes down.
Title: Re: Crazy and PP's mod bug thread
Post by: Destont on October 14, 2014, 06:15:22 PM
^syphilis cures description is the herpes cure. It also cures herpes when used.
Title: Re: Crazy and PP's mod bug thread
Post by: Sorren on October 14, 2014, 06:22:44 PM
Anti-pregnancy has an intermittent annoying habit of randomly re-applying itself when you turn it off, intended feature with the girls deciding they want birth control or just a bug?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 14, 2014, 06:56:27 PM
^syphilis cures description is the herpes cure. It also cures herpes when used.
Got it fixed and updated a few other items that remove all diseases to add herpes.

Anti-pregnancy has an intermittent annoying habit of randomly re-applying itself when you turn it off, intended feature with the girls deciding they want birth control or just a bug?
Bug. I'll look into it.

edit: Need more information.
Title: Re: Crazy and PP's mod bug thread
Post by: Sorren on October 15, 2014, 03:34:55 AM
Bug. I'll look into it.

edit: Need more information.


That's about all the info I have right now, I'll turn the logs on and keep an eye open for it though.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 15, 2014, 10:59:12 AM
Anti-pregnancy has an intermittent annoying habit of randomly re-applying itself when you turn it off, intended feature with the girls deciding they want birth control or just a bug?
Not sure, but i think i caught this a couple of times. I'll try to pay more attention to this.
What i've seen for sure is house percentage being reset to 0 somehow. That's not a big problem though as i've only seen this like 5 times when i free girls from my dungeon. No such thing happen in brothel.
Title: Re: Crazy and PP's mod bug thread
Post by: Destont on October 16, 2014, 04:06:35 PM
Maternity leave still is wonky as hell for me. Occasionally it will work right, mostly though i get a warning the next week after they get taken off stating that they are doing nothing. Also is drug councillor supposed to be the most deppresing job ever? Because lately the girl doing it has had her happiness tank and I dont remember seeing an addiction or anything on her.
Title: Re: Crazy and PP's mod bug thread
Post by: Geron on October 16, 2014, 04:30:20 PM
1: I see group actions happen, even when I have it blocked off while working Brothel Whore.
2. Unique Girls set as Arena.  I've only managed to recruit Normal girls.  So, how to get Unique Arena Girls?
3. Clubs do not follow the Brothel rules?  (Or it might have been group action sneaking in again.)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 16, 2014, 06:21:06 PM
Maternity leave still is wonky as hell for me. Occasionally it will work right, mostly though i get a warning the next week after they get taken off stating that they are doing nothing.
Maternity leave will probably always have some kind of problems.
I will continue trying to make it work properly as I reflow the buildings.

Also is drug councillor supposed to be the most deppresing job ever? Because lately the girl doing it has had her happiness tank and I dont remember seeing an addiction or anything on her.
There is nothing in the drug counselor's code that reduces her happiness.
I am updating drug counselor and rehab now.

There can now be multiple counselors but they can still not be slaves.

1: I see group actions happen, even when I have it blocked off while working Brothel Whore.
3. Clubs do not follow the Brothel rules?  (Or it might have been group action sneaking in again.)
I added another check for whether group is allowed for the 3 whore jobs.


2. Unique Girls set as Arena.  I've only managed to recruit Normal girls.  So, how to get Unique Arena Girls?
This is now fixed and should be in the next version.



I have updated several items to add some skills and traits that were missing.


I found a bug in the Intern Job and fixed it.
Title: Re: Crazy and PP's mod bug thread
Post by: Hazure on October 17, 2014, 07:12:27 AM
I've had several items get absorbed by the girls...one case in spicific, Iris was set with Minerva's Dress while having a linen dress in her inventory....after she was set to rest by the matron after a brothel whore job Minerva's Dress was gone, the nympho trait was now her's, and the linen dress was the only one she had though it was unequiped.
Title: Re: Crazy and PP's mod bug thread
Post by: deadkingblue on October 17, 2014, 07:15:48 AM
I've been using a text editor to make girl packs, (caus i'm a 1337h4x0rz, and it's really simple) it works, but the wme doesn't :P
Title: Re: Crazy and PP's mod bug thread
Post by: FlamBurger on October 17, 2014, 08:49:58 PM
I use a text editor too. Only on rare occasion though. But WME works fine on my end.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 18, 2014, 12:15:13 AM
I've had several items get absorbed by the girls...one case in spicific, Iris was set with Minerva's Dress while having a linen dress in her inventory....after she was set to rest by the matron after a brothel whore job Minerva's Dress was gone, the nympho trait was now her's, and the linen dress was the only one she had though it was unequiped.
This is something I have planned to fix but have not gotten around to it yet.
Because the girls can only equip a set number of each type of item, they sell the one that is less appealing to them.
Usually this goes by the cost or the badness of the items.
When I add the Vault and Store room to the inventory, extra items will be returned there instead of the girl selling them.

I've been using a text editor to make girl packs, (caus i'm a 1337h4x0rz, and it's really simple) it works, but the wme doesn't
Sorry I have not gotten to update WME lately.
I have been working on the game mostly.
Title: Re: Crazy and PP's mod bug thread
Post by: Hazure on October 18, 2014, 04:04:18 AM
If she got rid of the dress how did she keep the traits of the dress?
Title: Re: Crazy and PP's mod bug thread
Post by: Lorraz on October 19, 2014, 03:50:30 AM
This is my first game on this client and everything quickly all went down to hell.


Both of my girls are set to "Free Time" during day and night yet their tiredness meter keep going up.
The first (who was set to whore) is gaining 8% every week from doing nothing and the second (who was set to cleaning) is gaining 2% every week.
Transferring them the house, these percentages become 6% and 0%.
No change in tiredness while in dungeon.
None of them have items and their traits seem pretty casual.
New girls also develop this "curse of restlessness".
No scripting of any sort was made on my end (not counting adding girl and item packs).
Other savegames seem unaffected (unsure).


This bug (or am I missing something?) confuses me greatly. Is this savegame corrupted beyond repairs?
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 19, 2014, 08:59:12 AM
My girls have free time sometimes, and they rest fine. Maybe it's better to just try a new game and find out yourself.
Is you save from .06.00.xx? Or is it older?
 
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 19, 2014, 11:00:43 AM
Both of my girls are set to "Free Time" during day and night yet their tiredness meter keep going up.
The first (who was set to whore) is gaining 8% every week from doing nothing and the second (who was set to cleaning) is gaining 2% every week.
Transferring them the house, these percentages become 6% and 0%.
This is a bug in .06.00.10 that I have already fixed for .11 and it will be out tonight
When redoing the way tiredness was handled, I put the tiredness gain AFTER the job is done instead of before it was done.
I have moved it to the start of the turn so that a) it is only done once, b) it is done before the job so if resting, it will be taken care of.
Some jobs, like whoring, have tiredness gains in their job code as well so whores will get tired a lot faster.

The reason one of your girls had 8% while the other had 2% is their constitution.
Tiredness is (10 - (constitution/10)) so the 8% girl must have 20-29 con and the other 80-89 con.


Is this savegame corrupted beyond repairs?
No.
Title: Re: Crazy and PP's mod bug thread
Post by: Lorraz on October 19, 2014, 01:13:11 PM
This is a bug in .06.00.10 that I have already fixed for .11 and it will be out tonight

Sounds promising, thanks for the reply. :)


The reason one of your girls had 8% while the other had 2% is their constitution.
Tiredness is (10 - (constitution/10)) so the 8% girl must have 20-29 con and the other 80-89 con.

40 and 60 constitution actually, maybe there is something else to it?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 19, 2014, 02:43:05 PM
40 and 60 constitution actually, maybe there is something else to it?
There is a -2% tiredness adjustment at the end of the day, so that explains the second girl's 2%.
But the first girl's 8% may have some other factors.

Either way, If the problem persists after .11 then let me know.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on October 20, 2014, 08:31:29 AM
In the studio, the text for how much the girl makes as an actress, shows all the actresses in the studio, for every girl. It's just a tad... excessive.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on October 20, 2014, 10:29:32 AM
I have a nurse with the following two statuses during a day:


Night Shift: Lela earned 485 gold from taking care of 17 patients.
Summary: Lela earned a total of 74 gold. She keeps 30 gold. (40%) You keep 44 gold. (60%)


One of these is wrong.


If the first one is the correct one, I think the center is going to be very expensive.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on October 20, 2014, 10:34:05 AM
A girl in the arena is winning her fights against opponent warriors, but the owner is broke and giving me the losing girl. The problem is, I already have one of the loser. Now I have two, one of whom is injured in the dungeon. The other one is the doctor in my medical center, it's going to be fun to have one heal the other.


I could see generating a new rgirl for the loser, but a non-rgirl already in the game should not be duplicated.

(BTW - the functionality for putting girls from the dungeon to any of the other locations is excellent. Nice!)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 20, 2014, 01:58:13 PM
I have a nurse with the following two statuses during a day:
Night Shift: Lela earned 485 gold from taking care of 17 patients.
Summary: Lela earned a total of 74 gold. She keeps 30 gold. (40%) You keep 44 gold. (60%)
One of these is wrong.
If the first one is the correct one, I think the center is going to be very expensive.
No, they are both correct, but not for the reason you think.
The Summary 74 is how much she gets paid as usual.

The Night Shift 485 gold is money charged to the 17 patients for her services and goes directly to the clinic coffers.
She can make for the Clinic 5-50 gold per customer that she can take care of.

This is just a preliminary figure and will probably be changed when I move the patient count out of the job code and into the building code.


In the studio, the text for how much the girl makes as an actress, shows all the actresses in the studio, for every girl. It's just a tad... excessive.
.06.00.10 had a few bugs that I have already fixed in it.
The fixes should be in .06.00.11 when I finish it.

A girl in the arena is winning her fights against opponent warriors, but the owner is broke and giving me the losing girl. The problem is, I already have one of the loser. Now I have two, one of whom is injured in the dungeon. The other one is the doctor in my medical center, it's going to be fun to have one heal the other.

I could see generating a new rgirl for the loser, but a non-rgirl already in the game should not be duplicated.
Check your girlsx files for duplicates.
The game should not reuse unique girls, but if there are 2 girlsx files with the same girl, they are not unique.
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on October 21, 2014, 04:11:41 PM
I'm certain that I don't have two .girlsx files with the same girl in them.  I've been trying unsuccessfully to reproduce the problem, but I hadn't noticed the problem until well after it happened, and no save file I have seems to reproduce it. The random variables for winning fights against insolvent opponents probably also have something to do with it.


The clinic messages make sense to me now. Thanks!
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on October 21, 2014, 04:12:47 PM
I find it annoying and inconsistent that I don't have all the same girl management buttons on all 'location' screens. Why can't I fire a girl at the house, for example?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 21, 2014, 04:59:32 PM
I find it annoying and inconsistent that I don't have all the same girl management buttons on all 'location' screens. Why can't I fire a girl at the house, for example?
Because they have not been updated lately is the most strait forward answer.
After I release .06.00.11 I will look into it.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 22, 2014, 10:15:53 AM
Found and fixed a bug:

Footjob is not displayed on the skill list

It will be in the next release
Title: Re: Crazy and PP's mod bug thread
Post by: CaptC on October 22, 2014, 03:13:41 PM
Found the duplicate girl bug. It wasn't duplicate files, it was duplicate entries in the save file due to me renaming some girl directories.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 23, 2014, 05:31:03 PM
That's probably a construct girl?
Title: Re: Crazy and PP's mod bug thread
Post by: Lorraz on October 23, 2014, 06:01:01 PM
That's probably a construct girl?
Ah, you're right. The second girl was apparently half-construct and I missed that.
Title: Re: Crazy and PP's mod bug thread
Post by: ElvisLives27536 on October 24, 2014, 09:44:15 PM
Are inseminated girls supposed to not have increased lactation?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 25, 2014, 11:11:56 AM
Are inseminated girls supposed to not have increased lactation?
Lactation has only been added in as far as the name being in the game.
It currently does nothing.
Same with morality, refinement and dignity.
They will get some work done on them soon.
Title: Re: Crazy and PP's mod bug thread
Post by: ElvisLives27536 on October 27, 2014, 11:33:49 PM
Lactation has only been added in as far as the name being in the game.
It currently does nothing.
Same with morality, refinement and dignity.
They will get some work done on them soon.

Cool. I was meaning when the girls do the milking job. But I assume that will get changed with the changes to lactation later.
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on October 28, 2014, 10:10:37 AM
using the .14 version now, looks cute so far.
just a small one: jobs that u put girls on at the house don´t seem to get saved, u have to assign them again every turn.
and there´s times that the game crashed when i clicked a message during the end of the week summary.
some of the new features, especially assigning girls right out of the dungeon are great, though. wish that worked from every building! ;)

Title: Re: Crazy and PP's mod bug thread
Post by: Hazure on October 28, 2014, 10:41:31 AM
In the house if you give the girl a day and a night job they will not drop them, and i have 2 games that crast to desktop almost every time i hit next-week....but other games that don't...weird.
Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on October 28, 2014, 02:22:56 PM
There seems to be a problem with jobs assigned for the brothel. My girls will engage in group sex even though it's forbidden.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 28, 2014, 05:55:27 PM
just a small one: jobs that u put girls on at the house don´t seem to get saved, u have to assign them again every turn.
In the house if you give the girl a day and a night job they will not drop them,
I will look into this.


and there´s times that the game crashed when i clicked a message during the end of the week summary.
some of the new features, especially assigning girls right out of the dungeon are great, though. wish that worked from every building! ;)
i have 2 games that crast to desktop almost every time i hit next-week....but other games that don't...weird.
Attach your save games and I will try to see if I can find out what is happening.



There seems to be a problem with jobs assigned for the brothel. My girls will engage in group sex even though it's forbidden.
I thought I had fixed this but I'll check it again



some of the new features, especially assigning girls right out of the dungeon are great, though. wish that worked from every building! ;)
They will, eventually.
I started with the studio and then added it to the centre and clinic.
The arena is a little harder to add this to because it will require more checks for things.
The house has too few choices at the moment to add a good system to it.
The farm jobs need a ton more work so this has not been added to there.

The brothel is probably the hardest because many of the jobs don't have much impact on the others yet.
I plan on making the brothel flow using the customers instead of the girls so the other jobs will have more use.
Until then, the brothels will get a lot more updates before the matron assignments get added.
Title: Re: Crazy and PP's mod bug thread
Post by: Hazure on October 29, 2014, 12:20:49 AM
As of update 14 the girls are now stripping in the house even though it's blocked.  and the lagest atachement I can put on is 256kb...well...the file is much larger....like 2mb
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 29, 2014, 10:22:28 AM
As of update 14 the girls are now stripping in the house even though it's blocked.
The house jobs have not been updated in a while.
I am updating it now.


The problem with having sex restrictions on in the house is that it interferes with the disposition checks.
It will take a little more time and coding to work this conflict out.
 - I am adding a penalty because I don't like the extra work.  :P If you ban too much stuff, the girl will learn less.





I also added a 'degrade girls skills' at the end of the turn.
 - This will add a little difficulty to the game.
 - If a sex type is banned, 10% chance she will loose 1 point in it
 - All other skills have a 5% chance to loose 1 point
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on October 29, 2014, 12:53:33 PM
Could you please provide controls for that degrading? Or a switch to just turn it off?

In .14:
Cecily Campbell worked as a hall whore during the day, then peep show at night. There is a day activities, day summary, then there's two night shift activities "She let the customers watch her get naked", then night summary. I don't really mind, but is it intended?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 29, 2014, 05:52:46 PM
In .14:
Cecily Campbell worked as a hall whore during the day, then peep show at night. There is a day activities, day summary, then there's two night shift activities "She let the customers watch her get naked", then night summary. I don't really mind, but is it intended?
This is a bug.
When I started doing the reflow of the brothel, I changed a few things without adding in the check that peep had already been done.
The girl was basically working 2 peep shows per turn.
Fixed it.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on October 29, 2014, 06:33:17 PM
Which skills or stats are affected by the degrade?

Does it affect Base only or Mod as well?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on October 29, 2014, 08:25:45 PM
Which skills or stats are affected by the degrade?

Does it affect Base only or Mod as well?
All 21 skills - no stats.
It affects the base skill only.
The degrading should hopefully not be noticeable over the short run and only really noticeable if the girl only does one job ever.
If you assign the girls to different jobs every once in a while, they can keep their skills in peak performance.

On a similar note, I also moved the update temp stat/skill/trait checks from the start of the turn to the end of the turn so that the temp stuff will have an effect that turn.
As it was, if you used an item that had a temporary effect on a girl, that temp effect would degrade at the start of the shift so it would not be as effective as it should have been.





The changes I started making to WorkPersonalBedWarmer and WorkPersonalTraining started becoming a great big mess so I pulled out the changes.
Until I have more time and brain power to devote to them, you will have to live with sex restrictions not fully working in the house.
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on October 30, 2014, 04:19:35 AM
another little thing i noticed: girls u send to the clinic who get a boobjob end up becoming interns and get kept to work as a janitor there, even though i never assigned one of those jobs. greedy bastards, those clinic folks!
at the centre girls get reassigned to drug counselor, even though i had them feed the poor? didn´t check if that will not happen if i assign night AND da, as in the house or arena. nothing gamebreaking, but if u have a minute to look into that it would really be great.
and as i am already typing: that colour-coding at the transfer screen is really neat. could that be applied to the normal management-screen, too? it´s much easier to find the girls doing nothing if at least free time was in a different colour!


thnks for all the work u put into this, the game keeps getting better and better!
Title: Re: Crazy and PP's mod bug thread
Post by: FlamBurger on October 30, 2014, 10:11:49 AM
Ooooo, maybe it can be color coded for like if the girl works at a certain job.
Title: Re: Crazy and PP's mod bug thread
Post by: Destont on October 31, 2014, 03:03:48 PM
Centre is FUBAR. With no manager girls are switched to full time off sometime between shifts. With manager girls are given random dual shifts disregarding whatever schedule I give them. Only the manager is totally immune. Rehab related jobs worked fine with no manager present.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 01, 2014, 10:06:53 AM
Centre is FUBAR. With no manager girls are switched to full time off sometime between shifts. With manager girls are given random dual shifts disregarding whatever schedule I give them. Only the manager is totally immune. Rehab related jobs worked fine with no manager present.
I will look into it.

I removed the lines that were putting them on full free time if there was no matron in their building.
I changed it so the matron will only assign a girl a new job if both day and night are free time.

I also changed it so girls can be assigned to get healing or get repairs even if there is no doctor or mechanic.
If a girls is on healing or repairs and there is no doctor or mechanic, the nurses will help then with lesser healing effects.
They are both single shift jobs now.



another little thing i noticed: girls u send to the clinic who get a boobjob end up becoming interns and get kept to work as a janitor there, even though i never assigned one of those jobs. greedy bastards, those clinic folks!
That is the matron at work assigning those without jobs to do something  :P

at the centre girls get reassigned to drug counselor, even though i had them feed the poor? didn´t check if that will not happen if i assign night AND da, as in the house or arena. nothing gamebreaking, but if u have a minute to look into that it would really be great.
The matron needs some jobs to be filled and will assign a counselor from anyone available.
I will change it so a counselor will only be forced if someone is in rehab and there is no counselor.

that colour-coding at the transfer screen is really neat. could that be applied to the normal management-screen, too? it´s much easier to find the girls doing nothing if at least free time was in a different colour!
The only problem with that would be if it conflicts with the red of injury.
I'll see if it can be done easily.
Title: Re: Crazy and PP's mod bug thread
Post by: xeroneche on November 01, 2014, 09:54:57 PM
So sorry to bother you again but ive been trying to get the editor to run for a while but i cant get it to work with 4.5.1 .net framework and i cant seem to find anything that lets me run it on 3.5 .net. I would really appreciate any help or hints as to what to try as i know having to rewrite it to work would prolly be much harder than telling me a workaround to do myself. Once again sorry to bother you.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 01, 2014, 10:54:56 PM
So sorry to bother you again but ive been trying to get the editor to run for a while but i cant get it to work with 4.5.1 .net framework and i cant seem to find anything that lets me run it on 3.5 .net. I would really appreciate any help or hints as to what to try as i know having to rewrite it to work would prolly be much harder than telling me a workaround to do myself. Once again sorry to bother you.
The editor is made to use .net 3.5 32bit, why it is not working for you, I have no idea.
I have tested it on at least 8 computers and had no problems.
Any 32bit program will run on a 64bit system, 64bit programs will not run on a 32bit system.


A few things you can try:
 - Open a command window with administrator access:
 -  - on your start menu, right click on the DOS prompt (can be named "cmd.exe", "Command Prompt", "DOS Prompt", etc.)
 -  - Run it as administrator
 -  - type in
Code: [Select]
sfc /scannow
-  - This runs windows System File Checker.
 -  - If it finds any problems, it may fix them.

 - Run virus scans on your computer
 -  - Malwarebytes is probably the best to start with
 -  - eset has a good free online scanner


 - Get Process Monitor from http://technet.microsoft.com/en-us/sysinternals/bb896645 (http://technet.microsoft.com/en-us/sysinternals/bb896645)
 -  - read the manual for it if you don't already know how to use it
 -  - run it and then try running the editor.
 -  - that will hopefully show you why it is crashing.


 - Compile the editor yourself:
 -  - download and install microsoft visual studio express
 -  - get the source code (link is on the main game thread
 -  - load the WM Girls Generator.sln in VSE, build it then debug it.


 - Download a linux live cd and try to run the editor from there
 -  - http://linuxmint.com/ (http://linuxmint.com/)  download Linux Mint 17 Mate and burn it to a dvd
 -  - boot your computer to the live cd and download the editor
 -  - the only problem I have when running the editor in linux is that it looks a little worse[/code]
Title: Re: Crazy and PP's mod bug thread
Post by: dalmedya on November 04, 2014, 09:10:48 AM
Girls are definitely not respecting 'forbid group' checkbox. Kinda frustrating since I'm trying to get them inseminated.

Matron code appears wonky. Some girls aren't getting taken off duty, even if they hit 98 tiredness; also, automatic assignment seems to be interfering with placing them back on duty. I keep seeing girls with one time slot filled, but not the other.

Farm timeslot tabs are reversed; clicking the Day tab and then clicking a task assigns that task during the night shift.
Title: Re: Crazy and PP's mod bug thread
Post by: FlamBurger on November 04, 2014, 04:28:20 PM
Huh, I though it was just me when the farm thing happend....
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 04, 2014, 06:53:34 PM
Girls are definitely not respecting 'forbid group' checkbox. Kinda frustrating since I'm trying to get them inseminated.

Matron code appears wonky. Some girls aren't getting taken off duty, even if they hit 98 tiredness; also, automatic assignment seems to be interfering with placing them back on duty. I keep seeing girls with one time slot filled, but not the other.

Farm timeslot tabs are reversed; clicking the Day tab and then clicking a task assigns that task during the night shift.
I have gone over the day/night parts and they should all be working properly with the next update.
I have also double checked the matron checks so hopefully they will be more regulated.

I will check the restrictions again.
Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on November 05, 2014, 04:44:27 PM
Hi. The "nude" pics rarely show up anymore. They used to show up during the brothel stripper job when she did a VIP dance (I think, the messages are still a little messed up), but now I never see them.


There is no point to opening a brothel with many restrictions, because nobody will show up. If I wanted to make a blowjob only brothel, it's currently impossible. Intended?


I can confirm brothel restrictions aren't being followed.


There might be a problem with love dialogue when you talk to a girl (Talk about you). Even if the girl management screen says they are in love, they will still say I'm a good kind employer. If this is some cool code about them not being honest with their feelings, I'm cool with that, but I rarely get them saying they are in love, and with the recent patches, they never say they think I'm a gentleman.


I had a cool interaction the other day when I put a girl witht he nympho trait to strip in the strip club an she ended up fucking the customer(not allowed). I'd like to see more of this type of stuff.




T[size=78%]hanks for the work![/size]
Title: Re: Crazy and PP's mod bug thread
Post by: Evangelion 01 on November 06, 2014, 02:17:07 PM
the "feelings" of a girl that are displayed aren't really correct...a girl is said to be in love with you if her love is >50 but to "make love" with a girl the love value needs to be in the 90's
for an example 4 exotic bouquets and the girl is in love with you but she will call you her true love only after 7-8 bouquets
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 07, 2014, 06:00:24 AM
Hi. The "nude" pics rarely show up anymore. They used to show up during the brothel stripper job when she did a VIP dance (I think, the messages are still a little messed up), but now I never see them.
There is a bug in the image selection code that I have not gotten around to fixing yet.

There is no point to opening a brothel with many restrictions, because nobody will show up. If I wanted to make a blowjob only brothel, it's currently impossible. Intended?
At this time, the way the brothels are handled is the girls first then the customers.
I am going to rewrite the brothels to handle the customers first and have them go to the girls.
Instead of the girls doing their jobs and the customers appearing in front of them, the customers will walk in the door with a specific goal in mind and the girls will be stops along the way to their goal.
This is a major rewrite and will probably take several weeks to finish.
This week has been busy at work so I have not had much time or energy to work on the game.


I can confirm brothel restrictions aren't being followed.
Ok.

There might be a problem with love dialogue when you talk to a girl (Talk about you). Even if the girl management screen says they are in love, they will still say I'm a good kind employer. If this is some cool code about them not being honest with their feelings, I'm cool with that, but I rarely get them saying they are in love, and with the recent patches, they never say they think I'm a gentleman.
That is handled in the scripts and I don't really do the scripts.
I will see if I can find where the problem is and point the script writers to it.

I had a cool interaction the other day when I put a girl witht he nympho trait to strip in the strip club an she ended up fucking the customer(not allowed). I'd like to see more of this type of stuff.
Crazy added several of those to a lot of the jobs.
Not all of them check the restrictions yet but they will get checked eventually.




I have been learning a new program called Anjuta, it is a program editing program in Linux that does the same thing as microsoft visual studio.
I want to try to rebuild the base code of the game so that it can run a lot smother.
This will take a long time to accomplish but hopefully it will teach me C++ enough so that I can create my own programs.

Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on November 08, 2014, 01:49:59 AM

Crazy added several of those to a lot of the jobs.
Not all of them check the restrictions yet but they will get checked eventually.



I actually liked the fact that it was restricted and she did it anyway. It added some unpredictability to the game that added to the gameplay. Maybe the girls would have to fail a rebelliousness check or something to do it, but I've always been a fan of the "I don't have complete mind control over these humans" style of WM gameplay. Conflict is necessary for a great story, and a new story of a brothel in crossgate is what I get every time I fire up a new game. Will I own slaves? Will I be evil or good? Will I run a brothel or a movie studio? Will I use gangs or be a peaceful pornographer? Will I have kids? etc.


These are the things that keep my coming back to this game, because it's a great "simulation" of what it would be like to be a Whore Master. Remember, the biggest erogenous zone is the brain. The more opportunity for girls to express unique behaviors based on their traits and stats, the better, even if it makes the gameplay less transparent.


There is a game called Dwarf Fortress and probably many of you have heard of it. The game uses ASCII text and would be considered altogether primitive by today's standards. Yet the last patch for the game was probably only a month ago, and it has a dedicated user base. Why? Because it is a world that most players havent quite figured out yet. The game is incredibly deep, and you can see something new each time you play it. The mechanics are hidden from the players, and instead are relayed through in game description and the gameplay itself. This keeps the game fresh and exciting. Dwarf Fortress is not a matter of press "A" and "B" happens, every time. It's press "A" and "B" happens if "A" is >50, but if "A" is <20, "C" happens, but only if "A" had been pressed between 3 and 6 times before, etc. You get the idea. You form these complex behaviors and the player can never predict them with 100% accuracy, so it leaves an element of excitement and surprise.


For example, in WM, sometimes I get a girl who when I ask her to give me a strip tease, she gives me oral. I don't know why this happens, and I love that. I love this event. The events in WM which are out of the ordinary are the ones that drive the game forward. It gets boring clicking through turn after turn of turn summaries, just to see x did this, y did that, with no conflict or suprise. I'm not saying the game should turn into a SNAFU from turn 1, but little crises thrown in sparingly, whether it be a problem with the girls, with the gangs, etc., can end the monotony of turn after turn of peace. It's not a matter of making the game more difficult, just making it more interesting. What good is a management game without a bit of crises that the player has to deal with? And because it is human management, behavior of employees should also have to be managed. Happiness is too stable, for example.


As always, this is just some feedback on what you and crazy have turned into a fantastic game. Thank you for all of your hard work, and I'll be looking forward to future releases.
Title: Re: Crazy and PP's mod bug thread
Post by: 0nymous on November 08, 2014, 07:56:55 AM
Woah man, I think adding the complexity of Dwarf Fortress into here is a bit too much.
I get what you mean, but what you basically want, I think, is more scripts and scripting options - and some unpredictability to the patterns of how they're applied in-game. Like the nympho girls not being able to control themselves when working as waitresses and giving blowjobs under tables, as an example.
And someone has to write those. Preferably through a tool that wouldn't require any coding knowledge - like the current script editor, which is still confusing if you're gonna open it for the first time.


Gameplay in WM is definitely lacking, but that's mainly because of poor balancing - it's just too easy to make money and make progress (if there is such a thing as "progress" in WM, aside from MORE girls working for you). I believe the weekly turn system is mainly the cause of this.


 But that's all still somewhere behind on the "to do" things as far as I know.
Title: Re: Crazy and PP's mod bug thread
Post by: MagicHp on November 12, 2014, 07:28:32 AM
Hi there, still new to the game, I discovered it with 06.00.05, but really enjoying, very good work ;)

I'd like to ask about higher resolutions, I know we can edit configuration.xml to our liking, and it does work. But when set to high resolution (like 1920*1080) usually the whole UI gets messed up. I suppose the issue lies in the interface folder, since there is no "J_1920x1080" but only a "J_1024x768" folder.

Could you add alternative interface sizes in a future update? Or maybe direct me on how to modify it myself? I tried searching for it but it seems every link to an existing one are dead and I couldn't find any information on how to do it.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 12, 2014, 10:43:28 PM
I'd like to ask about higher resolutions, I know we can edit configuration.xml to our liking, and it does work. But when set to high resolution (like 1920*1080) usually the whole UI gets messed up. I suppose the issue lies in the interface folder, since there is no "J_1920x1080" but only a "J_1024x768" folder.

Could you add alternative interface sizes in a future update? Or maybe direct me on how to modify it myself? I tried searching for it but it seems every link to an existing one are dead and I couldn't find any information on how to do it.
This has already been worked around in the config.xml in the display section:
Code: [Select]
    <Resolution
        Resolution="J_1024x768"
        Width="1024"
        Height="768"
        ScaleWidth="800"
        ScaleHeight="600"
        FullScreen="false" />
The original code was scaled to a default 800x600 no mater what the actual screen size.
This was fixed with the addition of the [ScaleWidth] and [ScaleHeight].
If you set [Width] and [Height] to be the same as [ScaleWidth] and [ScaleHeight] respectivly, the screen will be exactly as you set it in the xmls.



I am currently looking into updating the SDL (graphics system) from version 1.2 to 2.0.
This should allow more options to be included into the game (like native gif support).
I am not sure how easy this will be so it is going to be done as a separate compilation so the existing game does not break.
Title: Re: Crazy and PP's mod bug thread
Post by: MagicHp on November 13, 2014, 12:41:43 AM
This has already been worked around in the config.xml in the display section:
Code: [Select]
    <Resolution
        Resolution="J_1024x768"
        Width="1024"
        Height="768"
        ScaleWidth="800"
        ScaleHeight="600"
        FullScreen="false" />
The original code was scaled to a default 800x600 no mater what the actual screen size.
This was fixed with the addition of the [ScaleWidth] and [ScaleHeight].
If you set [Width] and [Height] to be the same as [ScaleWidth] and [ScaleHeight] respectivly, the screen will be exactly as you set it in the xmls.



That's the first thing I tried but it doesn't work properly. If you change [Width] and [Height] to 1920*1080 and [ScaleWidth] and [ScaleHeight] to 1920*1080 with Fullscreen set to True, you end up with only a 1/4 of the screen usable, the rest being empty except for the default background.
Tried it on 3 different computers with always the same result.

It's not a major issue, it justs bugs me since I use dual screens on almost every computer and the second screen goes nuts when a game changes the first monitor's resolution.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on November 15, 2014, 05:13:34 AM
The trait tough seems to be a bit bugy at the moment (Version 06.00.15)
girls with tough get tired more easily than girls without it
items which reduce tiredness are less effective (by 2, so radicola with -5 tiredness, does only -3 for tough girls, nightmare fuel -18 instead of -20)
so it behaves more like fragile
i don't have fragile girls at the moment, so i can't say if these 2 just switched or if fragile behaves like always.

2 Examples
1. Unique girl with tough and 76 constitution
double shift whore with 20 customers, got +61 tiredness in 1 week
2. random girl with tough and 52 constitution
double shift whore with 17 customers, got +88 tiredness in 1 week

got myself a fragile girl now, she is not really willing to work as a whore
but reduction of tiredness for the first test is the opposite of tough (radicola brings -7 tiredness instead of -5)
+8 constitution training also brings only 7 tiredness instead of 10

so it seems fragile and tough switched places, which makes fragile really nice and tough a thing to avoid at the moment

in addition, i started a new game with the current game version and also deleted the old installation
so there are no old files who could mess up the game
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 16, 2014, 01:47:36 AM
The trait tough seems to be a bit bugy at the moment (Version 06.00.15)
girls with tough get tired more easily than girls without it
items which reduce tiredness are less effective (by 2, so radicola with -5 tiredness, does only -3 for tough girls, nightmare fuel -18 instead of -20)
so it behaves more like fragile
i don't have fragile girls at the moment, so i can't say if these 2 just switched or if fragile behaves like always.

2 Examples
1. Unique girl with tough and 76 constitution
double shift whore with 20 customers, got +61 tiredness in 1 week
2. random girl with tough and 52 constitution
double shift whore with 17 customers, got +88 tiredness in 1 week

got myself a fragile girl now, she is not really willing to work as a whore
but reduction of tiredness for the first test is the opposite of tough (radicola brings -7 tiredness instead of -5)
+8 constitution training also brings only 7 tiredness instead of 10

so it seems fragile and tough switched places, which makes fragile really nice and tough a thing to avoid at the moment

in addition, i started a new game with the current game version and also deleted the old installation
so there are no old files who could mess up the game
This has been in the game for quite a while, surprised no one else caught it before.

In the UpdateStat function, health and tiredness are handled together to save space.
This caused the fragile and tough to use the same adjustment even though they should be opposites.

I am fixing it and making it better.

::Edit::
Well, I was going to make the fragile/tough modifiers be scaled to the base amount that was attempted to update the stat by, but that started to become more trouble than it was worth.
For now I just fixed the modifiers so that they work as intended with the set amounts.
So a -1 health on a fragile girl becomes -4
Now that I am writing it, I probably will add the scaling in because +1 health on a fragile girl would become -2 health.
More coding and math to do.  :(

::edit update::
Started the scaled fix.

Tough girls will heal 20% faster and get injured 20% slower
Tough girls will get tired 10% slower and get rested  10% faster

Fragile girls will heal 20% slower and get injured 20% faster
Fragile girls will get tired 10% faster and get rested 10% slower

Delicate girls will heal 10% slower and get injured 10% faster
Delicate girls will get tired 20% faster and get rested 20% slower

Probably need a new trait like energetic or something that would be:
(energetic) girls will heal 10% faster and get injured 10% slower
(energetic) girls will get tired 20% slower and get rested 20% faster

Delicate was described here and I am now adding it in so it can get used.
"Delicate flower", "Fragile as glass"
<Trait Name="Delicate" Desc="This girl is a delicate flower. She gets tired quickly and bruises easily if she's hit." Type="Action" />
<Trait Name="Fragile" Desc="This girl is fragile and gets hurt or tired easy. (easy to hurt)" Type="Action" />
Delicate is someone who gets tired easily.
Fragile is someone who gets injured easily.
They are both on the tiredness and injury scales but opposing sides but are not mutually exclusive.
I changed the description for delicate to reflect this better.

Additionally, if for some reason something calls for a girl with one of the above traits to update health or tiredness by "0" amount, they will have a chance to have their trait cause an adjustment of 1 point to that stat.

At the moment Delicate is not in the mutually exclusive check so a girl can have it with either Tough or Fragile (Tough and Fragile are mutually exclusive).
If this occurs, both traits will adjust the stat.
When I get around to figuring out how they will all interact with each other, I will update the stat modifiers.

::Edit:: Finished the fix - will be in the next version
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on November 18, 2014, 01:27:13 AM
The reduction of tiredness through items (nightmare fuel) works for though girls now (10% more)
About the increase of tiredness through jobs, i can't say much, it still feels high
but it's a new game and i still don't have tough 100 cons superwhores with enough traits and fame to ensure 10 customers per shift
for real testruns  ;D

thanks for your fast work, i'm again impressed
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on November 18, 2014, 05:13:31 AM
Energetic or Genki Girl seem ok for the unnamed 20% tiredness trait.

Since you're already working with traits and tiredness, why not get Battery Operated working?
Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 18, 2014, 12:27:08 PM
A Wild bug appeared XD

I've send a unique girl (Misty) to work in the farm as the boss. Then i've taken a walk...and gained a second Misty! I've checked already, and i have just one Misty folder and one Misty.rgirlsx
So is there a bug who duplicate unique girl send into the farm?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 18, 2014, 01:13:20 PM
A Wild bug appeared XD

I've send a unique girl (Misty) to work in the farm as the boss. Then i've taken a walk...and gained a second Misty! I've checked already, and i have just one Misty folder and one Misty.rgirlsx
So is there a bug who duplicate unique girl send into the farm?
Some girlsx files have multiple girls in them.
If you check inside a pokemon girlsx file, it may have the second Misty in it.
Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 18, 2014, 02:01:16 PM
got it. it was like that XD Thanks
Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on November 19, 2014, 01:08:59 AM

Reporting .16 bugs:

The Brothel Whore job isn't working at all at this point. I have 5 girls working the job, each around level 3 with the appropriate skills and customers won't purchase their services. My brothel is spotless, and I have all restrictions turned off. I still see customers being turned away because of restrictions, even though I don't have any.


Girls aren't shopping on their own.


Nude pics still aren't used.



Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 19, 2014, 02:08:52 AM
The Brothel Whore job isn't working at all at this point. I have 5 girls working the job, each around level 3 with the appropriate skills and customers won't purchase their services. My brothel is spotless, and I have all restrictions turned off. I still see customers being turned away because of restrictions, even though I don't have any.
Are you getting the message "# were turned away because of your sex restrictions." in your brothel turn summary even though you have nothing restricted?
Where are you seeing the customers being turned away?

An important factor for customers choosing a girl is fetish types.
If a girl does not match a customer's fetish preference, the customer will reject the girl.

There are only 2 ways to ensure a 100% sex act: 90 or higher Looks or 80 or higher Fame.
Sex skill has nothing to do with how a customer chooses a girl, only how much they enjoy it.

I plan on rewriting how the brothel customers work entirely after I update the graphics system.

Girls aren't shopping on their own.
The girls shopping during free time is disabled until I can go over it all to make sure everything works.

Nude pics still aren't used.
I am updating the graphics system.
One part of that will be rewriting how the game chooses images to use.
It will take some time before this gets finished.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on November 19, 2014, 07:18:10 PM
The girls shopping during free time is disabled until I can go over it all to make sure everything works.
Shopping should still work.  What I added to free time only happens if they dont go shopping.  I try and look at it as there is no reason they shouldnt be shopping.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 19, 2014, 10:47:23 PM
Shopping should still work.  What I added to free time only happens if they dont go shopping.  I try and look at it as there is no reason they shouldnt be shopping.
I started rewriting the freetime code so it will be easier to add new things to it.
Instead of using a if/else tree, I made an enum with the names of all the options and then a pair of switches.
The first switch is used to choose the option and the second is to do the option.
In theory this will make improving free time more often much easier.

I will attach the WorkFreetime.cpp to this post later tonight after I have added more of the working options to the new method.
Crazy's work will be left in until he decides if he likes my changes.
They are divided by an #if/#else/#endif divider.
Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 19, 2014, 11:39:52 PM
About that, sorry if i ask a stupid question... >.>

Is the code something i can read with notepad? or i need some special program? i'd like to know if i can study the code somehow. i'm a very,very old programmer and know just basic from my old times, i'm rusting, but i'd like to start studying c++ and this code to understand at best how can i help developping the story part. Oh, there also a place where i can download the source code?
As i sayd...maybe is a stupid question since the main code should be somewere in the game itself...but better ask then not XD i don't know c++ at all :P
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 20, 2014, 12:18:51 AM
About that, sorry if i ask a stupid question... >.>

Is the code something i can read with notepad? or i need some special program? i'd like to know if i can study the code somehow. i'm a very,very old programmer and know just basic from my old times, i'm rusting, but i'd like to start studying c++ and this code to understand at best how can i help developping the story part. Oh, there also a place where i can download the source code?
As i sayd...maybe is a stupid question since the main code should be somewere in the game itself...but better ask then not XD i don't know c++ at all :P
There is a link to the source code in the main download thread - Updates and Notes for Crazy's Mod --- Current Version .06.00.16 (http://www.pinkpetal.org/index.php?topic=3446.msg27861#msg27861)
a little below the main download link.
Or just here - https://code.google.com/p/crazys-wm-mod/source/list (https://code.google.com/p/crazys-wm-mod/source/list)

I use microsoft visual studio express 13 to edit it but notepad++ (http://notepad-plus-plus.org/ (http://notepad-plus-plus.org/)) will do if you are not planning on compiling it.

There are a ton of c++ reference sites out there - here are some that I use
http://www.cprogramming.com/ (http://www.cprogramming.com/)
http://en.cppreference.com (http://en.cppreference.com)

I like this guy's tutorials - start with these and check out some of his others if you want:
8 Common Programming Mistakes (http://www.cprogramming.com/tutorial/common.html)
The 5 Most Common Problems New Programmers Face--And How You Can Solve Them (http://www.cprogramming.com/beginner_programming_mistakes.html)



I always go over everything submitted that I plan on adding to the game so if there are any problems I will fix them.
I also try to explain how and why I change something.
"I would rather be told what I am doing wrong so I can fix it rather than continuing to do it wrong."
Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 20, 2014, 01:45:41 AM
Thanks for all the informations ^^
I'll try to make a good use of them.

btw i've found a strange but disturbing bug around the item usage.

Every time you equip a item on the girl, let say a dress, it add something, and that should be a bonus who go off if you take away the item. The bad part is if you put a item it give bonus, but when you try on the girl another dress, the girls point will go every time more down than what it started with.

let me explain better.

i haved a girl with Charisma 80 and 75 Beauty, so i wanted to add some point making some test with neclaces, dresses, shoes, and so on... i dint use anithing strange, just put on use and ther change some dress...now the girl has 6 charisma and 30 beauty.

If the math of items was correct, using the dress and then disable it, should have simply reset the initial points of the girl.

I thout the math problem was somehow related to 100+ point of the stat, like having a stat of 98, adding an item with +5 and then selling the item and get a 95 instead of a 98. If so, that kind of problem wasn't a big issues... but when you have average stats and if you use, remove, use, remove, use, remove the item and the stat simply go down, that's a very big problem. And this happen with common items >.>
Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on November 20, 2014, 01:59:25 AM
Are you getting the message "# were turned away because of your sex restrictions." in your brothel turn summary even though you have nothing restricted?


Yes.
Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 21, 2014, 09:59:00 AM
I have searched around but since i can't find it anywhere, i ask here.

Have you ever played after 30-40 turns of intense gaming? At that point, with 10 girl going each turn into catacomb to find "unique items", they bring back a truck full of generic catacomb-girl! and you have to go into dungeon, click 2brand as slave" click to confirm, sell slave, click to confirm...for each single girl! and if you forgot...you have a dungeon of over 50+ catacomb girl to sell and mayby some unique girl mixed and lost in the crowd.

So my request is simple. To avoid this, can be somehow enabled the choice to concentrate only on girls OR item when going into catacomb [or generic for a mix of them].
If possible, also will be greatly usefoul a new button into the dungeon to select all non-unique girl in 1 click to "brand all as slave" [all except unique girl] and "sell all slaves". what do you think?
Isnt that a good idea? :P

Doing that brand/sell for each girl is so time consuming that the game become boring and i choose to not send girl into catacomb, loosing the opportunity to gain special items.

Also, the game at that point is very easy, sicnce you have repetitive missions [the gold you gain is to much random IMHO, sometime you get over 50.000 credit for just kidnapping 1 girl, other time you get just 2.000 for havin 81 catacomb girls!], and dont go anywhere since the story about your father was never developped. i will like to help in that direction, to give some specific objective , some direction.

Now, this great game, is without an end, without a purpose. Fun game until you repeat it 40-50 turn...then it become sensless and boring. Do you agree?

PS: Oh! also i thought about a in-game stat who is actually useless. Age.
If i'm correct, we have plenty of items to get younger [maybe some to get older??] but the age is, actually useless.
Maybe the age should affect some traits? I didn't even see if age go on through the play...i probably never played more han 50 turn the same game...but...just to say it...
What if each 52 turns from when the girl come in game, she age 1 year? And maybe she can die of old age XD [most probably not. who would play this game for 5200 turns or more? XD]
And maybe they can get a bonus/malus and also a "cap" for some traits? Well not that this is very important in a game where magic can grow you a penis XD
18-20 years +5 Beauty / -5 on general skills
21-30 years normal traits
31-35 years +5 intelligence/ +5 on general skills
36-40 years -5 costitution /+5 intelligence/......no ok. i quit ahahhaha XD


PPS: at this stage of developpement of the game i dont see any difference in having a girl devolving 100% or less at the brothel. i mean...if you take all for the brothel, the girl should be more and more sad...isn't it? if not, i can put all the girl at 100% with no remorse and no problem at all. i'm wrong?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 21, 2014, 12:23:06 PM
I don't think I have ever played more than 50 turns in one game, I usually start a new game when I add more to the code.
I have never bought the third brothel except in test games.
I rarely use all of the jobs, probably because I know they don't really do much at the moment.
I rarely use Explore Catacombs except when I get an Incorporeal girl.
Since I fixed the Beast Carer job I use that a lot, it helps improve customer happiness.
I generally play as a good master so I never use torturers and rarely brand captured girls.

If you hold control you can select multiple girls and then brand or free them as a group.

At the moment there is no way to sort the girls by whether they are unique of random.
I am thinking about making a drop down with all the stats and skills so you can sort the girls any way you want.
That will probably take some time because the game code does not have a drop down section to it.

With Explore Catacombs, the number of items does not affect the number of girls or beasts she brings back.
She can encounter up to 4 creatures and if she defeats them all, she brings them back along with 0-4 items.
Each of the 1-4 creatures can be either a beast (45%) or a girl (55%).
Each girl is then either unique (50%) or random (50%).
If you have gotten all the unique catacomb girls that are available, then it is more likely that you will get a random girl.


Age does not really do anything at the moment.
52 turns after you get them the girl does age up 1 year, it is not technically their "Birthday" but more accurately their "Acquired-day".
I have thought about adding a Birthday stat to the girls, adding a note in their summary, the option to throw them a party and a few other options.

Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 21, 2014, 12:34:11 PM
oh...so other job aside from whoring, are useless? i see the girl bring back money but i didnt really see how much, from other job's


anyway, since from the very beginning we never had a Manual with rules or information, i mostly play at random, doing things how i like. being evil or good doesn't seem to effect the game in any way but i try to be nice.  To obtain the rarest item (the red one) you have to go into catacomb, that's why i send so many girl, mostly construct with 100 combat and magic or incorporeal, but when they come with that much catacomb girl i "must" do something with them. i can't simply use all of them into brothels XD

the farm part seems very intriging but if i'm correct is still not operative. is there on the forum a post who explain how to play, and what is working and what not?
sorry if i'm asking you so much information, i just whant to understand what already is done, to start to write a story to hel you with the game XD

Ps: also the items are in a way or in another a problem. in the very first release, they were so few you can obtain in the market the cure for vira blood and other things pretty easy. now you have to wait often more then 10 turns before you get what you need. So i have an idea. I don't know if is a godd one, but i try it.

Why dont you create 2 market? one is the normal market we already have. The second is something like "Black Market" or "Luxury Market" (or both why not?) in the black market you could always found drug and their cure, but at a prize double (like those item who say in the description "this seller have a lot of this item but it sell it at ahigher price) and maybe other common item but stll with higher price.
The luxury Market... O_o well could be a new place you buy in game who sell random rarest items? With a higher price? O.o oh..well..that's it for now.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 21, 2014, 07:26:02 PM
While there is no manual for the game, I try to answer any questions as best as I can.
I tried to revive the wikia but I never really did much with it.



Part of the Farm plans was to make it so you can research cures to disease and create cure potions.
The farm has not really had much work done on it but most of the jobs do at least some basic checks and outputs.

I have thought of creating a small black market or something like a traveling shop.
This would only appear on the town map randomly and not every turn.
It would only have a few items but usually rare or special items.
Probably not going to happen until after I rewrite the interface.




As it is now, the non-whore brothel jobs do work but they don't really have much effect on customers.
I plan on reworking the flow of the brothels from girl based to customer based.
This will make every job work on all (or most) of the customers.

The general jobs that work as intended and have had recent updates:
Advertising  - increases the number of customers
Cleaning  -  keeps the building clean so less customers leave
Security  - tries to keep the girls safe  - too much security can scare off some customers
Beast Carer - tries to keep the brothel's beasts alive and they can try to catch or summon more beasts
Customer Service  - This job will be reworked when I get to reflowing the brothel.
 - As it is now customer service caters to any customers your whores can not.
 - If you seem to have low customer happiness, try assigning a few girls to Customer Service.

All of the other non-whore jobs affect the brothel directly but to a lesser extent than affecting the customers.
When I reflow the brothel, each customer will have a goal in mind when they get to your establishment:
Sex Only - The customer wants sex and will ignore everything else.
Entertainment - The customer is not there for sex, they want to be entertained.
Gambling - They have money to waste and you need to be ready to take it from them.
Drinks - They came to get drunk, if you can entice them into other things, they will leave happier and with less money.
Violence - They came to start some trouble, Security should be ready.
These are just a few that I have planned.

A girl on customer service will help direct the customers to where they want to go.
Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 22, 2014, 10:07:16 AM
Umm exactly, what the beast are used for? Bestiality sex...and what more?

Selling them seems not possible. I have see he Farm, so i can guess you intend to use beast into that.
You plan to have some "trainer of beast" who can convert some of your beast into actual item-companion who give bonuses to girl? i already see around som "Cat" and "Dog" companion you can buy at the shop or found around...maybe you'll add someting like Tiger, Lion, Panthere, Werebeast and so on? Just asking eheh XD

Well. I have now some information i can use. I'll try to start writing something for the story of father and some event.  Maybe i can create something interesting. We will see :P
Title: Re: Crazy and PP's mod bug thread
Post by: Wirbelwind on November 26, 2014, 04:20:35 PM
There seems to be a problem with jobs assigned for the brothel. My girls will engage in group sex even though it's forbidden.
Should this be fixed in 06.00.16?
I'm still getting occasional  group sex engagements even if it's prohibited. Tracked it down to "Prohibit Strip", when allowing only strip there was some Group Sex actions as well. Not sure if there's other cases, at least didn't find any when tested by allowing a single action.
Title: Re: Crazy and PP's mod bug thread
Post by: dmotrl on November 26, 2014, 05:07:27 PM
I have gone over the day/night parts and they should all be working properly with the next update.
I have also double checked the matron checks so hopefully they will be more regulated.
Don't know if it's the same issue or not, but my Matrons seem to be doing much the same thing - occasionally not taking a 98% Tired girl off work (this only seems to happen if I've been micromanaging the girl in question), and also putting girls 'back to work' on Day = Free Time / Night = Practice.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 26, 2014, 10:46:33 PM
Umm exactly, what the beast are used for? Bestiality sex...and what more?

Selling them seems not possible. I have see he Farm, so i can guess you intend to use beast into that.
You plan to have some "trainer of beast" who can convert some of your beast into actual item-companion who give bonuses to girl? i already see around som "Cat" and "Dog" companion you can buy at the shop or found around...maybe you'll add someting like Tiger, Lion, Panthere, Werebeast and so on? Just asking eheh XD

Well. I have now some information i can use. I'll try to start writing something for the story of father and some event.  Maybe i can create something interesting. We will see :P
Beasts are only used for sex at the moment.
When the farm gets more work more will be done with them.

Write whatever story you want and I will see what I can use with it.


Should this be fixed in 06.00.16?
I'm still getting occasional  group sex engagements even if it's prohibited. Tracked it down to "Prohibit Strip", when allowing only strip there was some Group Sex actions as well. Not sure if there's other cases, at least didn't find any when tested by allowing a single action.
I have tried several times to fix this kind of bug only to find it pops back up somewhere else.
The entire brothel code will be rewritten soon, it needs a lot of work.


Don't know if it's the same issue or not, but my Matrons seem to be doing much the same thing - occasionally not taking a 98% Tired girl off work (this only seems to happen if I've been micromanaging the girl in question), and also putting girls 'back to work' on Day = Free Time / Night = Practice.
If you mean the matrons in the brothels, they have not been updated with the new matron code yet.
Title: Re: Crazy and PP's mod bug thread
Post by: Wirbelwind on November 27, 2014, 03:44:31 PM
I have tried several times to fix this kind of bug only to find it pops back up somewhere else.
The entire brothel code will be rewritten soon, it needs a lot of work.
Yea, no problems now that I know what's the one causing it. Thanks for your efforts and keep up the good work.

Btw. Not sure if it's related bug(or if it's even one), but I at least found it funny as hell.  :D
(http://i.imgur.com/zaI7H5p.png)

If she doesn't allow it, tie her up and rape.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on November 27, 2014, 11:32:48 PM
Btw. Not sure if it's related bug(or if it's even one), but I at least found it funny as hell.  :D
(http://i.imgur.com/zaI7H5p.png)

If she doesn't allow it, tie her up and rape.
Doh...
Again, I fix a bug and some other bug pops up.


Well, I have not gotten to fixing the brothel and restrictions bugs yet.
What I have been doing is updating the turn summary.
I made it so if you don't own a building it does not show up on the list.
I reordered the buildings in the list so they match their F# keys.
I started adding other options to sort the girls in different ways using the "o" key.
 - The Clinic has the option to sort the girls based on how long they have to go with their surgeries
Title: Re: Crazy and PP's mod bug thread
Post by: BlackWolf Inc. on November 28, 2014, 12:35:56 PM
If she doesn't allow it, tie her up and rape.
Just remember, it's not rape if you say surprise first :D
Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 28, 2014, 02:35:16 PM

I use microsoft visual studio express 13 to edit it but notepad++ (http://notepad-plus-plus.org/ (http://notepad-plus-plus.org/)) will do if you are not planning on compiling it.


Where cai download a free visual studio express 13?
I've extracted on my browser some xml files to understand how to configure the "wooden texture" and it will be probably a simple matter of change the dimension of each command line, like:

[<Window Name="Brothel Screen Window" XPos="10" YPos="10" Width="780" Height="580" Border="1"/>]

This one show the attached image like that...

if we change the position to match the upper and left border, and set width and height to tha actual size of the screen, we could use the wooden texture with ease.
Maybe i have to rework the dimensions of the image, but since i cant modify the xml file, i can't make my tests. tha't why i will like to have that studio express.
I don't know c++ but this part of the job isn't any different from what i normally do to create html pages, excep it is xml >.>

I still haven't figure out where the file who manage that image is anyway XD





Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 28, 2014, 03:08:13 PM
oooh well. does't mind anymore XD i can use notepad to edit and modify.

i'm used to compile html on notepad so it's ok...and i AM correct... i just need to properly adapt dimensions of any image of the "wooden set" you and crazy like so much and we could actually use it.

Since this will take some time to properly understand the proper adjustment i need to do, i'll make this first, then i will again go trough maps and icons.

As you can see... i "almost" get it XD i just have to figure out how to properly change the image to fit perfectly into his spot.

Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 28, 2014, 03:52:41 PM
weeeeelll i don't really like the single button i replaced for "next week" XD but i just wanted to test some things...so YES we could do it.

I will create the missing buttons (like next turn) with some wooden texture, but after that we have to rework all the positions of the buttons.

Also, if i'm correct, you can create a "layer" over the button, yes?

i mean i could create an empty button, with just the tecture.... and if you add the code, we could just add a layer over each button to customize it.
so i don't have to create 200 different buttons with a font that maybe didnt even like to you. If you create that line, you can then choose the font and what to show over the button.
Is that possible, right?

Anyway choose a font for me.. °_° i'm terrible at choosing fonts XD

Attached is the example i edited into the "brothel_management.xml"

How do you like? i changed just the "next week" button to see if those wooden button were suitable, but they are better used on the lower part of the screen with the wooden dark texture. On the thin paper sand-coloured scroll, i will create a custom button to match in a better way the color.

I also changed the position of text (Details at XPos 635 YPos 65, Header at XPos 25 YPos 25)

I did change the Brothel0 original image from 1920x1200 to 600x800

So, to use the wooden texture, you just have to give me some time to create the custom buttons, and to locate the right x-y positions for them. Also i will really be gratefoul if you could create that line-commnd about showing a text over a button, so i don't have to create each single button with his text on, but i could just create empty button and you can use any text you wish on them ^^
Title: Re: Crazy and PP's mod bug thread
Post by: fenicearcana on November 29, 2014, 04:55:25 AM
As you can see i'm going on with the customization. But since this is the Bur Thread, this is the last one i post here. From now on, i go back to the other thread...i got..confused, sorry >.<
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on December 12, 2014, 12:55:28 PM
Yea, no problems now that I know what's the one causing it. Thanks for your efforts and keep up the good work.

Btw. Not sure if it's related bug(or if it's even one), but I at least found it funny as hell.  :D
(http://i.imgur.com/zaI7H5p.png)

If she doesn't allow it, tie her up and rape.

I am reworking Personal training and found where this is in the code.
Apparently, it was NOT supposed to be a bug, it was intended.
It is in the virginity check in the "Disposition -10 to 10" part, Your disposition is neutral.
There are 4 options for her response:
Code: [Select]
            else if (m_Player->disposition() >= -10)            //Neutral
            {
                ss << gettext("She is a virgin so you ask her if she wants to let you be her first.\n");
                if (roll_b <= 50)        { ss << gettext("She declines so "); }
                else if (roll_b <= 70)    { ss << gettext("She agrees so ");            roll_b = 60; } // normal sex
                else if (roll_b <= 90)    { ss << gettext("She declines so ");            roll_b = 75; } // anal sex
                else                    { ss << gettext("She refuses so instead ");    roll_b = 95; } // BDSM
            }
She can agree, decline or refuse. If she refuses, you tie her up and do her anyway.

Below -10 Disposition you don't give her the choice, and above 10 Disposition you respect her choice.
The higher your Disposition the less likely she is to refuse.
The lower your Disposition the more likely you will do more depraved things to her.


And the texts did not really take into account sex restrictions so this can also cause strange messages.
Title: Re: Crazy and PP's mod bug thread
Post by: dmotrl on December 18, 2014, 03:19:48 PM
So I've got this occasionally recurring crash that sometimes occurs when I try to go to the Slave Market.  Do you need anything apart from the save and the gamelog (I've slightly modified the config, upped a couple values)?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on December 19, 2014, 01:38:50 AM
So I've got this occasionally recurring crash that sometimes occurs when I try to go to the Slave Market.  Do you need anything apart from the save and the gamelog (I've slightly modified the config, upped a couple values)?
It may be caused by a corrupt (r)girlsx file.
Turn all the debug settings in your config.xml to true and run the game, that way it will log everything.
Run the game and when it crashes, upload the savegame and gamelog files.
Most changes to the config.xml will not cause a crash unless you go overboard with the numbers.
Title: Re: Crazy and PP's mod bug thread
Post by: Gmind on December 19, 2014, 06:04:45 AM
Just downloaded the most recent unofficial version of the game (06.00.18) and have been unable to start it up (see attached .png pic). I've tried starting it as admin (didn't work), re-downloaded it to see if there was an issue w/ its download (no soup, issue persists), checked my version of VC++ to see if it was the latest version (it is), and downloaded the previous version to see if it had the same startup issue (06.00.17 starts just fine). Thought it might be a good idea to bring this up, so here I am. not really sure what else I could provide to help identify the issue as no detailed error messages/error logs are popping up.
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay on December 19, 2014, 06:20:51 AM
Just downloaded the most recent unofficial version of the game (06.00.18) and have been unable to start it up (see attached .png pic). I've tried starting it as admin (didn't work), re-downloaded it to see if there was an issue w/ its download (no soup, issue persists), checked my version of VC++ to see if it was the latest version (it is), and downloaded the previous version to see if it had the same startup issue (06.00.17 starts just fine). Thought it might be a good idea to bring this up, so here I am. not really sure what else I could provide to help identify the issue as no detailed error messages/error logs are popping up.


Have you tried restarting your computer, sometimes a windows update can cause computer not to be able to find things
Title: Re: Crazy and PP's mod bug thread
Post by: dmotrl on December 19, 2014, 10:19:28 AM
It may be caused by a corrupt (r)girlsx file.
I tried running all the girls (Random and Unique) through the 'individual folder' option in Extra to see if I got any bad files, but didn't get any messages.

Quote
Turn all the debug settings in your config.xml to true and run the game, that way it will log everything.
That would be the "Log All" button, yes?

And ... too big for forum attachment.  :/  http://depositfiles.com/files/jpzku3ye1
Title: Re: Crazy and PP's mod bug thread
Post by: Gmind on December 19, 2014, 04:00:26 PM

Have you tried restarting your computer, sometimes a windows update can cause computer not to be able to find things


It now works, Thanks for that! (What a strange fix...)
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay on December 19, 2014, 04:27:38 PM
not really strange, it comes from a bug with windows updates, i have yet to understand why, i think what it is is it tries to partialy change some of the files with new ones but it doesnt change all of them
Title: Re: Crazy and PP's mod bug thread
Post by: diggaz on December 20, 2014, 02:22:41 PM
Buying a second brothel seems to start a new game :-[



Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay on December 20, 2014, 02:41:40 PM
go to town and click on the icon of the girl and that is your origianl brothel

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on December 20, 2014, 06:23:22 PM
Buying a second brothel seems to start a new game :-[
This has been reported several times but I have never been able to replicate this bug.

Take a look at these - Hotkeys currently in the game (http://www.pinkpetal.org/index.php?topic=3446.msg28000#msg28000) - it may just be you are looking at the second brothel.
Press F1 to switch to the brothel screen then press 1 to change to the first brothel.
If that is the problem, then solved, if not, I will need more info.
If you attach your savegame from before you buy the second brothel, I will see if I can.
Title: Re: Crazy and PP's mod bug thread
Post by: Hazure on December 21, 2014, 12:38:10 AM
I've run into the same bug....upon naming the second brothel it will start another game with the intended brothel as your new first....but it doesn't mess with the first save....so just delete the new one.
Title: Re: Crazy and PP's mod bug thread
Post by: Gmind on December 26, 2014, 08:42:00 AM
... Me again. Been having some extremely annoying issues trying to get Unique/Random girls to work. Tried using the default (IE JTest) Rgirlx file and it seems to work fine but, as soon as I make one or more modification to the file, the game suddenly decides that it can't read said file maybe half of the time and instead turns to hardcoded instructions for RGirl generation.


Also, the game has been crashing on me when I've tried to enter the slave market/look at a girl after making these modifications; Is there a problem in the script that reads the .rgirlx files?


Lastly, and on a somewhat unrelated note, where would I look in the scripts to modify traits; Not to just rename them or change their descriptions, but to add modifiers such as combat buffs or beauty detractors? On a slightly stumped note, a slight tutorial on this site over how to add modifiers to traits and how to make situational traits work/appear when intended may be beneficial.


My gamelog should be attached to this post. In the meantime, I've got multiple girl folders I've been meaning to compile (got 5 Lamia folders, a Mutio, a Renamon, and a Claymore (otherwise known as "Dangerous Girl") folder I'm working on right now).
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on December 26, 2014, 12:41:40 PM
... Me again. Been having some extremely annoying issues trying to get Unique/Random girls to work. Tried using the default (IE JTest) Rgirlx file and it seems to work fine but, as soon as I make one or more modification to the file, the game suddenly decides that it can't read said file maybe half of the time and instead turns to hardcoded instructions for RGirl generation.


Also, the game has been crashing on me when I've tried to enter the slave market/look at a girl after making these modifications; Is there a problem in the script that reads the .rgirlx files?

There are a few ways you can get the "There was an error in CreateRandomGirl code, using hard coded random girl" message.
First, if you have no .rgirlsx at all,
Second, if you have no .rgirls with a particular tag ("Arena", "Catacombs", etc.)
Third, if the random chooser chooses a corrupt .rgirlsx file.
If you want to see the code for it search for "cGirls::CreateRandomGirl" in the code.





Lastly, and on a somewhat unrelated note, where would I look in the scripts to modify traits; Not to just rename them or change their descriptions, but to add modifiers such as combat buffs or beauty detractors? On a slightly stumped note, a slight tutorial on this site over how to add modifiers to traits and how to make situational traits work/appear when intended may be beneficial.
When I started changing the traits and the other things, I added notes for myself so I could find all the locations in the code where the things are handled.
Code: [Select]
// `J` When adding new traits, search for "J-Add-New-Traits"
// `J` When modifying Action types, search for "J-Change-Action-Types"
// `J` When modifying Image types, search for "J-Change-Image-Types"
// `J` When modifying Stats or Skills, search for "J-Change-Stats-Skills"
Title: Re: Crazy and PP's mod bug thread
Post by: KingofKings on December 27, 2014, 11:17:27 AM
Got a problem here.

Just started a new game after downloading Lurkers packs, because they are updated from EX (What I used to play without a single hint of trouble) so as not to have the annoying error concerning missing traits.

After starting, buying two slave girls, and a short trip though the shop for some staring purchases to work though everything I then saved the game.
After going through and save editing with notepad to add my standard gear, and up the cash a bit I saved it again and tried to start.
It would go to the main menu, and load selection screen easy enough, but while trying to load the game it would skip back to the game selection screen again.
After checking the game-log, as was said in the first post on here it says it came up with this.

Tried and failed to parse savegame as XML file, error as follows
Error: line 53483, col 50:
Error reading Attributes.
(If it says 'Error document empty.' it's probably old format.06 no longer supports Legacy Savegames. Start a new game.)


Everything else loaded properly, but that won't let my game load.

I don't know If I stuffed something up or what?

It never did this in EX, nor in the original, only Crazy's seems to do this, and have been doing it since about 0.5 or so.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on December 29, 2014, 03:02:18 AM

Tried and failed to parse savegame as XML file, error as follows
Error: line 53483, col 50:
Error reading Attributes.
(If it says 'Error document empty.' it's probably old format.06 no longer supports Legacy Savegames. Start a new game.)

Just as the gamelog says, the error is in the savegame file on line 53483:
Code: [Select]
<Item Name="Rejuvenation Bed" is Equipped="0" quantity="300" />
There is a space in "is Equipped" where there should not be.
Title: Re: Crazy and PP's mod bug thread
Post by: KingofKings on December 29, 2014, 05:56:32 AM
Just as the gamelog says, the error is in the savegame file on line 53483:
Code: [Select]
<Item Name="Rejuvenation Bed" is Equipped="0" quantity="300" />
There is a space in "is Equipped" where there should not be.


Oh, that is where it is, I missed syntax errors ::) .

Been so much work that was good and all and completely missed one little error, funny how it's always one little thing that causes everything to grind to a screeching halt isn't it? :D

Thanks Aevo!
Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on December 30, 2014, 07:20:46 PM
Hey all,


As of .18 brothel restrictions still aren't working.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on December 30, 2014, 07:37:00 PM
As of .18 brothel restrictions still aren't working.
More specific details would help fix the problems.
What buildings? What jobs? Doing what restricted actions?
Attach your savegame and specify what jobs to look at when debugging the end of turn process.

I don't normally use restrictions so I never see them not work.
Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on December 31, 2014, 04:59:02 PM
More specific details would help fix the problems.
What buildings? What jobs? Doing what restricted actions?
Attach your savegame and specify what jobs to look at when debugging the end of turn process.

I don't normally use restrictions so I never see them not work.


I can't upload the save game because it is ~450kb and the max size per attachment is 256kb. But I'm pretty sure you should be able to duplicate the bug.


If you assign them to the brothel stripper job, and leave "prohibit oral" unchecked, they will sometimes fuck the customer, so I don't think the restrictions are working for that.


If you assign them the brothel whore job, and only leave prohibit oral unchecked, they will follow the rules, and only give blow jobs. But strangely, if you uncheck "prohibit strip" along with "prohibit oral", they will start having random group sex with the customers, along with stripping for them, and oral sex.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on December 31, 2014, 05:30:36 PM
If you assign them to the brothel stripper job, and leave "prohibit oral" unchecked, they will sometimes fuck the customer, so I don't think the restrictions are working for that.
Cause that doesn't check for restrictions.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on January 01, 2015, 10:31:23 AM
2Jacko just leave a corner for creativity and self-expression for your girls. :P Why restrict everything?

Merry CHristmas to you pervs.
Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on January 01, 2015, 09:31:54 PM
Cause that doesn't check for restrictions.


Ah, okay. I'm cool with that, but is the other issue intended?


Uriel: Sounds good to me. Merry xmas!
Title: Re: Crazy and PP's mod bug thread
Post by: Hazure on January 01, 2015, 09:50:02 PM
I'm personally glad for the work around he mentioned....I'm trying to run a brothel full of virgins.
Title: Re: Crazy and PP's mod bug thread
Post by: KingofKings on January 02, 2015, 05:10:53 AM
Found another bug here guys.

For the farm in .19 the day/night selection is reversed.

Selecting jobs for daytime set it to night and night time jobs being set for day.

I know it's not a bug I can send a game-log to, as it doesn't register in there.

Maybe a coding mishap or something along those lines?

I'm not to worried about it, just switching between night and day is easy, but just set it out there so you guys know.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 04, 2015, 06:58:33 AM
Found another bug here guys.

For the farm in .19 the day/night selection is reversed.

Selecting jobs for daytime set it to night and night time jobs being set for day.

I know it's not a bug I can send a game-log to, as it doesn't register in there.

Maybe a coding mishap or something along those lines?

I'm not to worried about it, just switching between night and day is easy, but just set it out there so you guys know.
Again?  Argh.
I keep trying to make the Day/Night work properly and is seems every time I fix it for one area, the reversing moves to another area.


Update: Found and fixed the problem.
Title: Re: Crazy and PP's mod bug thread
Post by: KingofKings on January 04, 2015, 01:33:32 PM
Maybe you should make a reverse of the reverse.

Break another area, then fix the first broken area, and once the break moves to the broken area, it'll fix it right up.
Title: Re: Crazy and PP's mod bug thread
Post by: Randomguy on January 04, 2015, 05:19:40 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.

Happy new years!

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey 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".
Title: Re: Crazy and PP's mod bug thread
Post by: Randomguy 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.
Title: Re: Crazy and PP's mod bug thread
Post by: Dagoth 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.
Title: Re: Crazy and PP's mod bug thread
Post by: akab 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;
      }

Title: Re: Crazy and PP's mod bug thread
Post by: crazy on January 07, 2015, 06:34:56 PM
Thanks for the patch dagoth and thanks for the code submission akab.
Title: Re: Crazy and PP's mod bug thread
Post by: akab on January 07, 2015, 07:40:32 PM
Crazy you are welcome, so little for the work you are doing.  ;)
Title: Re: Crazy and PP's mod bug thread
Post by: gcdeathrow 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.
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay 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
Title: Re: Crazy and PP's mod bug thread
Post by: Metaphor23 on January 13, 2015, 03:24:47 PM
i'm getting crashes when my girls Daughter grows up
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay on January 13, 2015, 05:21:50 PM
same here and so far log isn't helping me at all
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey 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.
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay on January 13, 2015, 06:35:25 PM
my log tells me exactly what caused the game to crash
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay 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
Title: Re: Crazy and PP's mod bug thread
Post by: crazy 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
Title: Re: Crazy and PP's mod bug thread
Post by: Gmind 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)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 14, 2015, 05:46:44 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)
Attach the girl file named in the error and I will take a look at it.
Title: Re: Crazy and PP's mod bug thread
Post by: Gmind on January 14, 2015, 06:04:38 AM
Attach the girl file named in the error and I will take a look at it.


Done. Not sure if was the one used when this happened (though the likelyhood is high) as I've been doing many trait changes to it and others to cut down on the number of traits that pop up upon creation. So far, it appears that "job" traits such as Director and Cook are causing the problem (not too certain, though).
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 14, 2015, 06:24:05 AM
Done. Not sure if was the one used when this happened (though the likelyhood is high) as I've been doing many trait changes to it and others to cut down on the number of traits that pop up upon creation. So far, it appears that "job" traits such as Director and Cook are causing the problem (not too certain, though).
The problem is not the traits themselves but rather the number of them.
Girls can only have 60 traits but that files has 81.
Even with the random chance there is still a chance of getting more than 60 thus causing the error.
My test caught the error on trait 77 of 81.

I will add a catch for this but try to keep the number of traits lower than 60
Also, reduce the chance% on similar but not exclusive traits so they don't get too many traits that may not go well together.
If you have 81 traits, a lower percent for them should not make too much of a difference in the girls but will in the code.
Title: Re: Crazy and PP's mod bug thread
Post by: Gmind on January 14, 2015, 06:50:00 AM
The problem is not the traits themselves but rather the number of them.
Girls can only have 60 traits but that files has 81.
Even with the random chance there is still a chance of getting more than 60 thus causing the error.
My test caught the error on trait 77 of 81.

I will add a catch for this but try to keep the number of traits lower than 60
Also, reduce the chance% on similar but not exclusive traits so they don't get too many traits that may not go well together.
If you have 81 traits, a lower percent for them should not make too much of a difference in the girls but will in the code.


Been lowering the traits all across the board with the highest non-definite traits being set at 10% while removing traits that can either be trained or gained rather easily in-game. Many thanks though, good sir!
Title: Re: Crazy and PP's mod bug thread
Post by: gcdeathrow on January 15, 2015, 06:50:25 PM
Think I found the problem with the matron not setting back the girl's day jobs after resting.

Method signature for HandleSpecialJobs on cJobManager is:
Code: [Select]
bool cJobManager::HandleSpecialJobs(int TargetBrothel, sGirl* Girl, int JobID, int OldJobID, bool Day0Night1, bool fulltime)
But when calling from cBrothel (line: 1543), it provides JobID and OldJobID in the wrong order:
Code: [Select]
g_Brothels.m_JobManager.HandleSpecialJobs(brothel->m_id, current, current->m_PrevDayJob, current->m_DayJob, true);

Haven't been able to build the solution to prove that is solves the problem, but seems like a likely candidate.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 15, 2015, 07:19:48 PM
Think I found the problem with the matron not setting back the girl's day jobs after resting.
Method signature for HandleSpecialJobs on cJobManager is:
Code: [Select]
bool cJobManager::HandleSpecialJobs(int TargetBrothel, sGirl* Girl, int JobID, int OldJobID, bool Day0Night1, bool fulltime)But when calling from cBrothel (line: 1543), it provides JobID and OldJobID in the wrong order:
Code: [Select]
g_Brothels.m_JobManager.HandleSpecialJobs(brothel->m_id, current, current->m_PrevDayJob, current->m_DayJob, true);Haven't been able to build the solution to prove that is solves the problem, but seems like a likely candidate.
No that is not the problem, they are not "in the wrong order".
They are they way they are because the check is the "new job" is the job they had before being taken off the job and the "old job" is the current job (resting).

The problem is just below that:
Code: [Select]
g_Brothels.m_JobManager.HandleSpecialJobs(brothel->m_id, current, current->m_PrevDayJob, current->m_DayJob, true);
if (current->m_DayJob == current->m_PrevDayJob)  // only update night job if day job passed HandleSpecialJobs
    current->m_NightJob = current->m_PrevNightJob;
else
    current->m_DayJob = restjob;  <------ Should be   current->m_NightJob = restjob;
It was setting the day job with the HandleSpecialJobs then if it was changed it should set the night job.
Instead it would set the day job to resting.
Title: Re: Crazy and PP's mod bug thread
Post by: gcdeathrow on January 15, 2015, 08:41:51 PM
I can only bow to your superior understanding of the codebase.

However, I made the change you suggested and the problem was not fixed. Changing the final argument of the HandleSpecialJobs call from 'true' to 'false' does seem to fix the problem, but I am unsure of other implications of this change.

Including changed code for clarity:
Code: [Select]
g_Brothels.m_JobManager.HandleSpecialJobs(brothel->m_id, current, current->m_PrevDayJob, current->m_DayJob, false);
if (current->m_DayJob == current->m_PrevDayJob)  // only update night job if day job passed HandleSpecialJobs
    current->m_NightJob = current->m_PrevNightJob;
else
    current->m_NightJob = restjob;
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 15, 2015, 08:55:46 PM
However, I made the change you suggested and the problem was not fixed. Changing the final argument of the HandleSpecialJobs call from 'true' to 'false' does seem to fix the problem, but I am unsure of other implications of this change.

The last argument was added to allow holding the control key when selecting the girls job to make a job full time.
In the other buildings it is used but the brothel has not gotten the full update yet.
So making it false, or even removing it, should not affect anything.
Title: Re: Crazy and PP's mod bug thread
Post by: gcdeathrow on January 15, 2015, 10:45:19 PM
Please note that when HandleSpecialJobs is called in this case, fullTime is never specified, only Day0Night1. It seems to solve the problem from my testing.
Title: Re: Crazy and PP's mod bug thread
Post by: Rafflesia on January 15, 2015, 11:00:11 PM
Speaking of fixing matrons, I made a change to HandleSpecialJobs that seemed to work. In the last else statement checking for special jobs I changed SHIFT_DAY to true.
Code: [Select]
else
    {
        MadeChanges = false;
        if (fulltime)
            Girl->m_DayJob = Girl->m_NightJob = JobID;
        else if (Day0Night1 == true)
            Girl->m_DayJob = JobID;
        else
            Girl->m_NightJob = JobID;
I don't think that was the problem either since Day0Night1 == SHIFT_DAY seems to work correctly everywhere else as far as I can tell, but it's something I guess.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 16, 2015, 02:17:38 AM
An update on this:
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)
Done. Not sure if was the one used when this happened (though the likelyhood is high) as I've been doing many trait changes to it and others to cut down on the number of traits that pop up upon creation. So far, it appears that "job" traits such as Director and Cook are causing the problem (not too certain, though).
The problem is not the traits themselves but rather the number of them.
Girls can only have 60 traits but that files has 81.
Even with the random chance there is still a chance of getting more than 60 thus causing the error.
My test caught the error on trait 77 of 81.

I will add a catch for this but try to keep the number of traits lower than 60
Also, reduce the chance% on similar but not exclusive traits so they don't get too many traits that may not go well together.
If you have 81 traits, a lower percent for them should not make too much of a difference in the girls but will in the code.

I have reworked random girl's traits so that you can have up to 200 traits in an .rgirlsx file.
I have not changed the number of traits a girl can have so those 200 traits will need to have their percent low enough to allow checking of the later traits on the list.
What it does now is load all traits in the .rgirlsx file and then when it comes to select the traits, it then checks the percent and adds in as many as it can before stopping when the girl has 60 traits.

So if you want any traits to be given to the girl 100% of the time, be sure to have them at the top of the .rgirlsx file.
It would be best to sort the traits in percent order from 100% to 1%.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on January 16, 2015, 07:17:51 AM
In the XXX entertainer job customers may complain if a girl is too old, and demons, constructs and a few others are exempt due to aging differently. Shouldn't elves, succubi and maybe others be exempt too?

Quote from: code
if (g_Girls.HasTrait(girl, "Demon") || g_Girls.HasTrait(girl, "Shape Shifter") || g_Girls.HasTrait(girl, "Construct")
                        || g_Girls.HasTrait(girl, "Cat Girl"))
                {
                        ss << "Customers are surprised to see such an unusual girl giving sexual entertainment. ";
                        ss << "Some are disgusted, some are turned on, but many can't help watching.\n";
                        ss << "The dealers at the tables make a small fortune from distracted guests. ";
                        wages += 30;
                }
                else if (g_Dice.percent(min(max((g_Girls.GetStat(girl, STAT_AGE) - 28) * 4, 0), 100)))
                {       //"Too old!" - chance of heckle: age<28y= 0%, then 4%/year (30y - 8%, 40y - 48%...) from 53 = 100%... (but only a 20% chance this bit even runs)
                        //Note: demons are exempt as they age differently
                        ss << "Some customers heckle " + girlName + " over her age.";
                        ss << "\n\"Gross!\" \"Grandma is that you!?\"\n";
                        ss << "This makes it harder for her to work this shift. ";
                        jobperformance -= 20;
                 }
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 16, 2015, 08:23:59 AM
In the XXX entertainer job customers may complain if a girl is too old, and demons, constructs and a few others are exempt due to aging differently. Shouldn't elves, succubi and maybe others be exempt too?
Ok, How about this?
Code: [Select]
        if (g_Girls.HasTrait(girl, "Demon") || g_Girls.HasTrait(girl, "Shape Shifter") || g_Girls.HasTrait(girl, "Construct") ||
            g_Girls.HasTrait(girl, "Cat Girl") || g_Girls.HasTrait(girl, "Succubus") || g_Girls.HasTrait(girl, "Reptilian"))
        {
            ss << "Customers are surprised to see such an unusual girl giving sexual entertainment. ";
            ss << "Some are disgusted, some are turned on, but many can't help watching.\n";
            ss << "The dealers at the tables make a small fortune from distracted guests. ";
            wages += 30;
        }
        else if (girl->age() > 30 && g_Dice.percent(min(90, max((girl->age() - 30) * 3, 1))))
        {    //"Too old!" - chance of heckle: age<30y= 0%, then 4%/year (32y - 6%, 40y - 30%...) max 90%... (but only a 20% chance this bit even runs)
            //Note: demons are exempt as they age differently
            ss << "Some customers heckle " + girlName + " over her age.";
            ss << "\n\"Gross!\" \"Grandma is that you!?\"\n";
            ss << "This makes it harder for her to work this shift. ";
            jobperformance -= 20;
        }
Title: Re: Crazy and PP's mod bug thread
Post by: Lurker on January 16, 2015, 06:28:25 PM
Game crash when i press next week. New game started had no girls, crashed. New game started had one girl, crashed.
Using WhoreMaster.06.00.26

Edit: Tried version 00.25 and that one works fine.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 17, 2015, 01:14:50 AM
Game crash when i press next week. New game started had no girls, crashed. New game started had one girl, crashed.
Using WhoreMaster.06.00.26

Edit: Tried version 00.25 and that one works fine.
This is cause by the new rival code that allows rival gangs to fight.
The "gang fights gang" and "gang fights girl" were written only for your gangs so it assumed the number of gangs would be 1 or more.
The healing potion check was still used but threw a divide by 0 error. (numpotions / numgangs)

I need to add a check for that.

It is an oversight on my part but this will cause the rivals to uses your potions when they fight each other.
Until I fix this, expect a slight increase in potion replenishment cost.
The good thing is that it shouldn't affect your gangs because rivals are run after your gangs.
So if you use all of your potion allocation that turn, the rival who started the fight will have fewer potions than the one they are attacking.
Title: Re: Crazy and PP's mod bug thread
Post by: ShoHaFa on January 17, 2015, 03:57:14 AM
Some instances for intercourse which I don't think can result in pregnancy. I specifically set girls on these jobs as not using anti-preg, but they never got pregnant anyway:
-escorting
-centre work (it can happen with a high libido girl giving food or doing community work)
-clinic work (it can happen with a high libido girl as a nurse)

There might be more cases. I'm currently keeping an eye on guard duty as well.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on January 17, 2015, 09:19:06 PM
-escorting
Escort isn't finished right now the girl doesn't even have sex with the person.  Once it gets more work it will have all types of sex added and then the girl will be able to get prego if you want her to.  But not right now.
-centre work (it can happen with a high libido girl giving food or doing community work)
Yeah forgot to add the check to this one.
-clinic work (it can happen with a high libido girl as a nurse)
Yeah forgot this one also.

Ill get them fixed up for the next release.
Title: Re: Crazy and PP's mod bug thread
Post by: TheButtCaptain on January 18, 2015, 09:03:12 PM
Hi there, new to the game. I'm having some issues with the latest version (06.00.27) that i was not having in 06.00.25. On a fresh install, whenever I send a gang into the catacombs, the game crashes. I have not seen the issue come up when i send a girl in, but i have not tried getting an item from the catacombs, so that might have something to do with it.
BTW, from what i did play in 06.00.25, the game seemed really great, so good job=D
Title: Re: Crazy and PP's mod bug thread
Post by: ShoHaFa on January 18, 2015, 09:31:01 PM
Hi there, new to the game. I'm having some issues with the latest version (06.00.27) that i was not having in 06.00.25. On a fresh install, whenever I send a gang into the catacombs, the game crashes. I have not seen the issue come up when i send a girl in, but i have not tried getting an item from the catacombs, so that might have something to do with it.
BTW, from what i did play in 06.00.25, the game seemed really great, so good job=D
Same here.

I've also been playing a few rounds without sending any gangs to the catacombs, and the rivals get really hard. When I checked my savegame, each rival already had about 25 million money, and hundreds of girls, bars and casinos and stuff. Maybe their buff was a little overdone?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 18, 2015, 09:31:49 PM
Hi there, new to the game. I'm having some issues with the latest version (06.00.27) that i was not having in 06.00.25. On a fresh install, whenever I send a gang into the catacombs, the game crashes. I have not seen the issue come up when i send a girl in, but i have not tried getting an item from the catacombs, so that might have something to do with it.
BTW, from what i did play in 06.00.25, the game seemed really great, so good job=D
I got the Whore Master.exe has stopped working message too when I hit next week. I just started using 06.00.27. It seems to only happen if one of the gangs is set to catacombs none of the other gang actions caused the problem.
Found and fixed the problem.
In the gang catacomb function I accidentally used "gang" where "currentGang" should have been used.
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay on January 19, 2015, 01:25:17 PM
Question,
now that we can give the player a name, shouldnt our children have our last name, not "Player"
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 19, 2015, 05:05:50 PM
Question,
now that we can give the player a name, shouldnt our children have our last name, not "Player"
They are supposed to get the player's last name, if they are getting "Player" then it is a bug.
I will check it.
Title: Re: Crazy and PP's mod bug thread
Post by: Gmind on January 19, 2015, 06:18:37 PM
Been getting some really weird shit happening on my end; Downloaded v.28 and all, brought all my info into to it, gave the 'could not find file path' error, said' kk' and did a system restart, went back to the v.28 folder and the game launcher is gone. I did not delete it or even touch it, it's just gone. Re-installed and tried again, same thing happened.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 19, 2015, 06:37:29 PM
Been getting some really weird shit happening on my end; Downloaded v.28 and all, brought all my info into to it, gave the 'could not find file path' error, said' kk' and did a system restart, went back to the v.28 folder and the game launcher is gone. I did not delete it or even touch it, it's just gone. Re-installed and tried again, same thing happened.
Run a virus scan on your computer, there are some viruses out there that delete files when you try to run them.
I have also seen viruses that hide files.
Go to folder options in windows explorer and change the settings so it shows hidden files and folders.
Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on January 19, 2015, 10:40:46 PM
Hey found a bug with .28


The girl's trait bonuses aren't being applied to their stats, eg. Cute is not giving +10 beauty, Charming not giving +30 Charisma, etc. Hope this is a quick fix because it really screws up my girl packs.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 19, 2015, 11:26:35 PM
The girl's trait bonuses aren't being applied to their stats, eg. Cute is not giving +10 beauty, Charming not giving +30 Charisma, etc. Hope this is a quick fix because it really screws up my girl packs.
Found and fixed it.
The sorting check was checking against a bad string.
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay on January 20, 2015, 12:02:34 AM
lol sounds like your haveing fun lately aevojoey

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 20, 2015, 12:14:02 AM
lol sounds like your haveing fun lately aevojoey
My bug hammer has squashed 4 bugs today :p
Title: Re: Crazy and PP's mod bug thread
Post by: MuteDay on January 20, 2015, 12:18:34 AM
lucky i have hit bugs on Evolved that dont seam to want to vanish

Title: Re: Crazy and PP's mod bug thread
Post by: Jacko on January 20, 2015, 06:33:04 AM
Another bug that you might not have caught, girls aren't receiving the "Your Daughter" trait when they come of age.


Also, I've reported it several times, but girls in the brothel whore job are having group sex even though it is restricted. Bug?


Another thing, when you use the "reward" command, she doesn't actually receive any money. I checked with spies.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 20, 2015, 08:44:20 AM
Another bug that you might not have caught, girls aren't receiving the "Your Daughter" trait when they come of age.
Already fixed it yesterday, will be in the next version.

Also, I've reported it several times, but girls in the brothel whore job are having group sex even though it is restricted. Bug?
Restrictions are a buggy thing.
Everything needs to be rewritten to include them so they may not get fixed right away.
Because I personally don't use restrictions, I don't usually see them not working so it takes longer for them to get fixed.

Another thing, when you use the "reward" command, she doesn't actually receive any money. I checked with spies.
That is handled by one of the scripts.
It usually takes a little more time to fix those.
Title: Re: Crazy and PP's mod bug thread
Post by: deadkingblue on January 21, 2015, 04:41:14 AM
Girls unequip certain items imediately after you click next week (effect from equiped item is show, but not applied. This was most noticable with an equipable that added incorporeal, she died from rape) and enemy gangs are seriously op. Nearly impossible to defeat and if you manage to get a strong enough gang to attack you get 2-7 million gold when attacking. (i never actually managed to defeat one) Also your money transfers when you start a new game without closing the window, the number you had in the previous game is added to the next one, +4000 to the previous number. (includes when negative) SERIOUSLY OP GANGS.
Title: Re: Crazy and PP's mod bug thread
Post by: Rafflesia on January 21, 2015, 07:47:07 AM
The community service and feed poor jobs seem to always give the nymphomaniac text if you don't prohibit anal.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 21, 2015, 09:20:48 PM
Also your money transfers when you start a new game without closing the window, the number you had in the previous game is added to the next one, +4000 to the previous number. (includes when negative)
It was not adding the money from the previous game, what it was doing is not resetting the text displayed the first time it loaded the first page.
Once you leave the first page and go back to it, it would showing the correct number.
I fixed it so it would refresh the first page when starting a game.

Girls unequip certain items imediately after you click next week (effect from equiped item is show, but not applied. This was most noticable with an equipable that added incorporeal, she died from rape)
Weapons and armor are automatically removed when doing a noncombat job and equipped when doing combat jobs.
You can stop this by setting AutoCombatEquip to false in config.xml.

and enemy gangs are seriously op. Nearly impossible to defeat and if you manage to get a strong enough gang to attack you get 2-7 million gold when attacking. (i never actually managed to defeat one)
...
SERIOUSLY OP GANGS.
I am working to fix that.

Update:
I cut rival's income down to a more manageable amount.
I also made it so rivals can but random items, further reducing their money gains.
I also cut the amount of gold your gang can take from a rival to 0-5% instead of 0-10% with a random extra ((int/5)*num) instead of (int*num)


The community service and feed poor jobs seem to always give the nymphomaniac text if you don't prohibit anal.
Fixed it.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on January 22, 2015, 11:35:06 AM
My gang just looted 40k gold and another one was 12k. I don't think i had more then, maybe, 5 before.
I'm on .30.

ps:" Abundant Lactation" does nothing for now? I see no difference in milking.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on January 22, 2015, 06:36:34 PM
Any cleaning girl who finishes early her job has a chance of "cleaning" customers at the brothel. There's no Libido or trait requirements so even Lesbian girls may do it, which seems odd.

Quote from: WorkCleaning
                ss << "\n\n" << girlName << " finished her cleaning early so ";
                roll_a = g_Dice % 6;
                if (roll_a == 1 && brothel->m_RestrictOral) roll_a = 0;

                switch (roll_a)
                {
                case 1:
                {
                        ss << "she hung out at the brothel, offering to \"clean off\" finished customers with her mouth.\n";//Made it actually use quote marks CRAZY
                        tips = g_Dice % 6 - 1; //how many 'tips' she clean? <6 for now, considered adjusting to amount playtime - didn't seem worth complexity
                        if (tips > 0)
                        {
                                brothel->m_Happiness += (tips);
                                g_Girls.UpdateSkill(girl, SKILL_ORALSEX, tips / 2);
                                tips *= 5; //customers tip 5 gold each
                                ss << "She got " << tips << " in tips for this extra service.\n";
                                imagetype = IMGTYPE_ORAL;
                        }

There's a chance in case 5 where she "cleans" yourself instead.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 22, 2015, 07:42:57 PM
My gang just looted 40k gold and another one was 12k. I don't think i had more then, maybe, 5 before.
I have added limiters to sabotage gold collected.
The rival will still lose the same amount but you will end up with much less.

ps:" Abundant Lactation" does nothing for now? I see no difference in milking.
Lactation has not been fully added.
I started working on it a while back but the math started getting complicated so I put it off.

Any cleaning girl who finishes early her job has a chance of "cleaning" customers at the brothel. There's no Libido or trait requirements so even Lesbian girls may do it, which seems odd.

There's a chance in case 5 where she "cleans" yourself instead.
There is a restriction check above the switch so restricting oral will prevent this.
Crazy has been working on the jobs more than I have so I usually only check them for bugs and not content.
If Crazy doesn't get to it before I do, I will add a more thorough preselection check so the choice will be tailored more to the girl.
Title: Re: Crazy and PP's mod bug thread
Post by: Gmind on January 22, 2015, 10:23:27 PM
Gonna have to agree with DeadKing on the rival gangs; Have to reload the game after each attack because they're ripping my guards apart, leaving between 2-5 survivors after an attack (if they survive at all, that is).
Title: Re: Crazy and PP's mod bug thread
Post by: ShoHaFa on January 23, 2015, 02:26:17 AM
Gonna have to agree with DeadKing on the rival gangs; Have to reload the game after each attack because they're ripping my guards apart, leaving between 2-5 survivors after an attack (if they survive at all, that is).
I haven't test .30 yet (downloading in a few minutes), but in .28 and .29, you basically have to start sabotaging opponents on the turn they appear to keep them under control. If you leave them alone for as little as 3 turns, they'll be as strong as your own gangs. Ignore them for 5 turns, and they'll be about as strong as a fully maxed gang of your own. If you still ignore them after that, you may eventually have to hack into your savegame to fix them to more manageable levels.

Practically, that means I now always have 2 gangs on sabotage, whether there are rivals around or not, to pounce on them the minute they get added. The rest of the gangs are training. When a new rival is discovered, ALL my gangs switch to sabotage, except for one, which will have to guard. I'm not sure yet whether I'm happy with all the attention I have to pay on gangs now. I thought they were a fun sidegame from the brothel, instead of the other way round. They definitely were too easy, but they are becoming a bit too hard now to be called a sidegame any longer.
It's all balancing and tweaking I guess. But, ideally, they'll still be a sidegame, not the main course. I hardly play Sim Brothel Revival anymore, for that reason: the brothels became a sidegame to a rather mediocre RPGMakerXP game.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 23, 2015, 02:39:04 AM
I haven't test .30 yet (downloading in a few minutes), but in .28 and .29, you basically have to start sabotaging opponents on the turn they appear to keep them under control. If you leave them alone for as little as 3 turns, they'll be as strong as your own gangs. Ignore them for 5 turns, and they'll be about as strong as a fully maxed gang of your own. If you still ignore them after that, you may eventually have to hack into your savegame to fix them to more manageable levels.

Practically, that means I now always have 2 gangs on sabotage, whether there are rivals around or not, to pounce on them the minute they get added. The rest of the gangs are training. When a new rival is discovered, ALL my gangs switch to sabotage, except for one, which will have to guard. I'm not sure yet whether I'm happy with all the attention I have to pay on gangs now. I thought they were a fun sidegame from the brothel, instead of the other way round. They definitely were too easy, but they are becoming a bit too hard now to be called a sidegame any longer.
It's all balancing and tweaking I guess. But, ideally, they'll still be a sidegame, not the main course. I hardly play Sim Brothel Revival anymore, for that reason: the brothels became a sidegame to a rather mediocre RPGMakerXP game.
I severely succeeded in trying to make rivals harder in .26, I made them gain too much gold and their gangs way too tough.
Each version since, I have tried to cut them back a lot more.
Hopefully with .30 they are back to a more manageable strength but you still steal a lot of gold from sabotaging them.
With .31 you still damage them a lot but you only collect a smaller amount of gold.

If you are having trouble with rivals and gangs you may try going back to version .06.00.25 until the bugs get worked out.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on January 23, 2015, 04:42:06 PM
Little stuff: A female customer requested face massage.... because she was quite horny, she ended up giving him a cock-rub...
Title: Re: Crazy and PP's mod bug thread
Post by: highmoonfang on January 23, 2015, 07:26:45 PM
Hi, Wanted to report something that's bugging me  :) .  I am using ver. 06.00.30.

Every Daughter I have from a "Normal" Girl I bought from the Slave Merchant Ended up having "Not Human" Trait or just become any "Catacomb" girls. Is the player a demon Lord or what?  :)
Title: Re: Crazy and PP's mod bug thread
Post by: babanathie on January 23, 2015, 08:23:40 PM
Hi, Wanted to report something that's bugging me  :) .  I am using ver. 06.00.30.

Every Daughter I have from a "Normal" Girl I bought from the Slave Merchant Ended up having "Not Human" Trait or just become any "Catacomb" girls. Is the player a demon Lord or what?  :)

Yeah, I saw this too...  I found a solution if you download the working files to compile them yourself.  It's in cGirls.cpp under the child_is_grown procedure.  There is a line, bolded below, that sets allows non-humans, AllowNonHuman, and it appears to be improperly set.  It appears to set this value to true if the mother is human.  Instead of messing with that value; I just changed, bolded again, the value AllowNonHuman to !AllowNonHuman.  This flips the incorrectly assigned value to its logical opposite.  This will give you proper human children!

bool cGirls::child_is_grown(sGirl* mom, sChild *child, string& summary, bool PlayerControlled)
{
   string playersurname = "";   // `J` since this is not changeable yet, leaving it blank.
   cConfig cfg;
   cTariff tariff;
   stringstream ss;
   // bump the age - if it's still not grown, go home
   child->m_Age++;      if (child->m_Age < cfg.pregnancy.weeks_till_grown())   return false;

   // we need a coming of age ceremony
   if (child->is_boy())
   {
      summary += gettext("A son grew of age. ");
      mom->m_States |= (1 << STATUS_HAS_SON);

      if (PlayerControlled)   // get the going rate for a male slave and sell the poor sod
      {
         int gold = tariff.male_slave_sales();
         g_Gold.slave_sales(gold);
         ss << gettext("Her son has grown of age and has been sold into slavery.\n");
         ss << gettext("You make ") << gold << gettext(" gold selling the boy.\n");
      }
      else   // or send him on his way
      {
         int roll = g_Dice % 4;
         ss << "Her son has grown of age and ";
         if (roll == 0)      ss << "moved away";
         else if (roll == 1)   ss << "joined the army";
         else             ss << "got his own place in town";
         ss << gettext(".\n");
      }
      mom->m_Events.AddMessage(ss.str(), IMGTYPE_PROFILE, EVENT_GOODNEWS);
      return true;
   }

   bool playerfather = child->m_IsPlayers;      // is 1 if father is player
   summary += gettext("A daughter grew of age. ");
   mom->m_States |= (1 << STATUS_HAS_DAUGHTER);
   bool slave = mom->is_slave();
   bool AllowNonHuman = mom->is_human();
   // create a new girl for the barn
   sGirl* sprog = 0;
   if (mom->m_Canonical_Daughters.size() > 0)
   {
      sprog = make_girl_child(mom, playerfather);
   }
   else
   {
      sprog = g_Girls.CreateRandomGirl(17, false, slave, false, !AllowNonHuman, false, false, playerfather);
   }
   // check for incest, get the odds on abnormality
   int abnormal_pc = calc_abnormal_pc(mom, sprog, child->m_IsPlayers);
   if (g_Dice.percent(abnormal_pc))
   {
      if (g_Dice.percent(50)) g_Girls.AddTrait(sprog, "Malformed");
      else                g_Girls.AddTrait(sprog, "Retarded");
   }
   // loop throught the mom's traits, inheriting where appropriate
   for (int i = 0; i < mom->m_NumTraits && sprog->m_NumTraits < 30; i++)
   {
      if (mom->m_Traits)
      {
         string tname = mom->m_Traits->m_Name;
         if (g_Girls.InheritTrait(mom->m_Traits) && tname != "")
            g_Girls.AddTrait(sprog, mom->m_Traits->m_Name);
      }
   }
   if (playerfather)
   {
      g_Girls.AddTrait(sprog, "Your Daughter");
   }
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on January 24, 2015, 05:48:29 AM
Small typo in ApplyTraits:

Quote from: cGirls.cpp
    else if (Name == "Fleet Of Foot")
{
UpdateStat(girl, STAT_AGILITY, 50);
}

However, in UnapplyTraits:
Quote from: cGirls.cpp
    else if (Name == "Fleet of Foot")
{
UpdateStat(girl, STAT_AGILITY, -50);
}
And:
Quote from: CoreTraits.traitsx
    <Trait
        Name="Fleet of Foot"
        Desc="This girl is quick on her feet. She can usually outrun her enemies if she can't beat them."
        Type="Action" />

Notice the capitalized "o" of "of" in the first quote.


Bisexual is missing in ApplyTraits and UnapplyTraits.


Since traits apply their skill changes to base (UpdateSkill) they are susceptible to the new skill decay. Example:

Girl has 0 tittysex.
Girl gains big boobs that grants +15 to tittysex.
Since tittysex > 0 it decays.
Somehow girl loses big boobs and now has tittysex < 0.

I guess it can be fixed by applying the changes to mod.
Title: Re: Crazy and PP's mod bug thread
Post by: Rigsson on January 25, 2015, 02:25:19 AM
Hey, quick question. I have several custom girls marked, "Can only be born as your daughter,' yet in all of my playthroughs I have never had any of them born as my daughter. I've searched for answers for why it's not happening on here, but I haven't found anything. Has this simply not been implemented in-game yet? I would appreciate any help any of you could give.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 25, 2015, 08:17:34 AM
Yeah, I saw this too...  I found a solution if you download the working files to compile them yourself.  It's in cGirls.cpp under the child_is_grown procedure.  There is a line, bolded below, that sets allows non-humans, AllowNonHuman, and it appears to be improperly set.  It appears to set this value to true if the mother is human.  Instead of messing with that value; I just changed, bolded again, the value AllowNonHuman to !AllowNonHuman.  This flips the incorrectly assigned value to its logical opposite.  This will give you proper human children!
Fixed it.

Small typo in ApplyTraits:
...
Notice the capitalized "o" of "of" in the first quote.
Fixed it.

Bisexual is missing in ApplyTraits and UnapplyTraits.
Basically Bisexual would be the default so it would not have any modifiers.
No trait could be considered Undecided and also have no modifiers.
If you think there should be modifiers for Bisexual, post them and I will add them.

Since traits apply their skill changes to base (UpdateSkill) they are susceptible to the new skill decay. Example:
...
I guess it can be fixed by applying the changes to mod.
Traits are supposed to get their own stat/skill modifier group: StatTR/SkillTR.
I just have not gotten around to it yet But I will change that for the next version.


Hey, quick question. I have several custom girls marked, "Can only be born as your daughter,' yet in all of my playthroughs I have never had any of them born as my daughter. I've searched for answers for why it's not happening on here, but I haven't found anything. Has this simply not been implemented in-game yet? I would appreciate any help any of you could give.
This has not been fully implemented but it is getting close.
It should be working in a week or so.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on January 26, 2015, 05:49:28 AM
Basically Bisexual would be the default so it would not have any modifiers.
No trait could be considered Undecided and also have no modifiers.
If you think there should be modifiers for Bisexual, post them and I will add them.

Ah, ok. Since some traits without modifiers are listed I thought it was lost somewhere.


I think all the sexual orientation traits should provide the same net skill gain. For example:

y =  net gain.
x = Erm... I don't know the english term for this.

Bisexual:

Lesbian Sex = +y/2
Normal Sex = +y/2

Lesbian (trait):

Lesbian Sex = +(x+y)
Normal Sex = -x

Straight:

Lesbian Sex = -x
Normal Sex = +(x+y)
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on January 26, 2015, 03:30:48 PM
I've just got .31 installed and im crashing every time i try to get to the shops.
ps: not shop only, other inventory screens are crashing too.
Did a whole install, no custom interface. Preg chances edited in config + couple of item edits(nothing fancy, things like stockings giving more charisma and beauty for an increased cost).
Nothing interesting in gamelog, but just in case...

ps2: oh, that seems to be item packs from other places. How do i find out what exactly is wrong about em?
Title: Re: Crazy and PP's mod bug thread
Post by: ShoHaFa on January 26, 2015, 04:23:22 PM
I've just got .31 installed and im crashing every time i try to get to the shops.
ps: not shop only, other inventory screens are crashing too.
Did a whole install, no custom interface. Preg chances edited in config + couple of item edits(nothing fancy, things like stockings giving more charisma and beauty for an increased cost).
Nothing interesting in gamelog, but just in case...

ps2: oh, that seems to be item packs from other places. How do i find out what exactly is wrong about em?
I've been trying to pinpoint this one the whole afternoon, and though there might be an item somewhere causing crashes (since that got an overhaul, so never know), I'm pretty certain that having a girl in your dungeon always crashes the game upon opening the store/item management.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 26, 2015, 08:38:36 PM
I've just got .31 installed and im crashing every time i try to get to the shops.
ps: not shop only, other inventory screens are crashing too.
Did a whole install, no custom interface. Preg chances edited in config + couple of item edits(nothing fancy, things like stockings giving more charisma and beauty for an increased cost).
Nothing interesting in gamelog, but just in case...

ps2: oh, that seems to be item packs from other places. How do i find out what exactly is wrong about em?
This problem is in the new code for the inventory number of items, it affects girls in the dungeon.
I created a function to get the number of items the girl has but didn't make an overload for dungeongirls.
It is breaking when it thinks a dungeongirl is in a brothel.

Fixed it.
Title: Re: Crazy and PP's mod bug thread
Post by: Aendri on January 27, 2015, 01:34:20 AM
When you say fixed, is that as in fixed in the next release? I ask just because I only just updated to the newest version posted, and it's still doing it. Is the next release soon, or is this something that we could patch ourselves?
Title: Re: Crazy and PP's mod bug thread
Post by: ShoHaFa on January 27, 2015, 04:48:45 AM
When you say fixed, is that as in fixed in the next release? I ask just because I only just updated to the newest version posted, and it's still doing it. Is the next release soon, or is this something that we could patch ourselves?
That would be next release, so .32 and up. Depending on the time they have available, there's usually less than a week between updates, sometimes just a few hours. Just keep an eye on those version numbers  :)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 27, 2015, 04:51:31 AM
When you say fixed, is that as in fixed in the next release? I ask just because I only just updated to the newest version posted, and it's still doing it. Is the next release soon, or is this something that we could patch ourselves?
I just posted WM.06.00.32 with the fix in it.
Title: Re: Crazy and PP's mod bug thread
Post by: ShoHaFa on January 29, 2015, 10:12:25 AM
In .32, I noticed for many of my girls that the house percentage resets to 100%. Though I'm not sure whether it actually happens when I enter their details page or happens elsewhere.

I think the rebel stat is somewhat related to the house percentage, since I occasionally see it go up or down, depending on how I set the percentage, but no idea if there's also some mechanic altering the percentage the other way round or something.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 29, 2015, 10:40:32 AM
In .32, I noticed for many of my girls that the house percentage resets to 100%. Though I'm not sure whether it actually happens when I enter their details page or happens elsewhere.

I think the rebel stat is somewhat related to the house percentage, since I occasionally see it go up or down, depending on how I set the percentage, but no idea if there's also some mechanic altering the percentage the other way round or something.
The only thing that should affect the house percent other than the slider is if you change her slave status.
Freeing a slave sets her house to 60 and enslaving a girl sets her house to 100.
Other than that, the only time the house gets set by the code is in character creation.
Rebel does not get saved, it gets recalculated each time it is needed.

If you can get more details as to when it happens and in what buildings it happens, that would help narrow down your problem.
Title: Re: Crazy and PP's mod bug thread
Post by: ShoHaFa on January 29, 2015, 11:14:59 AM
The only thing that should affect the house percent other than the slider is if you change her slave status.
Freeing a slave sets her house to 60 and enslaving a girl sets her house to 100.
Other than that, the only time the house gets set by the code is in character creation.
Rebel does not get saved, it gets recalculated each time it is needed.

If you can get more details as to when it happens and in what buildings it happens, that would help narrow down your problem.
I just restarted, but it happens in both the first brothel and in my house. I change the house percentage, go to another page (doesn't matter whether I go to inventory, brothel list or next/previous girl), and when I get back, the percentage reset. Some girls have this happen, others do not.

For some girls, it always resets to 100, for others it resets to something else. One girl reset to 75, so I went digging in the saved game for her and into her girlsx file, and found:
saved game: House Value="50" Mod="75"
girlsx: House="60"

One of the girls where I can freely change the amount didn't have the Mod= part specified in the saved game. After changing the percentage and saving, it updates in the saved game to the new value, and doesn't get a Mod= component or anything.

So far, it seems like the value for Mod becomes the minimal percentage taken, so the value any changes to a lower value resets to. And it seems (so far) like only girls who have the Mod bit behind the House Value are affected.

I'll dig more tonight when I get back from work if you need any more details, but that's all I could find so far.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 29, 2015, 11:27:54 AM
The mod part is the problem.
I added House, Fame and Ask Price to the list of stats without mod or temp stats.
Health, Happiness, Tiredness, Age, Exp and Level were already on that list.

I will push the fix in the next version as soon as I finish what I am doing in the farm.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on January 30, 2015, 05:35:07 AM
Not big deal, but given the description Strong doesn't seem to be the intended trait to be granted by jogging:

Quote from: WorkFreetime
                                if (workout >= 2)
                                {
                                        if (jog && !g_Girls.HasTrait(girl, "Great Figure") && g_Dice.percent(5))
                                        {
                                                ss << "With the help of her workouts she has got quite a Great Figure now.";
                                                g_Girls.AddTrait(girl, "Strong");
                                        }
Title: Re: Crazy and PP's mod bug thread
Post by: ShoHaFa on January 30, 2015, 08:42:13 AM
The mod part is the problem.
I added House, Fame and Ask Price to the list of stats without mod or temp stats.
Health, Happiness, Tiredness, Age, Exp and Level were already on that list.

I will push the fix in the next version as soon as I finish what I am doing in the farm.
Ah, I encountered it again, but now I also figured a very specific reason why. Some items, like Doctor Degree, edit the House Value, and do so specifically in the Mod field. Probably a left over from long ago or something. I removed the House entry from the item, and I'll keep my eyes open for other items that change the house value. (for some reason, search just won't include file contents on my computer, only file names, so I really just have to run into cases at random)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on January 30, 2015, 09:15:11 AM
Ah, I encountered it again, but now I also figured a very specific reason why. Some items, like Doctor Degree, edit the House Value, and do so specifically in the Mod field. Probably a left over from long ago or something. I removed the House entry from the item, and I'll keep my eyes open for other items that change the house value. (for some reason, search just won't include file contents on my computer, only file names, so I really just have to run into cases at random)
In order to bypass the problem without having to rewrite every piece of code, a while back I added a check inside the UpdateStatMod and UpdateTempStat to check for the stats that should not use mod or temps.

As for checking the items, I use notepad++ and open all the items at once.
I can then search for anything within every file at the same time.
These items affect house stat:
Doctor Degree.itemsx
Exocore.itemsx > "Exocore (Legend Fighter)"
Super Fertilizer XP 8 Omega Plus !!!!.itemsx



Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on February 02, 2015, 07:52:01 PM
i downloaded the newest version of ur whoremaster .... i found a minor bug which dont interfere with gameplay =) ... dont execute whoremaster in fullscreen and u will see and think at the window-text that it isnt the .33 version of the game .... it would be the .32 version ^^
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 04, 2015, 07:38:53 AM
i downloaded the newest version of ur whoremaster .... i found a minor bug which dont interfere with gameplay =) ... dont execute whoremaster in fullscreen and u will see and think at the window-text that it isnt the .33 version of the game .... it would be the .32 version ^^
This happens all the time, the version number is in the Revision.h file and I sometimes forget to change it before compiling the next version.
Title: Re: Crazy and PP's mod bug thread
Post by: wraithguard on February 05, 2015, 08:55:20 PM
Found a possible bug with traits in .34 that girls can only have 30 traits and not 60. I was trying to use some items to give them more traits and it will not give or list anymore traits after 30.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 05, 2015, 09:25:12 PM
Found a possible bug with traits in .34 that girls can only have 30 traits and not 60. I was trying to use some items to give them more traits and it will not give or list anymore traits after 30.
I found a possible cause but it is not limiting the number of traits just the number that are on the list.
Check your save game and count the number of traits.

I upped the traits on the lists from 30 to 60 for the next version.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on February 09, 2015, 07:51:35 AM
StatTr and SkillTr arent loaded properly from a save file. Well, I can't find them anywhere in saved files. They are loaded fine the first time.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 09, 2015, 07:57:51 AM
StatTr and SkillTr arent loaded properly from a save file. Well, I can't find them anywhere in saved files. They are loaded fine the first time.
They don't need to be.
When the traits are loaded, the game rebuilds the StatTr and SkillTr based off the traits that are loaded.

Well, it seems that part is not in the load game code.
I will add it and hopefully it will work.
Title: Re: Crazy and PP's mod bug thread
Post by: Hanzo on February 09, 2015, 08:30:59 AM
They don't need to be.
When the traits are loaded, the game rebuilds the StatTr and SkillTr based off the traits that are loaded.
I should do that for Items as well.
That's where the bug should be then. I began a new game, bought a girl and saved. No items equipped or consumables used. Nothing. Then when I loaded the game her stats were way lower than before.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 09, 2015, 09:08:21 AM
That's where the bug should be then. I began a new game, bought a girl and saved. No items equipped or consumables used. Nothing. Then when I loaded the game her stats were way lower than before.
Ok, I added it and it works now.
I also cleaned it up so it will fix MutuallyExclusiveTraits if it finds any.


I have started cleaning up the statmod/skillmod so I can make it recalculate them on load as well.
Update:
Well the cleanup is finished but I think changing this will cause more problems than it will solve.
I'll put it off for another time.
Title: Re: Crazy and PP's mod bug thread
Post by: Rafflesia on February 10, 2015, 04:09:32 AM
Daughters growing up crashes the game. Sons are still fine, though.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 10, 2015, 09:51:08 AM
Daughters growing up crashes the game. Sons are still fine, though.
Argh, not again  :'(


I finally got it to crash after several hours of it working properly...
... but it wasn't on Daughters growing up.
It crashed on check_raid() when it was trying to check the influence of a null rival.


Still checking on it.
Attach your savegame so I can test off of that.


Other things I am doing while trying to get it to crash:


I found and fixed a bug in explore catacombs that was not creating random girls properly.

I finally figured out why the dungeon girls were not getting their events saved and I fixed that.

I added a reducer to explore catacombs item count
 - Instead of a flat 40%, I changed it to (50% - (numitems*5%))
 - Better chance of getting 1 or 2 items but less likely to get 4 or more items

I fixed something that was bugging me about the pregnancy column on girls lists, I added a check for Sterile.
 - It will display "St." if she is sterile  instead of just "No"
 - If she is sterile and pregnant it will display "Yes?3?" - how could that happen?
 - If she is sterile and in cool down it will display "No!3!"
 -  - This could signify that she became sterile from giving birth

I added a bypass in the loading girl's images section so it will skip the loading of "nothing" if the girl has no images.
 - This should speed up loading of the game a little.

I added Default Images location to config.xml
Title: Re: Crazy and PP's mod bug thread
Post by: Rafflesia on February 10, 2015, 04:04:53 PM
Attach your savegame so I can test off of that.
Here you go, the main save and a second one I used to try and find what was up. Both were made before .06.01 in case that's part of the problem.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 10, 2015, 04:35:12 PM
Here you go, the main save and a second one I used to try and find what was up. Both were made before .06.01 in case that's part of the problem.
Ok, the problem was caused because the mom was a slave and the child was the player's.
The game had daughtergirls but was improperly looking for a "slave daughtergirl".
I added checks so if it doesn't find the exact type of daughtergirl it will look for any type of daughtergirl.
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on February 11, 2015, 01:58:11 AM
i dont think a savefile is needed ... just downloaded the .03 .... the first girl i sent to dungeon crashed the game so hard i could only closed it via taskmanager ^^
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 11, 2015, 03:04:34 AM
i dont think a savefile is needed ... just downloaded the .03 .... the first girl i sent to dungeon crashed the game so hard i could only closed it via taskmanager ^^
I think I may have found the problem.

If the player fights a girl, as when you try to send her to the dungeon and she fights back, that fight could go on forever.
There was no limiter for the while loop except hers and the players health.
I let a fight run for about 30 seconds and it had run through 14441259 rounds before I broke in.

When I converted a ton of g_Dice%100 to either g_Dice.percent() or g_Dice.d100() in the update for .06.01.02
I accidentally changed a couple of fail percents into succeed percents.
Two of which were in that combat sequence in the part where the combatants would take damage it they failed.
They instead lost health if they succeeded their dodge rolls.
Because dodge gets degraded as they get tired, the percent eventually fell to 0% thus always failing the roll.
Never taking any damage, and without a turn limiter, the combat would go on forever.

I have fixed that and added a 1000 turn limit to this combat.
Title: Re: Crazy and PP's mod bug thread
Post by: Hazure on February 11, 2015, 10:22:22 AM
Where EXACTLY is the config file supposed to be?....in the folder of the game...one level up?.....my game can't find it
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 11, 2015, 12:09:53 PM
Where EXACTLY is the config file supposed to be?....in the folder of the game...one level up?.....my game can't find it
Check your gamelog, the first part will tell you if/where it found it.

The folders are all relative to the .EXE's location so Characters = "C:\Characters" will be seen as  ".\C:\Characters" and thus will not work.

The folder the .EXE is in is  ".\"  - you do not need this in the folder tag but it will not break it.
The folder above that is  "..\"  - each time you add one of those, it will look up one folder.
 - so "..\..\..\" would be up 3 folders
 - any extra "..\" will be ignored - so it you want to force it into the root "C:\" directory use 10 "..\" and any extras will be ignored.

The game first loads ".\config.xml" then "..\config.xml"
Anything in ".\config.xml" gets loaded first to get the defaults included with the game.zip.
It then tries to load "..\config.xml" to get your settings that are shared with any other version of the game in the same "..\" folder.
Everything in "..\config.xml" supercedes any other settings, if you leave something out of "..\config.xml" the defaults stay.


I will add static file paths for the contents eventually but the config.xml will always be either ".\config.xml" or "..\config.xml"
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on February 12, 2015, 09:24:24 PM
This is not a crashing error so you tell me if the gamelog will have this info.

When I loaded my saved game in v1.60.4 (it was newly created in that same version) all of my Brothel Settings had reset to default, and my 400+ anti-pregnancy potions had disappeared.

During game play the brothel setup screen does not always seem to reflect the last changes I made to it.  What is and is not prohibited, the state of my AP potions etc.  I assume there is an underlying database storing these values, so my guess is some sort of caching issue.  If you want the gamelog let me know.

****Edit*****

I saved and quit and reloaded the same saved game and this time everything stayed as it was prior to the last save and exit.  If I can get it to reliably repro I will let you know
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 12, 2015, 09:49:08 PM
This is not a crashing error so you tell me if the gamelog will have this info.

When I loaded my saved game in v1.60.4 (it was newly created in that same version) all of my Brothel Settings had reset to default, and my 400+ anti-pregnancy potions had disappeared.

During game play the brothel setup screen does not always seem to reflect the last changes I made to it.  What is and is not prohibited, the state of my AP potions etc.  I assume there is an underlying database storing these values, so my guess is some sort of caching issue.  If you want the gamelog let me know.
If you have multiple brothels, using the 1-7 keys switches between them.
The settings on each of them can be different.

The gamelog probably would not help but your savegame would.

The "v1.60.4" is the base game version, the Crazy Mod version is at the end of the title ".06.01.03".
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on February 12, 2015, 09:57:39 PM
So right .06.01.03 is the mod version.  I currently only have the first main brothel, and the house.  It was just the first load today that exhibited this issue.  So if I ever get it to repro again I can send it along.  Otherwise it may be a waste of your time.
Title: Re: Crazy and PP's mod bug thread
Post by: torrentsearcher on February 13, 2015, 10:23:38 AM
just some small thing i noticed: u can´t assign combat training properly. the girls will get set back to cage match. so if u want to train a girl from 0 to 100 combat u have to reassign her to training every single turn. not gamebreaking, but certainly annoying. as money is no real factor in this game it doesn´t hurt a lot if she loses. but she gets wounded and can´t continue her training. once the arena gets a place where u can actually lose girls, either by betting or just the fighters themselves, that bug could become seriously annoying. ;)
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 13, 2015, 10:58:10 AM
just some small thing i noticed: u can´t assign combat training properly. the girls will get set back to cage match. so if u want to train a girl from 0 to 100 combat u have to reassign her to training every single turn. not gamebreaking, but certainly annoying. as money is no real factor in this game it doesn´t hurt a lot if she loses. but she gets wounded and can´t continue her training. once the arena gets a place where u can actually lose girls, either by betting or just the fighters themselves, that bug could become seriously annoying. ;)
I had added a check for fight beasts to change it to fight girls if there were no beasts but I didn't specify that only fight beasts would change so all jobs changed to fight girls if there were no beasts.

I will set it to change them to combat training if there are no beasts to fight unless they are already 90+ in all 4 skills plus health, then to fight girls.
If her health is less than 50, she will rest a shift.
It will only change her job for that one shift so if you get more beasts, she will go back to fighting them.
Title: Re: Crazy and PP's mod bug thread
Post by: Aendri on February 13, 2015, 02:07:47 PM
For some reason, I never see any of the combat equipment showing up in the store. Like, ever. Checking every day for close to 14 rounds, I got nothing in ANY of the combat categories except weapons, and even then it's only 1-2 weapons at most. They're still in the game, since I've recovered some from the catacombs, but I haven't found anything elsewhere. Let me know which files you want me to attach, and I will. Going to update to .33 now and see if that fixes it.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 13, 2015, 02:26:09 PM
For some reason, I never see any of the combat equipment showing up in the store. Like, ever. Checking every day for close to 14 rounds, I got nothing in ANY of the combat categories except weapons, and even then it's only 1-2 weapons at most. They're still in the game, since I've recovered some from the catacombs, but I haven't found anything elsewhere. Let me know which files you want me to attach, and I will. Going to update to .33 now and see if that fixes it.
Because there are very few helmets and combat shoes available in the shop, they will be a little rarer than other items but they are in there.
For this reason, I made it so if the girl has a hat but not helmet, she will keep the hat on for combat.
The same with shoes and combat shoes.
Title: Re: Crazy and PP's mod bug thread
Post by: babanathie on February 13, 2015, 07:28:37 PM
Argh, not again  :'(


I finally got it to crash after several hours of it working properly...
... but it wasn't on Daughters growing up.
It crashed on check_raid() when it was trying to check the influence of a null rival.


Still checking on it.
Attach your savegame so I can test off of that.


Other things I am doing while trying to get it to crash:


I found and fixed a bug in explore catacombs that was not creating random girls properly.

I finally figured out why the dungeon girls were not getting their events saved and I fixed that.

I added a reducer to explore catacombs item count
 - Instead of a flat 40%, I changed it to (50% - (numitems*5%))
 - Better chance of getting 1 or 2 items but less likely to get 4 or more items

I fixed something that was bugging me about the pregnancy column on girls lists, I added a check for Sterile.
 - It will display "St." if she is sterile  instead of just "No"
 - If she is sterile and pregnant it will display "Yes?3?" - how could that happen?
 - If she is sterile and in cool down it will display "No!3!"
 -  - This could signify that she became sterile from giving birth

I added a bypass in the loading girl's images section so it will skip the loading of "nothing" if the girl has no images.
 - This should speed up loading of the game a little.

I added Default Images location to config.xml

I'm not getting a crash with daughters growing up.  It does seem to randomly select whether the child is human or non-human.  I haven't followed the coding logic through; I haven't had time.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 13, 2015, 08:48:45 PM
I'm not getting a crash with daughters growing up.  It does seem to randomly select whether the child is human or non-human.  I haven't followed the coding logic through; I haven't had time.
That type of thing is a long standing bug because human/nonhuman is in the code in so many different ways that fixing one breaks another.
I have gone through the code several times to try to normalize it but it is difficult.
If you can track it down that would be helpful.
Title: Re: Crazy and PP's mod bug thread
Post by: Cursed_May on February 14, 2015, 01:39:56 AM
When I try to send Andre Griffey to the dungeon my game crashes. (She's in the bottom)
This doesn't happen with the other girls. I bought her from the auction house 2 turns ago, and it seems it's around there the problem lies, as other girls I purchase and send to the dungeon also crashes my game.

https://mega.co.nz/#!0FVkzJTT!Rjf4XntIadyOhtyKTJf8ZanHBikzL9lcUhgX_-a5U4U
Because the file was too big to attach.
Title: Re: Crazy and PP's mod bug thread
Post by: Romanul on February 14, 2015, 02:02:02 PM
I've edited the config.xml file (with notepad) and the changes don't seem to take effect. I've modified the pregnant chance from player to 100 and chance of girl being born. I've done this before a long time ago and it used to work, am i missing something obvious?
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 14, 2015, 02:42:15 PM
I've edited the config.xml file (with notepad) and the changes don't seem to take effect. I've modified the pregnant chance from player to 100 and chance of girl being born. I've done this before a long time ago and it used to work, am i missing something obvious?
Check your gamelog.txt, it should tell you at the top what config.xml was loaded.
The game looks for config.xml in 2 places, the program folder and the folder above it.
It loads the one in the program folder first as defaults, then the one in the folder above for player settings.
If you edit config.xml, save it in the folder above the program folder.

When I try to send Andre Griffey to the dungeon my game crashes. (She's in the bottom)
This doesn't happen with the other girls. I bought her from the auction house 2 turns ago, and it seems it's around there the problem lies, as other girls I purchase and send to the dungeon also crashes my game.
This seems to be caused by a bug in cycle_girls code, the code that stores the sort order of the girls in the buildings.
Because there is a dead girl in the building, the cycle_girls code removes her from the sort order before processing the sorting.
This breaks the game.
I will see what I can do to fix it.

Update:
Well I fixed the crash but cycling through the girls backwards stops at the girl after the dead girl.
I am adding a way to remove dead bodies right away instead of having to wait for the end to the turn.


You game made me add little side note for somethings.
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on February 14, 2015, 04:44:58 PM
minor: Matron takes girls off duty(rest) to rest.
Title: Re: Crazy and PP's mod bug thread
Post by: Cursed_May on February 14, 2015, 04:45:27 PM
Update:
Well I fixed the crash but cycling through the girls backwards stops at the girl after the dead girl.

You game made me add little side note for somethings.

Wow she died to STD's okay ;-; To which this seems to be kinda related, I've had girls dying the turn week they get an STD. Could it be done so it at least takes 3 weeks before they die, so you can reach to do something about it? Because that's the reason everyone hates me.
Title: Re: Crazy and PP's mod bug thread
Post by: babanathie on February 14, 2015, 06:27:12 PM
That type of thing is a long standing bug because human/nonhuman is in the code in so many different ways that fixing one breaks another.
I have gone through the code several times to try to normalize it but it is difficult.
If you can track it down that would be helpful.

I did a quick trace; determining whether the mom is a monster or a human is done by checking whether to girl can be gained from the catacombs.  If you can get a human from the catacombs, then the child will be a monster.  At least it seems that way from looking at the code.  I'll have to see if there is an alternate way of getting this fixed later.   
Title: Re: Crazy and PP's mod bug thread
Post by: Cursed_May on February 14, 2015, 09:11:39 PM
Is it possible to get a named girl again if she dies?
Title: Re: Crazy and PP's mod bug thread
Post by: babanathie on February 15, 2015, 01:43:46 AM
I did a quick trace; determining whether the mom is a monster or a human is done by checking whether to girl can be gained from the catacombs.  If you can get a human from the catacombs, then the child will be a monster.  At least it seems that way from looking at the code.  I'll have to see if there is an alternate way of getting this fixed later.

Well, I eliminated the mother causing the problem...  Despite the loose definition of "catacomb".  It has to be in the section for selecting a girl, which is, honestly, a very inefficient way of selecting a girl, or any item in a list.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 15, 2015, 02:03:40 PM
Is it possible to get a named girl again if she dies?
If a named girl dies, she is removed from the game.
You can add her back if you edit the savegame file and remove her line from the <Girls_Files> section.
The next time you load the game, it will add her back to the game as an available girl.


I have added in a check so if a girl has a disease, if there is a matron in her building and a cure for her disease in the player's inventory, she will take it to cure her disease before the disease has a chance to hurt her.
Title: Re: Crazy and PP's mod bug thread
Post by: babanathie on February 15, 2015, 04:08:57 PM
I did a quick trace; determining whether the mom is a monster or a human is done by checking whether to girl can be gained from the catacombs.  If you can get a human from the catacombs, then the child will be a monster.  At least it seems that way from looking at the code.  I'll have to see if there is an alternate way of getting this fixed later.

I tracked down the issue.  First, change !AllowNonHuman back to AllowNonHuman in the child_is_grown() of cGirls.  Second, remove the code:

         //  old code that doesn't seem to work properly ****************************************************************************************************
         //if (daughter)   // we are looking for a "Your Daughter" girl as the primary check
         //{
         //   if (current != 0 && current->m_YourDaughter)
         //   {
         //      break;
         //   }
         //}
         //else
         //{
         //   if (current != 0 && NonHuman == (current->m_Human == 1))            // test for humanity - or lack of it as the case may be
         //   {
         //      break;
         //   }
         //}
         /****************************************************************************************************************************************************/

in the CreateRandomGirl() in cGirls and replace it with:

         // New code that hopefully works...  We are checking to see if we are searching for your daughter and finding a human or non-human to fill that role
         if (daughter)
         {
            if (current != 0 && NonHuman == (current->m_Human == 1))
            {
               break;
            }
         }

The original code is making all random girls available, or nearly all of them, as a potential child.  It almost never checks for humanity. 
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 15, 2015, 06:21:55 PM
I tracked down the issue.  First, change !AllowNonHuman back to AllowNonHuman in the child_is_grown() of cGirls.  Second, remove the code:
AllowNonHuman in the child_is_grown() is true if the mother is human.
In the CreateRandomGirl the input that AllowNonHuman goes to is false if the girl is human.
So the ! is required to pass the correct bool to the function.
I changed the "AllowNonHuman" to "MomIsMonster" to fix this.
I also added human check to the GetRandomYourDaughterGirl() function so it will check for either human (1), nonhuman (0) or both (-1).

I also changed NonHuman to Human0Monster1 in the CreateRandomGirl() function.

The original code is making all random girls available, or nearly all of them, as a potential child.  It almost never checks for humanity.
The problem then becomes if a player has no YourDaughter girls in their character folder, they will get a hard coded random girl as their daughter.

I am adding checks to count the various types of .rgirls that are available.
This will allow for better selection of girls for the random checks.

Now if you are looking for a your daughter girl, it will check for:
 - only humans for human mother
 - nonhuman for nonhuman mothers first
 - humans for nonhuman mothers if no nonhumans are found

After all that the normal random girl check takes place if no girl is found.
Title: Re: Crazy and PP's mod bug thread
Post by: Destont on February 17, 2015, 04:12:50 AM
Alright not sure how much help this ill be since I have no clue what is causing the problem. But the game currently enjoys crashing whenever I try to go to the next week.

Also as a bit of an aside I would like to state that the game has trouble with the fact that matrons seem to not place non-whore girls back into their jobs after maternity leave.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 17, 2015, 01:37:06 PM
Alright not sure how much help this ill be since I have no clue what is causing the problem. But the game currently enjoys crashing whenever I try to go to the next week.
I was unable to get it to crash.
What version of the game are you running?
Do you have any special settings in your config.xml?


Also as a bit of an aside I would like to state that the game has trouble with the fact that matrons seem to not place non-whore girls back into their jobs after maternity leave.
This is an ongoing problem that I will fix as soon as I can figure out why it is happening.
Title: Re: Crazy and PP's mod bug thread
Post by: Destont on February 17, 2015, 02:15:17 PM
Alright it seems that it was having auto use poayer items checked that was causing it
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 17, 2015, 03:03:16 PM
Alright it seems that it was having auto use poayer items checked that was causing it
I fixed it.
When I cleaned up the exp granting items after removing the exp limit, I did it wrong.
It was checking if you had the item but not storing where that item was.
It was then breaking when it tried to add item[-1] instead of item[itemnumber].
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on February 18, 2015, 01:58:26 AM
I've found a little bug in the character editor ( checked in 0.8.21)

If you "UnZero Sex Skills", the footjob doesn't switch from 0.

Kind Regards,
HuiBui
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 18, 2015, 02:11:52 AM
I've found a little bug in the character editor ( checked in 0.8.21)

If you "UnZero Sex Skills", the footjob doesn't switch from 0.

Kind Regards,
HuiBui
You couldn't have reported it 15 minutes earlier?  :P
I just pushed the new versions of everything.
I'll just remove the WME.8.22 and reupload it with the fix.
Its not a major bug so .06.01.05 will still have the uncorrected WME.8.22
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on February 18, 2015, 02:23:12 AM
Yes I could have reported that , but each thing has its own time.  :P
By the way, I'm just changing 800 girls into the "latest" .girlsx format based on 0.8. 21
I've already finished that for more than 100gals. And at these moment you are popping up with an extra Stat and an additional skill ?
What happens with all these girls without strength =0 ?

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 18, 2015, 02:28:45 AM
Yes I could have reported that , but each thing has its own time.  :P
By the way, I'm just changing 800 girls into the "latest" .girlsx format based on 0.8. 21
I've already finished that for more than 100gals. And at these moment you are popping up with an extra Stat and an additional skill ?
What happens with all these girls without strength =0 ?
At the moment strength is only used for some farm jobs so 0 strength will have little to no effect on the game.
Those jobs that use strength, also increase it as does combat training.
By the time strength gets used in the game, most girls should have at least some points in it.

I don't see any need to add any more stats or skills to the game for a while.
If/when a new building gets added, then there may be some new ones but that will be a while off.
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on February 18, 2015, 03:47:14 AM
Thanks aevojoey for the information.

I've just checked the current Editor 0.8.22

An error occurs while compiling an existing girl or when creating a new one.
For the first time I've got an error message , somelike how "empty line 1"
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 18, 2015, 10:22:31 AM
Thanks aevojoey for the information.

I've just checked the current Editor 0.8.22

An error occurs while compiling an existing girl or when creating a new one.
For the first time I've got an error message , somelike how "empty line 1"
I can't seem to recreate this.
If you can attach the .(r)girlsx files that you get this error with, I'll check it out.
Title: Re: Crazy and PP's mod bug thread
Post by: HuiBui on February 18, 2015, 12:51:53 PM
After starting my PC again, It works well.
Don't know what happened before.
The reason could have been that I had opened another editor(0.8.21) at the same time.

Thanks for your support.
Title: Re: Crazy and PP's mod bug thread
Post by: Ogami on February 18, 2015, 01:59:35 PM
Hi, i have a slight problem with the new version  .06.01.05.
Everything works fine but if i assign a gang to explore the catacombs the game crashes 100% of the
time when pressing "Next week".    Game freezes and i get a "game not responding" message after  30 seconds.
Sending girls to the catacombs works fine, but gangs not at all.
Was a new game with version .06.01.05.  Happened right from the beginning, tried to send
the gang first at turn 3 or 4 i think.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 18, 2015, 02:38:31 PM
Hi, i have a slight problem with the new version  .06.01.05.
Everything works fine but if i assign a gang to explore the catacombs the game crashes 100% of the
time when pressing "Next week".    Game freezes and i get a "game not responding" message after  30 seconds.
Sending girls to the catacombs works fine, but gangs not at all.
Was a new game with version .06.01.05.  Happened right from the beginning, tried to send
the gang first at turn 3 or 4 i think.
Actually it is the other way around.
Girls in the catacombs breaks the game, gangs do not.

I forgot to add the limiter to girls in catacombs so if they get a girl or item it would continually try to add a new girl or item without stopping.
Until I push the next version, set "ControlGirls" to false in config.xml.

Gangs have not gotten any changes for the new catacombs controls yet.
When they do, I will be sure to include the limiter.
Title: Re: Crazy and PP's mod bug thread
Post by: Ogami on February 18, 2015, 03:17:04 PM
Until I push the next version, set "ControlGirls" to false in config.xml.

That fixed it. Thank you for the fast replay and help.  :)
Title: Re: Crazy and PP's mod bug thread
Post by: Cursed_May on February 18, 2015, 09:26:05 PM
I get a crash on when I press next week.
https://mega.co.nz/#!Yc1QRSiZ!WxN8KVWpYz7kY7EwS8ZIkIVQfwgsKuyvFRZeG7cQKOs (https://mega.co.nz/#!Yc1QRSiZ!WxN8KVWpYz7kY7EwS8ZIkIVQfwgsKuyvFRZeG7cQKOs)

Edit: I removed my matron in main brothel and it worked again.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 19, 2015, 09:16:51 AM
I get a crash on when I press next week.
https://mega.co.nz/#!Yc1QRSiZ!WxN8KVWpYz7kY7EwS8ZIkIVQfwgsKuyvFRZeG7cQKOs (https://mega.co.nz/#!Yc1QRSiZ!WxN8KVWpYz7kY7EwS8ZIkIVQfwgsKuyvFRZeG7cQKOs)

Edit: I removed my matron in main brothel and it worked again.
Typo in the new auto std cure code, I put 1 instead of -1.
Title: Re: Crazy and PP's mod bug thread
Post by: Dagoth on February 20, 2015, 04:24:17 AM
When I try to fire a girl (who isn't a slave, of course), it gives me the message "You can not fire this girl, she is your slave." I tested on both a girl I bought from the slave market and granted freedom to, and a girl I got from Walk Around Town who started out free.

I went ahead and checked the code and it looks like a simple fix, line 744 of cScreenGirlManagement.cpp is:
Code: [Select]
else if (!selected_girl->is_slave()) // `J` added just in casebut should be:
Code: [Select]
else if (selected_girl->is_slave()) // `J` added just in case
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 20, 2015, 10:03:31 AM
When I try to fire a girl (who isn't a slave, of course), it gives me the message "You can not fire this girl, she is your slave." I tested on both a girl I bought from the slave market and granted freedom to, and a girl I got from Walk Around Town who started out free.

I went ahead and checked the code and it looks like a simple fix, line 744 of cScreenGirlManagement.cpp is:
Code: [Select]
            else if (!selected_girl->is_slave())   // `J` added just in casebut should be:
Code: [Select]
            else if (selected_girl->is_slave())   // `J` added just in case
Another copy/paste error, got it fixed.
Title: Re: Crazy and PP's mod bug thread
Post by: Dagoth on February 20, 2015, 12:24:48 PM
Another copy/paste error, got it fixed.
Well, a bit late, but I finally really tested it; before I was just checking through to see what buttons show up in different windows and came across that without wanting to get too much into it. The above fix I posted does indeed allow you to use the button without it incorrectly indicating you're trying to fire slaves, but unfortunately choosing the "Fire Her"/"Fire Girls" option still doesn't actually do anything. I guess I should have tested it out earlier.

I looked around a bit and identified the same sort of problem at line 208:
Code: [Select]
else if (!selected_girl->is_slave())should similarly be:
Code: [Select]
else if (selected_girl->is_slave())I tested it and confirmed that this change along with the earlier one does make Fire Girl actually work again.
Title: Re: Crazy and PP's mod bug thread
Post by: Destont on February 21, 2015, 08:57:44 PM
The event where security pours brainwashing oil down an unruly customers throat and then sends them to the dungeon does not actually add said individual to the dungeon, they just disappear.
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on February 23, 2015, 10:49:26 PM
Creating a new helmet and the traits show a 20 turn duration.  Not sure if that is actually going to be the case.  This is in 0.8.23

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on February 24, 2015, 12:48:22 AM
Creating a new helmet and the traits show a 20 turn duration.  Not sure if that is actually going to be the case.  This is in 0.8.23
It shows that because I didn't make the column hide itself when the item is not set as temporary.
The editor currently saves the duration in all items but the game only uses it on temporary items.

This has been fixed in WME.8.24
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on February 28, 2015, 11:45:47 PM
Hey Aevojoey just wanted to let you know I encountered another minor bug in game play today version 06.01.06.  I was given the relatively simple task of capturing one new territory, but was only given a week to do it.  The turn the task was given my gangs captured 3, the turn the task expired my gangs captured another 3, however the game said I failed to complete the task.

I think this is because the turn it was given the capturing had already taken place so I don't get credit for that, then the turn it expired it did so before the check of other events.  Meaning there is not a way to complete that task in one turn.

I think the simple solution is to move the task complete check to the end of the new turn automated checks.

Cheers and keep up the great work.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 01, 2015, 10:04:21 AM
Hey Aevojoey just wanted to let you know I encountered another minor bug in game play today version 06.01.06.  I was given the relatively simple task of capturing one new territory, but was only given a week to do it.  The turn the task was given my gangs captured 3, the turn the task expired my gangs captured another 3, however the game said I failed to complete the task.

I think this is because the turn it was given the capturing had already taken place so I don't get credit for that, then the turn it expired it did so before the check of other events.  Meaning there is not a way to complete that task in one turn.

I think the simple solution is to move the task complete check to the end of the new turn automated checks.
Actually an easier fix was to move the "Objective Failed" check to after the "Objective Passed" check.
This should allow it to check any objective on the last turn allowed and only then fail if not passed.

I also cleaned up another part in it where if your reward is to hinder a rival but there is no rival, it would change the reward to gold and restart the function.
Now it checks for a rival and changes it to gold if none is found before the reward is handed out.
Not really a bug but its a little cleaner now.

I fixed it so if there are not enough businesses available (current limit is 250), you will not get the "Extort X New Business" objective.
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on March 01, 2015, 03:03:47 PM
Well that would work as well :) thanks for the prompt response.
Title: Re: Crazy and PP's mod bug thread
Post by: DarkArk on March 02, 2015, 12:35:02 AM
Ran into a bug with the new list where it lists boys born twice.

1 boys
1 of them is yours
1 boys

girls and beasts seem fine. Also would it be possible for the list to recognize singular versus plural for the boy and girl lists? It works for beasts. Great work though.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 02, 2015, 10:04:36 AM
Ran into a bug with the new list where it lists boys born twice.

1 boys
1 of them is yours
1 boys

girls and beasts seem fine. Also would it be possible for the list to recognize singular versus plural for the boy and girl lists? It works for beasts. Great work though.
I didn't spend much time on that part because it was supposed to be the easy part, still I messed it up.  :-[
Because it is not hurting anything, it is just a text error, it will be fixed for the next version.

Fixed in .06.01.08
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on March 06, 2015, 12:08:20 AM
Found a bug, very minor, probably has existed for a long time, may even be known.  On the brothel turn summary if you have >0  AP potions left, but less than the number used in the previous turn you get the message in the attached image.  If you have more left than what was used the message appears normally, and if you none left you get the appropriate message.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 06, 2015, 12:52:02 AM
Found a bug, very minor, probably has existed for a long time, may even be known.  On the brothel turn summary if you have >0  AP potions left, but less than the number used in the previous turn you get the message in the attached image.  If you have more left than what was used the message appears normally, and if you none left you get the appropriate message.
I added that as a bug catcher a while back.
BAP02|28|29|0 means "Bugchecker in AntiPreg #02|(number of AntiPreg Potions after)|(num used)|(KeepPotionsStocked: 0=false, 1=true)"
I was not sure if the checks I made for different texts would work 100% of the time so I added it in hopes someone would report it and explain how they got the bug.

For some reason I wrote:
Code: [Select]
else if (used < num && !stocked) ss << used << " were used this week leaving " << num << " in stock.\n\n";I changed it to:
Code: [Select]
else if (used > 0 && num > 0 && !stocked)
The bug catcher is still in there so if you get it again after .06.01.09 let me know.

...borthel...  lol


In other news, I am still working on updating gang missions but keep getting side tracked on related things.

I added EnjoymentTR so traits can easily affect Enjoyment.
I updated the ApplyTraits function to allow for full recalculation of StatTR/SkillTR/EnjoymentTR.
There may be some initial adjustments needed for enjoyment in old games when the girl first gets TRs calculated but only for enjoyment.
There are more traits and their effects added to ApplyTraits so you will notice a little difference in numbers but not game breaking amounts.
I changed the starting enjoyments from all -10 to random (-10 to 10).
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on March 06, 2015, 01:41:11 PM
I figured I wouldn't nitpick the misspelling ;) but I had noticed that as well.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 06, 2015, 10:56:54 PM
I figured I wouldn't nitpick the misspelling ;) but I had noticed that as well.
Please do, spell checking everything would take a long time so if you can point out any mistakes, they can be fixed faster.
Title: Re: Crazy and PP's mod bug thread
Post by: Romanul on March 08, 2015, 06:27:07 AM
I've edited the chance to get girls from catacombs to zero and still both my girls and the gangs capture girls. I've checked the config file and all other changes work (pregnancy chance for example). I've tested on new games too and I saw no visible change from 0-33% (I haven't tested on higher chances)chance of getting a girls. They still capture two girls on average per turn (while working day and night). Does it work for you guys?
Title: Re: Crazy and PP's mod bug thread
Post by: Romanul on March 08, 2015, 06:41:23 AM
Nevermind, I didn't check the box "control girls".
Title: Re: Crazy and PP's mod bug thread
Post by: DarkArk on March 09, 2015, 04:24:50 PM
Couple of small things:

You can rob 0 people and still get money

Bug on brothel management screen where sometimes a girls status lists "is" twice.

Getting a crash when pressing the next week button. It hangs a bit and then crashes.

Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on March 09, 2015, 08:37:33 PM
Running .09 clean install no modifications, only 4 girls and no rgirls.  Here is the gamelog if I had to hazard a guess it is happening on the check of whether or not a girl got pregnant, or perhaps diseased

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 09, 2015, 09:25:03 PM
You can rob 0 people and still get money
Accounting problem.
When the victims fight back, the same number was used to count down until the end and to tell the result of it.
Fixed it.

Bug on brothel management screen where sometimes a girls status lists "is" twice.
Bug was caused by the dead girl addition a few versions ago.
Fixed it.

Getting a crash when pressing the next week button. It hangs a bit and then crashes.
Running .09 clean install no modifications, only 4 girls and no rgirls.
A problem with adding strength to gangs.
Damage could be lower than the amount reduced by constitution thus dealing negative damage, thus healing instead of hurting.
There is now a minimum of 1 damage unless the defender dodges.
This will also make fights more dangerous even for 100con gangs.

Here is the gamelog if I had to hazard a guess it is happening on the check of whether or not a girl got pregnant, or perhaps diseased
The gamelog is of no use without the savegame that produced it.


I am currently adding the Catacomb get percents to the gang screen.
The fixes will be out as soon as I finish that.

Fixes released in .06.01.10
Title: Re: Crazy and PP's mod bug thread
Post by: DarkArk on March 10, 2015, 04:38:42 PM
Another crash when pushing the next week button.

Also been getting catacomb girls in the general area. Is that by design?
Title: Re: Crazy and PP's mod bug thread
Post by: Uriel on March 10, 2015, 05:31:23 PM
I'm getting -842150451% of gang strength displayed. Unfinished stuff?
It's the same for all gangs i have, spotted it in .09, .10 is the same in this part.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 10, 2015, 10:06:55 PM
Another crash when pushing the next week button.
This is caused by a bad addition in the runaway_check.
I added the AddGirlToRunaways(girl) inside it when it was already done if runaway_check returned true.
So the girl was being added to Runaways in the function and again after the function, crashing it.

Also been getting catacomb girls in the general area. Is that by design?
They are not supposed to but that part probably has a lot more bugs in it.

I'm getting -842150451% of gang strength displayed. Unfinished stuff?
It's the same for all gangs i have, spotted it in .09, .10 is the same in this part.
When strength was added to gangs, I didn't add a check for older gangs to set it.
I will fix it for the next version.

Fixed in .06.01.11
Title: Re: Crazy and PP's mod bug thread
Post by: _rhetorik_ on March 13, 2015, 02:19:40 PM
It isn't exactly a bug but the message of profit/loss doesn't use the income modifier in the config file.


Edit: Same for items. The sell price doesn't multiply by the modifier.

Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 13, 2015, 08:22:49 PM
It isn't exactly a bug but the message of profit/loss doesn't use the income modifier in the config file.
Edit: Same for items. The sell price doesn't multiply by the modifier.
Looking through the code, not all of the config income/expense modifiers are used.
The items expense part is only used for gang weapons and the item income is never used.

For the expense numbers, these are used:
training, movie_cost, goon_wages, matron_wages, consumables, item_cost, slave_cost, brothel_cost, brothel_support, advertising
These are not:
actress_wages, staff_wages, girl_support, bar_cost, casino_cost, bribes, fines

Income is even worse, only slave_sales is ever used.
The rest are not: extortion, brothel_work, street_work, movie_income, stripper_work, barmaid_work, item_sales, clinic_income, arena_income, farm_income

Most are actually 2 different variables, in cConfig and in cGoldBase, used the same way but not interacting with each other.
That is probably why they never got working.
Also, because I never change them, I never see them not changing.

I will start trying to incorporate them into the game.
They may not get in all at once or even the same one at the same time, but eventually they should do something.
Title: Re: Crazy and PP's mod bug thread
Post by: Hgo on March 14, 2015, 04:49:04 AM
Probably not necessarily a bug, but Gangs appear to require nets when hunting for any percentage of beasts when using the slider. When there are no nets available and beasts are presumably met while in the catacombs, they will fail to the last couple of men. However, regardless of the availability of nets, when the slider isn't being utilized then they still have a chance to acquire beasts among whatever other spoils. It isn't noted anywhere that nets were required so I was perplexed as to why Gangs were failing to the last man until I realized I had no nets.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 14, 2015, 09:14:03 AM
Probably not necessarily a bug, but Gangs appear to require nets when hunting for any percentage of beasts when using the slider. When there are no nets available and beasts are presumably met while in the catacombs, they will fail to the last couple of men. However, regardless of the availability of nets, when the slider isn't being utilized then they still have a chance to acquire beasts among whatever other spoils. It isn't noted anywhere that nets were required so I was perplexed as to why Gangs were failing to the last man until I realized I had no nets.
Actually it was a bug.
After all the nets were used or if there were no nets, they fight the beast to capture it.
Code: [Select]
if (g_Dice.percent(gang->combat()))
{
    gotbeast;
    continue;
}
was supposed to be
Code: [Select]
if (g_Dice.percent(min(90, gang->combat())))
{
    gotbeast = true;
    continue;
}
without the " = true", they would continue to fight the beast until they all died.
I added the 90% limiter so they will have some chance of losing to the beast.

It will be fixed for the next version.
Title: Re: Crazy and PP's mod bug thread
Post by: _rhetorik_ on March 14, 2015, 01:00:07 PM
Looking through the code, not all of the config income/expense modifiers are used.
The items expense part is only used for gang weapons and the item income is never used.

For the expense numbers, these are used:
training, movie_cost, goon_wages, matron_wages, consumables, item_cost, slave_cost, brothel_cost, brothel_support, advertising
These are not:
actress_wages, staff_wages, girl_support, bar_cost, casino_cost, bribes, fines

Income is even worse, only slave_sales is ever used.
The rest are not: extortion, brothel_work, street_work, movie_income, stripper_work, barmaid_work, item_sales, clinic_income, arena_income, farm_income

Most are actually 2 different variables, in cConfig and in cGoldBase, used the same way but not interacting with each other.
That is probably why they never got working.
Also, because I never change them, I never see them not changing.

I will start trying to incorporate them into the game.
They may not get in all at once or even the same one at the same time, but eventually they should do something.


Cool!


Thanks for the fix and the fast reply.


:)


There is also something wrong with the message of how much you make in the turn. Perhaps it is related with the income/expenses modifiers but it seems to happen even with mods at 1.0 (maybe it doesnt include other gangs attacks??)
Title: Re: Crazy and PP's mod bug thread
Post by: msb069 on March 14, 2015, 05:07:38 PM
I caught a bug where the girls experience points reset to a max of 100. See attached screencaps.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 14, 2015, 08:27:50 PM
I caught a bug where the girls experience points reset to a max of 100. See attached screencaps.
I did find a few possible causes but without more detail as to how you got it to occur, I can't be sure if this will fix your problems.
I'll push the fix in a bit when I check a few more things.
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on March 14, 2015, 11:49:48 PM
hey there ^^


i registered something after i downloaded the new .14 .... when i wanna use the "nightmare fuel" (i ever do this to heal/rest my girls) i have seen that there is no tiredness reduction oO ... normally it should be 20 per potion ... now its nothing ^^
Title: Re: Crazy and PP's mod bug thread
Post by: msb069 on March 15, 2015, 06:28:45 PM
I did find a few possible causes but without more detail as to how you got it to occur, I can't be sure if this will fix your problems.
I'll push the fix in a bit when I check a few more things.

The problem seems to occur on game start. I can play a game and experience points add up as usual. It also seems to save OK, but if I guit and reload game all experience points roll back to 100. It doesn't affect girls with exp points less than 100. It still occurs with version .14
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 15, 2015, 09:56:43 PM
The problem seems to occur on game start. I can play a game and experience points add up as usual. It also seems to save OK, but if I guit and reload game all experience points roll back to 100. It doesn't affect girls with exp points less than 100. It still occurs with version .14
I found the problem.
When I added the fix for missing strength stats setting them to 0, I didn't include the min and max checks for the other stats.
So all stats were being limited to -100 to +100 thus exp which should have a max of 32000 was being limited to 100.

It will be fixed in the next version.
Title: Re: Crazy and PP's mod bug thread
Post by: _rhetorik_ on March 17, 2015, 08:35:42 AM
There is also something wrong with the message of how much you make in the turn. Perhaps it is related with the income/expenses modifiers but it seems to happen even with mods at 1.0 (maybe it doesnt include other gangs attacks??)


I think it doesn't include gangs at all. Perhaps there should be another line saying that you made X from brothels, Y from gangs and total profit/loss is X+Y.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on March 21, 2015, 10:26:32 AM
the game crashes if i try to move the advertisement slider in any building which is not a brothel or your house
i think this bug may be very old (because nobody would usually try to do this)
i haven't seen this mentioned, but maybe i did not look deep enough in older postings
easy to avoid, so not really a problem

Also, the disposition and suspect values are only shown correctly in the brothel screens
everywhere else its shown as neutral/unsuspected, even if i'm the most evil suspect of the whole city  ;D
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 21, 2015, 08:15:13 PM
the game crashes if i try to move the advertisement slider in any building which is not a brothel or your house
i think this bug may be very old (because nobody would usually try to do this)
i haven't seen this mentioned, but maybe i did not look deep enough in older postings
easy to avoid, so not really a problem
Found and fixed.

Also, the disposition and suspect values are only shown correctly in the brothel screens
everywhere else its shown as neutral/unsuspected, even if i'm the most evil suspect of the whole city
I am trying to move the Player stuff out of the brothel and into cPlayer.cpp/h where it will be easier to access by anything.
This is also the first step in making the player more dynamic.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on March 23, 2015, 09:06:30 PM
I just found a bug but I'm not sure if it should be fixed.

I got the objective to kidnap 1 girl from the streets.
I set 2 gangs to the task and one of them got a girl.
However, because they used their charisma to get the girl to voluntarily work for me, it was not considered a "kidnapping".

Should I fix it so any attempt to kidnap, even voluntary kidnapping, counts for the objective?
Or should I leave it and work with it?
Perhaps I could add a new objective for you to "get x girls to volunteer"?
This would count the walkabouts for completing it as well as the bug I found.
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on March 23, 2015, 10:20:36 PM
in my opinion is option c the better one ^^ ... im rly fine by goin with another quest ^^ ... and its as u said not a bug ... its only well programmed cause the rly-kidnapped-ones caunting for the kidnap-quest ^^
Title: Re: Crazy and PP's mod bug thread
Post by: MMeer on March 24, 2015, 01:02:33 AM
I don't think girls who come to work for you voluntarily should be counted as kidnapped. They came to you of their own free will after being talked to by your gangs. They were recruited, not kidnapped. That's what I think anyway.

Also, I noticed that when you have a girl set to "Personal Instruction" at your house and you instruct her to give you a handjob, it displays the 'sing' graphic. That one would be for Crazy I think.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on March 24, 2015, 05:30:41 PM
The problem with this mission is, when your gangs are all very highly trained and they always succeed with convincing the girl
to come voluntarily.
Then the mission is quite hard to complete.
Maybe its best to count both and change the text of the mission to something like that
"get x girls from the street to work for you, by force or charm"

Another thing, i saw right now in my current game, don't know if i should call it a bug
If a girl has a meetscript, is there a way to stop the game from giving it to the player in another way?
i got a girl with an arena meetscript as bounty after an arenafight, so no script activation
and girls you get this way are also sometimes slaves but have their sliders (house percentage and accomodation) at their
original freegirl settings (because in the girlsx files, they are free)
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on March 24, 2015, 08:03:25 PM
I agree with Yukinohki, relabel the mission to a more appropriate name and count both.

I have what is not necessarily a bug but is a bad game interaction IMHO.

When gangs are guarding it seems that the first gang set to guard will always be the one confronted by a rival.  So one of two things happens, if your first gang was guarding and moves to healing they get in a cycle of recruit, fight, recruit, fight, etc....

Or...  If you are attacked by two or three rivals on the same turn even with a maxed out gang and weapon, you lose that gang.

To me it does not seem realistic that either of these situations would occur.  I suppose it is possible that three rivals would all attack the same location at once, but this should be rare (since installing version 15 I have had this happen to 5 maxed out gangs in less than one year, I have not gone to 16 yet, and they were not maxed on strength but all other stats were at 100 or very close to).

The more gangs you have guarding the less chance this should happen, and I usually have 5 gangs on guard duty.
Title: Re: Crazy and PP's mod bug thread
Post by: blueravenarmy on March 25, 2015, 06:31:24 PM
I have noticed a few spelling errors in the turn summary for masseuse. It says my perfect massusse has been asked to perfume a more sensual massage. Just thought you should know.
Title: Re: Crazy and PP's mod bug thread
Post by: crazy on March 25, 2015, 10:07:00 PM
I don't think girls who come to work for you voluntarily should be counted as kidnapped. They came to you of their own free will after being talked to by your gangs. They were recruited, not kidnapped. That's what I think anyway.

Also, I noticed that when you have a girl set to "Personal Instruction" at your house and you instruct her to give you a handjob, it displays the 'sing' graphic. That one would be for Crazy I think.
Its fixed.  Foot was also messed up.  Will be in the next update I send
Title: Re: Crazy and PP's mod bug thread
Post by: Hazure on March 25, 2015, 10:29:41 PM
While your talking about the House Jobs.....I have only Normal and Bondage sex set as allowed at the house and I keep getting strip-o-grams.
Title: Re: Crazy and PP's mod bug thread
Post by: Pintero on March 26, 2015, 12:30:06 PM
Hey guys, the game window is too big for me. The bottom where you press "back" and "turn" is below my bottom bar. Like this:

http://i375.photobucket.com/albums/oo193/SargeMaximus/11_zpsu8cpjtjv.jpg
Title: Re: Crazy and PP's mod bug thread
Post by: edgy98125 on March 26, 2015, 04:47:21 PM
Hey guys, the game window is too big for me. The bottom where you press "back" and "turn" is below my bottom bar. Like this:

http://i375.photobucket.com/albums/oo193/SargeMaximus/11_zpsu8cpjtjv.jpg

What resolution are you running for Windows.

You can open the editor, and set the game to a lower resolution or to full screen mode. 

The editor is in the WM Game directory, under Docs&Tools\Character & Item Editor.

You will need to edit the game resolution on the Config tab, the default is 800x600 which is really low resolution, so the full screen option is your best bet.
Title: Re: Crazy and PP's mod bug thread
Post by: Pintero on March 27, 2015, 09:40:30 AM
What resolution are you running for Windows.

You can open the editor, and set the game to a lower resolution or to full screen mode. 

The editor is in the WM Game directory, under Docs&Tools\Character & Item Editor.

You will need to edit the game resolution on the Config tab, the default is 800x600 which is really low resolution, so the full screen option is your best bet.

My screen res is 1366x768.

I tried to change config just now but WM editor is also cut off at the bottom so I can't save.

Right now the config says

Width: 1024 x 800
Height: 768 x 600
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on March 27, 2015, 09:44:19 AM
open the config.xml in the main-directory ... there u can edit the scales too =)
Title: Re: Crazy and PP's mod bug thread
Post by: Pintero on March 27, 2015, 11:31:39 AM
open the config.xml in the main-directory ... there u can edit the scales too =)

Thanks, that worked. :)

Now, can I import my girls from previous versions or do they all have to be edited with new GIRLSX files?
Title: Re: Crazy and PP's mod bug thread
Post by: TitanSon on March 27, 2015, 09:15:05 PM
do it as you like .... normally ur game shouldnt be crashed by old girlsx-files ... if u dont wanna search the forum for new version of ur packs ... try it out ... if ur game crash ... u can delete them and search them then here xD
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on April 11, 2015, 02:39:30 AM
a small "bugreport" for some of the items

Dixie's Chaps: the description says "removes clumsy" but in the effect list, it gives clumsy instead

Magical Girl Staff: in the description, it should give fearless, but it doesn't
also, i think it should more likely be giving heroine instead of fearless, now that the new traits are in the game
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on April 11, 2015, 10:00:50 AM
Dixie's Chaps: the description says "removes clumsy" but in the effect list, it gives clumsy instead
Magical Girl Staff: in the description, it should give fearless, but it doesn't
also, i think it should more likely be giving heroine instead of fearless, now that the new traits are in the game
I have updated these and added a few other things to them.
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on April 12, 2015, 05:17:54 AM
If your guarding gang is really strong (maybe combat value = 100 is the problem) every girl who tries to fight
when you throw her into the dungeon dies.
A torturer is assigned, but i think she dies before she gets into the dungeon,
so the torturers effect in saving prisoners life doesn't activate.

I don't think thats intended, now its a save/reload game until she submits
or not using a gang as guard while you do that and then hunt down the fleeing girl to
get her into the dungeon.

The gang has combat, magic, intelligence, agility and toughness at 100, charisma at 78 and strength at 84
The girls are at 100% health before their deaths.
Title: Re: Crazy and PP's mod bug thread
Post by: Anonemuss on April 13, 2015, 10:17:50 AM
If your guarding gang is really strong (maybe combat value = 100 is the problem) every girl who tries to fight
when you throw her into the dungeon dies.
A torturer is assigned, but i think she dies before she gets into the dungeon,
so the torturers effect in saving prisoners life doesn't activate.

I don't think thats intended, now its a save/reload game until she submits
or not using a gang as guard while you do that and then hunt down the fleeing girl to
get her into the dungeon.

The gang has combat, magic, intelligence, agility and toughness at 100, charisma at 78 and strength at 84
The girls are at 100% health before their deaths.
Just switch them out for weaker gangs before throw the girl in the dungeon, then switch them back afterwards.
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on April 13, 2015, 10:36:45 AM
If your guarding gang is really strong (maybe combat value = 100 is the problem) every girl who tries to fight
when you throw her into the dungeon dies.
A torturer is assigned, but i think she dies before she gets into the dungeon,
so the torturers effect in saving prisoners life doesn't activate.

I don't think thats intended, now its a save/reload game until she submits
or not using a gang as guard while you do that and then hunt down the fleeing girl to
get her into the dungeon.

The gang has combat, magic, intelligence, agility and toughness at 100, charisma at 78 and strength at 84
The girls are at 100% health before their deaths.
The original code would not kill a girl if her health was 90+ before she was sent to the dungeon, it would always leave her with at least 1 health.
If she had less than 90 health, she could die.

I will change it to a % chance of killing her if her health is less than 50%.
So if she had 49, the chance would be 2%, 10 health = 80%, 1 health= 98%
If she has more than 50 health or passes the <50 check, she will be in the dungeon with 1-10 health.
 - Max 10% of her starting health if she fights back and looses and would have died from damage
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on April 13, 2015, 01:58:04 PM
the girls are always at 100% when i send them to the dungeon
and the chance for her to die is at the moment quite high (but not 100%)

and for the suggestion about switching gangs, well my gangs are training for ages now
and even my weaker gangs are to strong (combat close to 100 or at 100)
maybe the torturer automatically tortures every girl sent into the dungeon
so if a girl arrives with 1% health, she is killed, instead of the torturer making sure, that she lives
i'll check the gamelog the next time and see whats written there
Title: Re: Crazy and PP's mod bug thread
Post by: Yukinohki on April 14, 2015, 02:44:31 PM
With the new version, there is a little problem with the marker for the prefered accomodation
happens with an existing savegame and a new started game

*deletes false assumptions from before*

as long has a girl has no items, the marker works fine
if she has any item in her inventory the marker drops by a large amount
in one case from 6 to 1, in all other cases to 0, whatever the initial value was
it resets as soon as her inventory becomes empty again

that is the case for an savegame from previous versions and for a new game

i also tried a new game with a complete new basic installation, without any changes to config or any custom items or even any girls installed
it's the same

it is only the marker, the real prefered accomodation is correct (i think) because if i set it to the marker, they lose happiness the next turn
Title: Re: Crazy and PP's mod bug thread
Post by: aevojoey on April 14, 2015, 05:23:42 PM