Dropping MoonBox And Emrald

09/18/2010 12:35 jasoncoolman#1
yo am wondering if mobs can drop moonbox and emralds becuz becuz i cant find where the promotion selelr is so i founf this idea useful so anyone there who knows thanks
09/18/2010 14:43 Adziunia#2
ehh tell us which source and which patch, i cant help u much coz i dont know what it is so write more details
09/18/2010 14:54 jasoncoolman#3
Quote:
Originally Posted by Adziunia View Post
ehh tell us which source and which patch, i cant help u much coz i dont know what it is so write more details
am using a Source with TeamDeath and pk tourny becuz there is not noobox or emrald npc seller
09/18/2010 16:45 .Beatz#4
Quote:
Originally Posted by jasoncoolman View Post
am using a Source with TeamDeath and pk tourny becuz there is not noobox or emrald npc seller
Seems to me you don't know anything about programming. By what source people mean 5165/5017/5095, Custom source? NCOS? COSx? Arcos? Impulses?

Also if you SEARCH the forum you will find many answers you need.

For example... someone has released a moonbox quest, there is also a guide on how to make NPCs for yourself also someone has released a NPC that sells all that stuff.
09/18/2010 17:32 { Angelius }#5
go to Mob.cs

add this if statement

Quote:
}
if (Name == "HillMonster")
{
if (MyMath.ChanceSuccess(20))

DI2.Info.ID = 1080001;
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
and you'll have hillmonsters droping emeralds

also in mob.cs

add the same code but change the monster name and the item ID
just like this

Quote:
}
if (Name == "Turtledove")//or whatever monster name you want hin to drop the item
{
if (MyMath.ChanceSuccess(20))// change the chance for the item to be dropped

DI2.Info.ID = 721020;//the item ID
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
there you go
and plz dont ask how to add them and where to add them cus i wold say
DO IT YOUR SELF :P
09/18/2010 19:25 .Beatz#6
Quote:
Originally Posted by { Angelius } View Post
go to Mob.cs

add this if statement



and you'll have hillmonsters droping emeralds

also in mob.cs

add the same code but change the monster name and the item ID
just like this



there you go
and plz dont ask how to add them and where to add them cus i wold say
DO IT YOUR SELF :P
Gratz { Angelius } that totally defeats the point of my last post. If something is already released then make members search for it, dont spoonfeed them all the time.

They do not learn and will keep asking and asking questions that have already been answered.

Also
Code:
[COLOR="Red"]else if (MyMath.ChanceSuccess(20))
{
if (Name == "HillMonster")[/COLOR]
[COLOR="red"]{
[/COLOR]DI2.Info.ID = 1080001;
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
[COLOR="Red"]}
}[/COLOR]
and you'll have hillmonsters droping emeralds 

also in mob.cs 

add the same code but change the monster name and the item ID
just like this 

Quote:
[COLOR="red"]else if (MyMath.ChanceSuccess(20))// change the chance for the item to be dropped
{
if (Name == "Turtledove")//or whatever monster name you want hin to drop the item [/COLOR]
[COLOR="red"]{[/COLOR]
DI2.Info.ID = 721020;//the item ID
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
[COLOR="red"]}
}[/COLOR]
09/18/2010 19:52 { Angelius }#7
Quote:
else if (MyMath.ChanceSuccess(20))
{
if (Name == "HillMonster")
{
DI2.Info.ID = 1080001;
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
}
}
and you'll have hillmonsters droping emeralds

also in mob.cs

add the same code but change the monster name and the item ID
just like this


else if (MyMath.ChanceSuccess(20))// change the chance for the item to be dropped
{
if (Name == "Turtledove")//or whatever monster name you want hin to drop the item
{
DI2.Info.ID = 721020;//the item ID
DI2.Info.MaxDur = DI2.Info.DBInfo.Durability;
DI2.Info.CurDur = DI2.Info.MaxDur;
}
}
lol my bad
an about the spoonfeedding
sometimes it makes noobs understand things lol
09/18/2010 21:13 .Beatz#8
Quote:
Originally Posted by { Angelius } View Post
lol my bad
an about the spoonfeedding
sometimes it makes noobs understand things lol
Yeah it can help them sometimes, but then you have to think to yourself... Hang on there is a guide on this that will help them anyway so i'm not gonna help them I am just gonna tell them to search.

you see where I am coming from?