ive seen some chinese gold farmer bots return to thier botting spot x and y coordinate after killing a monster. is it possible to do it in the macro.lua?
i tried putting my weapon on slot 7 and 8 then add this
Thx for debugging this pureleech, i will publish the source code for this in few hours, just having a look if there is anything i missed on the source because some people are crashing with this.
I will have a look on the functions you speak of but i need time, the best thing i can do for now is publish the source so people that crash with it can try and fix it.
you're welcome, btw can you also make an option or code to make the bot kill and tab as fast as he can? coz im noticing theres a delay between after killing a monster.
you're welcome, btw can you also make an option or code to make the bot kill and tab as fast as he can? coz im noticing theres a delay between after killing a monster.
this is because u have alot of Waiting timers when the mob is already dead, always check if the mob is dead before sending the next skill.
Code:
--[[ LUA SIMPLE EXAMPLE ]]
function myWaitSecond( lpVal )
lpVal = lpVal or 1
local dwWait = os.time( ) + lpVal
while os.time( ) < dwWait do end
end
IsTarget = CGetPlayerTarget( )
if IsTarget == 0 then
CSelectNearestTarget( )
else
if CGetPlayerTarget( ) then
CSendSlotBarSkill( 1 )
myWaitSecond( 1 )
end
if CGetPlayerTarget( ) then
CSendSlotBarSkill( 2 )
myWaitSecond( 1 )
end
if CGetPlayerTarget( ) then
CSendSlotBarSkill( 3 )
myWaitSecond( 1 )
end
end
And do not remove the timers because the refresh rate of the script is 200 miliseconds if you remove the timers the game engine message pump will have alot of queue causing the game to lag and lose performance.
and also can you add an option to check mobs when there's no one is around? press Q to do it im sorry if im asking too much.
you are not asking too much i just want to avoid pressing keys thats all, this will need also some more time to research camera position and viewangles.
[UPDATE]( 1 ) ( CHECK FIRST POST )
-Added SelectNearestTarget function using game engine( without sending tab key ) to my research
-Linked AlainProvist research on post #19 to first post.
[UPDATE]( 2 ) ( CHECK FIRST POST )
-Added basic editable LUA multiclient bot example using AFKLoader and the published functions.
[UPDATE]( 3 ) ( CHECK FIRST POST )
-Added Camera ViewDistance variable
-Added Source Code of CLua
Nope. you can use cheat engine for the job( for now ), i need alot of more functions reversed to make a better quality revision on the CLua.
I know SERIOUSLY basic C++ and Assem and have used CE quite a bit. If I can be any help I'd be happy to do so I tend to be better at finding bits of broken game and ways to exploit that though.
One thing I'd be interested in seeing if it's easy/possible though is the Eidolon menu (H in game). It'd be nice not to have to keep sending them out and talking to them all the time and automate it, but the interface of it might be tricky to work with I'd imagine.
Unfortunatly I know a very good website with the greatest tuto I've ever seen (better than a real teacher actually), but it's in french only :'(.
edit: Holy **** !!! my offsets are no more valid ! I must have failed finding the base offset xD shame on me...
Ok, thanks anyway. Ah, I remember we were using Bloodshed DevC as our dev platform/compiler while I was in uni but can you please tell me which platform/compiler you are using? I really want to help you guys out by sharing my ideas/findings but I need to figure out the tools first.
Python Functions von Mt2 per C++ Code Inject ausführen? 12/02/2011 - C/C++ - 5 Replies Hallo, wollte fragen, ob mir eventuell jemand beantworten kann, wie man Python Functions nützt, welche in den Metin2 - pack Files gespeichert sind.
Und ob das überhaupt so wie ich mir das vorstelle möglich ist.
[Code / C++] Basic hooking of API Functions 07/19/2010 - Coding Tutorials - 2 Replies Global:
typedef BOOL (__stdcall * ReadProcessMemory_t)(HANDLE hProcess,LPVOID lpBaseAddress,LPCVOID lpBuffer,SIZE_T nSize,SIZE_T *lpNumberOfBytesRead);
ReadProcessMemory_t pReadProcessMemory;
Functions:
//Credits to GD ; You can do it manually, too.
SOX findings, place ur sox findiings here 06/04/2007 - Silkroad Online - 8 Replies place ur sox finds here :D
i just found a sos lvl 8 glaive =P
<hr>Append on Jun 4 2007, 01:11<hr> 20 mins later i find another sos chest.. lvl 13