Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: h1262216 on April 24, 2021, 03:15:24 PM

Title: Whore Master 7
Post by: h1262216 on April 24, 2021, 03:15:24 PM
I've been working on an updated version for quite some time, and though there is still quite a bit unfinished, I think the number of game-breaking problems is sufficiently low by now that it is ready for testing by some wider audience.
You can find the download for the new version here:
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.1.2-beta4 (https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.1.2-beta4)

I'd be happy to hear your feedback, both in terms of bugs and problems that you found, but also regarding the new game mechanics (e.g. training job; movie studio, ...)
If you want to help the development of the game or want to do some modding yourself, but don't know C++, you may want to have a look at the new lua scripts (under `Resources/Scripts`)
and the job xml files (`Resources/Data/Job`). Especially the latter should make it easy to add more variation to the text messages. If you have questions about these, feel free to ask.

I'm also working on a new image tagging implementation, the current version for that can be found here:
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.2.1-beta7
I think gameplay should be mostly stable in this version, too, but the image tagging and image selection algorithm are still being worked on.
Title: Re: Whore Master 7
Post by: JacenRaze on April 26, 2021, 07:06:57 PM
A couple of problems I've found in your game. "Whore" jobs and "Intern" at the clinic cause issues on the turn summary screen, and time won't always move forward when you end the week. the girls detail screen at the farm, doesn't have a "Producers" section and the "Laborers" section is listed twice. Some events cause, like impregnation, will cause pop-ups to happen multiple times, and girls can be captured or found in events multiple times as well. these are the more major ones I've found.

Title: Re: Whore Master 7
Post by: h1262216 on April 27, 2021, 06:45:18 PM
thanks for the report. The missing "Producers" is an easy fix. For the things that cause problems during the turn summary, the game should give an error message (that should also be in the gamelog.txt if you search for ERROR). That would be helpful in tracking down the cause of the error. For the event, I guess I'll have to investigate.
Title: Re: Whore Master 7
Post by: JacenRaze on April 28, 2021, 10:17:45 PM
I could not find the original message, nut instead of an error, it gave an 'identity' warning about the job, then it would stay in the same week, but with reset button values and events basically ignored. it was kind of weird. Currently I'm trying to get it to happen again so I can screen shot it.
Title: Re: Whore Master 7
Post by: h1262216 on May 26, 2021, 07:41:11 PM
I've uploaded a small update that fixes a few bugs.

## Fixes
* fixed releasing customers from dungeon
* fixed missing half of arena meet script
* girls from arena tryouts are now send to arena
* fixed naming error for brothel background images
* fixed saving/loading of missions
* fixed anger management/extreme therapy jobs
Title: Re: Whore Master 7
Post by: spiker1984 on May 27, 2021, 02:25:17 AM
Just wanted to say that I'm loving this new updated version. Thanks for the incredible amount of time you have clearly sunk into this.
I haven't actually had a chance to try out the Movie Studio yet, but I'm excited to do so.
Title: Re: Whore Master 7
Post by: harold on May 27, 2021, 03:29:30 AM
Hi.  I ran into a bug where the same person is found when clicking the Walk Around Town button.  It has happened during the first few new games I've started.  Really enjoying the game so far.  Uploaded a savegame file.  Please let me know if you need anything else.
Title: Re: Whore Master 7
Post by: hewhocumsbynight on May 29, 2021, 07:45:46 PM
Hey, H126. Glad to see that someone's trying to breathe life into this old girl again. I wish you the best of luck with your efforts.
Title: Re: Whore Master 7
Post by: h1262216 on June 08, 2021, 06:27:08 AM
@spiker
Please let me know what you think about the new studio mechanics, haven't had that much feedback on that

@harold
I'm a bit busy with other stuff right now, but I'll try to look into it sometime.

If somebody else experiences the same problem, please let me know.
Title: Re: Whore Master 7
Post by: Shadowflux on June 10, 2021, 12:00:05 PM
Hi h1262216

You are doing great work.

Seen bugs:
1. Can confirm duplication issue when searching streets.
2. One of the streets chats seems to have no end and it throws me into the empty background.
3. Issue with people not going back to work after rest.
4. There is one more but this can wait till I remember it. (It pops an error message during the next turn)

Suggestions:
1. In-Game menu -> move settings and save the game there.
2. Next turn should be available from also from outside buildings.
3. More Settings in New Game creation is great but maybe make it modified settings exportable.
4. Set default interaction count also at the beginning of the game.
5. R@pe Street and Brothel should have an addition (R@pe All) that affects everybody but has an even lower chance to happen. For consistency.
6. 2k (1440p) resolution support
7. Better looking UI with dark mode, as usual, people do not play it during the day.
8. Game should allow store REAL girls, 3D and animated separately and allow switch between them or allow choose all via settings.
8a. It should also affect backgrounds. And allow choosing one if all were selected.
9. Interactions could be bought from everywhere or in a shop instead of only at home.
Title: Re: Whore Master 7
Post by: Hazure on June 17, 2021, 10:57:43 AM
How can you make some personal changes? With previous versions it was Visual Studio 2013.
Title: Re: Whore Master 7
Post by: h1262216 on June 19, 2021, 12:15:17 PM
@Shadowfluxthanks for the feedback. Some of the things you've listed should be easily fixable, but others may be quite difficult:

Rearranging menu positions, 2k resultion etc will be relativly easy
Allowing several girl folders, and selecting specific ones per savegame (this is what you want, right) should also be doable.


Thinks that actually require new graphics (like a dark mode) will be difficult, though, since this would require e.g. redoing all the buttons, backgrounds etc. If someone here on the forums provides me with the corresponding assets, I can add that to the game though.
Even for normal development, the missing graphics are already a problem, e.g. I don't know which font was used on the buttons, so the ones I've added look a it different.

Not sure about the interactions thing, I think originally the idea was to also give the PC levelable stats that would affect this (but I guess the ability to buy even more would still be wanted by some players)

@Hazure
The code is on github, you can modify it with whatever editor or IDE you want. The more challenging part is probably to get it to build under windows.
However, note that many changes that would have required editing the C++ code and rebuilding can be done by modifying XML files or lua scripts in this version. That is still work in progress, though, so there are still many in-game texts that are C++ only.
Title: Re: Whore Master 7
Post by: Dagoth on June 20, 2021, 08:13:27 AM
I don't know which font was used on the buttons, so the ones I've added look a it different.
The font for the buttons is "Hobo Std", except for the arrow buttons which use the Arial font.
Title: Re: Whore Master 7
Post by: h1262216 on June 30, 2021, 02:06:19 PM
@Dagoth
thanks, now I can at least get the correct font, even though the rest of the button still rests on my meager photoshop skills to copy the other buttons

@Shadowflux
I don't have a 1440p monitor, could you check whether the attached interface files do the job?
Title: Re: Whore Master 7
Post by: Arkandan on July 30, 2021, 03:10:12 AM
I can also confirm duped girls on the streets. I also got hit with a -2.14746e09 "income" which seems like an integer overflow thing? No idea why.
Title: Re: Whore Master 7
Post by: g539812 on September 12, 2021, 10:41:20 AM
There is a problem in sigmoid function causng nan return. You can fix it:
    float sigmoid(float v) {
//        return std::exp(v) / (std::exp(v) + 1.f);
        return 1 / (std::exp(-v) + 1.f);
    }
