Jump to content

Recommended Posts

Posted

 

 

Do share? By whom? What mod?

 

 

In CK, you can give actors a name and a short name. Never used the short name but some NPC have them. Don't know if the engine use them or if it is just an relict.

 

My selfmade followers are nothing special. I like to run multiple Chars. When I like one, I turn him into a follower so I can meet him with other Chars ^^.

 

Content Consumer: Sure your Char was virgin? W&T can reduce so much that the option in the MCM where you can set your w&t state vanished and the PC called as not tracked. But he still counts as not virgin. My actual Char had this massage just once.

 

 

offtopic: What can cause normal NPCs to fight? :o Was in the Winking Skeever as Belrand and one of my followers storm into the bedroom, starts to argue, then fight. My poor follower lost as defeat kicks in and got raped for all the people that came to see what is happening up there oO. wtf :D

Posted

Yes, CK gives you a Short Name field, but it's not available in the Papyrus runtime model, just plain GetName().

Posted

I've never done logging before, and I know this has been addressed before in several threads, but how do I turn it on?

This is in my Skyrim.ini file (in my documents/my games/skyrim):

 

[Papyrus]
fPostLoadUpdateTimeMS=500.0
bEnableLogging=1
bEnableTrace=1
bLoadDebugInformation=1
 
And the logs aren't appearing.
 
BTW - So far I have been unable to replicate what happened.
 
EDIT: Logging is checked and so is detailed trace...
Posted

 

I've never done logging before, and I know this has been addressed before in several threads, but how do I turn it on?

This is in my Skyrim.ini file (in my documents/my games/skyrim):

 

[Papyrus]
fPostLoadUpdateTimeMS=500.0
bEnableLogging=1
bEnableTrace=1
bLoadDebugInformation=1
 
And the logs aren't appearing.
 
BTW - So far I have been unable to replicate what happened.
 
EDIT: Logging is checked and so is detailed trace...

 

 

That should be correct.

 

 

Papyrus logs are under in my documents/my games/skyrim/logs/script

Apropos in my documents/my games/skyrim/logs/script/user

 

Did you close the game? 

 

mhh..

 

Gooser: ah good to know. Never used it myself ^^ just remembered to saw it

Posted

There are two things of how you could just display the short name. The first one is to make use of Text Replacements.

 

And the second to make use of StringUtil.

 

 

String ActorShortName = StringUtil.SubString(Actor.GetName(), 0, StringUtil.Find(Actor.GetName(), " "))
Posted

 

There are two things of how you could just display the short name. The first one is to make use of Text Replacements.

 

And the second to make use of StringUtil.

String ActorShortName = StringUtil.SubString(Actor.GetName(), 0, StringUtil.Find(Actor.GetName(), " "))

 

Yes, anyone can do that (parse a name). But that's not a designated "short name", that's just the first word in the name. Probably good enough.

 

EDIT: And, incidentally, Text Replacements are great for text strings coming out CK (quests, etc), but they don't really fit into the world where you are reading text from an external file during runtime.

Posted

 

 

I've never done logging before, and I know this has been addressed before in several threads, but how do I turn it on?

This is in my Skyrim.ini file (in my documents/my games/skyrim):

 

[Papyrus]
fPostLoadUpdateTimeMS=500.0
bEnableLogging=1
bEnableTrace=1
bLoadDebugInformation=1
 
And the logs aren't appearing.
 
BTW - So far I have been unable to replicate what happened.
 
EDIT: Logging is checked and so is detailed trace...

 

 

That should be correct.

 

 

Papyrus logs are under in my documents/my games/skyrim/logs/script

Apropos in my documents/my games/skyrim/logs/script/user

 

Did you close the game? 

 

mhh..

 

Gooser: ah good to know. Never used it myself ^^ just remembered to saw it

 

Yep, I closed the game... I can't alt-tab with Skyrim because it always crashes when I try to tab back into it.

And the logs folder is there... the contents of the logs folder are:

EnchantedArsenal.log

EnchantedArsenal.log0

 

I'm not even using Enchanted Arsenal right now. Haven't been for weeks. What is it doing there? And where are my other logs?

 

Do you mean to say that the logs are deleted when you exit the game? Who designed THAT fun little thing?

Posted

Nah, I was expecting that the logs get writen when you close the game. But I was wrong. Checked it.

 

All I can do is c+p my skyrim.ini :/

 

 

[Display]
sD3DDevice="AMD Radeon HD 6800 Series"
[Grass]
b30GrassVS=1
[Water]
bReflectLODObjects=0
bReflectLODLand=0
bReflectSky=0
bReflectLODTrees=0
[General]
sLanguage=GERMAN

[Papyrus]
fPostLoadUpdateTimeMS=500.0
bEnableLogging=1
bEnableTrace=1
bLoadDebugInformation=1

 

 

