Monday, May 26, 2014

... happens. :)

I even can't decide how to determine all this, but it's a one big source of the experience for me - this is for sure. Beginning of rewrite scripting support is caused chain reaction of needed changes in the my sources. This is very good sample of  HOW IT"S SHOULD NOT BE DONE. Always do planning about "what if I need to scale it later?" I don't do it in the initial part of my code, and this is my price payed for it now. My only excuse - I not written anything with mutithreading before, and has zero experience and knowledge about it.

Well... I managed to wipe most of the old single thread rubbish from the code, and it's begins to look like I will manage to get it all back and running without breaking compatibility with content resources that already in the game. At least on this side I managed to do a good enough planning. :) About optimization - I really not sure if it will be much faster, but at least it will not create strange hard to repeating errors caused by the concurrent access to variables anymore. (Yes, they usually not break anything serious before, but they still been here.)

Current state - still working at it, but already get things under control. Feeling easier now.:)

13 comments:

  1. Goodluck, buddy! Try not to let it get to you. I'm sure you'll be fine. Thank you for what you've offered so far <3

    ReplyDelete
    Replies
    1. Thank you for encouragement, it's helping too. :)

      Delete
  2. Did a bit of playing around with the milk maid, she REALLY doesn't like being a milk maid. Perhaps her lewdness isn't properly attached to it? Either way,

    I have my character pumped up to silly numbers, (1000 max tiredness) and after a single milkmaid session in the night she goes to 500 tiredness, the log complains "too tired!" repeatedly and her mood is decreased. Seems like it's going off percentages.

    ReplyDelete
    Replies
    1. Some hints:
      1. Night is a best time for the rest. Throught one night shift character rest better, then through at least two daytime shifts.

      2. Milking generate tiredness proportionally to milk ammount. This can be compensatend by high END stat - it add to the maximum tiredness level that character can endure.

      3. Any task in shedule is overrided by the using proxy with this character.

      4. Arousal level affect rest and sleep quality. Milking can generate arousal in lewd characters.

      Delete
    2. hm, interesting. so 80,000 ml at 400 End still = Too tired. but good to know about the rest, I had her Milking Day and night, and having her rest morning and evening.

      It would likely be beneficial to make a note on the Rest task that "Rest is more effective at Night", yeah it should seem obvious but hey, if I missed it someone else might too.

      Delete
    3. If you look in logbook of characters, you will see that night report is about sleeping, not just resting. :)

      80000 ml - it's 80 litters. VERY much. For example, in the RL best of the prise cows can give only around 23-25 litters in a day. Normal cows - around 10-15 litters. And also take mention of the ratio between cow body mass and the milk quantity.

      In the game world it's a general rule - going significal out of the borders of things possible in the RL need magic or technomagic intervention/helping.

      Delete
  3. Hi,

    I am trying to do some scripting, but I run into troubles. I am having what I believe is the last published version 0.97p6.

    Problem: When I use simple tags in an script output, the script will not execute. I am attaching the script:

    gw = proxy.getStat("generic.lewdness");
    if(gw < 35){
    LustShame(35, 35);
    MoodShame(55);
    "[Proxy] felt very uncomfortably cleaning [hisher] ass. It definitely does not make [himher] feel better and [himher]

    arousal lowered considerably.";
    }else if(gw > 35 && gw < 55){
    LustShame(55, 5);
    MoodShame(55);
    "[Proxy] is getting more comfortably with the procedure, but is it still far from being pleasant. [HeShe] starts to

    understand the benefits and the drop in [hisher] mood and lust is much smaller";
    }else if(gw > 55 && gw < 80){
    LustShame(55, 10);
    MoodShame(55);
    "[Proxy] is used to the procedure, leaving no unpleasant feelings on [hisher] mind. [HeShe] fully appreciate all the

    benefits from maintaining a standard of hygiene, whether for health or pleasure. ";
    }else if(gw > 80){
    LustShame(55, 15);
    MoodShame(55);
    "[Proxy] is enjoying the ritual, slowly teasing her anal ring with a soft wet sponge. [HeShe] can feel [hisher] blood

    pressure to rise and the hearth rate to increase. Not only is this a useful procedure, but it gives pleasure too! ";
    }else{"";}

    thanks

    ReplyDelete
    Replies
    1. To make it simple:

      This script is not working:
      "bbb [proxy]";

      This script is working:
      "bbb proxy";

      Delete
    2. Simple tags can't be used inside normal sripts - they are for normal text only. Technicaly simple tag is a macro for fully ready to use sciprt even with the <%%> symbols. Also symple tags parsed before actual script parsing. Example: [proxy] -> <%proxy.getName();%> -> "Lisa"

      If you write normal script, you need to use only script language, and not simple tags.

      Delete
    3. Thanks for the quick response, that did help ;-)

      Hopefully the extensions will work in the new version too...

      Delete
  4. as time advances so to do our advances, you game is no exception. what you have created Is a marvelous wooden kingdom, but know its time to tare away the wood planks and rebuild it with chiseled gray stone. the work will be hard and tedious, and this will not be the last time it is done, but your efforts will prove to be glorious as you gaze upon your new Kingdome, and the new and numerous possibilities to expand it.
    God Speed.

    ReplyDelete
    Replies
    1. But don't build at night, Creeper's suck and skeleton arrows'll knock you off your walls your building.

      Delete