Register for your free account! | Forgot your password?

You last visited: Today at 05:41

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

Advertisement



ArtisanWind

Discussion on ArtisanWind within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2014
Posts: 127
Received Thanks: 0
Post ArtisanWind

Need Help How To make This Success in 1soc and 2soc when upgrading item


static void UpgradeItem(ItemUsage itemUsage, Client.GameState client)
{
Interfaces.IConquerItem item = null;
if (client.Inventory.TryGetItem(itemUsage.UID, out item))
{
if (IsArrow(item.ID))
return;
Interfaces.IConquerItem upgrade = null;
if (client.Inventory.TryGetItem(itemUsage.dwParam, out upgrade))
{
Database.ConquerItemInformation infos = new PhoenixProject.Database.ConquerItemInformation(ite m.ID, item.Plus);
switch (upgrade.ID)
{
case 1088000:
{
if (item.ID % 10 == (byte)Game.Enums.ItemQuality.Super)
break;
byte chance = (byte)(70 - ((infos.BaseInformation.Level - (infos.BaseInformation.Level > 100 ? 30 : 0)) / (10 - item.ID % 10)));
if (item.Durability < item.MaximDurability)
break;
if (ServerBase.Kernel.Rate(chance))
{
switch ((Game.Enums.ItemQuality)(item.ID % 10))
{
case Game.Enums.ItemQuality.Normal:
case Game.Enums.ItemQuality.NormalV1:
case Game.Enums.ItemQuality.NormalV2:
case Game.Enums.ItemQuality.NormalV3: item.ID = (item.ID - (item.ID % 10)) + (byte)Game.Enums.ItemQuality.Refined; break;
default: item.ID++; break;
}
Database.ConquerItemTable.UpdateItemID(item, client);
item.Mode = PhoenixProject.Game.Enums.ItemMode.Update;
item.Send(client);
}
else
{
item.Durability = (ushort)(item.Durability / 2);
Database.ConquerItemTable.UpdateDurabilityItem(ite m);
item.Mode = PhoenixProject.Game.Enums.ItemMode.Update;
item.Send(client);
}
item = ItemSocket(item, 1);
client.Inventory.Remove(upgrade, PhoenixProject.Game.Enums.ItemUse.Remove);
break;
}
When upgrading items it wont stop upgrading See image Please and Help Me fixe this thing.






arneljan is offline  
Old 08/27/2014, 23:59   #2
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
cuz u use grades by describiton not base id and level
try not to add materials and packs to grades

ConquerItemInformation.cs if u don't where to look and edit
abdoumatrix is offline  
Reply

« Help | Error jump »

Similar Threads Similar Threads
[Help] ArtisanWind
06/24/2011 - CO2 Private Server - 1 Replies
The NPC checks the players level to see weather or not the items level will be too high after upgrading. If the items level exceeds yours after an upgrade the NPC wont allow you p upgrade and will tell you to go level up. However, the NPC does this check and treats the player as if their level is too low even when it isnt. Ive tried a combination if different things but nothing works so here's the orig code. Hopefully someone can point me in the right direction. if (infos.BaseInformation.Level...
Conquer soc equiptment threw ArtisanWind
12/06/2010 - Conquer Online 2 - 1 Replies
K so i want soc gear but i dont want to spend shit loads of money on a game. so Does any body know a way to increase the probability of this happening. ALSO IS THERE A BOT OUT THERE THAT WORKS ON THE NEWEST CONQUER AND IS FREE, if so plz pm me (for a warrior):bandit::handsdown:
[Request] ArtisanWind Met/DB Upgrade TC
07/18/2009 - CO2 Private Server - 3 Replies
Anyone has a code for artisanwind that upgrades items in twin city. Its LOTF. Anyone can help me. thanks
[HELP] Artisanwind
05/26/2009 - CO2 Private Server - 0 Replies
Can someone please tell me wehre he is in the source. im uuseing Lotf :)



All times are GMT +1. The time now is 05:41.


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.