Title: Re: Whore Master 7
Post by: h1262216 on September 13, 2021, 11:16:13 AM
@g539812
thanks for bringing this to my attention, you are right this is numerically unstable. It's going to be fixed in the next version.
Title: Re: Whore Master 7
Post by: Shadowflux on September 29, 2021, 06:19:59 PM
@h1262216 Sry did not see the folder but was expecting the whole build.
1440p version works almost well, but here are some issues:
1. Dialog choice box is small compared to everything else. (Not a clue where are its settings)
2. Input popup have small writing text. (FontSize was not added to getInput.xml and GetString.xml EditBox)
3. MinHeight in gallery_screen, girl_details_screen, slavemarket_screen and TurnSummary should be increased.

I was working on a dark theme for myself and realized there is no main colour for the Text and CheckBox texts. Propose to add them.
While You can add manually colour for all 200 Text elements in those files, I find it ineffective. And there is no option for the Checkbox element to change text colour.


Also, ItemRarity would be better-reflected ListBox background rather than its text colour. So maybe change that also.

I included a dark theme file for You to test with. For others who want to use it,
You also must update all <Text .../> to include <Text ... Red="245" Green="245"Blue="245" />, like all 200 of them in J_ folder.
Title: Re: Whore Master 7
Post by: h1262216 on October 06, 2021, 06:53:57 PM
@Shadowflux
GetString.xml is actually unused I think, only getInput.xml counts. And yes, it really should set the font to something larger.

I am currently working on code that re-scales the interface in-game, so that not every resolution needs its own set of files. I hope to be able to share that soon. I think currently, the script that generates the interface files does not change the MinHeight at all, so that's why this becomes too small in large resolutions. The new code would just scale that, too.

The pop-ups are generated by the code, so there is no xml. But once the code does the actual re-scaling, it can just apply it there too.

I want to redo the code that handles the default colors more generally, when I do I can also add a text default color setting.

Edit: A test version is now on github:
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.1.2-alpha1
Title: Re: Whore Master 7
Post by: g539812 on December 05, 2021, 04:42:10 PM
Centre Manager is broken.


game\buildings\centre\cCentre.cpp



sCentre::sCentre() : IBuilding(BuildingType::CENTRE, "Centre")
{
    m_FirstJob = JOB_CENTREMANAGER;
    m_LastJob = JOB_ANGER;
    m_MatronJob = JOB_CENTREMANAGER;  // <---- fix
    declare_interaction(CounselingInteractionId);
}
Title: Re: Whore Master 7
Post by: kiigass on December 06, 2021, 04:56:33 AM
Hi h126, Thanks for continuing the work on WM!
I assume your work is more or less directly based on crazy's work, based on his last update statements. I have a question, though: Is your game based on crazy 6.03 or 6.04?

Thanks!
Title: Re: Whore Master 7
Post by: h1262216 on December 06, 2021, 07:02:43 PM
@g539812
yes, thanks for reporting.

@kiigass
It's based on the latest version that was on github.
Title: Re: Whore Master 7
Post by: Pintero on December 20, 2021, 01:53:43 PM
Anyone play any of those AI girlfriend apps? There's one called Botify. Anyhow it augments a picture you give it and it moves and blinks and such. It made me thing of this game. Can you imagine how awesome it would be if your girls you added had this feature? And if they used the AI from that program to interact with you? It would be epic! I was trying out the free version yesterday and the sexting I was having with the bot got me more than a little aroused, not to mention the picture was from an instagram girl I like and she was moving and blinking so life like.

Add these two features to this game and it would be near perfect!!
Title: Re: Whore Master 7
Post by: Pintero on January 01, 2022, 01:27:38 PM
Also my custome girls aren't showing up in the market place. A few have but no one else and I have a hundred or more
Title: Re: Whore Master 7
Post by: Nyanyan on January 10, 2022, 02:39:13 PM
Anyone play any of those AI girlfriend apps? There's one called Botify. Anyhow it augments a picture you give it and it moves and blinks and such. It made me thing of this game. Can you imagine how awesome it would be if your girls you added had this feature? And if they used the AI from that program to interact with you? It would be epic! I was trying out the free version yesterday and the sexting I was having with the bot got me more than a little aroused, not to mention the picture was from an instagram girl I like and she was moving and blinking so life like.

Add these two features to this game and it would be near perfect!!


That's a great dream bud, great dream.


Sorry to shoot 'em down, but unfortunately, I think you're asking a bit much my dude. Are the apps you're talking about open-source/easy to access the code? If not, then it'll likely never happen as they'd have to make the code from scratch, or obtain it illegally. Even if they could access the code, they'd probably need to rework it almost completely to make it compatible with the code for this game, and then start hammering out bugs caused by the fusion of the code.


As fun as your idea might sound, it's a VERY tall order for almost anyone to do. Not impossible, but not something most would think worth the effort. Especially for free, which I'm assuming this is seeing as I don't see any Patreon or donation links, and before the current code is even 100% functional.
Title: Re: Whore Master 7
Post by: h1262216 on January 16, 2022, 06:46:47 PM
There are essentially three problems with these AI methods: Code, Data, and Compute.
Code, in my opinion, would be the least of the problems. With modern deep learning libraries, even complex model can be done relatively easily. Much more problematic is that these models require a huge amount of computation and GPU memory, and my not-so-recent-anymore GPU isn't really up to the task. If you look at e.g. the computation time estimates for Style-GAN for a single GPU, this will be measured in weeks even for the smaller models. And finally, maybe the largest problem, is that these deep-learning models require insane amounts of training data. I guess for something like animating a face you don't need to do too much annotation manually for the videos you feed in, but still you'd probably need a few thousand shot video clips of facial expressions.

The first step of using any sort of AI in WM, IMO, would be to use it to speed up pack creation. In principle it should be possible to automatically classify a folder of input images. I've done some quick tests with that, and the results weren't particularly good. I think part of the problem is that the task isn't well specified and the training data is really noisy, e.g. which tag an image file got might depend on which other tags already had enough images. I guess even an imperfect model would be quite a step forward for pack making, e.g. if when tagging images in a first pass the pack make just has to check whether the guesses of the neural network are correct , and then only has to do manual work an the (maybe 30% or so) remaining images.
Title: Re: Whore Master 7
Post by: ncquolopow on February 24, 2022, 12:03:29 AM
I can't believe this game is still alive/that anyone is still developing it (first played it 11 years ago). I'm excited to try this mod of Crazy's/Aevojoey's mod, which I remember enjoy playing.
One question I have is whether there's a tool that works with this mod for creating/editing girls, traits, etc.? I've tried using WMEdit but that doesn't seem to work for this mod because the files don't seem to load and also traits have been separated into different files.
Title: Re: Whore Master 7
Post by: h1262216 on February 26, 2022, 01:13:27 PM
Unfortunately, even though the actual game code was open source and available, I don't have the code for the old editor. I hope that I can make a replacement at some point (probably based on python + QT) but atm there is no fully functional graphical editor. Note that most files the game uses are actually relatively simple XML files that you can edit with any halfway competent text editor, e.g. using Notepad++.
Title: Re: Whore Master 7
Post by: h1262216 on March 27, 2022, 05:28:53 AM
I've updated the link in the original post to the newest version. For convenience, here it is again:
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.1.2-beta2
Title: Re: Whore Master 7
Post by: Maks90 on April 11, 2022, 04:42:02 PM
First off, thank you for the work.


Here are some issues:
-Mentor does not put girls back at their work.
-Diseases do not get cured. It just says something like "Girl does not have a disease"
-Beasts disappear after loading a save.
-Working doctors do not count as doctors.
Title: Re: Whore Master 7
Post by: h1262216 on April 12, 2022, 04:23:56 PM
@Maks90

