Jump to content

Recommended Posts

Posted

 

 

 

egon, take a look inside my db File and you you can see, Bär = Baer. JContainer nimmt wohl keine Umlaute.

 

Waree,

 

Your database fails three json validation tests, not to mention its out of date (uses the wrong tag names).

 

Sure gooser. My db File is from 15.march this year and at this time the Validation was ok. I think this was your first relaese from Apropos. :)

 

Understand. No problem. A lot has changed since March!

 

Did you mean to say that generally Umlauts were causing you problems back then?

From what i see - not all files are UTF-8 encoded. Just re-saved files in UTF-8 and json-validator errors are gone

@WaxenFigure - thanks for hint!

 

There are few utf8 encoding formats. Text editors recognize all, but JC recognizes plain utf8 (there is utf8 with BOM also)

Posted

Umlaute was a small Problem. You can write ä = ae, ö = oe and ü = ue. This understand all german speaking People.

 

That works except when Skyrim itself is providing the name - and uses umlautes.

Posted

sorry it take a moment. I did make a log for every variant and ziped it, too.

 

Used the default db -> "db crash"

{actor} to Höhlenbär -> db no massage"

{actor} to bear -> "db works"

 

all contains bear folder and logs

 

Just changed 1person for Consensual. So no change in 2. and 3. person and rape.

Used was 80 characters. except of the last attempt in the "works" version, because he didnt choose massages that contains bear and have to be braked. Set it to 70 there.

 

 

Could it maybe an issue with an c++ Redistributable ?

 

Will make a screenshot on my installed. Using Win7 64

 

db crash.rar

db No massage.rar

db works.rar

Posted

Just installed Apropos, I'm wondering if I'm getting some sort of conflict with another mod or if this is how it is supposed to act. I have SL Aroused along with the SL Framework and Radiant Prostitution...My Character did some work at both Inn's in Whiterun then finished and left The Bannered Mare and fast traveled to Riverwood, upon entering the town gates the entire town went batshit crazy on her trying to kill her, which they did....three times before I finally did a TGM and tried to figure out what the heck set them off. I heard someone say "Your Kind aren't wanted in skyrim", the funny thing is, She's Nord. I checked in her spell effects page and almost everything on the page was negative (in the red). so I'm guessing Apropos is working (all the things in red I assume are wear and tear)  but is it supposed to effect faction/crime or whatever as well? 

 

From OP:

 

KNOWN INCOMPATIBILITIES

 

- Radiant Prostitution, which also bundles JContainers might conflict. Any other mod that uses JContainers, but at a different API version (e.g. 0.67 vs 3.x)

Posted

sorry it take a moment. I did make a log for every variant and ziped it, too.

 

Used the default db -> "db crash"

{actor} to Höhlenbär -> db no massage"

{actor} to bear -> "db works"

 

all contains bear folder and logs

 

Just changed 1person for Consensual. So no change in 2. and 3. person and rape.

Used was 80 characters. except of the last attempt in the "works" version, because he didnt choose massages that contains bear and have to be braked. Set it to 70 there.

 

 

Could it maybe an issue with an c++ Redistributable ?

 

Will make a screenshot on my installed. Using Win7 64

 

I don't have time right now to verify, but what Earendil has said is probably correct, when you edited the default db and replaced the token with the german word for bear with Umlauts, you probably saved the file using a file encoding other than UTF-8. That is causing the validation errors you see in Apropos0.log. Try to re-edit those files and save the file with UTF-8 encoding.

 

I haven't looked at the other databases yet, and I am super busy now.

Posted

I don't have time right now to verify, but what Earendil has said is probably correct, when you edited the default db and replaced the token with the german word for bear with Umlauts, you probably saved the file using a file encoding other than UTF-8. That is causing the validation errors you see in Apropos0.log. Try to re-edit those files and save the file with UTF-8 encoding.

 

 

I haven't looked at the other databases yet, and I am super busy now.

 

 

It's okay, dont worry :) I'm glad you are helping but you dont have to hurry :)

 

Yeah, he saved it in ascii. Opened it new in Notepad++ and did it new under UTF-8.

Still the same. But maybe I miss something. My coding skills are not that good after all and to many possibilities to make an mistake ^^ Wasn't aware of that UTF-8 after all.

Think its not that important after all. Was just to redone your test to see what happens and got an unexpected result.

Think that dont have to do with my actual problem at all.

 

Would be nice if someone with a german version can confirm that it works for him. 

 

Thank you both so far :)

 

Edith:

UTF-8 without BOM does the trick.

Aaaannndd... no crash! Segmentation with umlauts! oO 

So if it use "Höhlenbär" instead of {active} it works.

(Its basically the "db no massage.zip" db with "UTF-8 without BOM" encoding)

 

And yes, dont hurry :) just want to provide information :)

db UTF-8 works.rar

Posted

 

Just installed Apropos, I'm wondering if I'm getting some sort of conflict with another mod or if this is how it is supposed to act. I have SL Aroused along with the SL Framework and Radiant Prostitution...My Character did some work at both Inn's in Whiterun then finished and left The Bannered Mare and fast traveled to Riverwood, upon entering the town gates the entire town went batshit crazy on her trying to kill her, which they did....three times before I finally did a TGM and tried to figure out what the heck set them off. I heard someone say "Your Kind aren't wanted in skyrim", the funny thing is, She's Nord. I checked in her spell effects page and almost everything on the page was negative (in the red). so I'm guessing Apropos is working (all the things in red I assume are wear and tear)  but is it supposed to effect faction/crime or whatever as well? 

 

From OP:

 

KNOWN INCOMPATIBILITIES

 

- Radiant Prostitution, which also bundles JContainers might conflict. Any other mod that uses JContainers, but at a different API version (e.g. 0.67 vs 3.x)

 

I've installed radiant prostitution and then Apropos (+ jcontainers 3) over the top of it and it seems to work okay for me. I don't know what RP is doing with jcontainers or how it all works, but it seems to go fine with a newer version.

Posted

 

 

Just installed Apropos, I'm wondering if I'm getting some sort of conflict with another mod or if this is how it is supposed to act. I have SL Aroused along with the SL Framework and Radiant Prostitution...My Character did some work at both Inn's in Whiterun then finished and left The Bannered Mare and fast traveled to Riverwood, upon entering the town gates the entire town went batshit crazy on her trying to kill her, which they did....three times before I finally did a TGM and tried to figure out what the heck set them off. I heard someone say "Your Kind aren't wanted in skyrim", the funny thing is, She's Nord. I checked in her spell effects page and almost everything on the page was negative (in the red). so I'm guessing Apropos is working (all the things in red I assume are wear and tear)  but is it supposed to effect faction/crime or whatever as well? 

 

From OP:

 

KNOWN INCOMPATIBILITIES

 

- Radiant Prostitution, which also bundles JContainers might conflict. Any other mod that uses JContainers, but at a different API version (e.g. 0.67 vs 3.x)

 

I've installed radiant prostitution and then Apropos (+ jcontainers 3) over the top of it and it seems to work okay for me. I don't know what RP is doing with jcontainers or how it all works, but it seems to go fine with a newer version.

 

 

From what I understand from Earendil a version of RP had to be recompiled against the latest JC 3.0+, similar to what I had to do a week ago. I'm not sure if the main download link contains that newly recompiled archive - or if its just an attachment in the thread somewhere.

Posted

 

 

 

 

Bug report (that may have been reported by others before):
 
A horse just said to me:
(Horse) A virgin, eh? Time to become a woman!
I was not a virgin (had sex a few times before), and horses can't talk... can they?

 

 

Unfortunately, I really need an Apropos0.log with debug and trace turned on when this happens.

 

Eek... gone, so no dice...

I'll turn logging on and try to get it to happen again. I'm using Aroused Creatures, so it shouldn't be too hard (no pun intended)...

 

 

I'm consulting SexLab's "Skill" level for vaginal sex here. If it returns 0 I assume vaginal virgin. SexLab will often report 0 even after sex though. What does your stats page for SL say?

 

Sorry, missed this post when it came out.

Right now I am vaginally unskilled and have had 9 creature partners.

post-462261-0-65917700-1412281300_thumb.jpg

I had previously assumed that it was keeping track of numbers behind the scenes and just putting a line of text up "unskilled" for anywhere from 0 to 10 sexual encounters or something... but SexLab's vaginal skill level of "unskilled" is a level of 0, even with multiple partners? Got it, makes sense.

