حل مشكلة ناس الي بتدمج 15 جمايه ريفيند و تغير ايدي جمابه سوبر لكاس
الحل مقدم من : عبد الله سليمان
Packethandler.cs
search
كود:
	
		
		
	 
 case ItemUsage.GemCompose: 
   
	
		
		
		
 
add
كود:
	
		
		
	 
if (usage.UID / 10000 == 70)
                            {
                                uint cost = usage.UID % 10 == 1 ? 10000 : (usage.UID % 10 == 2 ? 800000 : (usage.UID % 100 == 72 ? 1000000 : (uint)0));
 
                                if (cost > 0)
                                {
                                    if (client.Entity.Money >= cost)
                                    {
                                        if (client.Inventory.Contains(usage.UID, 15))
                                        {
                                            if (client.Inventory.Remove(usage.UID, 15))
                                            {
                                                client.Inventory.Add(usage.UID + 1);
 
                                                usage.dwParam = 1;
                                                client.Entity.Money -= cost;
                                                client.Send(usage);
                                            }
                                        }
                                    }
                                    else
                                        client.Send("Sorry you do not have " + cost + " silver.");
                                }
                            }