Search found 144 matches

by dteviot
17 May 2015, 03:14
Forum: General Development
Topic: Bullet 2.83
Replies: 11
Views: 3677

Re: Bullet 2.83

@Ace (SWE) You may need to update the instructions for building OpenMW. To use Bullet 2.83 with OpemMW,when building on with MSVC 2013, when run CMake on the Bullet cmake file, set the USE_MSVC_RUNTIME_LIBRARY_DLL flag. Otherwise when you try linking OpenMW with the Bullet Libs you get errors like: ...
by dteviot
17 May 2015, 01:01
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13004

Re: Resting outside is nearly always interrupted

I did some testing of Vanilla, here's my results. I slept 50 times for a varying number of hours. (1, 2, 3, 4, 5, 6, 12 and 24), counting the number of times I was interupted. Assuming that the probability of being interupted was purely a function of time sleeping, I think I can regard the data as a...
by dteviot
13 May 2015, 21:32
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13004

Re: Resting outside is nearly always interrupted

Or one could just reverse engineer the game like they have been. The existing implementation wasn't pulled out of thin air. The existing implementation (as provided by Scrawl's PR) is wrong in at least three places. 1. If will NEVER be interrupted if you sleep for 1 hour. 2. You have a 50/50 change...
by dteviot
13 May 2015, 21:29
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13004

Re: Resting outside is nearly always interrupted

Let’s apply the scientific method. We have the following hypothesises about Vanilla behaviour The probability of being interrupted when sleeping was supposed to be constant {either fSleepRandMod or (1 – fSleepRandMod)} regardless of how long you slept. The probability of being interrupted when sleep...
by dteviot
12 May 2015, 23:52
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13004

Re: Resting outside is nearly always interrupted

In vanilla morrowind (with a mod to change the one setting): I set fSleepRandMod to 1 and it seems to make it so that all sleep times above a certain value (right around 4, sorry, forgot the exact one) always result in an encounter, and ones below it do not. (Note: when I first loaded, the RNG seem...
by dteviot
12 May 2015, 21:33
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13004

Re: Resting outside is nearly always interrupted

In a 24-hour MW sleep interval, I seem to have a one in four chance of getting attacked. Confirmed. Whereas the current OpenMW formula would have an attack chance of 17 / 24 = ~70% for a 24-hour rest with the default GMSTs. I wonder if the probability is inverted. 70% chance of being disturbed = 30...
by dteviot
12 May 2015, 21:23
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13004

Re: Resting outside is nearly always interrupted

Mesons wrote:With rollDice(hoursToWait), the hoursToWait=1 gives 0% interruptions
I agree with Mesons, I don't this this is how the mechanic was intended to work. Otherwise, you can just rest for a number of one hour periods and never get interrupted. Seems like an exploitable bug in the game mechanics.
by dteviot
12 May 2015, 06:15
Forum: General Development
Topic: Resting outside is nearly always interrupted
Replies: 52
Views: 13004

Re: Resting outside is nearly always interrupted

@scrawl Good catch, fixed . This should work in 0.35.1, only the master branch was broken. Are you sure that fix works? I think your change has the same probability distribution as the previous version, it's just more complicated (you're just multiplying both sides of the inequality by the number of...
by dteviot
08 May 2015, 02:50
Forum: General
Topic: Still issues with stealing.
Replies: 13
Views: 4533

Re: Still issues with stealing.

I don't pin my windows, just right clicking to open all the windows at once and drop items in my inventory, using the windows RC from Ace's links. so I can confirm that stealing has some issues with the windows open, (but not pinned) Huh. I did not know you could do that. I've raised a bug for it h...
by dteviot
08 May 2015, 01:03
Forum: General Development
Topic: Bug #2172: Saenus Lusius doesn't stop attacking
Replies: 7
Views: 2314

Re: Bug #2172: Saenus Lusius doesn't stop attacking

On more investigation, I think the following for the sub records in the current CELL record of a save game file. LSTN == "is listening to me". FGTN == "I am following this person". If you use Aryan's dominator on someone, they gain this subrecord with a value of "PlayerSaveGame". TGTN == "is someone...