devolution

Author Topic: Job ratings  (Read 4941 times)

0 Members and 1 Guest are viewing this topic.

Offline lucasosik

  • Newbie
  • *
  • Posts: 4
Job ratings
« on: February 10, 2016, 07:06:10 AM »
Hi.
I create girl of max stats in editor game.(refinement, morality and dignity too) but if girl work she dont have job rate "i".
I have girl which have all job rate "i". This is possible? My girl in game 80 years work in massuasse or whore but she never rate "i" this is bug?(sorry  for my english)

Offline aevojoey

  • Hero Member
  • *****
  • Posts: 1413
  • Thats ok, I'm used to disappointment.
Re: Job ratings
« Reply #1 on: February 10, 2016, 10:04:29 AM »
Hi.
I create girl of max stats in editor game.(refinement, morality and dignity too) but if girl work she dont have job rate "i".
I have girl which have all job rate "i". This is possible? My girl in game 80 years work in massuasse or whore but she never rate "i" this is bug?(sorry  for my english)
Job rating is a sum of stats, skills and traits.
I originally added "I" in for the security/combat jobs because the "Incorporeal" trait gives +100 to those jobs.
With only stats and skills with no traits, the max is 200 giving her an "A" rating.
To get "S" she would need a few traits to boost it up 45 more points and for "I" she would need a lot of traits to boost it up 150 points.
Not all jobs have enough traits coded in to give 150 total points.

Here is how the letters are gotten in the code:
Code: [Select]
string sGirl::JobRatingLetter(double value)
{
    /* */if (value < -500)        return "X    ";    // Can not do this job
    else if (value == 0)        return "0    ";    // Bad input
    else if (value >= 350)        return "   I  ";    // Incomparable
    else if (value >= 245)        return "  S  ";    // Superior
    else if (value >= 185)        return " A   ";    // Amazing
    else if (value >= 145)        return "B    "; // Better
    else if (value >= 100)        return "C    ";    // Can do it
    else if (value >= 70)        return "D    ";    // Don't bother
    else                        return "E    "; // Expect Failure
}
Fixing the game is a better game than actually playing it.
Get the Current Version <|> Discuss the Game <|> Report a bug

Offline lucasosik

  • Newbie
  • *
  • Posts: 4
Re: Job ratings
« Reply #2 on: February 10, 2016, 06:40:15 PM »
Job rating is a sum of stats, skills and traits.
I originally added "I" in for the security/combat jobs because the "Incorporeal" trait gives +100 to those jobs.
With only stats and skills with no traits, the max is 200 giving her an "A" rating.
To get "S" she would need a few traits to boost it up 45 more points and for "I" she would need a lot of traits to boost it up 150 points.
Not all jobs have enough traits coded in to give 150 total points.

Here is how the letters are gotten in the code:
Code: [Select]
string sGirl::JobRatingLetter(double value)
{
    /* */if (value < -500)        return "X    ";    // Can not do this job
    else if (value == 0)        return "0    ";    // Bad input
    else if (value >= 350)        return "   I  ";    // Incomparable
    else if (value >= 245)        return "  S  ";    // Superior
    else if (value >= 185)        return " A   ";    // Amazing
    else if (value >= 145)        return "B    "; // Better
    else if (value >= 100)        return "C    ";    // Can do it
    else if (value >= 70)        return "D    ";    // Don't bother
    else                        return "E    "; // Expect Failure
}

[/size][/color]Thank You for your answer. And where do i find out what traits adds or remove skillpoints(statistics too) and what influence(affected)? This game has a lot of traits but i dont know what the statistics and skills are affected. Maybe there the file where i read about this traits? I hope the question is understandable i learn english ;)[/font]

Offline aevojoey

  • Hero Member
  • *****
  • Posts: 1413
  • Thats ok, I'm used to disappointment.
Re: Job ratings
« Reply #3 on: February 10, 2016, 11:07:07 PM »
Thank You for your answer. And where do i find out what traits adds or remove skillpoints(statistics too) and what influence(affected)? This game has a lot of traits but i dont know what the statistics and skills are affected. Maybe there the file where i read about this traits? I hope the question is understandable i learn english ;)
If you look in the source code at the files that start with "Work" at the bottom is a section "cJobManager::JP_" and the job name.
Most jobs have the stat and skills first then a list of trait checks that add to the total.
There are some jobs that do it a different way so you may have to look in the upper part of the work file to find the traits.
Some of the newer jobs have not been updated with this method yet.
Fixing the game is a better game than actually playing it.
Get the Current Version <|> Discuss the Game <|> Report a bug

Offline lucasosik

  • Newbie
  • *
  • Posts: 4
Re: Job ratings
« Reply #4 on: February 11, 2016, 07:20:54 AM »
If you look in the source code at the files that start with "Work" at the bottom is a section "cJobManager::JP_" and the job name.
Most jobs have the stat and skills first then a list of trait checks that add to the total.
There are some jobs that do it a different way so you may have to look in the upper part of the work file to find the traits.
Some of the newer jobs have not been updated with this method yet.


But i dont have any file of name "work" ;) I downloaded whore master 1.60.4 mayby this version dont this file.

Offline aevojoey

  • Hero Member
  • *****
  • Posts: 1413
  • Thats ok, I'm used to disappointment.
Re: Job ratings
« Reply #5 on: February 11, 2016, 01:15:48 PM »
The work files are in the source code https://github.com/crazywm/crazys-wm-mod/tree/master/%20crazys-wm-mod
You can look for the work files there and see what does what.
The source code is the files used to make the game, they get processed and made into the exe file of the game.
Fixing the game is a better game than actually playing it.
Get the Current Version <|> Discuss the Game <|> Report a bug

Offline lucasosik

  • Newbie
  • *
  • Posts: 4
Re: Job ratings
« Reply #6 on: February 11, 2016, 08:17:49 PM »
The work files are in the source code https://github.com/crazywm/crazys-wm-mod/tree/master/%20crazys-wm-mod
You can look for the work files there and see what does what.
The source code is the files used to make the game, they get processed and made into the exe file of the game.


Thank You very much ;) i have no more questions l)