Right click on the AFKLoader and Run as Administrator.
UPDATE 1:
Overview was removed since CamFun is already doing the same utility and much better, so the CLua depends on you to set zoom out and make it overview before turning macro on( Thx Thr!ce )
-Added CMoveTogglePos( ) ( This will make your caracter always return to the spot where the macro was initiated )( melee class sex ).
-Added CMoveToPos( x, y ) ( This will make your character move to X, Y )
-Added CSleep( x ) ( this will make wait timer in miliseconds 1 second = 1000 ms )( use this with wisdom if its too low the performance will be crap and you will stress your processor )
Default Macro.lua with the latest download( Optimization pointed out by pureleech & Thr!ce )
Code:
--[[ LUA SIMPLE EXAMPLE ]]
IsTarget = CGetPlayerTarget( )
if IsTarget == 0 then
CMoveTogglePos( )
CSleep( 100 )
CSelectNearestTarget( )
else
if CGetPlayerTarget( ) then
CSendSlotBarSkill( 1 )
CSleep( 100 )
end
if CGetPlayerTarget( ) then
CSendSlotBarSkill( 2 )
CSleep( 100 )
end
if CGetPlayerTarget( ) then
CSendSlotBarSkill( 3 )
CSleep( 100 )
end
end
If AFKLoader[LUA] loaded correctly it should look like this:
[Only registered and activated users can see links. Click Here To Register...]
Thanks Shane^^
Sometimes the Lua extension doesnt get loaded, i have contacted Thr!ce about this and we will figure something out when have more time available. ( do not skip the intro videos when the game starts )
I know the teleport doesnt work as it should but i leave it there as it may be usefull for something we still did not find out.
Credits: Thr!ce, TheStupidDog, AlainProvist and myself.
If you are a developer the source is also bellow, this was done using MSVC 2008 this means you will need Microsoft Visual Studio 2008 to open the CLua.sln and compile the Source.