|
You last visited: Today at 08:23
Advertisement
Cps from every monster
Discussion on Cps from every monster within the CO2 Private Server forum part of the Conquer Online 2 category.
05/21/2010, 15:05
|
#1
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
Cps from every monster
Okay i got cps to into your inventory working but they only drop from pheasents, is there any way of getting them to drop from all monsters and also somehow DBs go into your inventory too, anybody know how to get rid of it?
|
|
|
05/21/2010, 23:36
|
#2
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
|
Go to where you added your cp drop code and check for anything refering to monster meshes (such as if (monster.info.mesh == 1) or something. Completely removing that makes it apply to all monsters.
As for db's going to inventory, look up the db id (should be in items:txt or something in you bin folder. search the source till you find the drop for it. Sounds to me like whoever made your source has the db's going to inventoru, look at how other items are dropped on the ground in the same section and do the same for db's (but with the db item id)
|
|
|
05/22/2010, 06:22
|
#3
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
|
Lets see the code your using for the cps drops in mob.cs.
|
|
|
05/22/2010, 10:34
|
#4
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
if (MyMath.ChanceSuccess(100))
{
if (Char != null)
if (MobID == 1)
{
Char.Silvers += 1000000;
Char.CPs += 200;
return;
}
}
Thats my CP and money code, as for DBs is got the inventory count to add the item, should i just remove that bit? DB code:
if (MyMath.ChanceSuccess(DropRates.DragonBall))
{
if (Char != null)
if (Char.VipLevel >= 0)
{
if (Char.Inventory.Count <= 39)
{
Char.AddItem(1088000);
return;
}
}
|
|
|
05/22/2010, 10:37
|
#5
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
|
Yeah just delete the entire db part.
And is there anywhere else your doing Char.Cps += in mob.cs?
|
|
|
05/22/2010, 10:59
|
#6
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
Okay and i think its just money,CPs and DBs that are going into the inventory
|
|
|
05/22/2010, 11:03
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
|
So exactly what is the problem?
|
|
|
05/22/2010, 11:15
|
#8
|
elite*gold: 0
Join Date: May 2010
Posts: 174
Received Thanks: 13
|
Ohh i wasnt sure how to get rid of the DB going into the inventory, thanks for the help
|
|
|
05/22/2010, 17:24
|
#9
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
|
Quote:
Originally Posted by 2010mrsurfer
if (MyMath.ChanceSuccess(100))
{
if (Char != null)
if (MobID == 1)
{
Char.Silvers += 1000000;
Char.CPs += 200;
return;
}
}
Thats my CP and money code
|
I assume you figured it out already but simply remove the if(MobID == 1) part. Pheasants are mob Id 1 so that's the only mobs triggering that code.
Note: you can do a much better version of that script adding in random chance... It's been posted in the release section (a few times)... maybe it's just me who absolutely HATES fixed drops lol.
|
|
|
05/22/2010, 18:20
|
#10
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
|
Quote:
Originally Posted by pro4never
I assume you figured it out already but simply remove the if(MobID == 1) part. Pheasants are mob Id 1 so that's the only mobs triggering that code.
Note: you can do a much better version of that script adding in random chance... It's been posted in the release section (a few times)... maybe it's just me who absolutely HATES fixed drops lol.
|
Like the one you released?
Or was that not random chance?
|
|
|
05/22/2010, 18:32
|
#11
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
|
Quote:
Originally Posted by .Arco
Like the one you released?
Or was that not random chance?
|
My CoEmu one was completely random chance (I changed it more on my live server but w/e) but someone converted it for 5165 lotf.
Basically it took into account player level, monster level, random chance (for obtaining), multiplier and random amount. For simplicity I had easily editable variables for that stuff so you could change it easier.
I dunno.. it just really bothers me when I see all these servers being like "200 cps per mob!" or some bs like that...
|
|
|
|
Similar Threads
|
Monster Tot noch ein Monster ?
01/19/2010 - Metin2 Private Server - 24 Replies
Hey Leute ich wollte mal gerne wissen ...
Wie man das macht das wenn man ein Monster gekillt wird noch eins Spawnt ???
Jede brauchbare Antwort = Thanks^^
Vielleicht muss man auch ne Quest schrieben keine ahnung...
|
[Help] Monster
09/22/2009 - CO2 Weapon, Armor, Effects & Interface edits - 10 Replies
Heys i was just wondering where i can find da monsters so i can edit them :D. I do be soooo thankful for those who help :D
:handsdown::handsdown::handsdown:
|
Monster.ini file - Boss Monster time and location
12/16/2008 - Zero - 2 Replies
does any1 have the monster.ini file that tell you wen the boss monster appears and where it appears cause i think they mightve patched over the other 1. if any1 can find a way to get it to work again id be grateful. if u think u can help i can send u the other monster.ini file that used to work. Or if this isnt possible does any1 have spawn times for the bosses in neptune/green planet?
Either of those would be helpful
Thanks in advance
|
Monster + Monster = sandocan
07/03/2008 - Say Hello - 1 Replies
HELLO ALL :D
|
Monster.ini changed to Monster.dat
02/04/2007 - Conquer Online 2 - 11 Replies
sie haben das ganzes Monsterinfo von monster.ini zu monster.dat jeder möglicher Anhaltspunkt verschlüsselt auf, wie man die Verschlüsselung also uns kann die Meteortaube groß wieder bilden bricht?
Ich benutzte einen Übersetzer für diesen Pfosten, den ich nicht kann, genau er ist
|
All times are GMT +1. The time now is 08:23.
|
|