Author Topic: Interface changes and other misc. minor tweaks  (Read 135298 times)

0 Members and 1 Guest are viewing this topic.

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #75 on: August 10, 2011, 04:17:58 AM »
I need a tuto on how to compile with code::blocks
Nothing happens when I clic the "Build" button.
I've imported all the files and stuff but it looks like I'm missing the makefile.

Not much I can do for that.  Unless you use Visual C++ 2010 Express you will have to make your own makefile.

*****************************************************************************

* Configurable limit to number of rooms / brothel.

This is set in config.xml. Set it to "0" to disable the limit. When set at 100 the max number of girls (all brothels included) is 400. At 200 you get 600 girls max, 300 = 800 girls max, etc.

The setting of "100" literally means that you can add as many (100%) rooms to a brothel as the brothel starts with.

* Updated to include latest changes to SVN repository code (name change: WhoreMaster639+)

Download: http://www.uproda.net/down/uproda342672.zip.html
« Last Edit: August 10, 2011, 05:44:14 AM by Anon21 »

Offline E.

  • Jr. Member
  • **
  • Posts: 66
  • Till the end of Eternity.
Re: Interface changes and other misc. minor tweaks
« Reply #76 on: August 10, 2011, 09:16:29 AM »
I'm lazy as fuck... and can't install visual C°° 'cause I don't have the right Service Pack.
Can you compile the whole thing if I pm it to you?
...

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #77 on: August 10, 2011, 09:18:49 AM »
Can you compile the whole thing if I pm it to you?

Tell you what, if I like the changes I'll add them to my version and post a link here.

Offline E.

  • Jr. Member
  • **
  • Posts: 66
  • Till the end of Eternity.
Re: Interface changes and other misc. minor tweaks
« Reply #78 on: August 10, 2011, 09:41:14 AM »


Tell you what, if I like the changes I'll add them to my version and post a link here.



Then i'll change some more stuff to make it worth it. Later.
Right now i've only made minor changes that suit my own fucked up tastes.
« Last Edit: August 10, 2011, 09:54:45 AM by Eiri666 »
...

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #79 on: August 10, 2011, 12:29:40 PM »
Right now i've only made minor changes that suit my own fucked up tastes.

Meh, I wouldn't worry about that. If it isn't necrophiliac bestiality with pandas there's probably a market. ;-)

Offline E.

  • Jr. Member
  • **
  • Posts: 66
  • Till the end of Eternity.
Re: Interface changes and other misc. minor tweaks
« Reply #80 on: August 10, 2011, 01:35:02 PM »
By the way, changing the maximum number of customers in the config file doesn't seem to do anything.
I've set it to 15 and the girls still can't have more than 8 customers.
...

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #81 on: August 10, 2011, 02:09:50 PM »
I've set it to 15 and the girls still can't have more than 8 customers.

Well, they could, but only if they have stats over 100. :-P  It looks like the maximum number of customers was hard coded to '10' in the code - but could never actually get higher than 8.  So for now it looks like you can only turn the number of customers _down_ not up.

Offline E.

  • Jr. Member
  • **
  • Posts: 66
  • Till the end of Eternity.
Re: Interface changes and other misc. minor tweaks
« Reply #82 on: August 10, 2011, 02:17:36 PM »
I'm not sure, but you should look into WorkWhore.cpp, line 231.
...

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #83 on: August 10, 2011, 02:28:37 PM »
I'm not sure, but you should look into WorkWhore.cpp, line 231.

Nah, it's this bit ...

Code: [Select]
    if(g_Girls.GetStat(girl, STAT_BEAUTY) > 0)
        NumCusts = g_Girls.GetStat(girl, STAT_BEAUTY) / 50;
    else
        NumCusts++;

    if(g_Girls.GetStat(girl, STAT_CHARISMA) > 0)
        NumCusts += g_Girls.GetStat(girl, STAT_CHARISMA) / 50;
    else
        NumCusts++;

    if(g_Girls.GetStat(girl, STAT_FAME) > 0)
        NumCusts += g_Girls.GetStat(girl, STAT_FAME) / 25;
    else
        NumCusts++;