Original bug report can be disregarded.

Posted

 

 

 

 

 

Bug report (that may have been reported by others before):
 
A horse just said to me:
(Horse) A virgin, eh? Time to become a woman!
I was not a virgin (had sex a few times before), and horses can't talk... can they?

 

 

Unfortunately, I really need an Apropos0.log with debug and trace turned on when this happens.

 

Eek... gone, so no dice...

I'll turn logging on and try to get it to happen again. I'm using Aroused Creatures, so it shouldn't be too hard (no pun intended)...

 

 

I'm consulting SexLab's "Skill" level for vaginal sex here. If it returns 0 I assume vaginal virgin. SexLab will often report 0 even after sex though. What does your stats page for SL say?

 

Sorry, missed this post when it came out.

Right now I am vaginally unskilled and have had 9 creature partners.

attachicon.gifScreenShot57.jpg

I had previously assumed that it was keeping track of numbers behind the scenes and just putting a line of text up "unskilled" for anywhere from 0 to 10 sexual encounters or something... but SexLab's vaginal skill level of "unskilled" is a level of 0, even with multiple partners? Got it, makes sense.

Original bug report can be disregarded.

 

 

There more to it actually.

 

1. So SexLab increments skills in the three areas, but rounds up the values as a index that is used to display the skill level in MCM. So a few acts may not raise the skill by a value of 1 after rounding.

2. So SexLab can potentially report GetSkill(banditSlut, "Vaginal") as zero, but technically the actor has had vaginal sex, and no longer a virgin in that area.

3. In those cases (where SL reports to me zero), I actually start tracking virginity internal to Apropos, until such time that SexLab reports back something > 0.

4. So when an actor has sex the first time as Apropos sees it (through watching OrgasmStart event), Apropos makes note that the actor has lost virginity in that area, (potentially) shows a message about that event, ... But only if SL GetSkill reports zero.

5. As soon as SexLab GetSkill reports > 0, we use that for virginity status.

 

Not a perfect world I know. hth

Posted

LOL and here I thought I read the whole thing, well darn. well it was cool while working in the inn's, adds quite a bit overall. once I find a way to get around RP I will install it again. atm I don't know of a good replacement for RP.

 

Mogie you can still use RP - just a version that was recompiled by a user, see:

 

http://www.loverslab.com/topic/24450-radiantprostitution-tweaked/page-112?do=findComment&comment=902316

Posted

Tried testing the unique animations stuff with three of the 'new' categories to see how it fares. Probably should have tested with a 'normal' animation first, but frankly that never occurred to me.

 

Anyway, below is a test db I made that includes a few 1st person lines for a group animation (Zyn Double Penetration), a foreplay animation (Arrok Foreplay) and a Zaz animation (Pillory Sex). The entire db reads as fine in Earendil's tool and I believe I've got the UniqueAnimations.txt file in the correct format.

 

I then loaded up a test character, filtered out all other animations, and triggered some scenes with Romance.

 

Zyn Double Penetration and Arrok Foreplay didn't play messages at all, so I dunno if these animation types need to actually be supported by Apropos.

 

Pillory Sex triggered normal FemaleActor_Male_Vaginal messages, as it always has done, instead of the animation specific ones. Now, the registrar tag for this animation is "Zap$ZazAP_PillorySex01", and I'm a little worried that the _ is causing problems. Underscores are used in most file names to separate different labels, so is it possible that Apropos is thinking that Zap$ZazAP & PillorySex01 are different labels and it isn't sure about the file format? As far as SexLab is concerned, it's just a normal vaginal sex scene, the only real difference to normal is the complicated name.

 

I've included the logs below, trace enabled.

 

On the other current hot topic, I haven't touched my RP install, and have a clean save of the new Apropos over the top of it without that new recompile, and I haven't had any issues.

Apropos Custom Test.7z

Apropos.0.7z

Papyrus.0.7z

Posted

There more to it actually.

 

1. So SexLab increments skills in the three areas, but rounds up the values as a index that is used to display the skill level in MCM. So a few acts may not raise the skill by a value of 1 after rounding.