thanks for the reports. Will look into it. At least for the beasts disappearing, the code that was supposed to save/load them consisted of the comment "// TODO".
I've fixed that now. For some reason, the disease traits were registered as addictions, that's why the game did not recognize them. This is now also fixed.
what do you mean by the last point, "Working doctors do not count as doctors."?
Title: Re: Whore Master 7
Post by: Maks90 on April 12, 2022, 04:37:32 PM
That I can't properly describe.
I hope the screenshots might help.


2 active doctors, yet the girls in the medical clinic get the massage in the attachment.


(https://www.pinkpetal.org/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAasAAABBCAYAAABvuYs9AAASZklEQVR4nO3deWBNZ/rA8e9dstzsm9himSCIpaRqCVpL0Kpt/OxLSxeDWkZbbbU6RdW0tdV0plp7S0ctrRGKlNKUSBkiQZEYBImERELWu9/fH5FLimhJnXvT5/NXzrnved/nnOvxnO2eo9q5O9WGEEII4cDUSgcghBBC3ItWqYGTk5NYMPd1Ll48S+Pwlkx7axFBQdUwGPTMnjWBIwlxhIU1Y9Z7y/Dy8uH6tRzenTWeD+d9iVqtUSrsh6JnjzBMJiMqlRofXz/Cwx9lyLBxhIdHKB2aEE5Jcsr5KXJkZTQaeGf6GCJadWTN2jgMej2LFk4H4Ptdm9BoNGzcdBj/gCp8v2sTAMuXfcDo516t9IWq1IRJM9mx8zSL/vE1fv6BTJk0kMOH9z5Qn5+vXMBnn75XQREK4Vwkp5ybIsUq4fBecnKuMGToOAICqvB0r6H89+APGAzFmExGNBoNFosFsOHq4sbJE0ewWC00adpKiXAVo1ZrqBnyJ15+5X0aNmrOimVzH6i/o0cPUFiQV0HRCeF8JKeclyLF6tzZZPz8AvH1DQCgVu16WCxmMjPT6Nq1H7m52Qwe0Bqz2UTnrn1YsXwuL7z4hhKhOox27aI4nXIMg0EPQGJiPBNf6kfvnuGMHN6RTd+stLc9dTKRlycPos/TTRg5vCOXL6fzypT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16rZ8iBEKZyE5VeJ+ckoetyTu6MzP33P54rH7/hFlZVKjbgSh4Z2Ji/lHue3idiyifpOuUqjEHUlO3XQ/OSVHVuI20Z9PIONCIl36vU2DZj2UDkcIpyc59eCkWAkhhHB4chpQCCGEw9M2qx+mdAxCCCFEuVR9+06W04BCCCEcmrZeh/FKxyCEEEKUS65ZCSGEcHhSrIQQQjg8KVZCCCEcnhQrIYQQDu//AcWMX2soRfhjAAAAAElFTkSuQmCC)
Title: Re: Whore Master 7
Post by: h1262216 on April 12, 2022, 07:44:20 PM
Right, in this case it is actually the error message that is wrong, I think. It should be "You don't have enough doctors". Each Doctor can only treat one patient per week. Will fix the message.
Title: Re: Whore Master 7
Post by: h1262216 on April 19, 2022, 05:32:37 PM
I've uploaded a new version with some of these things fixed, and some other small improvements.
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.1.2-beta3
Title: Re: Whore Master 7
Post by: Nyanyan on April 28, 2022, 12:55:21 AM
I have an issue. I keep getting a crash when I do the town recruit event. I think it's trying to give me a girl I already have or something, because it gave me a second of an unique girl and got all the way through before crashing when it tried to add them to the brothel. Does it properly check to see if you have a girl when choosing them?


And then after a few crashes I get crashes without it even giving me the pictures/dialogue.
Title: Re: Whore Master 7
Post by: h1262216 on April 28, 2022, 06:04:55 PM
thanks for reporting this. Do you have by any chance a gamelog.txt, or just the last lines of that, maybe that would contain some hints that help tracking this down
Title: Re: Whore Master 7
Post by: Nyanyan on April 28, 2022, 09:29:54 PM
Here you go.


EDIT: While I'm at it, obedience doesn't seem to be taking into account the percentage of their pay you take. I can take a brand new free girl with 60-something rebelliousness, and even if I 0 out the cut, their rebellion doesn't change at all.
Title: Re: Whore Master 7
Post by: h1262216 on April 30, 2022, 04:24:54 PM
I think I've finally tracked down the problem. After meeting on girl, that wasn't properly reset, so if the second meeting attempt did not give a unique girl (either because there is none, or because the game decided to use a random girl), the game reuses the old girl thinking it is a newly selected one. Not quite sure why that leads to a crash, but I hope fixing this will also get rid of the crash there.
Title: Re: Whore Master 7
Post by: Nyanyan on May 01, 2022, 03:52:31 AM
Thanks for the update.


To go along with my obedience issue I mentioned in that edit I made, I've noticed, new game or not, that having a Matron still doesn't affect rebelliousness. I put a girl on Matron, and none of the other girls had better rebelliousness, and removing the matron didn't make it change. Just pointing this out because that was something supposed to have been fixed in the most recent one, correct?
Title: Re: Whore Master 7
Post by: h1262216 on May 02, 2022, 06:10:01 PM
With the new code, the matron shouldn't have an instantaneous effect, but instead increases the obedience of girls at her building over time, depending on her skill as a matron
Title: Re: Whore Master 7
Post by: Nyanyan on May 02, 2022, 09:11:23 PM
I see, thanks for the explanation. I'm used to the straight -15 rebelliousness from 6.
Title: Re: Whore Master 7
Post by: h1262216 on May 04, 2022, 09:54:16 AM
I've uploaded a new version with the fix:
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.1.2-beta4
Title: Re: Whore Master 7
Post by: harold on May 14, 2022, 04:31:07 AM
The new version 7.1.2 is very stable so far and thanks for fixing the duplicate meet in town person.  A lot of parameters were moved out of config.xml.  Where did they go and can I change them without screwing anything up?
Title: Re: Whore Master 7
Post by: h1262216 on May 15, 2022, 07:35:34 AM
It's great to hear that the fix appears to work :)

Many of the old config parameters are now save-game specific, you can either edit them by actually editing the saved game, or if you start a new game there is the "More Details" option. If you want to edit the save-game, look for the `<Settings>` part.
Title: Re: Whore Master 7
Post by: Kainebones on August 19, 2022, 10:06:40 PM
Made an account just for this!

Turns out turning off tips for either slaves or Free girls does nothing. Service gives them money no matter what you put down.
As well as other things where you turn off to pay the slave/Free girl also does not work and just pays them anyway.

Wanted to let you know! Love the changes from the older version!
Title: Re: Whore Master 7
Post by: h1262216 on August 22, 2022, 12:27:53 PM
@Kainebones
Thanks for the report. I tried to reproduce this, but at least in a quick test turning on/off tips seemed to work. Note that you do not decide whether customers will give tips to the girls, this setting only affects whether the girls get to keep that money, or have to give it to you. Maybe it is only broken for some jobs?

Could you provide the exact steps how to reproduce this bug?
Title: Re: Whore Master 7
Post by: Kainebones on August 22, 2022, 02:04:28 PM
I just installed the game and played?
I turned the tips off in game creation but noticed they were getting tips.
And they WERE Getting the tips since I had to remove the money from them more than once. Let me try with a fresh install? Maybe I just got a bugged copy?
!EDIT! - This is embarrassing, Turns out they were getting their SALARY, Not tips. Let me try with the Pay.Slave. Option turned to false.
!EDIT 2! - Okay! Just checked the User.Pay.Slave. Option and it IS off. But am still paying their salary. THAT Seems to be the bug.
Title: Re: Whore Master 7
Post by: amlumgzk on September 05, 2022, 06:27:40 AM
Hi, can you explain me, how fix it.
I realy don't understend how working cmake))))
Boost inside C:\boost\boost_1_80_0
Title: Re: Whore Master 7
Post by: h1262216 on September 05, 2022, 01:19:09 PM
Hi,
the problem here seems to be that CMake has no idea of knowing where to find boost. Hopefully, this can be fixed by pointing it to the right directory.
This should be fixable by setting "BOOST_ROOT". In the cmake options, add `-DBOOST_ROOT=C:\boost\boost_1_80_0`, see if that works.
Title: Re: Whore Master 7
Post by: amlumgzk on September 06, 2022, 03:25:55 AM
Hi,
the problem here seems to be that CMake has no idea of knowing where to find boost. Hopefully, this can be fixed by pointing it to the right directory.
This should be fixable by setting "BOOST_ROOT". In the cmake options, add `-DBOOST_ROOT=C:\boost\boost_1_80_0`, see if that works.
THX, but second question)
how set CMAKE_CXX_FLAGS_RELEASE to -O2
And where error)))
Title: Re: Whore Master 7
Post by: h1262216 on September 06, 2022, 07:18:46 PM
I haven't tried this, but generally setting options you would add "-DCMAKE_CXX_FLAGS_RELEASE=-O2" to the options.
I'm not sure what error you mean?
Title: Re: Whore Master 7
Post by: amlumgzk on September 07, 2022, 02:59:23 AM
I haven't tried this, but generally setting options you would add "-DCMAKE_CXX_FLAGS_RELEASE=-O2" to the options.
I'm not sure what error you mean?
Title: Re: Whore Master 7
Post by: amlumgzk on September 07, 2022, 03:18:25 AM