Beauty and Charisma give +1 or +2, Fame gives +1 to +4
So if a girl has 100 for Beauty, Charisma AND Fame she can see a max of 8 customers.

I don't really want to change that formula yet.

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #84 on: August 10, 2011, 03:54:42 PM »
This update should be really popular with peeps distributing girl packs.

* Subdirectories now possible in Characters folder.

There is now a new optional element in the girl information XML file. "Directory".  The trick is that you have to do both changes at once.

e.g. You can create  a folder "ALADDIN" and move the "Princess Jasmine" folder into it. You then also need to edit the girl information (in this case "Aladdin.girlsx" to add the line

Directory = 'ALADDIN'

to the file (under Name = 'Princess Jasmine' would work ;-).

This way next time someone makes an Aladdin pack they can put all the girl image folders into one subfolder instead of the characters ending up spread out all over the place.

But wait! There's more!

I think you should be able to use more than one level of subdirectory. e.g. you could use

Directory = 'DISNEY\ALADDIN'

and have all your Disney characters in one place.

NOTE: You will need to start a new game after you move directories around to see the pictures.

WARNING! Bugged release. :-( New functionality does not work properly.

Download: http://www.uproda.net/down/uproda342978.zip.html
« Last Edit: August 11, 2011, 04:53:47 AM by Anon21 »

Offline Nex Crimen

  • Newbie
  • *
  • Posts: 18
Re: Interface changes and other misc. minor tweaks
« Reply #85 on: August 10, 2011, 06:36:45 PM »
Thank you so much, this will help me a lot, as I like to have every thing in one place.

Anyway I've been messing around with the source code and through trial and error (Hate copy pasting) I have my own mini update!

You can now edit the Gallery and Turn Summary Screens through some Text files that I've placed within the Interface folder.

So now you can create full screen packs (I was getting feed up with ugly oversized buttons/ text misplacement)

This also contains Anon's last update (Sub dictionaries) which by the way is a work of pure genius.

Download:  http://www.mediafire.com/?2mo9zgu2165rudo

(Hope you don't mind me posting this in your trend Anon)

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #86 on: August 10, 2011, 08:33:57 PM »
(Hope you don't mind me posting this in your trend Anon)

Not at all! Would you mind me using your code and/or idea?  ;D

Offline Nex Crimen

  • Newbie
  • *
  • Posts: 18
Re: Interface changes and other misc. minor tweaks
« Reply #87 on: August 11, 2011, 03:44:17 AM »
Of course you can, the fact that others won't get irritating, oversized buttons is good enough for me. :)

BTW just realised that when you start a New game, you can't save it/load it with girl images, that have been placed in Directories. (admittedly this may just be a problem on my end) Also this folder scheme does not appear to work with random girls, only unique's.

I'll try and see if I can find the reason and possibly fix it, without making to much mess. ;D

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #88 on: August 11, 2011, 04:09:58 AM »
BTW just realised that when you start a New game, you can't save it/load it with girl images, that have been placed in Directories. (admittedly this may just be a problem on my end) Also this folder scheme does not appear to work with random girls, only unique's.

I'll try and see if I can find the reason and possibly fix it, without making to much mess.

Ack darn it. I thought I'd got it working properly, but I guess not. :-(

Offline Anon21

  • Full Member
  • ***
  • Posts: 244
Re: Interface changes and other misc. minor tweaks
« Reply #89 on: August 11, 2011, 04:57:27 AM »
OK, new version. It still doesn't do 'save/load' properly, but it should be closer to working. ^ ^; For download by anybody who might want to try fixing it.

WARNING! Bugged release. :-( New functionality does not work properly.

Download: http://www.uproda.net/down/uproda343097.zip.html