fodev.net
FOnline Development => Questions and Answers => Topic started by: Ethanhoff on March 22, 2014, 11:42:48 pm
-
How can I remove the idler timer, or at least make it 1 second?
Less Important: Also how is it possible to clear the whole floor of items automatically on a map?
-
how is it possible to clear the whole floor of items automatically on a map?
Just collect all items on map by one of item collecting functions. Filter these which shouldn't be removed no matter what (like blockers, Items being integral part of map, etc), and pass what left to DeleteItems().
If you want to be sure that list does not contain Items which are not on the floor, Item::Accessory is your friend; if its value is same as ACCESSORY_HEX define, item is on the ground.
-
I appreciate your reply but I don't know where this would be relevant, I don't know what script to edit or things like this.
-
Bump, no one knows how to remove idler timer?
-
there used to be a define, to simply turn it off, i guess i didn't commit that before we released the sources. Probably the easiest way should be to write "return;" on begining of every function inside "sleepiness.fos"
-
Thank you for telling me this filename! I found this:
#define COMBAT_ZONE_TIMEOUT (REAL_MINUTE(2))
I just change 2 to 0 and there is no combat zone to even make the idler timer come up if that makes sense