Posted

 

"Fröhlich hüpfte er über die Wiesen und erfreute sich österreichischen Speisekünsten."

 

Think this should be long enough and had a bunch of umlauts in it :D

 Or something from the db that would show up ingame:

"I drop to my hands and knees, and the Höhlenbär moves to mount me. This is it..."

 

Thank you. Although still no luck. Furthermore, I can't reproduce this in game. What your's character wrap setting is? 80 characters?

 

Posted

 

 

"Fröhlich hüpfte er über die Wiesen und erfreute sich österreichischen Speisekünsten."

 

Think this should be long enough and had a bunch of umlauts in it :D

 Or something from the db that would show up ingame:

"I drop to my hands and knees, and the Höhlenbär moves to mount me. This is it..."

 

Thank you. Although still no luck. Furthermore, I can't reproduce this in game. What your's character wrap setting is? 80 characters?

 

 

Could it have anything to do with a English vs German version of Skyrim?

Posted

 

 

 

"Fröhlich hüpfte er über die Wiesen und erfreute sich österreichischen Speisekünsten."

 

Think this should be long enough and had a bunch of umlauts in it :D

 Or something from the db that would show up ingame:

"I drop to my hands and knees, and the Höhlenbär moves to mount me. This is it..."

 

Thank you. Although still no luck. Furthermore, I can't reproduce this in game. What your's character wrap setting is? 80 characters?

 

Could it have anything to do with a English vs German version of Skyrim?

It shouldn't  - wrapping done on my side. In-Skyrim test was simple though - `int jit = JString.wrap("Fröhlich hüpfte er über die Wiesen und erfreute sich österreichischen Speisekünsten.", 70)` while in my synthetic tests (out of Skyrim) character wrap varies from 20 to 160

Posted

Is it possible to determine on his side the nature of the crash? I mean what causes the crash in JContainers?

Posted

Is it possible to determine on his side the nature of the crash? I mean what causes the crash in JContainers?

 

I doubt he will allow me attach debugger :D Would be cool to know whether Skyrim generates crash-dumps, and then send me one in this case. The input string which causes this and `character wrap` number (which is 70) should be enough to reproduce crash on my side (i hope). 

 

Just wondered, it can't be caused by something else? First time I saw German translations in March, it had enough time to show up

Posted

Just say if you need my help somehow.

 

Edith:

 

Just wondered, it can't be caused by something else? First time I saw German translations in March, it had enough time to show up

 

Well the difference between ctd and no-ctd was to avoid umlauts at segmentation.

 

No segmentation -> all fine

Change {Active} to Bear/Cat -> fine

{Active} which could contain umlauts (bear = bär) -> crash

 

How do you do your tests? console command?

Posted

Just say if you need my help somehow.

 

Thanks. Can you install this JC version, make it crash and then send me "My Games\Skyrim\SKSE\JContainers.log" file?

Posted

 

Just say if you need my help somehow.

 

Thanks. Can you install this JC version, make it crash and then send me "My Games\Skyrim\SKSE\JContainers.log" file?

 

 On it! one second

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?

 

 

They can in fantasy. Also in classical epic. Achilles's horse Xanthus foretells his death in the Iliad (book 23 if I remember correctly).

Posted

Just say if you need my help somehow.

 

Edith:

 

Just wondered, it can't be caused by something else? First time I saw German translations in March, it had enough time to show up

 

Well the difference between ctd and no-ctd was to avoid umlauts at segmentation.

 

No segmentation -> all fine

Change {Active} to Bear/Cat -> fine

{Active} which could contain umlauts (bear = bär) -> crash

 

How do you do your tests? console command?

 

I have a script that does some action when I press keyboard, so I just added JString.wrap("<string with umlauts>", 70) there. Also I can launch tests separately. 

 

@gooser, SlaUtilScr script is a part of SL? cannot find it there

Posted

@earendil: wat? I make a dependency upon SexLabAroused.esm, but I don't include the scripts. Where are you getting that? A memory image?

Posted

Also, @gooser, what if ReplaceTokens function damages Skyrim or string memory? Does it really works properly with UTF-8 strings?

Posted

Also, @gooser, what if ReplaceTokens function damages Skyrim or string memory? Does it really works properly with UTF-8 strings?

 

In Papyrus, there is no distinction between UTF-8 and Ascii. All I'm doing is creating new strings from existing ones. result = result + somepieceofanotherstring. I'm not sure where you are going with this. I don't I can write a normal Papyrus function that can damage string memory.

Posted

What we didn't look into is to let a english version crash.

 

Put an umlaut in the db in every line, spawn the creature and look if the segmentation works or it crash.

 

If its not crash then it must be something else. If it crash we could pin it more down

Posted

Thanks to all for participation, will leave it for tomorrow.. And still can't reproduce :s And it's obvious that it's JC issue now

 

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...