Jump to content

Recommended Posts

It's broken. Please check. Tested on windows only. I cannot pin point which HPM updates triggered this.

 

 

 

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 *'

 

 

Share this post


Link to post
Share on other sites

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... :)

 

 
[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

Share this post


Link to post
Share on other sites

 

using latest GIT version... :)

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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_SYMBOL

add this to first line

#include "common/hercules.h"

And this should fix it...

Share this post


Link to post
Share on other sites

 

#include "common/HPMDataCheck.h"

Error says that include is missing(ah, plugin too old?)

 

wow.. thanks a lot sir..

now its work..

 

but now i've another error..

getting error spr when @go or @jump using this plugin..

lol

 

im gonna trying to fix myself.. /no1

 

Share this post


Link to post
Share on other sites
autoattack.c: In function autoattack_motion’:
autoattack.c:55:7: error: struct unit_interface has no member named walktoxy
   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);

this is the error

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.