Migrating from rAthena

chriser

New member
Messages
3
Points
0
Hi guys!

I'm currently migrating our server (custom rAthena, about 1 year old version) to hercules, and I have some questions:

  1. Is there any nice way to convert my item/mob/... MySQL db to the .conf format? I only saw .txt -> .conf converters.
  2. Regarding HPM function overloading: What happens if two plugins overload the same function? To my understanding, only the plugin which was loaded last gets to overload that function.
  3. Is it possible to add custom params using HPM? (by params I mean stuff like Zeny or Hp inside scripts)
  4. Is it possible to add custom mapflags using HPM?
  5. Is there any documentation for the HPM (except the wiki)?
  6. Is there a communication channel outside of the forums for devs?
Looking forward to your answers
default_smile.png


Cheers,

chriser

 
2. depend how plugin hook type and is it block other functions with same name.

It can hook pre function, and if it not call hookStop() other plugins and server can execute oroginal function. If it call hookStop(), all other plugins and original function will be blocked.

It can hook post function. Then it will be called after pre, and normal function.

3. yes

4. yes

5. try see other plugins.

6. irc

 
thanks for your answers!

by function overloading I dont mean the hooks, I mean using this:

pc->additional_bonus = &my_own_bonus_func

With hooks it is pretty clear that all plugins get called, but using this method it seems that only one plugin gets his function called.

 
Yes overloading block other plugins if they overloaded this function before

 
ok, as expected, thanks
default_biggrin.png


let's see if I can manage to convert my sql database to the conf format. shouldn't be that hard, libconfig format seems pretty nice.

 
Back
Top