[AtCommand] autoatk

You can now download
default_smile.png


 
You can now download
default_smile.png
sir a question here.. im trying to use this autoattack.. i chose to apply it using .c only coz it doesnt work by just adding on trunk and putting on plugins.conf

kindly check this errors? i just follow the guides in HPM installing.

autoattack.png

 
Last edited by a moderator:
yeah i saw this already.. but im using older version.. so it doesnt fit to me.. that's why i used autoattack instead of bot release of goddameit, i want it but i also love the version im using currently even if its too old..

btw thanks

You can now download
default_smile.png
sir a question here.. im trying to use this autoattack.. i chose to apply it using .c only coz it doesnt work by just adding on trunk and putting on plugins.conf
 
kindly check this errors? i just follow the guides in HPM installing.
try this http://herc.ws/board/topic/4821-bot/?p=31176
 
yeah i saw this already.. but im using older version.. so it doesnt fit to me.. that's why i used autoattack instead of bot release of goddameit, i want it but i also love the version im using currently even if its too old..

btw thanks
You should really consider updating your Hercules.

 
Last edited by a moderator:
yeah i saw this already.. but im using older version.. so it doesnt fit to me.. that's why i used autoattack instead of bot release of goddameit, i want it but i also love the version im using currently even if its too old..

btw thanks
You should really consider updating your Hercules.
soon i will,

im just waiting for extended vending system update to work with the latest versions. so if this will be available in latest version.. ill move on to the latest version too.. 
default_ani_meow.gif


 
You can now download
default_smile.png
sir a question here.. im trying to use this autoattack.. i chose to apply it using .c only coz it doesnt work by just adding on trunk and putting on plugins.conf

kindly check this errors? i just follow the guides in HPM installing.
what rev. you use?

can you provide your src/plugins/sample.c and autoatk.c codes? so that I can compare it..

 
You can now download
default_smile.png
sir a question here.. im trying to use this autoattack.. i chose to apply it using .c only coz it doesnt work by just adding on trunk and putting on plugins.conf

kindly check this errors? i just follow the guides in HPM installing.
what rev. you use?

can you provide your src/plugins/sample.c and autoatk.c codes? so that I can compare it..
im using 12535..

this is my sample.c(from 12535) sir mhal.

and the autoattack.c is default one (the one u provided in the latest version of autoattack plugins)

sample.c

 

Attachments

^ Okay,

try to replace This

addAtcommand("autoatk",autoatk)
to

