|
You last visited: Today at 19:38
Advertisement
[CODE]Ingame Functions( POST YOUR FINDINGS HERE )
Discussion on [CODE]Ingame Functions( POST YOUR FINDINGS HERE ) within the Aura Kingdom forum part of the MMORPGs category.
02/15/2014, 17:26
|
#31
|
elite*gold: 0
Join Date: Sep 2013
Posts: 216
Received Thanks: 6
|
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
CSendSlotBarSkill( 1 )
myWaitSecond( 1 )
CSendSlotBarSkill( 2 )
myWaitSecond( 1 )
CSendSlotBarSkill( 3 )
myWaitSecond( 1 )
CSendSlotBarSkill( 4 )
myWaitSecond( 1 )
CSendSlotBarSkill( 6)
myWaitSecond( 1 )
CSendSlotBarSkill( 7)
myWaitSecond( 0 )
CSendSlotBarSkill( 8)
but it's not switching my weapon. i want to do it so that my weapon won't break when i sleep.
|
|
|
02/15/2014, 19:56
|
#32
|
elite*gold: 0
Join Date: Nov 2008
Posts: 181
Received Thanks: 465
|
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.
|
|
|
02/15/2014, 21:11
|
#33
|
elite*gold: 0
Join Date: Sep 2013
Posts: 216
Received Thanks: 6
|
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.
|
|
|
02/15/2014, 21:21
|
#34
|
elite*gold: 0
Join Date: Nov 2008
Posts: 181
Received Thanks: 465
|
Quote:
Originally Posted by pureleech
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.
|
|
|
02/15/2014, 21:30
|
#35
|
elite*gold: 0
Join Date: Sep 2013
Posts: 216
Received Thanks: 6
|
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.
|
|
|
02/15/2014, 21:34
|
#36
|
elite*gold: 0
Join Date: Nov 2008
Posts: 181
Received Thanks: 465
|
Quote:
Originally Posted by pureleech
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.
|
|
|
02/15/2014, 21:35
|
#37
|
elite*gold: 0
Join Date: Sep 2013
Posts: 216
Received Thanks: 6
|
when i bot i only make my camera topview around 60 degrees then i just make my bot press Q to turn and check other angles.
|
|
|
02/15/2014, 21:46
|
#38
|
elite*gold: 0
Join Date: Nov 2008
Posts: 181
Received Thanks: 465
|
[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
|
|
|
02/15/2014, 22:38
|
#39
|
elite*gold: 0
Join Date: Sep 2013
Posts: 216
Received Thanks: 6
|
did you update the File Type: zip AFKLoader[Lua].zip on the other thread or i have to apply those codes on my own?
|
|
|
02/15/2014, 22:50
|
#40
|
elite*gold: 0
Join Date: Nov 2008
Posts: 181
Received Thanks: 465
|
Quote:
Originally Posted by pureleech
did you update the File Type: zip AFKLoader[Lua].zip on the other thread or i have to apply those codes on my own?
|
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.
|
|
|
02/15/2014, 23:01
|
#41
|
elite*gold: 0
Join Date: Sep 2013
Posts: 216
Received Thanks: 6
|
i noticed that when i bot the client just crash, are you experiencing the same too or just me? if so how to resolve it? thank you.
|
|
|
02/15/2014, 23:20
|
#42
|
elite*gold: 0
Join Date: Sep 2009
Posts: 78
Received Thanks: 54
|
Quote:
Originally Posted by ntKid
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.
|
|
|
02/15/2014, 23:44
|
#43
|
elite*gold: 0
Join Date: Feb 2014
Posts: 27
Received Thanks: 0
|
Quote:
Originally Posted by AlainProvist
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.
|
|
|
02/16/2014, 10:25
|
#44
|
elite*gold: 0
Join Date: Sep 2013
Posts: 216
Received Thanks: 6
|
i hope there will be an auto salvaging item, fortifying an item is pain in the ***
|
|
|
02/16/2014, 16:30
|
#45
|
elite*gold: 0
Join Date: Aug 2012
Posts: 381
Received Thanks: 562
|
Fixed the offsets in my code page 2.
|
|
|
Similar Threads
|
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
|
All times are GMT +1. The time now is 19:39.
|
|