something like ticks per second ?

Want to discuss changes to the UOX3 source code? Got a code-snippet you'd like to post? Anything related to coding/programming goes here!
Post Reply
xantier
UOX3 Novice
Posts: 58
Joined: Tue Dec 20, 2011 6:51 am
Has thanked: 0
Been thanked: 0

something like ticks per second ?

Post by xantier »

it is normally 4 ticks per sec (1 tick = 0.25 sec) in OSI. i have checked out the sources a bit but i couldn't actually find something like tickspersecond to control in-game timers properly. where actually are they checked and what is the interval ?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Not entirely sure if it's what you're after, but have you looked at what the following UOX.INI settings do?
CHECKITEMS=1.5
CHECKBOATS=0.75
CHECKNPCAI=1
CHECKSPAWNREGIONS=30
As an example, the lower the CHECKNPCAI value is set to, the more often UOX3 lets the NPC do stuff (like move, or start new actions, select new targets, etc).
-= Ho Eyo He Hum =-
xantier
UOX3 Novice
Posts: 58
Joined: Tue Dec 20, 2011 6:51 am
Has thanked: 0
Been thanked: 0

Post by xantier »

no. i will actually code many things based on tick system, even includes the spells.
Post Reply