Register for your free account! | Forgot your password?

You last visited: Today at 21:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Question]CoEmuv2

Discussion on [Question]CoEmuv2 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2006
Posts: 114
Received Thanks: 30
[Question]CoEmuv2

I coded the MagicArtisan... everythng.. accept for how many mets it takes to upgrade the level... can anyone help me with setting it to take so many mets per level?
imported_spitt_fire911 is offline  
Old 08/01/2009, 08:25   #2
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
thats the part i was having trouble with to can someone help us?
taylor2846 is offline  
Thanks
1 User
Old 08/04/2009, 01:06   #3
 
CIRASH's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
well, have you got the items to up each time? if it works just refer to the millinairelee for how to set the required dbs and how to take them away
CIRASH is offline  
Old 08/04/2009, 03:56   #4
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
i made a simple one , not as Co2 of course but u can change the numbers as u want

add this at the MagicArtisan NPC case

Code:
byte MetsNeed = Calculation.MetsNeeded(ItemId, Plus);
then at anywhere at any class under Calculations folder add this (mine at NextLevelEquip.cs)

Code:
public static byte MetsNeeded(int ItemId,byte Plus)
        {
            byte MetsNeeded = 0;
            Struct.ItemData Item = Nano.Items[ItemId];
            if (Item.Level < 40) MetsNeeded = 2;
            else if (Item.Level < 60) MetsNeeded = 4;
            else if (Item.Level < 75) MetsNeeded = 5;
            else if (Item.Level < 85) MetsNeeded = 7;
            else if (Item.Level < 95) MetsNeeded = 9;
            else if (Item.Level < 100) MetsNeeded = 11;
            else if (Item.Level < 112) MetsNeeded = 18;
            else if (Item.Level >= 112) return 0;
            if (Item.Quality == 9) MetsNeeded += 4;
            else if (Item.Quality == 8) MetsNeeded += 2;
            else if (Item.Quality == 7) MetsNeeded += 1;
            if (Plus > 2) MetsNeeded += Plus;
            return MetsNeeded;
        }
of course u can add the them at the NPCs itself but that is a try to organize your work

Note that u suppose to know how to get the item ID and item plus which u will need at the first call line
byte MetsNeed = Calculation.MetsNeeded(ItemId, Plus)
samehvan is offline  
Thanks
1 User
Old 08/04/2009, 04:48   #5
 
xellios's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 310
Received Thanks: 13
I've got this working u guys r really lucky with samehvan spending his time to help you out.. the rest wont contribute cuz they dont like to share their work and why would they beh anyway * Thanks to samehvan * i dont use it myself but without you they hadnt help xD
xellios is offline  
Thanks
1 User
Old 08/04/2009, 05:24   #6
 
elite*gold: 0
Join Date: Oct 2006
Posts: 75
Received Thanks: 17
nice samehvan, a good and fast way to upgrade items, ppl should know that even tho u told that is not same as co2 i think its close enough, they only need to add earrings upgrade cuz is different from rest of the items.
And maybe at some point this ppl that are asking for help in coding will share their work,give back to the community, and pressing the thanks button if some1 helped them
gad-legion is offline  
Thanks
1 User
Old 08/04/2009, 05:36   #7
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
i have same system to ears and works fine , the only thing they will need beside that is +112 Items that would be WeaponMaster job ,and i think it wont be hard coz he always charge a single DB per each upgrade

Quote:
And maybe at some point this ppl that are asking for help in coding will share their work,give back to the community, and pressing the thanks button if some1 helped them
agreed and hope they will truly try to improve themselves ,sometimes when i think the asking person is smart enough and good learner i just give him tips/hints that would be more helpful for him coz he will work his mind to figure his way " taylor " is one of those guys ,he nvr asked for complete code he just asks for hints or small details ,hope all here walk on that line , i am still a learner myself

@imported_spitt_fire911
i think next time u should title ur thread with some words about ur question so if someone know anything about it will enter ,you know the word help/Question may not attract some ppl to enter ur thread
samehvan is offline  
Reply


Similar Threads Similar Threads
[Question]Coemuv2
02/17/2010 - CO2 Private Server - 6 Replies
Is anyone here still using coemuv2? If you are please tell me and ill start releasing npcs and commands and stuff. I'll make quests and stuff as well.
[Question] CoEmuV2 / 5165 Source
01/01/2010 - CO2 PServer Guides & Releases - 3 Replies
Can Epvp make a new Section for both CoEmuV2 and the 5165 source? beacuse most CoEmu users Come on to Epvp and see 5165 source stuff everywhere and can never find CoEmu V2 stuff. Please Consider it.
[QUESTION]COEmuV2
10/27/2009 - CO2 Private Server - 3 Replies
I'm using phpmyadmin in CoEmuV2.. I saw some guides talking about use Navicat... (I searched for guides of CoEmuV2, and failed) I need to know what is real program for CoEmuV2? phpmyadmin? Navicat? OR BOTH? Please do not flame. Only pots if you really know.
[Question]CoEmuv2 jump
08/26/2009 - CO2 Private Server - 7 Replies
How can I change the jump style of a duel weilder trojan to the OLD jump style?
[Question]CoEmuv2 video
08/11/2009 - CO2 Private Server - 4 Replies
Yo in this link there is a video on how to setup CoEmu v2. I noticed he's using Visual #C to change the stuff. But the question is, why does he press F5? If I use notepad to do this and don't press F5 will it make a difference? http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/255421-guide-video-all-files-sour ce-coemu-v2.html



All times are GMT +1. The time now is 21:35.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.