oy sry, i forgot instal )))))
Title: Re: Whore Master 7
Post by: h1262216 on September 07, 2022, 05:26:39 PM
the red text is just warnings -- nothing to worry about in this case.
The other message looks like it might be missing a DLL, maybe.
Title: Re: Whore Master 7
Post by: amlumgzk on September 08, 2022, 12:09:34 PM
Ifnd new type pics : Lick, Deeptroath, Kiss. or is there any other?   
Have a list?
And how i see in code, FFM and MMF use only group img... 
but it's scary to change .... I'm not really a programmer)thanks in advance
Title: Re: Whore Master 7
Post by: h1262216 on September 09, 2022, 08:00:45 PM
Which version are you looking at? v7.1.2-beta4 is still using the old image tagging system, but I'm currently working on new code, which is not quite finished yet.
Title: Re: Whore Master 7
Post by: Nuclear Lychee on September 14, 2022, 06:54:14 PM
Hmm, I've encountered an issue where Matrons will take girls off work, but don't put them back on again.
Title: Re: Whore Master 7
Post by: h1262216 on October 16, 2022, 05:36:27 PM
Hi, I just wanted to give a short update.
Discord, for some reason, now insists that I register with a phone number, but I'm not willing to do that, so for now unfortunately I cannot see what is going on there.
If you (or someone else who is not visiting these forums) have given feedback on recent changes in the game, or tried to discuss something else related to the development of the game with me, within the last few weeks, unfortunately I have not seen/cannot see these messages. Please repost these messages here, or (if its a bug report or feature request) also on github.

Apart from not having access to discord, I also did not really have time to work on the game these past couple of weeks. I finally managed to do some updates this weekend, but not enough that this warrants a new release, IMO, but hopefully next weekend.
Title: Re: Whore Master 7
Post by: h1262216 on October 25, 2022, 07:12:06 PM
Did not quite manage the weekend, but here is the new version:
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.2.1-alpha3

The list of changes is on github. I guess the most significant, gameplay-wise, is that skill caps can now be changed through traits.
I've put some initial values there, but I'm not sure how well they work in terms of balancing, so please do leave your suggestions.

Most work, of course, was focused on the new image tagging and corresponding tagging tool (see the other thread).

I still cannot login to discord, so please leave your feedback here.
Title: Re: Whore Master 7
Post by: amlumgzk on October 27, 2022, 08:46:18 AM
How make daughter character?
Old Whore Master Editor 0.8.32- not working,
all time born random characters....
Title: Re: Whore Master 7
Post by: h1262216 on October 30, 2022, 08:36:03 PM
How make daughter character?
Old Whore Master Editor 0.8.32- not working,
all time born random characters....

