Greetings all. I'm not new to UO or UOX or programming, but it's been a long time for playing with UOX.
On to the point..
I've got a server setup and was just making sure everything works with Windows 7 64-bit before I started trying to modify and compile, and I noticed something kind of hilarious and frustrating at the same time.
The server runs ridiculously fast. I mean the NPC's fly around like they are on crack. I tried changing the update settings in [speedup] but nothing seems to help.
Systems specs are decent but not that crazy. It's just an Intel Core 2 Duo running at 2.2ghz with 2GB RAM, a pair of SLI nvidia's and 10k raptor drivers. Not that fast.
Is there a setting I'm missing or not seeing? I searched the forums for "too fast" "speed" "fast" "walking" and a few other terms but didn't see any references to this problem. Thanks in advance, and I should be back to check on this in a few hours.
Ludicrous speeds!
- Xuri
- Site Admin
- Posts: 3704
- Joined: Mon Jun 02, 2003 9:11 am
- Location: Norway
- Has thanked: 48 times
- Been thanked: 8 times
- Contact:
Greetings, and welcome 
The lower you set the numbers in the following UOX.INI settings, the faster your NPCs will move.
NPCMOVEMENTSPEED is how fast the NPCs walk by default.
NPCRUNNINGSPEED is how fast the NPCs run. Only NPCs with the "RUNS" dfn flag assigned to them will actually run - and they'll only run while in combat.
NPCFLEEINGSPEED is how fast the NPCs will move when fleeing in combat (due to too low health). At which point they actually flee in combat is determined by the UOX.INI settings NPCBASEFLEEAT=20 and NPCBASEREATTACKAT=40[/b] (based on percentage of health left).
All of the above settings can be overridden on a per-NPC basis with the following DFN flags:
WALKINGSPEED=#
RUNNINGSPEED=#
FLEEINGSPEED=#
FLEEAT=#
REATTACKAT=#
The lower you set the numbers in the following UOX.INI settings, the faster your NPCs will move.
CHECKNPCAI defines how often the server checks NPCAI - including the part which takes care of NPC movement.[speedup]
{
CHECKITEMS=1.5
CHECKBOATS=0.75
CHECKNPCAI=1
CHECKSPAWNREGIONS=30
NPCMOVEMENTSPEED=0.7
NPCRUNNINGSPEED=0.2
NPCFLEEINGSPEED=0.4
}
NPCMOVEMENTSPEED is how fast the NPCs walk by default.
NPCRUNNINGSPEED is how fast the NPCs run. Only NPCs with the "RUNS" dfn flag assigned to them will actually run - and they'll only run while in combat.
NPCFLEEINGSPEED is how fast the NPCs will move when fleeing in combat (due to too low health). At which point they actually flee in combat is determined by the UOX.INI settings NPCBASEFLEEAT=20 and NPCBASEREATTACKAT=40[/b] (based on percentage of health left).
All of the above settings can be overridden on a per-NPC basis with the following DFN flags:
WALKINGSPEED=#
RUNNINGSPEED=#
FLEEINGSPEED=#
FLEEAT=#
REATTACKAT=#
-= Ho Eyo He Hum =-