Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 19:14

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

Advertisement



5165 source how do i add all jobs in one small code?

Discussion on 5165 source how do i add all jobs in one small code? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
5165 source how do i add all jobs in one small code?

Code:
                                        if (GC.MyChar.Reborns <= 1 | GC.MyChar.Reborns <= 2 || GC.MyChar.Reborns <= 3 || GC.MyChar.Reborns <= 4 || GC.MyChar.Reborns <= 5 ||
                                            GC.MyChar.Job == 132 || GC.MyChar.Job == 142 || GC.MyChar.Job == 101 || GC.MyChar.Job == 133 || GC.MyChar.Job == 143 ||
                                            GC.MyChar.Job == 134 || GC.MyChar.Job == 144 || GC.MyChar.Job == 100)
how do i make this code way way smaller?

just a code to add a WHOLE CLASS like all trojan / archer / ninja / tao water fire / warrior .
LegalConquer is offline  
Old 02/17/2010, 18:01   #2
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
Why would you wanna have all jobs in one code?
You can only be one job at one time lol.
Decker_ is offline  
Old 02/17/2010, 22:32   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by LegalConquer View Post
Code:
                                        if (GC.MyChar.Reborns <= 5 || GC.MyChar.Job == 132 || GC.MyChar.Job == 142 || GC.MyChar.Job == 101 || GC.MyChar.Job == 133 || GC.MyChar.Job == 143 ||
                                            GC.MyChar.Job == 134 || GC.MyChar.Job == 144 || GC.MyChar.Job == 100)
how do i make this code way way smaller?
@Decker, he wants it so he can weild anything he wants without having to do the /job command which is a total waste of time to keep typing /job.
Arcо is offline  
Old 02/18/2010, 00:16   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Just remove the check entirely? Thats what i would do.
Korvacs is offline  
Old 02/18/2010, 11:57   #5
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
Thanks to all and thanks also for your comments.
salem rey is offline  
Old 02/18/2010, 14:58   #6
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
Quote:
Originally Posted by .Arco View Post
@Decker, he wants it so he can weild anything he wants without having to do the /job command which is a total waste of time to keep typing /job.
Btw arco thats an idea XD!


erm no -.- just a whole class of jobs rotflol! if u looked at my code ude notice its just tao water and fire XD but i need to know how to do this for tro ninja warrior and archer as well XD
LegalConquer is offline  
Reply


Similar Threads Similar Threads
[Small Release] Report Player (5165)
08/01/2010 - CO2 PServer Guides & Releases - 9 Replies
Hey guys just a small release will help some people I hope. I did not add PM/GM check to this but it can easily be added. This is for every player so they can report players and give their reason for the report. You will need to go to your OldCODB folder and make 2 new .txt files. reason.txtreport.txt Now go to your NPCDialogue.cs and add this to the bottom.#region Report Player case 9873: // make sure you change this to the npc you want to use ...
[SMALL RELEASE] 5165 No Melee Attempt
04/11/2010 - CO2 PServer Guides & Releases - 12 Replies
For those of you who might've come across this issue and haven't found a quick and easy solution. I noticed when you summon your guard and try to Melee PK another character the Guard will still attack that character. This happened in the maps where PK wasn't allowed, such as killing other characters in Twin City, as well as PK maps. Most credits go to kamote for his Prohibit Guard Attackrelease. In Attack.cs Search for public static void Handle(Main.GameClient GC, byte Data) Above...
[Help]Trying to code something on Source 5165
04/04/2010 - CO2 Private Server - 4 Replies
I tryed to code that if you have this skill don't learn it again. So i tryed if (Skills.Contains(1000)) *1000 is Thunder skill id* But it is not working, can anyone help me? I think im missing the ID of skill.



All times are GMT +1. The time now is 19:16.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.