You can edit the xml files directly, for example with notepad++, in the end these are just text files.
To get a random girl to spawn as your daughter, in you need to define it like <Girl Name="..." Desc="." Human="Yes" Catacomb="No" YourDaughter="Yes"> in the rgirlsx.
(I've noticed that in previous versions, it was "Your Daughter", with a space in between, which made it impossible to specify in XML. This is fixed now)
Title: Re: Whore Master 7
Post by: h1262216 on October 31, 2022, 04:02:35 AM
I've uploaded a new version:
Not that many changes yet, but the previous one would crash when using the 4:3 themes, so I did not want to wait long with the updated.
There are some nice changes to the UI, though:
 * You no longer have to go back to the main screen to switch between buildings, the Prev/Next buttons now also appear in the girl management screen
 * You can now get an overview of the different traits in the game by clicking the `*` button next to the trait description in the girl details screen. (I'll probably change this to a question mark, but for now I've reused one of the buttons that already exist)

Apart from that, there are some bug-fixes and some tweaking to traits. Nothing new on the image tagging front, for now.
Enjoy.
Title: Re: Whore Master 7
Post by: h1262216 on November 19, 2022, 06:18:08 PM
Next version is on github.
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.2.1-alpha5

Mostly bugfixes, and a bit of tweaking for the movie studio. Also quite a bit of behind-the-scenes programming work.
Title: Re: Whore Master 7
Post by: big fan of fans on November 20, 2022, 05:06:25 AM
I believe I have found two bugs and a fix for one, although I don't have a github or discord. The first bug is likely caused by line 176 of "src/game/cGirls.cpp".
The line in question is in a function that handles girls leveling up and reads:
"int chance = g_Dice % 12;"
I believe that it is supposed to actually be:
"int chance = g_Dice % 11;"

The line is there to generate a random index for the statically created array on the line before. The array contains eleven fixed traits, meaning its indices range from 0 to 10, however the line as it is currently written can instead occasionally generate an index of 11. This makes the bug unreliable to reproduce, as it only happens when a girl levels up to a level divisible by five so she can gain a new trait, but even then only in a little more than one twelfth of the times. When encountered, this bug manifests as the player getting an error message that looks something like this, although substitute arena for any building the girl leveled up in:
"Error when processing building Arena: Could not find trait:" and then some random gibberish.
This is likely happening because the trait array is going out of bounds and trying to read this memory space as a trait, which will obviously not generally produce any meaningful text, nor anything usable to the gain_trait function a few lines down from it. The process buildings phase will then fail for that turn, and the girl will not get a trait for that level. I have reproduced the error for both the previous version, as well as the new version that was posted yesterday. It is hard to be absolutely certain that it fixes it due to the random nature of the bug, but I have not encountered the bug after compiling a version of the game with the above change.

The second bug is the one that I have not explored the cause of and is related to the UI. When the user selects a girl and then clicks the "girl details" button at the right of the screen, they enter into a menu with a button that reads "more details" on the left side of the screen. In older builds, clicking on the button would cycle through several different stats on the left half of the screen, before wrapping back to the original stats. Now, after clicking on it twice, it will produce an error message that reads: "Could not find trait". Then, bits of text from some scripts will show in place of the error text on the red box before finally kicking the user out of the "girl details" menu. The player will then be unable to enter the "girl details" menu again until restarting the game, with the player instead getting only the "Could not find trait" error message any time they try to enter the menu.

Anyway, thanks for the mod, it really improved the game's overall codebase, especially in a lot of ways that are really nice but invisible to the overall player.

Edit:
Alternatively, looking at the commit history for the first section it seems that part was originally supposed to be in a switch with a chance to not produce a trait when it rolled 0. If this original behavior was intended, the lines below can instead be modified by sticking them in an if statement that only runs if it didn't roll 11.
Title: Re: Whore Master 7
Post by: h1262216 on November 20, 2022, 01:58:21 PM
Thanks for the report, and the thorough investigation.

I've found the source of the second bug: Before, the list of traits that a Therapy can remove was set within C++, so the provided `const char*` would be valid for the entire program lifetime. Now it is loaded from an xml file, so it is no longer save to keep the char pointer. Switching to std::string for the `sRemoveTrait` struct solves the problem.

The reason it crashed in the detail screen is that is was trying to generate the scores for the different "jobs" that a girl can take, and thus checking these traits, with whatever bogus ended up at that memory location.

The cleanup of the code is certainly an ongoing process. There are still some parts that I haven't really gotten to (items, gold, customers, rivals), and for some of those that I have changed, by now I'd like to redo some things. The usual story of software development, I guess.
Title: Re: Whore Master 7
Post by: big fan of fans on November 20, 2022, 04:26:20 PM
Thanks, that was pretty fast and the problems seem fixed. Yeah, that last point about software development is definitely true a lot, lol. Speaking of reworking items, I just figured I'd let you know that misc. items haven't been properly applying their Skill, Stat, or Trait effects for a while now, so that may be something worth investigating when you do get around to items if you weren't aware already. They do still correctly apply any effects that specifically check for the item, such as the end of week events for the nightmare orb or the chrono bed.

Edit: Nevermind, I don't believe the first issue is completely fixed with how you modified the LevelUp function. While the original bug message does seem to be gone, I am instead getting variations similar to this new error message under the same conditions:
"Error when processing building Farm: basic_string::_M_construct null not valid"
I believe that it is likely that some of the functions that the gain_trait functions relies upon aren't able to handle the nullptr that your fix introduces, instead producing the new message because I can no longer reproduce the error if I once again adjust the random index range to not include the nullptr.
Title: Re: Whore Master 7
Post by: zenkls on November 23, 2022, 05:42:35 PM
Hi!
I think i found a bug, with the version 7.1.2 i think when a girl birth and the daughter go to dungeon generate a crash. It's happen when i click next week button.
This  it doesn't happen in the version 6.4.1. i tried to attach the gamelog but it's too big.
Thanks for the help and sorry my english.






[/size][/color][/size][/color][/size][/color][/size][/color]
[/size][/color]
Title: Re: Whore Master 7
Post by: Fruitymate on December 07, 2022, 11:46:16 PM
I Personally Have an issue where a good amount of the time, the unique girls will use the default images instead of the images in their folders in the characters file, I dont know it means I need to redo all of the girlsx files but it wasnt an issue before in 6.03. I also like to compile them in batches and and leave them in the characters folder but not in their own character folders.
Title: Re: Whore Master 7
Post by: h1262216 on December 11, 2022, 08:50:37 AM
Thanks for the error reports and comments.

@zenkls
I've tried to reporduce the error on my end, but so far without success.

@Fruitymate
It should definitely not be necessary to redo all the girlsx files (or, actually, add `images.xml`). While doing so would improve the image selection, the default based on file names should still be good enough. I've tested it with a few packs, and it seems to work. Maybe the gamelog can give some more info on what goes wrong in your setup. It produces some output related to image selection, generally prefixed by `INFO:    [image]`.
If you get two messages `Looking for image` in a row, without any `Selected image` inbetween, that means that for this particular lookup, fallback images were used.

If the problem occurs with a specific pack that is around here for download, I could also try to debug that pack.

"I also like to compile them in batches and and leave them in the characters folder but not in their own character folders." I'm not sure what you mean here.
Title: Re: Whore Master 7
Post by: Fruitymate on December 11, 2022, 09:40:36 PM


"I also like to compile them in batches and and leave them in the characters folder but not in their own character folders." I'm not sure what you mean here.



So instead of putting each single .girlsx files into its corresponding character file, such as Resources\Characters\[Character Name]. I like to take a bunch of .girlsx files, usually from the same series, and put them together with the WMEdit into a bundle, and leave it in Resources\Characters. I could have worded it better in my previous post.
Title: Re: Whore Master 7
Post by: Fruitymate on December 13, 2022, 02:27:12 AM
I found out what the issue was. I, at some point, I made and put second .girlsx files in the resoures\Characters\[Character Name] folders. so I had 2 of the same floating around for many characters. WM6.3 never really took this as an issue so I never realized it.
Title: Re: Whore Master 7
Post by: TheVoidDeath on December 14, 2022, 11:20:17 AM
Is it intended behavior for the game to freeze for a few seconds after i click next week?
I've never had that happen in the OG version, even with half the characters i have added now. And it happens ALWAYS with wm7
Title: Re: Whore Master 7
Post by: amlumgzk on December 16, 2022, 08:10:46 AM

FAILED: G:/crazys-wm-mod-7.2.1-alpha5/crazys-wm-mod-7.2.1-alpha5/src/game/events.h
cmd.exe /C "cd /D G:\123\src\game && Python3::Interpreter G:/crazys-wm-mod-7.2.1-alpha5/crazys-wm-mod-7.2.1-alpha5/src/game/../codegen/events.py G:/crazys-wm-mod-7.2.1-alpha5/crazys-wm-mod-7.2.1-alpha5/Resources/Scripts G:/crazys-wm-mod-7.2.1-alpha5/crazys-wm-mod-7.2.1-alpha5/src/game/events.h"
The filename, directory name, or volume label syntax is incorrect.how repair error ?)
I don't have a D drive ((((
Title: Re: Whore Master 7
Post by: Hazure on December 16, 2022, 11:24:20 AM
What program do I have to use to turn the source code into something useable?
Title: Re: Whore Master 7
Post by: h1262216 on December 17, 2022, 07:54:41 PM
@TheVoidDeath:
Unfortunately, all the game's actual computations have to happen only at the point when you click Next Week, so with lots and lots of characters is is possible to have some delay. A few seconds sounds like entirely too much, though. Maybe part of it is because I've added a bit more logging output, to make it easier to debug any problems.

@amlumgzk
Context for this message? Did you try to compile the game?

@Hazure
There are two parts of the source: 1) The core game, the c++ files. Here you need a C++ compiler, and cmake to handle the compilation process. Under linux, this is really simple, under windows it's probably easiest to set up something like msys2 (https://www.msys2.org/), which gives you a linux-like environment to compile with.
2) The scripts. Since lua scripts are only interpreted when the game is run, so you can just change the files and the new ones will be used by the game.
Title: Re: Whore Master 7
Post by: amlumgzk on December 18, 2022, 03:24:54 AM
@TheVoidDeath:
Unfortunately, all the game's actual computations have to happen only at the point when you click Next Week, so with lots and lots of characters is is possible to have some delay. A few seconds sounds like entirely too much, though. Maybe part of it is because I've added a bit more logging output, to make it easier to debug any problems.

