Jump to content

Recommended Posts

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

 

 

  Reveal hidden contents

 

Share this post


Link to post
Share on other sites
  On 10/19/2013 at 2:34 AM, Mhalicot said:

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

  On 10/19/2013 at 5:40 PM, ossi0110 said:

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

  Quote
>

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

  Quote

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
  On 1/6/2015 at 1:24 PM, Elsa said:

 

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
  On 8/19/2015 at 4:18 PM, Ranz said:

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?)

Share this post


Link to post
Share on other sites
  On 12/19/2015 at 2:31 PM, Dastgir said:

 

#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.


×
×
  • Create New...

Important Information

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