if( HPMi->addCommand != NULL ) {//link our '@autoatk' command HPMi->addCommand("autoatk",ACMD_A(autoatk)); }
then recompile your autoattack.c
default_smile.png


 
^ Okay,

try to replace This

addAtcommand("autoatk",autoatk)
to

if( HPMi->addCommand != NULL ) {//link our '@autoatk' command HPMi->addCommand("autoatk",ACMD_A(autoatk)); }
then recompile your autoattack.c
default_smile.png
thank you for the time sir mhal.. now im wondering what should i use .. if ur version or ossi's version because this two diff version are the same.. the only different from these two mods is there's a clif message.. maybe that's the only line im able to understand.
default_tongue.png


thank you again...

 
Last edited by a moderator:
It's broken. Please check. Tested on windows only. I cannot pin point which HPM updates triggered this.

Code:
1>..srcpluginsautoattack.c(79): error C2065: 'timer' : undeclared identifier1>..srcpluginsautoattack.c(79): error C2223: left of '->add' must point to struct/union1>..srcpluginsautoattack.c(79): error C2065: 'timer' : undeclared identifier1>..srcpluginsautoattack.c(79): error C2223: left of '->gettick' must point to struct/union1>..srcpluginsautoattack.c(98): error C2065: 'timer' : undeclared identifier1>..srcpluginsautoattack.c(98): error C2223: left of '->add' must point to struct/union1>..srcpluginsautoattack.c(98): error C2065: 'timer' : undeclared identifier1>..srcpluginsautoattack.c(98): error C2223: left of '->gettick' must point to struct/union1>..srcpluginsautoattack.c(114): error C2065: 'timer' : undeclared identifier1>..srcpluginsautoattack.c(114): warning C4047: '=' : 'int' differs in levels of indirection from 'void *'
 
Update
 
Version 1.4 ~ Fixed Compilation error. Rev. 145*** 
 
Please download latest version.
 
File Name: [AtCommand] autoatk

File Submitter: Mhalicot

File Submitted: 18 Oct 2013

File Category: Plugins

HPM @autoatk complete package.

Compatible with Windows System Only

if you are using Linux, ignore other files and use only autoattack.c and recompile it.. follow this steps

some Linux Systwem got many bugs with files what are allready compiled under VS2010 .
Instruction.
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 if ask for Overwrite files? click OK.

3. Your done. you can now try your plugins.

In Recompiling:

If you are using VS2010

>right click autoatk>Configuration Properties>General>

search for Platform Toolset, change to VS2009(v90) / VS2010(v100) / VS2012(v110) / VS2013(v120)

then try to recompile again..
the command is @autoatk.

If you want to edit look for src/plugins/autoattack.c
If you have any questions feel free to drop a comment.for more info on using HPM Click Me

Original Released by: ossi0110

Requested by: Karazu

Click here to download this file

got this error after = make clean && make sql ->./congifure && make all...

using latest GIT version...
default_smile.png


 
[info]: Hercules 64-bit for Linux
[info]: Git revision (src): '3dc29e4a4ecdc2f474223461bd18d5beabcd9994'
[info]: Git revision (scripts): '3dc29e4a4ecdc2f474223461bd18d5beabcd9994'
[info]: OS version: 'CentOS release 6.6 (Final) [x86_64]'
[info]: CPU: 'QEMU Virtual CPU version (cpu64-rhel6) [4]'
 
Code:
        PLUGIN  HPMHooking_map        CC      autoattack.cautoattack.c: In function ‘autoattack_timer’:autoattack.c:78: error: ‘timer’ undeclared (first use in this function)autoattack.c:78: error: (Each undeclared identifier is reported only onceautoattack.c:78: error: for each function it appears in.)autoattack.c: In function ‘atcommand_autoatk’:autoattack.c:97: error: ‘timer’ undeclared (first use in this function)autoattack.c: In function ‘plugin_init’:autoattack.c:113: error: ‘timer’ undeclared (first use in this function)make[1]: *** [../../plugins/autoattack.so] Error 1
 
Hello Elsa,

Thanks for your feedback, i will check it soon..

 
using latest GIT version...
default_smile.png


got this error after = make clean && make sql ->./congifure && make all...

 
[info]: Hercules 64-bit for Linux
[info]: Git revision (src): '3dc29e4a4ecdc2f474223461bd18d5beabcd9994'
[info]: Git revision (scripts): '3dc29e4a4ecdc2f474223461bd18d5beabcd9994'
[info]: OS version: 'CentOS release 6.6 (Final) [x86_64]'
[info]: CPU: 'QEMU Virtual CPU version (cpu64-rhel6) [4]'
 
PLUGIN HPMHooking_map CC autoattack.cautoattack.c: In function ‘autoattack_timer’:autoattack.c:78: error: ‘timer’ undeclared (first use in this function)autoattack.c:78: error: (Each undeclared identifier is reported only onceautoattack.c:78: error: for each function it appears in.)autoattack.c: In function ‘atcommand_autoatk’:autoattack.c:97: error: ‘timer’ undeclared (first use in this function)autoattack.c: In function ‘plugin_init’:autoattack.c:113: error: ‘timer’ undeclared (first use in this function)make[1]: *** [../../plugins/autoattack.so] Error 1
Cant reproduce, make sure that you are using 1.4

 
Please update this with make work with the latest hercules.
Got warnings on lines 111-120
assignments make pointer from integer without a cast.

 
Please update this with make work with the latest hercules.

Got warnings on lines 111-120

assignments make pointer from integer without a cast.
Remove all lines with GET_SYMBOLadd this to first line

#include "common/hercules.h"

And this should fix it...

 
Back
Top