More Awesome Than You!
Welcome,
Guest
. Please
login
or
register
.
2024 November 25, 05:56:36
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
SUPPORT THE MUNICIPALITY!
Have you destroyed a paysite today?
"Jelenedra" is the new "gay".
All Lythdans are stupid and suck!
DEATH TO ALL STUPID HAIRY-BELLIED NESSES!
All Kewians are stupid and suck! Accept no Kewian-based substitutes!
Clearly, BlueSoup has failed us! You must not! BlueSoup has a fat head!
Hobbsee has a
scrawny pencil neck.
Rohina the Ugly Butted is a Horny Turkey
540287
Posts in
18067
Topics by
6545
Members
Latest Member:
cincinancy
More Awesome Than You!
TS3/TSM: The Pudding
Pudding Factory
The Birth Control Mirror
0 Members and 1 Chinese Bot are viewing this topic.
« previous
next »
Pages:
1
[
2
]
3
4
5
Author
Topic: The Birth Control Mirror (Read 129765 times)
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #25 on:
2009 August 30, 23:45:44 »
Quote from: twallan on 2009 August 30, 23:08:25
You are not using an EventListener to handle birth announcements?
It appeared to me, that all this stuff is adding the Gossip to the active Sim, too, and I didn't see a way to avoid that. So, yes, I'm not using an EventListener right now.
Logged
twallan
Blathering Buffoon
Posts: 50
Re: The Birth Control Mirror
«
Reply #26 on:
2009 August 31, 00:49:51 »
Quote from: Buzzler on 2009 August 30, 23:45:44
It appeared to me, that all this stuff is adding the Gossip to the active Sim, too, and I didn't see a way to avoid that. So, yes, I'm not using an EventListener right now.
I'm simply pointing out an example of use.
My suggestion is create your own listener in your mod and do whatever you want in the callback function. Namely display a notification of the birth.
Cheers.
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #27 on:
2009 August 31, 14:38:29 »
Quote from: twallan on 2009 August 31, 00:49:51
My suggestion is create your own listener in your mod and do whatever you want in the callback function. Namely display a notification of the birth.
Oh, boy, is it just me, or did this conversation just take an embarrassing turn? Like a million voices suddenly raising in laughter, and a single voice becoming silent in embarrassment?
Just two klicks more and it would have been obvious... in my defense: This stuff is pretty voluminous, and it's easy to get on the wrong track, at least if you got roughly a week of experience on your shoulders.
Well, on the other side, I could have looked at your code, too... speaking of which: I've seen a lot of checks in your code after using SimDescription.CreatedSim. Can this actually return a null value, unless something's seriously borked?
Logged
twallan
Blathering Buffoon
Posts: 50
Re: The Birth Control Mirror
«
Reply #28 on:
2009 August 31, 23:42:45 »
Quote from: Buzzler on 2009 August 31, 14:38:29
Just two klicks more and it would have been obvious... in my defense: This stuff is pretty voluminous, and it's easy to get on the wrong track, at least if you got roughly a week of experience on your shoulders.
Well, on the other side, I could have looked at your code, too... speaking of which: I've seen a lot of checks in your code after using SimDescription.CreatedSim. Can this actually return a null value, unless something's seriously borked?
Sims, such as homeless and Service NPCs, which are NOT currently out and about in town will have a CreatedSim == null .
Cheers.
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #29 on:
2009 September 01, 14:45:06 »
Updated to Version 5. See first post for changes.
I think, I consider this thing done for now. So unless there are bug reports, or something is in need of additional tweaking, or there's a request which
really
intrigues me, I'll spend my time on something else, maybe a different mod that is haunting my thoughts, or maybe I actually play the game myself a little...
Quote from: twallan on 2009 August 31, 23:42:45
Sims, such as homeless and Service NPCs, which are NOT currently out and about in town will have a CreatedSim == null .
Good to know. Queries.GetObjects<Sim>() gets
all
Sims, right? If not, my backup method is useless...
Logged
doyze
Tasty Tourist
Posts: 2
Re: The Birth Control Mirror
«
Reply #30 on:
2009 September 01, 15:46:46 »
Thank you Buzzler for this mod.
I have a question though: I had problems with my last game that NO babies were born at all anymore so I stopped playing that and started a new game. I removed all the cc (except Standalone Computer and nomosaic(can't stand the blur)) to test if its the cc. The stroy progression was slow but sims were at least moving into town. No marriages or babies though. Then I put this mod in (second version available). I did not pollinate anybody nor did I turn the Sustain-o-Mat on. After playing a while one of the NPC sims that was already married had a baby (can't remember which on). Then Blaire Wainwright even got married and pregnant and Pauline Wan also got pregnant. By now I had version 4 of your mod in my game. I configured the Sustain-o-Mat to be inactive for all options and the the mode thing was on gentle. I'm using it only for informational reasons (as I do the Supercomputer)
Now to my question: Has the babies being born have anything to do with your mod (with everything being off) or is the EA Story Progression actually working now and it was an issue of my old save game that I didn't have anything happening ?
Logged
lg
Doyze
twallan
Blathering Buffoon
Posts: 50
Re: The Birth Control Mirror
«
Reply #31 on:
2009 September 01, 15:49:20 »
Quote from: Buzzler on 2009 September 01, 14:45:06
Good to know. Queries.GetObjects<Sim>() gets
all
Sims, right? If not, my backup method is useless...
It gets all instantiated sims, yes. It won't get all the SimDescriptions in town, unless all the residents are currently instantiated.
Non-homeless should be instantiated all the time, unless some bug accidentally disposed of them. Or they happen to be a toddler left at home without a babysitter.
Good Day.
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #32 on:
2009 September 01, 16:15:39 »
Quote from: doyze on 2009 September 01, 15:46:46
Now to my question: Has the babies being born have anything to do with your mod (with everything being off) or is the EA Story Progression actually working now and it was an issue of my old save game that I didn't have anything happening ?
I cant't tell you what the EAxis Storymode does, because I don't know. I
can
tell you, though, that this mod doesn't do anything unless you activate Sustain-o-Mat or Pollinate Sims manually. Even if there were some sort of blunderous bug in there, causing the Sustain-o-Mat to be active all the time (and I guess someone would have noticed by now), you'd still see the corresponding notifications.
Quote from: twallan on 2009 September 01, 15:49:20
It gets all instantiated sims, yes. It won't get all the SimDescriptions in town, unless all the residents are currently instantiated.
Ok, I guess if someone manages to form a valid Romance or partnered relationship to an uninstantiated Sim, he deserves to encounter script errors or one of my "Something's seriously borked. You should panic now!" messages.
Logged
doyze
Tasty Tourist
Posts: 2
Re: The Birth Control Mirror
«
Reply #33 on:
2009 September 01, 17:34:16 »
Thanks ! Than my story progression actually seems to work for now. I have not gotten any corresponding notifications.
Logged
lg
Doyze
tjstreak
Asinine Airhead
Posts: 27
Re: The Birth Control Mirror
«
Reply #34 on:
2009 September 22, 21:30:45 »
I have played around with this for a while now. It does seem to lead to an ever increasing population. When I had over 200 sims, I had to cull the neighborhood manually, moving out a number of families. I found at this point, sims would gather in places like the City Hall where the Grim Reaper would have a mass reaping.
This may be due in part to the SLAM lifespan package, which I installed (centi - Real Life).
As a result, I have turned off the automatic feature. I do pollinate manually. I check the population on a fairly regular basis and have been trying to maintain it at 90. (This still may be on the high side, but it is a darn sight better than 200+!) When the number of sims falls below this number, I manually pollinate a sim.
This might actually be a more simple formula for maintaining a population. A sim dies -- another sim gets pollinated. Since sims tend to have a fairly constant life span, it should keep things somewhat in proportion. However, if one of my played sims gets preggers, I probably would let the system go wild to boost the population of similarly aged sims. After the infant ages up, I would just let the population decline back to the target number.
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #35 on:
2009 September 25, 17:03:15 »
Quote from: tjstreak on 2009 September 22, 21:30:45
I have played around with this for a while now. It does seem to lead to an ever increasing population.
Your population size started at 90 and then increased to 200? How long did this take? How did the amount of fertile adults develop?
Quote
This may be due in part to the SLAM lifespan package, which I installed (centi - Real Life).
I'm not absolutely sure about it, but this shouldn't be the case. All calculations are based on the actual values.
Quote
This might actually be a more simple formula for maintaining a population. A sim dies -- another sim gets pollinated.
This would work, yes, but to me this awfully smells like cheating. Nevertheless, if you really want, I can implement something like that. You'd have to test it, though, 'cause I really lost interest in TS3 in the meantime; I didn't play more than an hour after releasing V5. That's why it took me so long to answer and why there's no other mod from me.
Logged
Finiksa
Tasty Tourist
Posts: 3
Re: The Birth Control Mirror
«
Reply #36 on:
2009 September 29, 13:47:55 »
Would it be possible to have the options to specify a sim to be pollinated by a random male, and to be able to specify a sim that will pollinate a random female?
Sometimes I have a sim that is either near the end of their fertility or life and want them to have one more kid beforehand, but would prefer not to choose the partner all the time.
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #37 on:
2009 October 04, 09:18:00 »
Quote from: Finiksa on 2009 September 29, 13:47:55
Would it be possible to have the options to specify a sim to be pollinated by a random male, and to be able to specify a sim that will pollinate a random female?
Well, technically that would be possible, but I don't really see how that would be useful. If you specifically pick the mommy, it can't be that much of a hassle to pick the daddy too. To pick the daddy first might be useful - although it might be sexist and seems kinda weird to me - but since I'd have to boot up my cerebrum to do that, I want a petition of at least three people who claim they would find that useful.
Logged
LVRugger
Horrible Halfwit
Posts: 368
Re: The Birth Control Mirror
«
Reply #38 on:
2009 October 04, 10:57:28 »
I, for one, would find that useful. This is my current way to have a male impregnate a female:
- Use Twallan's computer to pick a female (no partner, no kids, right age group), selected at semi-random
- Pick the male I want
- Inseminate using that computer
Using your mirror to pick a random female for my chosen male would make the process a little easier and more random for me.
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #39 on:
2009 October 10, 21:45:52 »
Wanted to release that a lot earlier (the stuff about the petition was actually a joke), but I was low on time, low on mood, and high on migraine for the last week.
Updated to Version 6. See first post for changes.
'Sustain-on-Death' is the sustaining method outlined by tjstreak. I added a counter for births and deaths, so SoD only auto-pollinates Sims if there are more deaths than births. The configuration of Sustain-o-Mat applies to Sustain-on-Death too. Like announced this one is pretty much untested, because I simply don't feel like playing the game for a couple of hours to see if it really does what it's meant to do. And it's still too cheaty for my taste.
Be aware that 'Second Victim - Random' really means random. Unlike in 'Sustain-o-Mat' there's no bias towards closer releationships!
Logged
Finiksa
Tasty Tourist
Posts: 3
Re: The Birth Control Mirror
«
Reply #40 on:
2009 October 13, 01:58:54 »
Quote from: Buzzler on 2009 October 10, 21:45:52
Wanted to release that a lot earlier (the stuff about the petition was actually a joke), but I was low on time, low on mood, and high on migraine for the last week.
Updated to Version 6. See first post for changes.
'Sustain-on-Death' is the sustaining method outlined by tjstreak. I added a counter for births and deaths, so SoD only auto-pollinates Sims if there are more deaths than births. The configuration of Sustain-o-Mat applies to Sustain-on-Death too. Like announced this one is pretty much untested, because I simply don't feel like playing the game for a couple of hours to see if it really does what it's meant to do. And it's still too cheaty for my taste.
Be aware that 'Second Victim - Random' really means random. Unlike in 'Sustain-o-Mat' there's no bias towards closer releationships!
Just had the opportunity to play again and had an elderly guy knock up some female before death. Thanks so much! I would've understood if you weren't joking but grateful that you were
Thanks again!
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #41 on:
2009 October 13, 16:15:29 »
Quote from: Finiksa on 2009 October 13, 01:58:54
Just had the opportunity to play again and had an elderly guy knock up some female before death.
I didn't really dig into the .DLLs to find out what
exactly
happens when Sims die, i.e. whether or not they get deinstantiated. Since you explicitly wanted to have old folks spread their genes before dying, I didn't install any sanity checks on how far a Sim might be on the edge. At any rate if the prospective father gets deinstantiated during the pregnancy, the offspring will have no father at all. (Parthenogenesis, yay! I wonder if this is what happened to Jesus' daddy...)
Since this is due to the (totally hare-brained) way the EAxis devs have implemented pregnancies, there isn't anything anyone can do about it. Well, actually it could be changed by a core mod, but I'd consider that awfully risky.
Logged
Buckets
Asinine Airhead
Posts: 6
Re: The Birth Control Mirror
«
Reply #42 on:
2009 October 14, 09:37:52 »
My BCM isn't working. I can set configuration settings which always provides confirmation of the changes, but nothing else works. Pollination commands do nothing. Even selecting 'Raw Data' does nothing. I only have ASM and Supercomputer mods installed. (I had others but after removing them all, there was no change.) The only other thing wrong in my game is that my pregnant Sim did not change to maternity clothes nor showed an enlarged belly, but the pregnancy proceeded normally otherwise. Does this mean that my game is borked in general and your mirror is not broken?
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #43 on:
2009 October 14, 16:49:56 »
Quote from: Buckets on 2009 October 14, 09:37:52
My BCM isn't working. I can set configuration settings which always provides confirmation of the changes, but nothing else works. Pollination commands do nothing. Even selecting 'Raw Data' does nothing.
Is twallan's supercomputer actually working without showing any oddities? If so, maybe the BCM file you downloaded, is simply borked. I'd suggest redownloading for starters.
If the mod file is ok, this is pretty bad, because it's almost definitely due to script errors preventing the code from being (further) executed. There's a slight chance, it's caused by a rare "constellation" in your game I didn't anticipate, but I doubt it. Especially
Raw Data
doesn't do anything sophisticated, so my guess is, that there are some dangling references in you game (i.e. non-null and invalid at the same time). That would be bad. Make that really, really bad.
If you upload your save file, I'll have a look at it.
Logged
Buckets
Asinine Airhead
Posts: 6
Re: The Birth Control Mirror
«
Reply #44 on:
2009 October 14, 19:43:44 »
Quote from: Buzzler on 2009 October 14, 16:49:56
Quote from: Buckets on 2009 October 14, 09:37:52
My BCM isn't working. I can set configuration settings which always provides confirmation of the changes, but nothing else works. Pollination commands do nothing. Even selecting 'Raw Data' does nothing.
Is twallan's supercomputer actually working without showing any oddities? If so, maybe the BCM file you downloaded, is simply borked. I'd suggest redownloading for starters.
If you upload your save file, I'll have a look at it.
Yes, twallan's supercomputer works fine. I redownloaded the BCM file with no change unfortunately.
So, there's a save file uploaded for you at
http://ftp://ftp.kludgemush.com/incoming/
called BorkedBCM.zip. My population was on a downward spiral so I ended up pollinating all females in a relationship using the supercomputer. I need your tool to keep it going. I don't know why ASM alone is not keeping my population going.
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #45 on:
2009 October 14, 23:38:00 »
Updated to Version 6.1. Please redownload, because the squished bug existed at least since V2.
@Buckets: You could have warned me that the composition of colors on the active lot is quite ... unusual.
There definitely was a bug in the code, but it's fixed and should work now. I'm a little confused though that this didn't come up earlier. What I can't say for sure is whether or not your 'hood had anything to do with it, i.e. if it is completely free of borkedness.
Logged
Buckets
Asinine Airhead
Posts: 6
Re: The Birth Control Mirror
«
Reply #46 on:
2009 October 15, 05:03:46 »
Quote from: Buzzler on 2009 October 14, 23:38:00
@Buckets: You could have warned me that the composition of colors on the active lot is quite ... unusual.
Lol. The colours in all the rooms are based on the occupants' favourite colours. I agree, it looks outlandish but they love it!
Thanks for looking at this issue and fixing it. I can't test it because my desktop just completely crashed. Can't wait though.
Logged
Buckets
Asinine Airhead
Posts: 6
Re: The Birth Control Mirror
«
Reply #47 on:
2009 October 17, 23:21:04 »
I've got the new v6.1 and it works great! Thanks. But I put a mirror (with the birth notification active) in one household, switched to another and bought a mirror for it. Then I set the birth notification to active on it. Now I get two messages for each birth.
Logged
Buzzler
Dimwitted Dunce
Posts: 187
Re: The Birth Control Mirror
«
Reply #48 on:
2009 October 18, 08:04:11 »
Quote from: Buckets on 2009 October 17, 23:21:04
Then I set the birth notification to active on it. Now I get two messages for each birth.
Looking at my code I see that I forgot a couple of static modifiers (Yeah, well, it was my first encounter with C# and object oriented programming.). That means variables which were meant to be global for all BCMs are actually unique for every BCM, so it's possible to add the BirthListener multiple times. I will look into it; I might as well simply revamp the whole thing into an object-less mod.
Logged
Baroness
witch
Breakfast of Champions!
Senator
Posts: 11636
Shunning the accursed daystar.
Re: The Birth Control Mirror
«
Reply #49 on:
2009 October 18, 08:16:40 »
I keep reading this thread title as 'The Birth Canal Mirror'.
Logged
My fists are named Feminine and Wiles.
Pages:
1
[
2
]
3
4
5
« previous
next »
Jump to:
Please select a destination:
-----------------------------
TS4: The Pee-ening
-----------------------------
=> Insert Amusing Name Here
=> Facts and Strategery
-----------------------------
TS3/TSM: The Pudding
-----------------------------
=> The World Of Pudding
=> Facts & Strategery
=> Pudding Factory
===> World of Puddings
===> Pudding Plots
-----------------------------
TS2: Burnination
-----------------------------
=> The Podium
===> Oops! You Broke It!
=> The War Room
=> Planet K 20X6
===> Building Contest of Awesomeness
=> Peasantry
===> Taster's Choice
-----------------------------
The Bowels of Trogdor
-----------------------------
=> The Small Intestines of Trogdor
=> The Large Intestines of Trogdor
-----------------------------
Awesomeware
-----------------------------
=> TS4 Stuff
=> Armoire of Invincibility
===> AwesomeMod!
=> The Armory
===> Playsets & Toys
===> The Scrapyard
-----------------------------
Darcyland
-----------------------------
=> Lord Darcy Investigates
-----------------------------
Ye Olde Simmes 2 Archives: Dead Creators
-----------------------------
=> Ye Olde Crammyboye Archives
=> Ye Olde Syberspunke Archives
-----------------------------
Serious Business
-----------------------------
===> Spore Discussions
Loading...