Jump to content

Recommended Posts

Posted

I tried using this patch in my rAthena svn: 15641, but when I tried running it, the cmd message stops at "Awaiting maps from map-server", Any solution for this? Thank you.

ra has own special drop system.

my patch and ra has conflict(sorry for my bad english)

Posted

ra has own special drop system.

my patch and ra has conflict(sorry for my bad english)

I see, alright. Found out about rA's drop system a while ago. Cool release though. and thank you.

  • 3 weeks later...
Posted

have error

c:documents and settingsadministratordesktoprAthenasrcmapmob.c(4395) : warning C4013: 'mob_common_droprate' undefined; assuming extern returning int

  • 3 weeks later...
Posted (edited)

how about setting it to:

itemid,rate,monsterid

this way we can remove the "common_drop.adv_flag" setting and will work same way, but no more config

so we can just put 0 in monsterid field instead or an actual monsterid if we want the item to have the global specified drop rate

if we put 0 in monsterid then it will affect all monsters with elunium drop

eg.

985,1,1150 // it will set moonlight_flower's elunium's drop rate to 0.01%

985,1,0 // it will set elunium's drop rate to 0.01%

Edited by frenzmu06
  • 1 month later...
  • 3 months later...
  • 4 months later...
Posted

58ba0d7b205cd41209532d662392665f-.jpg

File Name: Advanced common drop system

File Submitter: dreamunreal

File Submitted: 12-26 2011

File Updated: 12-26 2011

File Category: Source Modifications

Why make it:

I think it would be more flexible, if it would work this way:

2115,1 would make valkyrie shield is not effected by drop rate, so you can use the full scale (from 0,01% to 100%).

The original idea would force that, every mob has to drop that item with the SAME chance. However this way the same item can be dropped with different chances from different mobs.

Ind's Special item drop system can't do it.

so. I base on Ind's work to finish this to solve xazax's probrom.

How to use it:

1: create item_droprate.txt in db folder as item database. not a npc.

2: find conf/battle/drop.conf add new line common_drop.adv_flag: 1 as a switch,

if you use type 2 (switch off)

format in item_droprate.txt must like this:

any number,itemid,rate

e.g:

0,985,10000

1000,985,10000 // it will set item 985 drop rate to 100%

if your use type 1(switch on)

format in item_droprate.txt must like this:

mobid,itemid,rate

e.g:

1219,4120,10000 // it will set knight of abyss's knight of abyss card's drop rate to 100%

1150,985,1 // it will set moonlight_flower's elunium's drop rate to 0.01%

if you add new line or modify a line in item_droprate.txt it will run when you reload mobdb,after save.

Other:

this patch. base on eAthena r15049 trunk.

that is all,. enjoy it.

Download:

download 1: Click here to download this file(*.patch)

mirror1: save as (*.patch)

Can i know if this is applicable for eathena latest version??

  • 5 months later...
Posted

Please Solved This

 

4>  mapcache.vcxproj -> C:\Users\PC-rAthena\Desktop\trunk\vcproj-10\..\mapcache.exe
3>  char-server_sql.vcxproj -> C:\Users\Skep'NService\Desktop\trunk\vcproj-10\..\char-server_sql.exe
========== Rebuild All: 2 succeeded, 2 failed, 0 skipped ==========
2>LINK : fatal error LNK1104: cannot open file '..\login-server_sql.exe'
3>------ Rebuild All started: Project: char-server_sql, Configuration: Debug Win32 ------
1>c:\users\PC-rAthena\desktop\trunk\src\map\battle.c(5893): error C2039: 'common_drop_flag' : is not a member of 'Battle_Config'
1>          c:\users\PC-rAthena\desktop\trunk\src\map\battle.h(107) : see declaration of 'Battle_Config'
1>c:\users\PC-rAthena\desktop\trunk\src\map\battle.c(5893): warning C4047: 'initializing' : 'int *' differs in levels of indirection from 'int'
  • 3 weeks later...
  • 5 months later...
  • 7 years later...

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...