NickNo

Member
Modder
Jan 19, 2020
186
262
Your code could look something like that:
1580132729094.png

You should check the if and add the single conditions like Actor0.isNeightbour() etc...
In your original IF you were looking for a male neighbour with his mom / dad. (Actor1:age>Actor0:age)
 
Last edited:

vampire899

Newbie
Oct 30, 2019
77
30
Your code could look something like that:
View attachment 530947

You should check the if and add the single conditions like Actor0.isNeightbour() etc...
In your original IF you were looking for a male neighbour with his mom / dad. (Actor1:age>Actor0:age)
Your code only circularly extracts the male neighbor, and does not circularly locate whether his parent-child relationship is male or female, so the test fails
 

hazetrixstudio

New Member
May 30, 2018
9
11
hello guys
im just wondering if there is a possibility to extend the buildings type...i mean it would be more easier for modders to add actions and scenes for example: instead of GYM where you can build up your muscle and fitness, a new building like a Stadium would also give the same effect but the stadiums can differ...like football stadium,basketball stadium...maybe you know what i mean by "extended building types".
 

vampire899

Newbie
Oct 30, 2019
77
30
Your code could look something like that:
View attachment 530947

You should check the if and add the single conditions like Actor0.isNeightbour() etc...
In your original IF you were looking for a male neighbour with his mom / dad. (Actor1:age>Actor0:age)
As mentioned above, this is a dual cycle positioning. First, you need to locate a male neighbor who has a parent-child relationship, and then you need to locate that his parent-child relationship must be a parent-child relationship, that is, the parent-child relationship of this male neighbor must be female, and older than him. When you test this code, you only need to locate a known n with a parent-child relationship in a single cycle PC, even neighbors, may not be satisfied
 

vampire899

Newbie
Oct 30, 2019
77
30
It's finally done,The code logic full of bugs……
Now it's perfect
WHAT: all, -sleep, -nap
WHERE: home
WHEN: 0-24
WHO: Actor = getRelatedPeople(ParentChild)
OTHER: isAtHome() && masochist < 0

Actor0 = getSpecific(Neighbour)
While !Actor0.isMale()
Actor0 = getSpecific(Neighbour)
Endwhile
Actor1 = Actor0.getRelatedPerson(ParentChild)
While Actor1.isMale() && Actor0:age > Actor1:age
Actor1 = Actor0.getRelatedPerson(ParentChild)
Endwhile
If Actor1.isValid()
SceneStart()
 
  • Like
Reactions: NickNo

NickNo

Member
Modder
Jan 19, 2020
186
262
It's finally done,The code logic full of bugs……
Which code? ;)

Just some remarks:
Your While loops both can cause an infinite loop. Especially if you do not have any male neighbours or they do not have famale kids.

Add ActorN.isValid() to each of it. (ActorN will be invalid if you reach the end of the person list.)

The "WHO: Actor = getRelatedPeople(ParentChild)" in the head still is nonsense.

And: "If Actor1.isValid()" should check for Actor0 as well...
 

vampire899

Newbie
Oct 30, 2019
77
30
Which code? ;)

Just some remarks:
Your While loops both can cause an infinite loop. Especially if you do not have any male neighbours or they do not have famale kids.

Add ActorN.isValid() to each of it. (ActorN will be invalid if you reach the end of the person list.)

The "WHO: Actor = getRelatedPeople(ParentChild)" in the head still is nonsense.

And: "If Actor1.isValid()" should check for Actor0 as well...
Thanks for u remarks but That's enough :If Actor1.isValid() the Actor0.isValid() If the SceneStart() the Actor1.isValid() There is no dead cycle。At most, it will only loop in the background, but it will not affect the foreground. Instead, it will directly jump out of the event when the conditions are met
Finally, I want to say that I have passed the test
WHO: Actor = getRelatedPeople(ParentChild) ,In order to prevent neighbors without parent-child relationship,This is the main condition
 
Last edited:

Icebird

Member
Sep 22, 2017
313
221
Hi Guys!


I like the game much and the most community mods too! Many thx for the dev and the modders! \o/


I welcome the new NickNo's Porn Empire mod despite it's immature state. It was only a matter of time to someone accomplish it what i hoped.

For feedback:

- It's seems maybe need some optimizing (or what) because when i interact with their elements (example Business Report) the game freezing for long seconds, before its return the UI control.

- Some buyable equipment don't use my local country currency, instead display the default (USD?)

- it's unclear how to make someone model from my contactlist. One of them accept a shooting, but when i want another one he hasn't listable as a model (PEM)

- it's (personally) unclear how it work together with the other popular mods (like the pimpyourgirl, the dungeonmod) and the other similar (management like) mods or the official modules (mean pregnacy, and health related doings), but i hope it will


For idea (for all):

- as i see this mod isn't far from a "brothelmod" concept, where the protagonist can run and somewhat can manage a "girl house" (or a full redlight district ;) ), i hope someone add some simlar content too to the optionals in the future....

- (but in this basis can be a "gymmod", running a gym with staff (trainers, etc) and equipments...)

- good idea the building construction too (seen it a few post ahead), maybe it could be start in small: buy a plot, buy rooms (by numbers or dedicated functionality), expand plot, expand building level, etc. This leads the need of rethinking the home rentings (maybe with the neighbour system), the furnitures, and the apliances too (this time they're values only as i know)


Have nice day, have nice play!
 

vampire899

Newbie
Oct 30, 2019
77
30
Which code? ;)

Just some remarks:
Your While loops both can cause an infinite loop. Especially if you do not have any male neighbours or they do not have famale kids.

Add ActorN.isValid() to each of it. (ActorN will be invalid if you reach the end of the person list.)