@amlumgzk
Context for this message? Did you try to compile the game?

@Hazure
There are two parts of the source: 1) The core game, the c++ files. Here you need a C++ compiler, and cmake to handle the compilation process. Under linux, this is really simple, under windows it's probably easiest to set up something like msys2 (https://www.msys2.org/ (https://www.msys2.org/)), which gives you a linux-like environment to compile with.
2) The scripts. Since lua scripts are only interpreted when the game is run, so you can just change the files and the new ones will be used by the game.


yes
Title: Re: Whore Master 7
Post by: Zephisto on December 18, 2022, 10:29:56 AM
Severe errors that no longer allow the game to continue (even after reloading).
ERROR:   [traits]    Could not find trait: ress.xml.performance
ERROR:   Other error (but i can continue):
"_Map_base::at" on a red windows
Title: Re: Whore Master 7
Post by: h1262216 on December 18, 2022, 06:28:59 PM
FAILED: G:/crazys-wm-mod-7.2.1-alpha5/crazys-wm-mod-7.2.1-alpha5/src/game/events.h
cmd.exe /C "cd /D G:\123\src\game && Python3::Interpreter G:/crazys-wm-mod-7.2.1-alpha5/crazys-wm-mod-7.2.1-alpha5/src/game/../codegen/events.py G:/crazys-wm-mod-7.2.1-alpha5/crazys-wm-mod-7.2.1-alpha5/Resources/Scripts G:/crazys-wm-mod-7.2.1-alpha5/crazys-wm-mod-7.2.1-alpha5/src/game/events.h"
The filename, directory name, or volume label syntax is incorrect.how repair error ?)
I don't have a D drive ((((

Do you have python installed at some place where cmake can find it? I think the `Python3::Interpreter` part should actually refer to the python executable. Python is used to auto-generate some files, though in principle it should be possible to compile without.

@
Zephisto
Thanks for the report. Do you have anyone in therapy or similar treatments? I recently fixed a problem (this version is not yet uploaded) where nonsense traits would be generated by the game, and "ress.xml.performance" looks pretty much like such an error.
Title: Re: Whore Master 7
Post by: Zephisto on December 19, 2022, 07:32:40 AM
@Zephisto
Thanks for the report. Do you have anyone in therapy or similar treatments? I recently fixed a problem (this version is not yet uploaded) where nonsense traits would be generated by the game, and "ress.xml.performance" looks pretty much like such an error.

Yes, girls in the center (not in therapy, all in "free time"), the error occurs when I click on "more details", on the girls in the slave market or in the center or in a brothel
Title: Re: Whore Master 7
Post by: h1262216 on December 19, 2022, 07:49:59 PM
@amlumgzk
 (https://www.pinkpetal.org/index.php?action=profile;u=7948)I've updated the code on github so that it should just not regenerate these files if it cannot find a python interpreter. In most cases, this should be fine, please let me know if this fixes the problem.

@Zephisto
sounds like the treatment bug, this is already fixed in the code which will be in the next version
Title: Re: Whore Master 7
Post by: amlumgzk on December 21, 2022, 01:58:22 AM
seems like work
but i not sure....



FAILED: CMakeFiles/install.util
cmd.exe /C "cd /D G:\crazys-wm-mod-master\crazys-wm-mod-master\cmake-build-debug && "C:\Program Files\JetBrains\CLion 2022.2.1\bin\cmake\win\bin\cmake.exe" -P cmake_install.cmake"
ninja: build stopped: subcommand failed.
CMake Error at cmake_install.cmake:141 (file):
  file INSTALL cannot find
  "G:/crazys-wm-mod-master/crazys-wm-mod-master/cmake-build-debug/Docs&Tools/dist/Tagger.exe":
  File exists.




EXE work
Title: Re: Whore Master 7
Post by: renat on December 31, 2022, 04:35:04 PM
I've run into the same problem as zephisto.


Also im having a issue where girls that should only be born as my daughter are showing up as randoms in town.


They are self made with the 8.32 editor.
Title: Re: Whore Master 7
Post by: h1262216 on January 15, 2023, 05:30:08 PM
@renat
Thanks for the clarification, I think I misunderstood the original problem -- I was looking for cases where a(any!) girl would be born as the player's daughter, and no girl appeared instead.
Title: Re: Whore Master 7
Post by: h1262216 on January 17, 2023, 10:37:01 AM
Hi all,
I've uploaded a new release on github:
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.2.1-alpha6

The main change is that the mechanics of how traits are gained/lost during jobs have been updated. Instead of being based on how well a girl likes doing that job, they now track their progress individually: Each girl keeps track of the progress she has made towards gaining/losing a trait, and only once this reaches 100% does she get/lose the trait. The progress towards traits can be seen under "More Details" in the girl details screen, below her job preferences. If a trait does not make any progress for 10 consecutive shifts, its progress starts to decay towards zero.
How much progress she makes can depend on her stats, skills, and on how well she is doing that job.
I've prepared a table that shows which trait is gained/lost by which job, and how many shifts (not weeks!) it takes for a trait to change, if the girl had all stats maxed out.

Most regular trait changes are now specified as part of the job xml files, with the exception of those that only happen if a certain event occurs during the job processing. There are still some weird cases possible, for example a girl could make progress both towards gaining Optimist and Pessimist trait at the same time, instead of one being the counter to the other. I'm not sure yet how to address that, but it should be relatively rare that this really makes a difference.

Please let me know what you think, and if you think there are traits that should be added/removed from a job but currently aren't, or the other way around. I'm also not quite sure about how fast these changes should happen---I think it should be quite slow, so it doesn't cheapen too much the traits with which you acquire a girl.


Here are the tables. Not pretty, but they contain the basic information.
https://htmlpreview.github.io/?https://github.com/h1262216/crazys-wm-mod/blob/master/Docs&Tools/traits.html
https://htmlpreview.github.io/?https://github.com/h1262216/crazys-wm-mod/blob/master/Docs&Tools/jobs.html
Title: Re: Whore Master 7
Post by: renat on January 17, 2023, 05:11:56 PM
I really like the idea. It'll be more fun and immersive this way. Now you aren't forced to use someone whos not cut out for a job till you find some one better. You can have them grow into there rolls.
Having it show how long they have till they gain the trait will give the game a more RPGesc feel which I dig. :) 


Maybe add the tables to the "Docs&Tools" folder?
Title: Re: Whore Master 7
Post by: renat on January 17, 2023, 05:25:27 PM
@renat
Thanks for the clarification, I think I misunderstood the original problem -- I was looking for cases where a(any!) girl would be born as the player's daughter, and no girl appeared instead.


It may be cause of how the girls where created. My girls where made with the drop down "this girl can only be born as your daughter" in the girlmaker, but another user said that your version looks for the "Your Daughter" perk to decide who should be a random and who should be a daughter.


In WM6 the "your Daughter perk is automatically given to any girl born as your daughter, so none of my girls have that perk by default.
Title: Re: Whore Master 7
Post by: h1262216 on January 18, 2023, 06:23:33 PM
I really like the idea. It'll be more fun and immersive this way. Now you aren't forced to use someone whos not cut out for a job till you find some one better. You can have them grow into there rolls.
Having it show how long they have till they gain the trait will give the game a more RPGesc feel which I dig. :) 


Maybe add the tables to the "Docs&Tools" folder?
Thanks for noticing, I just forgot to copy these files into the zip.

