[AtCommand] autoatk

It seems we missed to approve the file. There you go. Sorry!

 
@sevenzz23

you should not only comment out the line what drops a error , you should fix it btw ^^

replace 

//nullpo_retr(-1, sd); 



with 

Code:
if (!sd) return false; 
 
done
default_ani_meow.gif
thanks for the info..

 
can anyone make it think like humonculus.

and not moving randomly
delete this line

if(!target_id) { unit->walktoxy(&sd->bl,sd->bl.x+(rand()%2==0?-1:1)*(rand()%10),sd->bl.y+(rand()%2==0?-1:1)*(rand()%10),0); } 
then recompile..

 
Last edited by a moderator:
can anyone make it think like humonculus.

and not moving randomly
delete this line

if(!target_id) { unit->walktoxy(&sd->bl,sd->bl.x+(rand()%2==0?-1:1)*(rand()%10),sd->bl.y+(rand()%2==0?-1:1)*(rand()%10),0); } 
then recompile..

is this the same process to this?

What i mean is this..

http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC

 
default_sad.png
 you still cant follow the instruction don't you?

1. Download and extract files using 7z or any application that can extract it.

2. extract it in your server directory ex: C:/RO Server/Hercules/

2.1. edit conf/plugins.conf and add autopots

3. find autopots/autopots.sln and recompile it.

4. You can now start using your ready made plugins
default_no1.gif


so it will merge to your server files.

I think you cant get what I mean,

try to make your own compiler.. 

http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC

hmm this is much better with pictures.. haha

thanks... 

solved...

no more error
 
Last edited by a moderator:
^ yeah same
hmm i do the same 

but errors again...

Code:
1>------ Build started: Project: autoattack, Configuration: Release Win32 ------1>C:Program FilesMSBuildMicrosoft.Cppv4.0Microsoft.CppBuild.targets(299,5): warning MSB8004: Output Directory does not end with a trailing slash.  This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.1>  autoattack.c1>..srcpluginsautoattack.c(100): warning C4013: 'ACMD_A' undefined; assuming extern returning int1>..srcpluginsautoattack.c(100): error C2065: 'autoatk' : undeclared identifier1>..srcpluginsautoattack.c(100): warning C4047: 'function' : 'bool (__cdecl *)(const int,map_session_data *,const char *,const char *,AtCommandInfo *)' differs in levels of indirection from 'int'1>..srcpluginsautoattack.c(100): warning C4024: 'function through pointer' : different types for formal and actual parameter 2========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 
@autoatk 1.2

~ Update compilation compatibility on rev. 133**

 
Last edited by a moderator:
Update:
 
1.3 ~ Restriction using @autoatk upon dead and automatic off when died.
 
Back
Top