AFK Loader

02/14/2014 11:45 corpus#16
gona give it a go thx bro
02/14/2014 15:59 ntKid#17
This is a very nice job, since they are using HTTPS i did not even bother to replicate it because i know the hard work that it takes.

Respect for your socket knowledge^^

Keep up the good work.
02/14/2014 21:55 Oriya9#18
Quote:
Originally Posted by ntKid View Post
This is a very nice job, since they are using HTTPS i did not even bother to replicate it because i know the hard work that it takes.

Respect for your socket knowledge^^

Keep up the good work.
Actually, the token is INSIDE the URL :P
it's like that in all AeriaGames' games.
you send normal HTTP request to a URL like this one, depending on your game:
[Only registered and activated users can see links. Click Here To Register...]
this request should be a GET request.

Then you just need to keep the cookies and make another HTTP request to something like:
[Only registered and activated users can see links. Click Here To Register...]
again, depending on the game.

This one is a POST request, with login and password in the buffer.
the respond you get will redirect you to another URL which has the login token.
you need to execute one last HTTP request to basically "validate" that login token, you basically just follow the redirection and you're done.
that token is now ready for use with the client.
then you just launch the client with that token like you normally would:
"game.bin EasyFun -a LOGIN_TOKEN_HERE -p xlwlogin"

Basically, there's no security in this one at all. they use HTTPS but all of the information is just sittin' there in the POST/GET (request AND respond) buffers.
and the login token is literally in the URL buffer in a way that you can even see it in your browser when it's loading.
and it can even be done manually as well, take a look:
[Only registered and activated users can see links. Click Here To Register...]
that black box is censoring an actual username and password.

P.S
Not trying to dis the OP in any way, just trying to be informative.
he did an amazing job nonetheless. :D
02/14/2014 22:17 ntKid#19
Quote:
Originally Posted by Oriya9 View Post
Actually, the token is INSIDE the URL :P
it's like that in all AeriaGames' games.
you send normal HTTP request to a URL like this one, depending on your game:
[Only registered and activated users can see links. Click Here To Register...]
this request should be a GET request.

Then you just need to keep the cookies and make another HTTP request to something like:
[Only registered and activated users can see links. Click Here To Register...]
again, depending on the game.

This one is a POST request, with login and password in the buffer.
the respond you get will redirect you to another URL which has the login token.
you need to execute one last HTTP request to basically "validate" that login token, you basically just follow the redirection and you're done.
that token is now ready for use with the client.
then you just launch the client with that token like you normally would:
"game.bin EasyFun -a LOGIN_TOKEN_HERE -p xlwlogin"

Basically, there's no security in this one at all. they use HTTPS but all of the information is just sittin' there in the POST/GET (request AND respond) buffers.
and the login token is literally in the URL buffer in a way that you can even see it in your browser when it's loading.
and it can even be done manually as well, take a look:
[Only registered and activated users can see links. Click Here To Register...]
that black box is censoring an actual username and password.

P.S
Not trying to dis the OP in any way, just trying to be informative.
he did an amazing job nonetheless. :D
lol awesome stuff, nice to see this kind of quality on this board.
02/14/2014 23:14 Thr!ce#20
Quote:
Originally Posted by ntKid View Post
lol awesome stuff, nice to see this kind of quality on this board.
That guy figured it all out, haha.
02/15/2014 03:54 deeeny#21
I'm getting "1 or more Dll failed to inject"

edit: I fixed it nevermind. Thanks OP
02/15/2014 03:59 ntKid#22
Quote:
Originally Posted by deeeny View Post
I'm getting "1 or more Dll failed to inject"
Right click on the AFKLoader and Run as Administrator.

Quote:
Bellow you can find a Lua extension for the AFKLoader with a simple bot that support multiclient just using these 3 simple functions.

Just extract the zip on the game folder like Thr!ce explained and edit Macro.lua to your needs. ( do not skip intro videos when the game starts ) ( RUN AFKLOADER WITH ADMIN PRIVILEGE ).

You can check the source of these functions [Only registered and activated users can see links. Click Here To Register...]

Dont forget to thank Thr!ce for his awesome loader.
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.

PROJECT DISCONTINUED ON 09/05/2014.
THANKS EVERYONE THAT JOINED FOR THE RIDE.
02/15/2014 05:20 lensur13#23
Quote:
Originally Posted by ntKid View Post
Right click on the AFKLoader and Run as Administrator.
said 1 dll failed to inject? what dll is that and what FUNCTION? Bot?

Quote:
Originally Posted by deeeny View Post
I'm getting "1 or more Dll failed to inject"

edit: I fixed it nevermind. Thanks OP

what do you do? help me
02/15/2014 08:48 hcee#24
Bellow you can find a Lua extension for the AFKLoader with a simple bot that support multiclient just using these 3 simple functions.

Just extract the zip on the game folder like Thr!ce explained and edit Macro.lua to your needs. ( Holding F10 will toggle the Macro.lua script on and off ) ( RUN AFKLOADER WITH ADMIN PRIVILEGE ).

You can check the source of these functions HERE

Dont forget to thank Thr!ce for his awesome loader.
Attached Files
File Type: zip AFKLoader[Lua].zip (263.3 KB, 5 views)

Please always scan the files you are downloading with VirusTotal


why i always crash? :(
02/15/2014 10:51 thexviet#25
works fine for me on windows 7 64bit
02/15/2014 11:44 hcee#26
Quote:
Originally Posted by thexviet View Post
works fine for me on windows 7 64bit
ful screen or window? me always crash windows 7 64bit :(
02/15/2014 12:55 darknyo#27
this is made for japan project bot....mainly....
02/15/2014 13:22 ntKid#28
Quote:
Originally Posted by hcee View Post
ful screen or window? me always crash windows 7 64bit :(
Window mode so you can multiclient.
Only hold F10 after you get inside the map with your character.

Be more explicit how and when does it crash for you?
02/15/2014 14:37 rwonderz#29
Quote:
Originally Posted by ntKid View Post
Window mode so you can multiclient.
Only hold F10 after you get inside the map with your character.

Be more explicit how and when does it crash for you?
same problem here
crash after hold F10
it's choose target and then crash
Windows 8.1 x64

edit : 2nd attemp - crash while using skill
02/15/2014 15:04 ntKid#30
Quote:
Originally Posted by rwonderz View Post
same problem here
crash after hold F10
it's choose target and then crash
Windows 8.1 x64

edit : 2nd attemp - crash while using skill
are using the default Macro.lua or have you edit it?