Chance Drop Item

11/18/2010 15:59 AziQ#1
[Only registered and activated users can see links. Click Here To Register...]

Based on the picture and the box,can i know which 1 controlling drop chance .?cause i cant find it .

P/s=more clear just click the picture .
11/18/2010 18:08 kyushiro#2
Lets start here

Explanation


drop chance of items you neeed to change in cq_drop_itemrule there is a column name chance then you can edit there by make 100000 or 100000 so the item will drop mostly and if you wish to change the type of item just edit at drop item 1= put your id items what you want and also at another column drop item 2,3,4,5,6,7 depends on you..

**Guides

each monster has a drop item rule type this can the be connected to the type field in the drop_item_rule table. So make new types and assign the relevant monsters to the new type.

you also can make it easy, go to your cq_monstertype and each monster in that map you give 1 unique dropitemrule ID

monsters in another map, another unique ID

than you can just add like 8 rows or something in your cq_drop_item_rule and you have of each map unique drops.

and than you do not need to change every row.

***
some added info
1. you will need your cq_monstertype and cq_dropitemrule.
2. E.G. cronus contains only madbulls,GreenDiants and bullywangs, lok for them in cq_monstertype.
3. look at the ids of the monsters and copy madbulls id, then go to cq_dropitemrule.
4. then look for your monstertype id in cq_dropitemrule in column, group_id.
5. in cq_dropitemrule you will see columns item0 - item14, chnage the numbers in those columns for the group id, those numbers are the items that monsters drop.

***
Using Query will be like this

update FIleName(Likecq_drop_item_rule) set <Here The column name>=Here Numbers or letters;

Drop rates

update cq_dropitemrule set item0=ITEM ID HERE;
update cq_dropitemrule set item1=ITEM ID HERE;
update cq_dropitemrule set item2=ITEM ID HERE;
update cq_dropitemrule set item3=ITEM ID HERE;
update cq_dropitemrule set item4=ITEM ID HERE;
update cq_dropitemrule set item5=ITEM ID HERE;
update cq_dropitemrule set item6=ITEM ID HERE;
update cq_dropitemrule set item7=ITEM ID HERE;
update cq_dropitemrule set item8=ITEM ID HERE;
update cq_dropitemrule set item9=ITEM ID HERE;
update cq_dropitemrule set item10=ITEM ID HERE;
update cq_dropitemrule set item11=ITEM ID HERE;
update cq_dropitemrule set item12=ITEM ID HERE;
update cq_dropitemrule set item13=ITEM ID HERE;
update cq_dropitemrule set chance=chance*10;

I believed this can help you but not sure if i am fullfill what you asking for..:)
Hopefully this can give you some idea:rolleyes:

But as can seen in your cq_action you tick in the box so i guess to change the items you need edit the item id where is 741255if i am not mistaken..
11/18/2010 20:32 funhacker#3
Well actually.. if s/he is talking about the action code that says drop item, then if my memory serves me right it's the action types 121 with the parameter of CHANCE OUTOFCHANCE

Meaning 1 100 = 1 out of 100 chance of succession eg. 1%
11/19/2010 05:38 AziQ#4
Quote:
Originally Posted by kyushiro View Post
Lets start here

Explanation


drop chance of items you neeed to change in cq_drop_itemrule there is a column name chance then you can edit there by make 100000 or 100000 so the item will drop mostly and if you wish to change the type of item just edit at drop item 1= put your id items what you want and also at another column drop item 2,3,4,5,6,7 depends on you..

**Guides

each monster has a drop item rule type this can the be connected to the type field in the drop_item_rule table. So make new types and assign the relevant monsters to the new type.

you also can make it easy, go to your cq_monstertype and each monster in that map you give 1 unique dropitemrule ID

monsters in another map, another unique ID

than you can just add like 8 rows or something in your cq_drop_item_rule and you have of each map unique drops.

and than you do not need to change every row.

***
some added info
1. you will need your cq_monstertype and cq_dropitemrule.
2. E.G. cronus contains only madbulls,GreenDiants and bullywangs, lok for them in cq_monstertype.
3. look at the ids of the monsters and copy madbulls id, then go to cq_dropitemrule.
4. then look for your monstertype id in cq_dropitemrule in column, group_id.
5. in cq_dropitemrule you will see columns item0 - item14, chnage the numbers in those columns for the group id, those numbers are the items that monsters drop.

***
Using Query will be like this

update FIleName(Likecq_drop_item_rule) set <Here The column name>=Here Numbers or letters;

