![]() |
LeftGame Fix - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: LeftGame Fix (/showthread.php?tid=1469) |
LeftGame Fix - Leighland - 21-12-2007 I'm not sure if this has been posted yet but it seems to be a small bug with the vanilla MSE1. Basically what happens is when more than one person is online, on the same map, and someone logs off or gets booted, the map stops processing npc movement. So, server side, find this: Code: Sub LeftGame(ByVal Index As Long) and change it to this: Code: Sub LeftGame(ByVal Index As Long) In the first block of code, the server stops processing npc movement if there is only 1 person on the map. Obviously, we want to keep processing them for that 1 person. All I've done here is changed the = to a < so that if there is less than one person on the map it stops processing movement. Some people may have noticed this, however I couldn't find anything on it and this stumped me for about 5 minutes. More info here: viewtopic.php?f=7&t=1867 Re: LeftGame Fix - William - 21-12-2007 From what I can see quickly it should be correct. Re: LeftGame Fix - Robin - 21-12-2007 This is an existing bugfix, and is probably in the old 'Temporary' archive. Re: LeftGame Fix - William - 21-12-2007 I never seen that bug fix before, so it was good you reposted it at least. Re: LeftGame Fix - Rezeyu - 21-12-2007 It's in.. bugs and errors I think. It's been posted a few times. I actually meant to post it 2 days ago, but I forgot. :oops: Re: LeftGame Fix - Leighland - 22-12-2007 meh, I didn't look very hard, but then again I rarely do :roll: . Anyways, I had never come across it before until now, for whatever reason, so I figured I'd post it anyway. Edited post to have link from the other topic as well. verrigan had a different fix for it. |