Jump to content
Shikazu

Shikazu's HPM Plugin Collection

Recommended Posts

Hey Guys,

 

here i will list all plugins i write for the Plugin Module of Hercules.

 

GitHub Repository: https://github.com/shikazu/hpm-plugins

 

Plugin List:

 - [Atcommand] @afk -> http://herc.ws/board/topic/984-atcommandafk/

 - [Atcommand] @mapmoblist -> https://github.com/shikazu/hpm-plugins/blob/master/src/plugins/mapmoblist.c

 - [script Command] autonext  -> http://herc.ws/board/topic/976-script-cmdautonext/

 - [script Command] dispbottomcolor -> http://herc.ws/board/topic/974-script-cmddispbottomcolor/

 - [script Command] messagecolor -> http://herc.ws/board/topic/978-script-cmdmessagecolor/

 

A description of this will be available in the specific topic's. Use this topic to post requests for plugins and i will decide if i can code them as plugin!

 

~Shikazu

Edited by Shikazu

Share this post


Link to post
Share on other sites

Added @mapmoblist

 

Bump! :)

shikazu have you tried how to use HPM with access to battle conf? Im planning to make some sources mod here to HPM, like the extended vending system because HPM is the best way to add source mod's

Share this post


Link to post
Share on other sites

I haven't tried it yet but it was added yesterday. I will help my brother now and then i will check how to do it.

 

Will be back in a few to tell you how to do so :)

Share this post


Link to post
Share on other sites

thanks mate, been trying it too on my test server, maybe I'll update you soon on the result of my experiment lol

Edited by thanna

Share this post


Link to post
Share on other sites

Sorry for Multiposting, but this might be interesting for everyone!

 

How to work with the Battle Config

 

1. Use GET_SYMBOL to get access to the battle_configs

 

battle = GET_SYMBOL("battle");

 

2. Now you can access every element from the battle configs via

 

battle->bc->[NAME]

 

[NAME] can be replaced by everything, which is defined in the Battle_Config structure!


https://github.com/HerculesWS/Hercules/blob/dc7f14c7dc9829061f8902354367bdc8467eb841/src/map/battle.h

 

From Line 84 downwards you can see the elements you can access now.

 

How to add own elements to the structure?

 

I will check this out in a few days, have a lot of work :

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.