Jump to content
  • 0
Sign in to follow this  
karazu

Can someone convert this to Hercules?

Question

Critical on magic

http://rathena.org/board/topic/71862-critical-hit-on-magic-2/ 

and this



Auto attack like BOT

http://rathena.org/board/topic/71297-autoattack/ 

I tried patching them here in hercules but its getting rejected

Edited by karazu

Share this post


Link to post
Share on other sites

14 answers to this question

Recommended Posts

  • 0
  On 10/16/2013 at 12:47 PM, quesoph said:

I tried it in the latest SVN and I got patched rejected

 

--- src/map/atcommand.c+++ src/map/atcommand.c@@ -9677,6 +9731,7 @@		 ACMD_DEF(searchstore),		 ACMD_DEF(costume),		 ACMD_DEF(skdebug),+		ACMD_DEF(autoattack),	 };	 AtCommandInfo* cmd;	 int i; 

 

 

EDIT the @auto attack is having a conflict with this

 

 

http://herc.ws/board/files/file/51-costume-system/ 

But 

 

http://herc.ws/board/files/file/51-costume-system/ 

with 

 

 

71862-critical-hit-on-magic-2.patch 

is ok together 

Edited by karazu

Share this post


Link to post
Share on other sites
  • 0
  On 10/16/2013 at 5:49 PM, sevenzz23 said:

because don't just copy and paste it.. read the error/syntax then try to figure out why..

Hello sevennzzz23 if u remember I did just learned about Tortoise days ago. so I think that should be the reason why i cannot do what u think ^_^

Share this post


Link to post
Share on other sites
  • 0
  On 10/17/2013 at 10:55 AM, jaBote said:

It's always a good time for learning.

The problem is I dont know how to edit patch.

 

 

I have the idea since in those both patches they will insert a command next to the default that is found  atcommand

 

 

         ACMD_DEF(searchstore),		 ACMD_DEF(costume),		 ACMD_DEF(skdebug),+		ACMD_DEF(autoattack),    <---THIS ONE 

 

while also in the 

 

http://herc.ws/board/files/file/51-costume-system/ 

this will also add a command on same line. (that maybe the cause of the error.)

 

 

Edited by karazu

Share this post


Link to post
Share on other sites
  • 0

I doesn't work so many undefined stuff.

need to find same value from rathena to hercules

example

rathena "clif_displaymessage" in hercules "clif->message"

return -1; return false;

return 0;   return true;

in autoattack

map_foreachinarea ?

unit_attack ?

unit_walktoxy   ?

Share this post


Link to post
Share on other sites
  • 0

you dont need to edit the patch. just go to ../src/map/atcommand.c

find: ( CTRL + F )

ACMD_DEF(skdebug),
add
ACMD_DEF(autoattack),
it should look like:
         ACMD_DEF(skdebug),         ACMD_DEF(autoattack),
@themon

try this

  On 10/16/2013 at 12:47 PM, quesoph said:
Edited by quesoph

Share this post


Link to post
Share on other sites
  • 0

the @autoattack works on hercules now. but this isn't the one that I played before.

the one that I played before only attack the one that I choose to attack.

 

ex. I attack a poring and after killing that poring if their are still poring near me it will attack it also.

and when their is no poring near my character will just stop and doesn't wonder off like i this patch.

and one thing I remember is that I don't even have to type @autoattack or anything.

I just need to click on the monster I want to attack and I will attack all the same monster in my sight.

 

I wish the can put I on hercules. cause I played that on rathena that I can't even remember the client date but its ragexere.exehercules @autoattack.rar

Edited by themon

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
Answer this question...

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

Sign in to follow this  

×
×
  • Create New...

Important Information

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