Register for your free account! | Forgot your password?

You last visited: Today at 18:55

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

Advertisement



[Release]How to fix Prof Level

Discussion on [Release]How to fix Prof Level within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
[Release]How to fix Prof Level

ok in some sources prof goes to lvl 21+ i ones got it to lvl 60 something XD but lets get to the point..
go to Character.CS and search for:
Code:
public void AddProfExp(short Type, uint Amount)
after
Code:
if (Prof_Exps.Contains(Type))
add
Code:
if (Prof_Lev < 20)
{
then you will see
Code:
byte Prof_Lev = (byte)Profs[Type];
cut it and paste it above the "if (Prof_Lev < 20)" so it will look like that
Code:
byte Prof_Lev = (byte)Profs[Type];
                if (Prof_Lev < 20)
                {
then just close it with "}" at the end of the code, and your good....i hope that it actually helps some one
if you have a better way, please do tell if you want =)
don't forget to click "Thanks" button if it helped you =)
i'm not sure if its the same in LOTF sources cuz i'm using PowerSource...
BlooD-BoY is offline  
Thanks
6 Users
Old 10/22/2008, 01:28   #2
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
added to
XxArcherMasterxX is offline  
Old 10/22/2008, 01:32   #3
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
Quote:
Originally Posted by XxArcherMasterxX View Post
added to
DID U ASK MY PERMISION?!? AHHA?! no jk ;P cool, i feel special now i got 2 guides on the list O.O lolz
BlooD-BoY is offline  
Old 10/22/2008, 02:18   #4
 
Eternal46's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 248
Received Thanks: 11
Quote:
Originally Posted by BlooD-BoY View Post
... now i got 2 guides on the list O.O lolz
Well good for you
Eternal46 is offline  
Old 10/22/2008, 04:24   #5
 
elite*gold: 0
Join Date: Feb 2008
Posts: 217
Received Thanks: 26
Hah nice , Yeah I've gotten lvl 60 something as well.. like 421 actually.
demonscim is offline  
Old 10/22/2008, 22:58   #6
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
No guides on the list, heck yeah =O!
tao4229 is offline  
Old 10/27/2008, 22:05   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 92
Received Thanks: 21
Quote:
Originally Posted by BlooD-BoY View Post
ok in some sources prof goes to lvl 21+ i ones got it to lvl 60 something XD but lets get to the point..
go to Character.CS and search for:
Code:
public void AddProfExp(short Type, uint Amount)
after
Code:
if (Prof_Exps.Contains(Type))
add
Code:
if (Prof_Lev < 20)
{
then you will see
Code:
byte Prof_Lev = (byte)Profs[Type];
cut it and paste it above the "if (Prof_Lev < 20)" so it will look like that
Code:
byte Prof_Lev = (byte)Profs[Type];
                if (Prof_Lev < 20)
                {
then just close it with "}" at the end of the code, and your good....i hope that it actually helps some one
if you have a better way, please do tell if you want =)
don't forget to click "Thanks" button if it helped you =)
i'm not sure if its the same in LOTF sources cuz i'm using PowerSource...

dont work for me
bug alot my console when i atack monsters
reborn666 is offline  
Old 11/20/2008, 12:33   #8
 
AngelusInkubus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 89
Received Thanks: 2
Quote:
Originally Posted by reborn666 View Post
dont work for me
bug alot my console when i atack monsters
Perhaps the character you were testing the prof already had prof above 20?
This might cause errors.
If true, open your database on phpmyadmin and edit the prof of your char on the character page or test it with a fresh new account.
AngelusInkubus is offline  
Reply


Similar Threads Similar Threads
[Release] NPC That Teaches You Prof For Each Class
02/28/2010 - CO2 PServer Guides & Releases - 10 Replies
Some credits to .Arco for hinting me :D Put this in NPCDialog.cs: #region Prof Teacher case 677895: { if (Control == 0) { GC.AddSend(Packets.NPCSay("Would you like to learn all main weapon profencies for your class?")); GC.AddSend(Packets.NPCLink("Yes", 1));
[Guide] Some noob Npc functions (prof, level, stats etc)
07/01/2009 - CO2 PServer Guides & Releases - 4 Replies
Ok so it's nothing fancy at all but I figured I'd give some nubs a few pointers on how to script npcs (in coemu2.0 nano) that have special functions. There are countless examples of teleporters, item givers and other such simple npc's on here so that shouldn't be any big deal but I figured I'd point out some very simple functions for accessing the database for characters. Prof Lets say you have an npc that is already giving out weapons, why not have it also give you the required prof...
[Release] Fix prof lvl
01/28/2009 - CO2 PServer Guides & Releases - 6 Replies
In caracter.cs Search: if (Prof_Exp > DataBase.NeededProfXP(Prof_Lev)) { Prof_Lev++; Prof_Exp = 0; ProfLeveled = true; } & remplace for :
[release] my way for fix prof
10/28/2008 - CO2 Private Server - 5 Replies
Character.cs search for: if (ProfLeveled) under add: else if (Prof_Lev > 20) { Prof_Lev = 20; Prof_Exp = 0; Profs.Remove(Type); }
How to level bow prof without bow
07/02/2007 - Conquer Online 2 - 3 Replies
I keep seeing archers standing far away from the stakes and firing arrows at it withthe animation of boxing how do you do this?



All times are GMT +1. The time now is 18:55.


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.