Register for your free account! | Forgot your password?

You last visited: Today at 18:00

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

Advertisement



[Release]Fix for 130+ items

Discussion on [Release]Fix for 130+ items within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2006
Posts: 36
Received Thanks: 27
[Release]Fix for 130+ items

Alright, so you have 130+ items on your server and you do not want people to be able to use WeaponMaster do upgrade to that gear.

Here's an easy fix:

In NPCDialog.cs go to Market High Upgrade or whatever you called it in your source and below

Code:
if (GC.MyChar.Level >= NewLevel)
add this

Code:
if (NewLevel != 0 && NewLevel <= 130 && PrevLevel < 135)
This makes it so he will not up any gear above level 130 and you can make your specialty items as a quest or what ever. This also fixes it so people don't get the wrong items if you have job specific items on your server.

EDIT: Sorry this is for 5165...
Hanibal is offline  
Thanks
6 Users
Old 01/29/2010, 18:24   #2
 
elite*gold: 0
Join Date: Jan 2010
Posts: 116
Received Thanks: 33
GOOD JOB HANIBAL!!!
Jedex is offline  
Old 01/29/2010, 23:29   #3
 
Olodady's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 73
Received Thanks: 27
co emu I guess...
Olodady is offline  
Old 01/31/2010, 20:39   #4
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Quote:
Originally Posted by Olodady View Post
co emu I guess...
Nope 5165 re read hes post

Good job hanibal
.Ryu is offline  
Old 01/31/2010, 21:47   #5
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Actually this code will vary source to source, depending on whats the highest level gear you have.
Arcо is offline  
Reply


Similar Threads Similar Threads
[Release] Add Bonus To The Items
08/19/2010 - CO2 PServer Guides & Releases - 6 Replies
Maybe This Guide Dont Help To Much People But Ill Post. ------------------------------------------------- ------------------------- First, Go To ItemAdd.INI 2.- Add, The Item Like This: (Lets Take For Example A Weapon That His ID Is 232360. You Need To Add Like This: 555360 1 200 196 196 0 0 0 2 0
[Release]so that the items do not fall on other items
09/01/2009 - CO2 PServer Guides & Releases - 17 Replies
in client.cs looking for this: case 3: { MyChar.Ready = false; uint ItemUID = (uint)((Data << 24) + (Data << 16) + (Data << 8) + Data); int Count = 0;



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


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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