Unfortunately, I don't think the your daughter spawn has a quick fix, and my priorities are currently on something else, so that it probably will take a while till I can get to that.
What I'm trying right now is to, finally, finish the long-term project of trying to unify all the job processing code. I've done bits and pieces so far, things that worked well in isolation, like giving all the production/crafting kind of jobs the same basic code, but now I'm trying to do the things that actually interact, and need to be changed together -- which is a lot, since the job code is closely interwove with the building and customer processing, and even the gold tracking. I still found some things that work standalone, e.g. the new trait gain mechanism is actually a consequence of that effort.

I now have a second candidate, which is the job enjoyment code. What I'm planning to do:
* Drastically reduce the number of different "enjoyments" there are -- right now, the game has 36 different activities/actions a girl can enjoy, so far for the new code I've got 12. These are
"fighting", "fucking", "stripping and teasing", "crafting", "working on the farm", "preparing food and drinks", "physical labor", "social interactions", "mental labor", "working in the medical field",            "performing", "providing services". Did I miss anything?
* Instead of the girl (almost) automatically starting to enjoy the job you assign her to after some time, do the following: Get the current enjoyment values of the actions associated with the job, and combine them with the girls happiness to get a starting enjoyment. Add some modifiers (less enjoyment if very tired or really bad at the job, traits, if you let her keep tips, etc. ) and a bit of randomization. Certain events during the shift also could influence the enjoyment. After the shift, compare the enjoyment value of the shift with that originally associated with the actions, and if it was better or worse, there is a chance that she'll start liking that action more/less.
The consequence should be that if you keep a girl working a job while she is unhappy, she'll start to associate the unhappiness with these activities and start enjoying them less. Also, if a job combines two activities, you could user her love for one of them to increase her enjoyment of the other.
* Each job should also have a basic enjoyment value, depending on how enjoyable it is by default, e.g. Free Time would have a very high value here, whereas "Film Public BDSM" should have a negative value. If that works as I hope it will, that would mean that even if a girl generally enjoys fucking, she would enjoy this job much less than an "easier" fucking-type job, so unless she has some corresponding traits her enjoyment of fucking would actually go down if you make her do this many times.

I've partially implemented this. I still have to figure out a good way to integrate the "will she do the job this shift" checks into this, which should in some way combine obedience, fear, love, and her enjoyment of the job.

Any thoughts?
Title: Re: Whore Master 7
Post by: renat on January 18, 2023, 06:51:12 PM
hmm for my personal use this game is more of a colletathon game for the 1000+ girls I intend to eventfully have, so the more convoluted things get, the more time I have to spend micromanaging. So i like the idea of simplifying the job enjoyments, but also I kind rely on the girls eventfully likening the job they are given. also the more complex you make the job interactions the less clear it becomes how they go about using those mechanics. tool tips may be needed eventually or tutorial popup or a help tab?  there mechanics in wm6 that I have no idea what they are for or how there work( fame/disposition all over the place week to week and what does disposition even effect?)


idk maybe the matron could help keep girls for getting to upset with there jobs?
Title: Re: Whore Master 7
Post by: Zephisto on January 19, 2023, 04:32:58 PM
With the new release, i have the same error than before :



INFO:    [interface] Push Window 'Girl Details'
ERROR:   [traits]    Could not find trait: Dependant
ERROR:   [interface] An error occurred when trying to initialize 'Girl Details'
ERROR:   [interface] Error when handling MouseClick event at (269, 387): Could not find trait: Dependant
DEBUG:               Loaded XML File .\Resources\Interface\Light-16-9\popup_message.xml


The bug income after sending girls in treatement in the centre
Title: Re: Whore Master 7
Post by: h1262216 on January 21, 2023, 02:18:11 PM
@Zephisto, thanks for reporting, it appears there are some spelling errors in the job xml files. I've fixed them, and also changed the code to validate that traits exists already when the game is loaded, so that there is less chance of such a thing going unnoticed.

@renat For the Advertise job, there is actually already something similar, in that it can generate an event where the girl says that she doesn't like the job and wants to be reassigned. When unifying the code for all jobs, I guess it makes sense to allow this more generally.
Title: Re: Whore Master 7
Post by: renat on January 28, 2023, 07:13:18 PM
This is likely caused by me adding traits, but I'm getting a "_Map_base::at" error at load or new game when loading traits.

Any idea what I screwed up?


on alpha 5 atm
Title: Re: Whore Master 7
Post by: h1262216 on January 29, 2023, 09:05:26 AM
This is likely caused by me adding traits, but I'm getting a "_Map_base::at" error at load or new game when loading traits.

Any idea what I screwed up?


on alpha 5 atm

"_Map_base::at" indicates that the game tried to look up something, but could not find it. First thing is to look at the `gamelog.txt`, that might give some more clues as to where these invalid lookups happened and what it tried to look up. Usually, it's just a spelling error somewhere.
Title: Re: Whore Master 7
Post by: renat on January 29, 2023, 11:32:58 AM
That was exactly it. Bestiality is spelled incorrectly (Beastiality) in the game files and I was spelling it correctly (Bestiality) and it didn't like that. Thank you.
Title: Re: Whore Master 7
Post by: h1262216 on January 29, 2023, 01:43:00 PM
@renat Great to hear. Yes, the spelling is wrong, but it is used in so many places that I've so far avoided to fix it. I'm still trying to improve the displayed error messages, so that these things become easier to debug.

I've just uploaded a new version here: https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.2.1-beta7

With the therapy crashes now (hopefully) fixed, I think this has matured enough since my first introduction of the new image selection code to be called a beta version. Apart from bug fixes, this version introduces two features that have been requested some time ago:
1) The ability to load game settings (the More Details part from New Game) from files, placed in `Resources/Presets`. I've put some very simple files for different difficulties there, that change mostly how much money things cost and give, but I haven't really playtested this to see if it makes sense from a balancing point of view.
2) The ability to select image preferences. With the new image tagger, you can declare whether an image is a drawing, rendering, or photo, and the player can select their preferences. This is just a relatively small nudge into the direction of images to use---if a tag with lots of images is requested, then the preference will be fulfilled, but if there are few or no images of that type, the game will ignore the preference setting.

From now, I hope I can focus my attention on implementing the new, generalized job code. I've made some progress on this, but as jobs make up a good chunk of the game, its a large amount of code to deal with, and it will probably take several more weeks till I have something playable again.
Title: Re: Whore Master 7
Post by: CasualFire on January 29, 2023, 04:30:54 PM
Quick question I'm not sure if its just me, but I'm getting slowdown on character videos. size doesn't seem to be a factor and the only format that isn't slowed down is .gif, webm and mp4 both experience the same slow down.
Title: Re: Whore Master 7
Post by: h1262216 on January 31, 2023, 07:30:44 AM
@CasualFire
What do you mean with slowdown? Right now, the entire video is loaded at once and decoded, during which time the game is frozen. For a short clip, that should not really be noticable, however. Or is it lagging while the video is playing?
Title: Re: Whore Master 7
Post by: CasualFire on January 31, 2023, 06:07:40 PM
@h1262216
Sorry yah it was lagging while playing the video, I've figured out what the issue is. The videos I was using has a 24 framerate, it works perfectly fine if the video has a 30 framerate. for whatever reason if you run a video that is 24fps through the game it plays back at like 50% speed.
Title: Re: Whore Master 7
Post by: harold on February 07, 2023, 03:57:41 AM
I'm getting the following error when someone is made a doctor:
Error when processing girl Kayla Kayden: _Map_base::at
Title: Re: Whore Master 7
Post by: h1262216 on February 10, 2023, 05:28:21 PM
@harold
do you mean when you assign the doctor job, or when an intern/nurse is automatically promoted to doctor?
Title: Re: Whore Master 7
Post by: harold on February 12, 2023, 07:34:25 AM
It is when I assign the job explicitly.  I only get the message for one or two doctors even if there are several assigned to be doctors.
Title: Re: Whore Master 7
Post by: Shadowflux on March 02, 2023, 05:28:49 AM
Tested latest version (7.2.1 Beta 7).

