I spent the last couple of days thoroughly testing all the scripts fixes, and am happy to say that v1.9 beta 11 is almost ready for release. I’m shooting for Sunday night to finish it up and upload.
My testing efforts have already uncovered and fixed quite a large assortment of bugs with the new script changes. I was also able to fix an old vanilla bug in rn05 Orange Threat Level too. This particular bug is where the remote player would not teleport into the golf cart passenger seat for the end chase segment, and only the host ended up driving and chasing the fleeing Ronin.
The problem ended up being that mission author for rn05, Phillip Alexander, did some very strange things with the script; attempting to set delays and a do while loop to force the remote player into the Knoxville. It almost seemed as if he was getting more and more frustrated trying to make it work, and did that as a last resort. He even tried to script the teleport call six times with his loop and then finally proceed. It was a pretty clunky way to go about trying to force it, when the simple and elegant solution was as easy as setting the second parameter to false on the group_create() function: group_create([group],false). This parameter forces a thread yield until the group is created. This simple change I made ensures that the group is created before teleporting the players, and now works every time.
The thing I try to keep in mind when looking at other people’s code is that there are almost always circumstances that I have no knowledge of. It’s quite possible that Volition gave Mr. Alexander an insane unworkable timetable and he banged these mission scripts out in some heroic, sleepless, and caffeine filled effort. Something that seems so very simple to one set of eyes after the fact, may look like a nightmarish spaghetti mess of tears and frustration at 3am and under the gun.
Believe me. I’ve been in those shoes many times.