Shikazu's HPM Plugin Collection

Shikazu

New member
Messages
74
Points
0
Age
36
Location
Germany
Github
shikazu
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

 
Last edited by a moderator:
yup it is possible.

just request some in the plugin request section and i will try to code them
default_wink.png


 
Added @mapmoblist

Bump!
default_smile.png
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

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


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

 
Last edited by a moderator:
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 :

 
where to put this plugin and how will i get the @command? like @debuff plugin in the plugin downloads pls help me thanks

 
Back
Top