Issues noticed:
1. Could not find Resources/Preferences forlder/files to change settings.
   a) This also could automatically pick last played settings when starting new game.
2. Video loading sometimes takes too long up to (1 min) and it freezes everything. (Runnig on AMD 5950x and 3090).
   a) Make it asyncrounous.
   b) Can You also make it load faster like VLC?
3. Player seems to impregnate with 100% no matter settings.


Quick iimprovements:
4. Add button(s) to dungeon to make everyone slave and sell them all, next to free all button.
5. Add Select all button in buildings. (Tired of shift clicking)
6. Add html to docs for all used image tags and where are they used and their fallbacks.
7. Add html to docs for all stats for girls and gangs on what tehy are and where are they used and where You can train them.

Long trem ideas:
6. Add houses and catacombs and turn it into village (Think Sims 4).
   a) So visitors and some workers can have some own houses, which You can visit.
   b) Expansion to search the street and catacombs.
7. Turn player into character with stats.
8. Turn men and monsters also into named characters with stats, but without pictures and stuff for now.
9. Better pregnancy and family tree system (Best one is now is Strive for Power Aric's Expansion Rebred mod).

Hope it is helpful.
Title: Re: Whore Master 7
Post by: Torres on March 07, 2023, 03:47:42 PM
Hi there, long time fan of the sim and now happy to see there's someone working on an updated modern version, best of luck man and thanks for the effort.

Title: Re: Whore Master 7
Post by: h1262216 on March 07, 2023, 04:11:51 PM
Hi, sorry for the silence, I'm a bit busy with other stuff at the moment.

@harold
Unfortunately, I haven't been able to track down the problem. I've made some modifications that hopefully in the future, the error message will be more helpful, though.

@Shadowflux
Thanks for the detailed feedback. For point 1, it seems that I've just forgot to actually put this into the release last time :(
2. The video loading is certainly somewhat problematic, but changing that will not be very easy. Right now, the code is quite simple, but enabling asynchronous loading means you need to be *much* more careful in your coding, to not mess things up. I guess VLC actually uses much of the same code that does the video decoding under the hood, except that it shows streaming video, instead of decoding the entire video at once. The latter still makes sense, I think, for short clips, which is what most of the old gifs were.
Still, one minute sounds like an extremely long time. Do you know how long (and what resolution/file size) was the clip, and at what resolution are you rendering the game?

3. Will have to investigate.


For you quick improvement suggestions, I guess for both building and dungeon screens, having a "select all" button might be very helpful. New buttons are always a bit annoying, since I cannot replicate exactly the look of the old UI.
Points 6 and (especially) 7 make sense, but these are actually not really quick improvements, because I need to figure out some of these things myself first.

Your long term suggestions are exactly that, long term. Though actually, the player character already has stats, they are just mostly useless and unchanging.


@Torres
I don't think there is anything at the moment, though I guess it would make sense to have such an option.
For your second point, could be that "Auto Use" items is active? You can check that if you go to House ->More Details -> Settings. (This really needs to go to some other place, though).
Title: Re: Whore Master 7
Post by: Torres on March 07, 2023, 04:55:35 PM
@Torres
I don't think there is anything at the moment, though I guess it would make sense to have such an option.
For your second point, could be that "Auto Use" items is active? You can check that if you go to House ->More Details -> Settings. (This really needs to go to some other place, though).
Yeah that was it, at least the auto equip stuff from main inventory, thanks!.
I don't think old WM had a correlation between better rooms and more happiness/stamina/health gain, does this one?
Title: Re: Whore Master 7
Post by: h1262216 on March 25, 2023, 01:27:31 PM
Hi,
haven't had much time for the game lately, but I think by now I've accumulated enough small improvements that it's still worth making a new release:
https://github.com/h1262216/crazys-wm-mod/releases/tag/v7.2.1-beta8

Based on the comments above, I've implemented the following:
* Auto Use also automatically equips items
* Replaced Release All Girls/Release All Customers buttons with Select All ... buttons
* Fixed the game setting presets being missing in the last release

I haven't added a "select all" button for the girl management screen, mainly because right now the screen is already pretty crowded, so this would require some redesign to be possible. I still think it is a good idea, though.

One tiny change, that I think is a significant quality improvement, is that the item screen now tells you which items a girl has currently equipped by marking it with `[Eq.]`.

I've also added quite a bit of text to the Training job, for training of Group and Les skills.

There is also one very important change that isn't actually visible in the game (much): I've reverse-engineed the button graphics (essentially combined all the buttons in the game to figure out which pixels would be under the text) to have a blank button template, and now I can make new buttons that look (almost) like the old ones in five seconds. That is going to make adding some features that require UI much easier in the future. I've also re-done the buttons that I've made before, they now shouldn't stick out so much anymore.


@Torres
Yes, I think this is there, but there was also something like this in the old version, because I've not actually changed this code (much).
Title: Re: Whore Master 7
Post by: harold on March 28, 2023, 03:25:51 AM
Thanks for the updates!  Look forward to testing it.
Title: Re: Whore Master 7
Post by: Shadesmar on April 22, 2023, 07:43:43 AM
so... there is a pretty important part not working in this version: when selecting and highlighting one girl, and then switching to either transfer or the weekly report, the girl should be still selected and the transfer should be from the location one is in right now to anywhere else. This made me able to quickly transfer girls, even when having a huge number of them, since i just had to select them and then transfer, or check on them in the report.
In this version i have to search them all over again in the transfer menu, and in the report. I know its only seconds, but those seconds add up if its done several times each week or several hundreds of times each session.This is the reason why i switch to the old version again. I like ur work, so i want to offer this suggestion to add this feature again. thx
Title: Re: Whore Master 7
Post by: toradrow777 on May 02, 2023, 10:12:03 PM
How does this compare to Vanilla and Crazy's mod?


Also, gotta say, it's really nice to see someone trying to revive this game.  I've a lot of fond memories of this game.
Title: Re: Whore Master 7
Post by: WuChang on June 15, 2023, 02:14:15 AM
so i been trying to get get pregnant picture showing. so far i fail to do so. does anyone have the same problem as i do?
Title: Re: Whore Master 7
Post by: h1262216 on June 19, 2023, 01:20:39 PM
@WuChang
Do the images not show up at all, or are they picked up correctly in the gallery?
Title: Re: Whore Master 7
Post by: WuChang on June 20, 2023, 01:46:09 AM
the whole entire gallery of pregnant just gone. whether save as preg 1 or pregprofile. all that is show is normal profile.
Title: Re: Whore Master 7
Post by: h1262216 on June 26, 2023, 06:59:28 PM
@WuChang
I checked in the code, currently, the game only picks up images with file patterns as specified in `ImageTypes.xml`. And that file does not list any patterns for `preg` variations. A quick fix (if you want to do that locally) is to copy the entries there and make preg versions, but that means that for each image type, two pattern entries need to be maintained. So I'll probably add code that for each pattern auto-generates the corresponding preg version, so there is no duplication.
Title: Re: Whore Master 7
Post by: Torres on March 28, 2024, 01:31:36 PM
This no longer alive?
Title: Re: Whore Master 7
Post by: yopyop on March 28, 2024, 07:12:03 PM
Not really :/