2. So SexLab can potentially report GetSkill(banditSlut, "Vaginal") as zero, but technically the actor has had vaginal sex, and no longer a virgin in that area.

3. In those cases (where SL reports to me zero), I actually start tracking virginity internal to Apropos, until such time that SexLab reports back something > 0.

4. So when an actor has sex the first time as Apropos sees it (through watching OrgasmStart event), Apropos makes note that the actor has lost virginity in that area, (potentially) shows a message about that event, ... But only if SL GetSkill reports zero.

5. As soon as SexLab GetSkill reports > 0, we use that for virginity status.

 

Not a perfect world I know. hth

 

Instead of internally tracking a new variable, you could just replace the very first apropos message gotten with a virginal message, and thereafter use sexlab's tracking. Never mind, this would still give virginal messages when no longer a virgin if the sex act rounds up to less than 1.

 

How about this: instead of tracking internally, if sexlab skill == 0, the first apropos message will be a virgin message, then artificially raise sexlab's count by +1.1f so it is no longer zero. This means that the very first time sex is done it will give a bit more "sexperience" to that stat than it might otherwise do, but it should not require keeping track of another thing that (I think) might increase script load, however slightly.

 

That is, if I've understood how it works...

Posted

So, guys, me and  egon123 came to conclusion that Bethesda localized German Skyrim in Windows-1252 encoding, while I was assuming it was universal UTF-8. Why? Sublime recognizes egon's log files as Western. And we can't just mix Western and UTF-8 encoded strings. Cool, isn't it? =\

Posted

yeah who had expected that -.-

Think they localized all language in Windows-1252.

You just recognize it until a wild german word with an umlaut appears. 

Well.. it was a long way to point that out ^^ Good job Earendil!

Posted

So, guys, me and  egon123 came to conclusion that Bethesda localized German Skyrim in Windows-1252 encoding, while I was assuming it was universal UTF-8. Why? Sublime recognizes egon's log files as Western. And we can't just mix Western and UTF-8 encoded strings. Cool, isn't it? =\

 

So what is the fix? 

 

I use both Notepad++ and Sublime 2. Where does it show in Sublime 2 the encoding?

Posted

Same test, this time with Zyn Rough Standing.

 

Same as with Pillory Sex, it just plays a normal vaginal message.

I imagine I've got an error with either the UniqueAnimations.txt file or the file structure?

 

Nope. I implemented it slightly different than what I told you. I can either fix it or you can change so the file names (the folder name is fine). Just prepend the file names with "FemaleActor_".

Posted

 

So, guys, me and  egon123 came to conclusion that Bethesda localized German Skyrim in Windows-1252 encoding, while I was assuming it was universal UTF-8. Why? Sublime recognizes egon's log files as Western. And we can't just mix Western and UTF-8 encoded strings. Cool, isn't it? =\

 

So what is the fix? 

 

Few ways:

 

- non hacky - re-encode localization files into UTF-8 via TESVTranslator tool (player name with umlaut will be still western string?)

- Apropos converts names into utf8  (how to detect original encoding?)  before mixing them with utf8 strings from the DB

- JC drops good and universal utf8 in favor of western (bad, non-backward compatible way)

- JC implements function which converts utf8 into western (keep in mind there is no way to convert Chinese utf8 into western). So, (utf8-source -> to-western, western-npc-names) -> replace-tokens -> wrap-western-string -> display-strings

- JString.wrap returns nothing if input is non-utf8 string

- your ideas?

Posted

 

I use both Notepad++ and Sublime 2. Where does it show in Sublime 2 the encoding?

 

ctrl + `   -> enter "view.encoding()" in console

 

Btw,

 

 

JSON RFC

 Encoding

JSON text SHALL be encoded in Unicode. The default encoding is UTF-8.

 

From what i see now, almost EVERY Skyrim localization uses different encoding - most of western languages using windows 1252, Russian 1251,  Polish 1250.

And finally, poor Bethesda was forced to use utf8  for Japanese & Chinese languages. Lol

 

Posted

Aaaaand its done!

We got it working:

Used TESVTranslator to convert the strings and .esp into UFT-8

 

strings from skyrim and update,

esm from unofficial skyrim update

and every esp that edit npcs/creatures (like erso)

 

If you know how it works it dont take 5min.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...