Jump to content

[Mapflag] Mobitemadder


Zephyr

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   29
  • Joined:  10/11/12
  • Last Seen:  

index.php?app=downloads&module=display&section=screenshot&id=2746

File Name: [Mapflag] Mobitemadder

File Submitter: Zephyr

File Submitted: 28 Dec 2012

File Category: Source Modifications

Content Author: Zephyr

This mapflag sets more drops for monsters at the map that it's been attached.

Sintax:

mapname<TAB>mapflag<TAB>mobitemadder<TAB>mob_id,item_id,drop_per{,item_id,drop_per(...)}

You can set up to ~50 more items for mobs.

"drop_per" is the chance of drop, from 1 (0,01%) to 10000 (100%).

There's an example at the screenshot, I setted a Yggdrasil Berry with 100% of chance for the Poring at prt_fild08 map.

You can set a lot of mobs, but you have to set more mapflags for your maps.

Click here to download this file

  • Upvote 7
  • Love 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

Very useful as an alternative to editing the mob_db all the time if you wanted custom drops. Thanks a lot. =)

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  227
  • Reputation:   11
  • Joined:  11/16/11
  • Last Seen:  

I'm having a problem with this. Sometimes it drops random items like refined sakkat box. I'm using mobitemadder mapflag for 3 monsters on the same map and 1 monster is dropping refined sakkat box. Others drop Falcon Flute.

Edited by RaGERO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

yeah, i encountered same problem with RaGERO

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   29
  • Joined:  10/11/12
  • Last Seen:  

This mapflag doesn't affect the original mob drops, they will drop the original drops setted on mob_db AND the drops setted at the mapflag.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

yes we know that, but sometimes it drops items w/o in the mob_db and set items in mapflag

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

nice mod, I'll implement and test later.. haha

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  83
  • Reputation:   8
  • Joined:  12/27/11
  • Last Seen:  

Getting an error when I tried to recompile my server. 

 

Nevermind. Got it working now. Thanks for the release!

Edited by arzzzae
Link to comment
Share on other sites

  • 7 months later...

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   18
  • Joined:  01/02/12
  • Last Seen:  

Very useful. Thanks for Release this :D

Link to comment
Share on other sites

  • 6 years later...

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  69
  • Reputation:   79
  • Joined:  02/20/20
  • Last Seen:  

Hi !

Is there an updated version of it? I tried the current one but I'm having a strange issue:
It works, 4 grapes are appearing only when I kill poring and only in Rachel as defined BUT with 2 staffs + 1 unknown item.

rachel    mapflag    mobitemadder    1002,514,10000,514,10000,514,10000,514,10000

434296721_screenDivineAscensionRO016.jpg.1a31b4a7364c62de144f2b394ba89820.jpg

Edited by grenat50
Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  08/12/13
  • Last Seen:  

On 4/21/2020 at 11:33 PM, grenat50 said:

Hi !

Is there an updated version of it? I tried the current one but I'm having a strange issue:
It works, 4 grapes are appearing only when I kill poring and only in Rachel as defined BUT with 2 staffs + 1 unknown item.

rachel    mapflag    mobitemadder    1002,514,10000,514,10000,514,10000,514,10000

434296721_screenDivineAscensionRO016.jpg.1a31b4a7364c62de144f2b394ba89820.jpg

+1 for update.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   29
  • Joined:  09/16/20
  • Last Seen:  

Amazing work, but needs a fix, i can work in that, someday i comment the solution in this post. +1 if you need

  • Love 1
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   29
  • Joined:  09/16/20
  • Last Seen:  

To fix the error about the random drop items is:

		// Mapflag 'mobitemadder' (Zephyr)
		if( map[m].mobitemadder_droplist[0].mob_id == md->mob_id ) {
			// for( i = 1; i < sizeof( map[m].mobitemadder_droplist ); i = i + 1 ) <----- Change this
			for( i = 1; i < sizeof( map[m].mobitemadder_droplist[0].item_id ); i = i + 1 ) <----- Add this

 

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   29
  • Joined:  09/16/20
  • Last Seen:  

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...