Jump to content
Sign in to follow this  
Samuel

Nohomunc Mapflag

Recommended Posts

Hello everyone!

 

Just saw this topic and just gave a try to make a mapflag plugin for it.. :)

 

//===== Description: =========================================
//= Disable Homunculus in a certain map
//===== Usage: ===============================================
//= alberta <tab> mapflag <tab> nohomunc
//============================================================

 

Plugin Link

Share this post


Link to post
Share on other sites
  On 7/20/2016 at 2:00 PM, Samuel said:

Hello everyone!

 

Just saw this topic and just gave a try to make a mapflag plugin for it.. :)

 

//===== Description: =========================================

//= Disable Homunculus in a certain map

//===== Usage: ===============================================

//= alberta <tab> mapflag <tab> nohomunc

//============================================================

 

Plugin Link

Any by chance for rAthena emulator.

Share this post


Link to post
Share on other sites

 

  Reveal hidden contents

 

 

why not use the charm plugin instead?

 

 

  On 7/20/2016 at 7:10 PM, Eternity said:

 

  On 7/20/2016 at 2:00 PM, Samuel said:

Hello everyone!

 

Just saw this topic and just gave a try to make a mapflag plugin for it.. :)

 

//===== Description: =========================================
//= Disable Homunculus in a certain map
//===== Usage: ===============================================
//= alberta <tab> mapflag <tab> nohomunc
//============================================================

 

Plugin Link

Any by chance for rAthena emulator.

 

rathena doesn't have a plugin feature. but this could be converted to a patch, 

Share this post


Link to post
Share on other sites
  On 7/20/2016 at 7:39 PM, Samuel said:

 

  Reveal hidden contents

 

 

why not use the charm plugin instead?

 

 

  On 7/20/2016 at 7:10 PM, Eternity said:
>

 

  On 7/20/2016 at 2:00 PM, Samuel said:

Hello everyone!

 

Just saw this topic and just gave a try to make a mapflag plugin for it.. :)

 

//===== Description: =========================================

//= Disable Homunculus in a certain map

//===== Usage: ===============================================

//= alberta <tab> mapflag <tab> nohomunc

//============================================================

 

Plugin Link

Any by chance for rAthena emulator.

 

rathena doesn't have a plugin feature. but this could be converted to a patch, 

Well you make .patch for rAthena please? :D

Share this post


Link to post
Share on other sites
  On 7/20/2016 at 7:50 PM, Quazi said:

hmmm but how to make this charm like a food buff.. 

 

for example:

 

i get apple that gives +5 Damage to demi-human for 5 minutes Duration.. 

 

I see, you want to set bonus with certain duration and conditions, just saw rathena's script command section and it comes handy, i think it's better to make a pull request of it rather than making it a plugin, will try to do so as it's a little complicated one. :D

 

 

  Reveal hidden contents

 

 

Hmmm, as of now I only support Herc/RagEmu but will try to do so when I'm free and motivated to do so.. :D

Share this post


Link to post
Share on other sites

Wondering if anybody could update this plugin? Seems it no longer works.

nohomunc.c: In function ‘clif_parse_LoadEndAck_post’:
nohomunc.c:62:21: warning: variable ‘hd’ set but not used [-Wunused-but-set-variable]
  struct homun_data *hd;
                     ^
nohomunc.c: In function ‘homunculus_call_post’:
nohomunc.c:85:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if (retVal___ = true) {
  ^
nohomunc.c:79:21: warning: variable ‘hd’ set but not used [-Wunused-but-set-variable]
  struct homun_data *hd;
                     ^
nohomunc.c: In function ‘homunculus_create_post’:
nohomunc.c:104:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if (retVal___ = true) {
  ^
nohomunc.c:97:21: warning: variable ‘hd’ set but not used [-Wunused-but-set-variable]
  struct homun_data *hd;

Share this post


Link to post
Share on other sites

No errors found when build. But the nohomunc is unrecognized.

[Error]: npc_parse_mapflag: unrecognized mapflag 'nohumunc' in file 'npc/mapflag/nohomunc.txt', line '6'.

How to fix?

Thanks in advance.

EDIT: type error "nohumunc". The plugin is working.

Edited by Begin
It works fine.

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

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