The "WHO: Actor = getRelatedPeople(ParentChild)" in the head still is nonsense.

And: "If Actor1.isValid()" should check for Actor0 as well...
This is the final modified version of the code. It is already the most accurate character positioning of the game. There will be no more bugs without parent-child relationship or Father daughter relationship, and it will not jump out of the endless loop system error prompt. The only regret is that occasionally no one can be found. I have nothing to say about the code language logic of this game
WHAT: all, -sleep, -nap
WHERE: home
WHEN: 0-24
WHO:
OTHER: isAtHome() && masochist < 0

Actor0 = getSpecific(Neighbour)
If !Actor0.isValid()
SceneEnd()
Else
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Else
If Actor0.isMale()
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Else
While Actor1.isMale()
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Else
While Actor0:age > Actor1:age
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Endif
Endwhile
Endif
Endwhile
While Actor0:age > Actor1:age
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Else
While Actor1.isMale()
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Endif
Endwhile
Endif
Endwhile
Endif

If !Actor0.isMale()
While !Actor0.isMale()
Actor0 = getSpecific(Neighbour)
If !Actor0.isValid()
SceneEnd()
Else
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Else
While Actor1.isMale()
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Else
While Actor0:age > Actor1:age
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Endif
Endwhile
Endif
Endwhile
While Actor0:age > Actor1:age
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Else
While Actor1.isMale()
Actor1 = Actor0.getRelatedPerson(ParentChild)
If !Actor1.isValid()
SceneEnd()
Endif
Endwhile
Endif
Endwhile
Endif
Endif
Endwhile
Endif
Endif
If Actor1.isValid()
SceneStart()
 

Lostlegends

Active Member
Modder
Jul 9, 2017
592
1,159
vampire899
Glad you got it sorted. Probabily best next time to stick that in a spoiler, its quite a screenfull. The problem is that in general most games like this are not modable. Vinfamy has chosen to do the work, just to make it so that we can make mods. Yes the language is far from perfect, but it is getting better, and it alows us to expand the game in ways he probabily wouldnt think of and definatly wouldnt have time to do. Also everything here is a work in progress, and it is progressing unlike many games of this type.
 

MattShizzle

Well-Known Member
Oct 31, 2019
1,354
1,276
Yeah, every 2 weeks. Sadly, lots of games that go MONTHS without updates and even YEARS with no sex in the game have more patrons.
 

NickNo

Member
Modder
Jan 19, 2020
186
262
NickNo
Just a suggestion, but wouldnt it be polite to ask modders before posting there stuff elsewhere?
Yeah, well little late now. Really forgot to ask here in the forum. Only in discord. So other way round: Is it OK for you if I keep your Mods in the repository?
 
Last edited:

NickNo

Member
Modder
Jan 19, 2020
186
262
- It's seems maybe need some optimizing (or what) because when i interact with their elements (example Business Report) the game freezing for long seconds, before its return the UI control.
- Some buyable equipment don't use my local country currency, instead display the default (USD?)
- it's unclear how to make someone model from my contactlist. One of them accept a shooting, but when i want another one he hasn't listable as a model (PEM)
- it's (personally) unclear how it work together with the other popular mods (like the pimpyourgirl, the dungeonmod) and the other similar (management like) mods or the official modules (mean pregnacy, and health related doings), but i hope it will
Thanks for your feedback. That is very welcome!
1. The performance is a known issue. The modding API currently does not allow a faster implementation, but we are working on it.
2. The equpment display is in "ingame money" as I was to lazy to run the currency conversion on each price. :) - I will fix that.
3. You can only make someone a model if he/she is perverted enough (will agree immediately) or submissive enough (you can talk them into being a model).
4. Currently PE does not work together with other mods. It's a design decsision by me to stick to the base game. As soon as PE is out of Beta state I will look into useful links to other mods. ;-)

Your general Ideas could/should be implemented as own mods. Gym sounds interesting to me. Maybe I'll do that next if nobody else comes first.
 

Lostlegends

Active Member
Modder
Jul 9, 2017
592
1,159
Yeah, well little late now. Really forgot to ask here in the forum. Only in discord. So other way round: Is it OK for you if I keep your Mods in the repository?
Thats the point though. I have a release platform that works for me. What you have effectivly done is circumvent that by taken in development mods and posting them elsewhere. There are right ways to do these things. You could have created a mod draw in the roots dir or docs folder, you could have created a file assosciation to download straight from the net. By doing it your way it creates a dependance on an installer. Why would anyone even come to the forum or my release page, when they can just download and update from you?
My in development mods require this step, I require and use the feedback to develop and fix the mods and make them what the player wants. I use the likes to determine which mods get the most work! The way you have implemented your mod manager, is more of a mod hub. A central location that people go to, cutting out myself and this whole forum. As for discord I have very good personal reasons for not wanting NonCon stuff attached to my name on platforms such as that.
Your mod manager is great for you, but a negative for me due to the repository. It helps the user yes, as would a simple mods folder, that your manager unpacks from. The repository takes me out of the mod loop and is unnecessary and harmfull to the mod development.
Although I have no problem with finnished mods going elsewhere (With the exception of the dungeon mod). I see little point in developing mods, just to give them to you. I do it for the community, not for the benifit of your repository. So in answer to your question. No, not in its current format, unless they are marked as being finnished.
 

Lostlegends

Active Member
Modder
Jul 9, 2017
592
1,159
NickNo
Offended is a little strong. I do however do this for fun/relaxation believe it or not. Once a mod is finnished I have little to no interested in it, and I am quite willing too mark them on my page as (Final), So you can place them in your repository. Just not during development as I need the feedback. Currently the only real mod of mine that is Final is SugarDaddy++.
 
3.30 star(s) 117 Votes