|
You last visited: Today at 15:48
Advertisement
Prevent some items from dropping
Discussion on Prevent some items from dropping within the CO2 Private Server forum part of the Conquer Online 2 category.
09/17/2014, 03:00
|
#1
|
elite*gold: 0
Join Date: Sep 2014
Posts: 101
Received Thanks: 51
|
Prevent some items from dropping
Hey,
Just wanna prevent some items from dropping from monsters,
i tried monsterinfos > Weapon_drop
i changed it to zero but lol still dropping all kind of items.
However, i wanna just prevent CrossSaber And Epic Ninja's Weapon.
can anybody help?
|
|
|
09/17/2014, 03:31
|
#2
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
|
what source u use?
if Trinty based source
check monstertable.cs
and search for this code
PHP Code:
if (!ItemDropCache.ContainsKey(lvl)) { List<uint> itemdroplist = new List<uint>(); foreach (ConquerItemBaseInformation itemInfo in ConquerItemInformation.BaseInformations.Values) {
if (itemInfo.ID >= 800000 && itemInfo.ID <= 824014) continue; ushort position = Network.PacketHandler.ItemPosition(itemInfo.ID); if (Network.PacketHandler.IsArrow(itemInfo.ID) || itemInfo.Level == 0 || itemInfo.Level > 121) continue; if (position < 9 && position != 7) { if (itemInfo.Level == 100) if (itemInfo.Name.Contains("Dress")) continue; if (itemInfo.Level > 121) continue; int diff = (int)lvl - (int)itemInfo.Level; if (!(diff > 10 || diff < -10)) { itemdroplist.Add(itemInfo.ID); } } if (position == 10 || position == 11 && lvl >= 70) itemdroplist.Add(itemInfo.ID); } ItemDropCache.Add(lvl, itemdroplist); }
u will know what u will do
|
|
|
09/17/2014, 04:19
|
#3
|
elite*gold: 0
Join Date: Sep 2014
Posts: 101
Received Thanks: 51
|
Well, i had found that code.
But, i can't exactly get it.. i just wanna make an exception for Nobunaga'sClaw & CrossSaber
as i'm new in programming techniques. How can i make that exception? ..
|
|
|
09/17/2014, 04:29
|
#4
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
What horrible code... I don't blame you for not understanding it.
Look up selection statements in C#.
|
|
|
09/17/2014, 13:59
|
#5
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
|
Quote:
Originally Posted by Paristôn
Well, i had found that code.
But, i can't exactly get it.. i just wanna make an exception for Nobunaga'sClaw & CrossSaber
as i'm new in programming techniques. How can i make that exception? ..
|
if (itemInfo.ID >= 800000 && itemInfo.ID <= 824014 || itemInfo.ID /1000 == 616|| itemInfo.ID /1000 == 614)
|
|
|
09/17/2014, 16:59
|
#6
|
elite*gold: 0
Join Date: Sep 2014
Posts: 101
Received Thanks: 51
|
Quote:
Originally Posted by abdoumatrix
if (itemInfo.ID >= 800000 && itemInfo.ID <= 824014 || itemInfo.ID /1000 == 616|| itemInfo.ID /1000 == 614)
|
Thank you, it's Done! #
But, Excuse me i have another question.
Just wanna make a new Conquer Currency beside CPS and Money .. Called "VOTE POINTS"
I mean, if somebody went to my website and voted, he would get 1 vote point per day.
Cuz i made NPC for selling special items with VP. But i can't get the idea of making these vps.
can anybody help?
|
|
|
09/17/2014, 17:17
|
#7
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Well, how are CPs and Silver being saved? If you can figure that out, then you'll be able to add a new currency. Search the source for a currency. right click and say "go to definition".
|
|
|
09/17/2014, 17:17
|
#8
|
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
|
Quote:
Originally Posted by Paristôn
Thank you, it's Done!
But, Excuse me i have another question.
Just wanna make a new Conquer Currency beside CPS and Money .. Called "VOTE POINTS"
I mean, if somebody went to my website and voted, he would get 1 vote point per day.
Cuz i made NPC for selling special items with VP. But i can't get the idea of making these vps.
can anybody help?
|
Please, stop trying to run a private server when you obviously know absolutely nothing about programming.
|
|
|
09/17/2014, 17:27
|
#9
|
elite*gold: 0
Join Date: Sep 2014
Posts: 101
Received Thanks: 51
|
Quote:
Originally Posted by Best Coder 2014
Please, stop trying to run a private server when you obviously know absolutely nothing about programming.
|
Haaaa, I got enough from peoples like you. you just make me so naive guys.
I'm learning, not going to open anyfkn server. Just stop it -_-
Spirited > Thank you, i will search myself
|
|
|
09/17/2014, 18:01
|
#10
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
|
Quote:
Originally Posted by Best Coder 2014
Please, stop trying to run a private server when you obviously know absolutely nothing about programming.
|
I would channel that more towards abdoumatrix. I'm quite annoyed by his constant spoon feeding of thrown up code. It's such a negative influence. What people need in this community (and what I got when I was a member asking for help) is real help. Not, give a man a fish - teach a man how to fish. I know I don't need to say the full quote. I'm not saying teach anyone how to program either - teach them the very basic skills required to have them figure out the problem. Simple.
|
|
|
09/17/2014, 18:26
|
#11
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
|
Quote:
Originally Posted by Spirited
I would channel that more towards abdoumatrix. I'm quite annoyed by his constant spoon feeding of thrown up code. It's such a negative influence. What people need in this community (and what I got when I was a member asking for help) is real help. Not, give a man a fish - teach a man how to fish. I know I don't need to say the full quote. I'm not saying teach anyone how to program either - teach them the very basic skills required to have them figure out the problem. Simple.
|
what ever u do it is useless . they should have the will to learn first.
if they want to learn they will search and tried and learn from everything.
everything he do should give him more experience.
and u can never predict if help (spoon feeding) could make it better or worse
it differ from person to another
|
|
|
09/17/2014, 19:10
|
#12
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
Quote:
Originally Posted by abdoumatrix
what ever u do it is useless . they should have the will to learn first.
if they want to learn they will search and tried and learn from everything.
everything he do should give him more experience.
and u can never predict if help (spoon feeding) could make it better or worse
it differ from person to another
|
He released lots of quality code and articles over the years, you spoonfed tons of noobs with horrible code. There is difference between positive and negative experience, from your examples people will learn how to get fired at an actual company.
|
|
|
09/17/2014, 19:16
|
#13
|
elite*gold: 0
Join Date: Sep 2014
Posts: 101
Received Thanks: 51
|
Just encourage the noobs .. i hate this behavior "To tell me, you are useless go to learn first" . and he can't understand that i'm already learning but (Learning by doing) i love practice .. not to open a book/video and just try to know. nah, it's the true meaning of (USELESS).
In the other hand, about currency, i could add the BoundCPs, and i made a new SPECIAL-ITEMS-NPC sells it for 15BoundCPs for each item, Player gets 1 BoundCps from voting per day.
I can tell, it's much easier.
Thanks all,
and sorry for my rude english, already not my main lang.
|
|
|
09/17/2014, 19:34
|
#14
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
|
I disagree with spirited's way of "helping" too. Just ignore him.
I started just like you, now look where I am.
|
|
|
09/17/2014, 19:55
|
#15
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
|
Quote:
Originally Posted by KraHen
He released lots of quality code and articles over the years, you spoonfed tons of noobs with horrible code. There is difference between positive and negative experience, from your examples people will learn how to get fired at an actual company.
|
it is already horrible before i do anything
and you don't get what i say right.
what i mean
u always
say "learn first , go learn first " .... etc
but they won't listen. they must have the will to learn first
but if they have the will to learn and learning on thier own there will get a use of everything
code , reference ...etc...
|
|
|
 |
