Question - Adding items to a NM drop pool

Delaide
Posts: 478
Joined: Sat Jun 14, 2014 8:58 am

Re: Question - Adding items to a NM drop pool

Post by Delaide » Sat Apr 09, 2016 11:58 pm

KOSMOS wrote:So I am modifying server to drop stuff from all the old HNMs. Though I was doings this by just adding the item to the mob_droplist.sql which worked great for everything but Hydra. I did not find hydra on that list anywhere. Anyone able to help me out?
I can add it to the file, but I need Hydra's ID and to know the drop IDs that you want to add.

KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

Re: Question - Adding items to a NM drop pool

Post by KOSMOS » Sun Apr 10, 2016 8:18 am

Delaide wrote:
KOSMOS wrote:So I am modifying server to drop stuff from all the old HNMs. Though I was doings this by just adding the item to the mob_droplist.sql which worked great for everything but Hydra. I did not find hydra on that list anywhere. Anyone able to help me out?
I can add it to the file, but I need Hydra's ID and to know the drop IDs that you want to add.
Thank you Delaide,

mobid=16986355
item=18575

Delaide
Posts: 478
Joined: Sat Jun 14, 2014 8:58 am

Re: Question - Adding items to a NM drop pool

Post by Delaide » Mon Apr 11, 2016 12:31 am

Sorry, there is a problem.

DropID = 0, so there has been no dropid assigned to Hydra.
If I knew how to assign a dropID, I could create it, but I don't want to throw arbitrary numbers in there because I am not completely sure how drop ID works.

You can see here:
https://github.com/DarkstarProject/dark ... .sql#L1687

Code: Select all

(groupid,poolid,zoneid,respawntime,spawntype,dropid,hp,mp,minlevel,maxlevel,allegiance)
INSERT INTO `mob_groups` VALUES (1651,2018,51,259200,0,0,73000,0,80,80,0);
So,
groupid = 1651
poolid = 2018
zoneid = 51
respawntime = 259200
spawntype = 0
dropid = 0
hp = 73000
mp = 0
minlevel = 80
maxlevel = 80
allegiance = 0

If someone cares to explain how to figure out the dropid properly, I can try to add. Otherwise, I don't know enough to do it.

KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

Re: Question - Adding items to a NM drop pool

Post by KOSMOS » Mon Apr 11, 2016 12:39 am

Delaide wrote:Sorry, there is a problem.

DropID = 0, so there has been no dropid assigned to Hydra.
If I knew how to assign a dropID, I could create it, but I don't want to throw arbitrary numbers in there because I am not completely sure how drop ID works.

You can see here:
https://github.com/DarkstarProject/dark ... .sql#L1687

Code: Select all

(groupid,poolid,zoneid,respawntime,spawntype,dropid,hp,mp,minlevel,maxlevel,allegiance)
INSERT INTO `mob_groups` VALUES (1651,2018,51,259200,0,0,73000,0,80,80,0);
So,
groupid = 1651
poolid = 2018
zoneid = 51
respawntime = 259200
spawntype = 0
dropid = 0
hp = 73000
mp = 0
minlevel = 80
maxlevel = 80
allegiance = 0

If someone cares to explain how to figure out the dropid properly, I can try to add. Otherwise, I don't know enough to do it.
Kool you answered enough for me. I will get this a drop id tomorrow. Once I get it working I will post it for everyone.

KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

Re: Question - Adding items to a NM drop pool

Post by KOSMOS » Mon Apr 11, 2016 1:29 am

Ok this was pretty simple with that information thank you Delaide.

I ended up going with Ukonvasara on Hydra but this is what I did.

To add a new drop pool edit
mob_droplist.sql

Code: Select all

INSERT INTO `mob_droplist` VALUES (4569,0,19539,10);
Then edit the new drop id you just created
mob_groups.sql

Code: Select all

INSERT INTO `mob_groups` VALUES (1651,2018,51,259200,0,4569,73000,0,80,80,0);
You can do this with mysql also but I prefer to edit the files themselves.

KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

Re: Question - Adding items to a NM drop pool

Post by KOSMOS » Mon Apr 11, 2016 1:32 am

Delaide wrote:I have been looking over my old stuff, and am wondering. Is it possible to add these rare/ex replacements to the server as a configurable?

So something in the map.conf or something, so we can set a flag to drops, then just enable/disable to allow rare where they were replaced by rare/ex? I have been trying to think of more ways to allow customization of the server, and am just wondering if this is one way it can be done. Or, would we need to add a new value into the sql table to allow something like that?
Think that is in item basic let me poke around for a bit sure I can figure it out.

x8jason8x
Posts: 44
Joined: Mon Jan 15, 2018 9:20 am

Re: Question - Adding items to a NM drop pool

Post by x8jason8x » Sat Feb 03, 2018 6:51 pm

Sorry for the necrobump, this info helps me get where I'm going a bit, but can anyone answer how drop id is assigned? Is it just as simple as finding an unassigned number?

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: Question - Adding items to a NM drop pool

Post by whasf » Sun Feb 04, 2018 10:46 am

x8jason8x wrote:Sorry for the necrobump, this info helps me get where I'm going a bit, but can anyone answer how drop id is assigned? Is it just as simple as finding an unassigned number?
Yep
-- Whasf

Post Reply