Drop rates

update cq_dropitemrule set item0=ITEM ID HERE;
update cq_dropitemrule set item1=ITEM ID HERE;
update cq_dropitemrule set item2=ITEM ID HERE;
update cq_dropitemrule set item3=ITEM ID HERE;
update cq_dropitemrule set item4=ITEM ID HERE;
update cq_dropitemrule set item5=ITEM ID HERE;
update cq_dropitemrule set item6=ITEM ID HERE;
update cq_dropitemrule set item7=ITEM ID HERE;
update cq_dropitemrule set item8=ITEM ID HERE;
update cq_dropitemrule set item9=ITEM ID HERE;
update cq_dropitemrule set item10=ITEM ID HERE;
update cq_dropitemrule set item11=ITEM ID HERE;
update cq_dropitemrule set item12=ITEM ID HERE;
update cq_dropitemrule set item13=ITEM ID HERE;
update cq_dropitemrule set chance=chance*10;

I believed this can help you but not sure if i am fullfill what you asking for..:)
Hopefully this can give you some idea:rolleyes:

But as can seen in your cq_action you tick in the box so i guess to change the items you need edit the item id where is 741255if i am not mistaken..
thanks for that .and 1 information for u this monter not madbull or etc in cronus .its luck monster which come from a box name luckchest .so i dont know how to edit the drop chances .and i think we have to edit from cq_action .but i dont know which one controlled it .
11/19/2010 11:50 .Ash#5
Quote:
Originally Posted by AziQ View Post
thanks for that .and 1 information for u this monter not madbull or etc in cronus .its luck monster which come from a box name luckchest .so i dont know how to edit the drop chances .and i think we have to edit from cq_action .but i dont know which one controlled it .
Its in cq_action. its just like family war prize. Check its ID and know how it works. Ive uploaded the actions, check it. it will explain more. Here is a chance data
Code:
ACTION_RAND = 121, // examines along with the probability."data1 data2".“10 100 " the expression has 1/10 opportunity is true.
Lol check this out..
Code:
ACTION_USER_WEBPAGE = 1041, // notice client side opens the homepage.param= " http://....“
You can make it open a web browser when someone click on and item :P
11/19/2010 14:23 Seraphium#6
Yes, that file was from the source codes of the old server programs which was released probably years ago. Anyway, the action that your referring to in the screenshot doesnt have any relevance to chance, it just tells the server to make a log. But other than that just follow what funhacker said.
11/22/2010 00:24 louise32#7
should look something like this


250000800 250000801 250000802 121 0 1 1250 <--------chance 1 in 1250
250000801 250000802 0 801 0 dropitem (item id)
11/22/2010 00:30 .Ash#8
Quote:
Originally Posted by louise32 View Post
should look something like this


250000800 250000801 250000802 121 0 1 1250 <--------chance 1 in 1250
250000801 250000802 0 801 0 dropitem (item id)
I haven't used this type much, but the explanation says:

Code:
ACTION_RAND = 121, // examines along with the probability."data1 data2".[B][I][U]“10 100 " the expression has 1/10 opportunity is true.[/U][/I][/B]
if 10 100 means 10%, 1 1250 means.... .08%... Trust but verify please.
11/22/2010 08:13 funhacker#9
it's basic math. the example says 1/10 not 1%, meaning 1/10 = 10%
11/22/2010 13:03 .Ash#10
Quote:
Originally Posted by funhacker View Post
it's basic math. the example says 1/10 not 1%, meaning 1/10 = 10%
Yeahh. thats what i meant lol :P

But i was getting at, where 10 100 gives 1/10 percent chance. 1 1250 is 1/1250?..
11/22/2010 13:49 funhacker#11
Quote:
Originally Posted by .Ash View Post
Yeahh. thats what i meant lol :P

But i was getting at, where 10 100 gives 1/10 percent chance. 1 1250 is 1/1250?..
Yes that's right.

Which is a 0.08% chance
11/25/2010 04:01 haizamlee#12
which one is highest rate of drop.. 1000 or 1
11/25/2010 04:32 track19#13
when is ur server will be out...i am malaysian
11/25/2010 05:46 AziQ#14
Quote:
Originally Posted by track19 View Post
when is ur server will be out...i am malaysian
if u want to chat use private message .
11/25/2010 12:47 .Ash#15
Quote:
Originally Posted by haizamlee View Post
which one is highest rate of drop.. 1000 or 1
numerator or denominator?.. 1000/1 is better lol