|
Similar Threads
|
[Help] Login Freeze when dropping too many items.
12/20/2008 - CO2 Private Server - 10 Replies
When people on my server drop too many items, login freeze occurs and then there's this error on my console. I forgot what it said, so ill post it on Friday. When I try to login it will say Connecting to the server...please wait.... and it stays like that until I restart the server. I want to fix this so we can drop as many items as we can. I have an auto-refresher every 5 minutes so it wont lag. Can someone help me with this?
|
Sound of dropping items
08/23/2007 - Conquer Online 2 - 3 Replies
Hi all. I have a question...
in the folder Conquer 2\sound are all the sounds of CO
but if I play the sound of a dropping item i don't hear annything
DropBook.wav
dropequip1.wav
dropequip.wav
dropGem.wav
DropItem.wav
dropMed.wav
|
SV dropping items problem
08/15/2007 - Conquer Online 2 - 0 Replies
i used the latest codes from the .ct and SV drops the a refined item and picks it up again and over and over. any help? i also use the SV itemtype.dat
|
Dropping items in your house.
07/08/2006 - CO2 Exploits, Hacks & Tools - 12 Replies
I'm pretty sure there hasnt been posts about this yet. It's not exactly something that is very useful. But there is a way to drop items in your house :). Simply get good ol' cotobo, and CTRL+D.
-einhornchen
|
Not dropping items when red or black name.
12/31/2005 - Conquer Online 2 - 5 Replies
Could it be possible to change the item type of your items, to make it where you are not dropped when you die?
|
All times are GMT +1. The time now is 15:51.
|
|