- Joined
- Nov 26, 2012
- Messages
- 245
- Reaction score
- 105
Get cash increase of characters has been corrected.
İtem.sql download:
shopping dinar are cash 6. tables have been added.
Open GameServer Source Search:
ItemManager.cs
Change:
İtem.sql download:
You must be registered to see links
shopping dinar are cash 6. tables have been added.
Open GameServer Source Search:
ItemManager.cs
Code:
string[] Data = DB.runReadRow("SELECT wid, strcode, damage, price1
Change:
Code:
string[] Data = DB.runReadRow("SELECT wid, strcode, damage, price1, price2, price3, price4, price5, price6, cash1, cash2, cash3, cash4, cash5, cash6, premiumOnly, validWeapon, validShopItem, name, validPX, level FROM items WHERE id=" + tableIDs[I]);
if (_Weapons.ContainsKey(Data[1].ToLower()) == false)
{
int[] _tPrice = new int[6];
for (int J = 0; J < 6; J++)
{
_tPrice[J] = int.Parse(Data[3 + J]);
}
int[] _cPrice = new int[6];
for (int X = 0; X < 6; X++)
{
_cPrice[X] = int.Parse(Data[8 + X]);
}
_Weapons.Add(Data[1].ToLower(), new virtualItem(int.Parse(Data[0]), int.Parse(Data[2]), Data[1].ToLower(), Data[16], _tPrice, _cPrice, Data[13].Equals("1"), Data[14].Equals("1"), Data[15].Equals("1"), Data[17].Equals("1"), int.Parse(Data[18])));
}
Last edited: