about the auto repair
Posted: Tue Jan 19, 2010 2:22 am
ive insterted the fight based and time based auto repair none of them seem to work ive created a waypoint to the repair npc and inserted the command on my main waypoint file
if( player.Fights-player.free_counter1 > 300 ) then
player.free_counter1 = player.Fights;
load_paths("cyclopsrepair.xml");
end
and also tried the command
if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end;
if( os.difftime(os.time(), player.free_counter1) > 3600 ) then
player.free_counter1 = os.time();
load_paths("cyclopsrepair.xml");
end
none of them seem quite to work if anyone has some insights or knowledge on the matter pls do comment, any help would be greatly appreciated
if( player.Fights-player.free_counter1 > 300 ) then
player.free_counter1 = player.Fights;
load_paths("cyclopsrepair.xml");
end
and also tried the command
if(player.free_counter1 == 0) then player.free_counter1 = os.time(); end;
if( os.difftime(os.time(), player.free_counter1) > 3600 ) then
player.free_counter1 = os.time();
load_paths("cyclopsrepair.xml");
end
none of them seem quite to work if anyone has some insights or knowledge on the matter pls do comment, any help would be greatly appreciated