مشاهدة النسخة كاملة : InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
zezonever
2019-11-08, 01:47 AM
اضافه الانير بور من دوسه واحده اسهل طريقه مني انا وبس افتح Npc
هضيف ده فيه
#region InnerPower By Mr.ZeZoOo
case 785410:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("im Selling InnerPower Items and InnePower System Full By BlackBlock-Co");
dialog.Option("Buy Full InnerPower", 1);
dialog.Option("I will come later. ", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Player.ConquerPoints >= 1000)
{
client.Player.ConquerPoints -= 1000;
Database.InnerPowerTable.Stage DBStage = null;
foreach (var m_stage in client.Player.InnerPower.Stages)
{
foreach (var m_gong in m_stage.NeiGongs)
{
m_stage.UnLocked = m_gong.Unlocked = true;
m_gong.Score = 100;
Database.InnerPowerTable.Stage.NeiGong DBGong = null;
if (Database.InnerPowerTable.GetDBInfo(m_gong.ID, out DBStage, out DBGong))
m_gong.level = DBGong.MaxLevel;
}
}
client.Player.InnerPower.UpdateStatus();
client.LoadItemStats();
InnerPower.InnerPowerRank.UpdateRank(client.Player .InnerPower);
}
else
{
dialog.Text("You do not have 1000 ConquerPoints with you.");
dialog.Option("Ok, will come later. ", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
واضافه النافي كات اكيد اي حد هيضفها عادي يعني
Hassan Emprator
2019-11-08, 01:54 AM
تم فتح الموضوع
عاش اصديق استمر
zezonever
2019-11-08, 02:06 AM
هههههه حبيبي يا حوس خالي الناس تتبسط اصحبي
ModyMohamedAdel
2019-11-08, 10:19 AM
بيطلعلي ارور في
InnerPower.InnerPowerRank.UpdateRank(client.Player .InnerPower);
احسنت موضوع رائع و الناشر اروع
zezonever
2019-11-08, 09:52 PM
بيطلعلي ارور في
InnerPower.InnerPowerRank.UpdateRank(client.Player .InnerPower);
تمام امسح الكود ال جاليلك ارور فيه وضيف ال هدهولك ده وجرب ورد عليا وان شاء الله هتتحل المشكله
client.Send(stream.InnerPowerStageInfo(InnerPowerS tage.ActionID.UpdateStage, client.Player.UID, DBStage));
client.Send(stream.InnerPowerStageInfo(InnerPowerS tage.ActionID.UpdateScore, client.Player.UID, DBStage));
client.Send(newInnerPowerGui(client.Player.InnerPo wer.GetNeiGongs()).ToArray());
client.Player.InnerPower.UpdateStatus();
client.LoadItemStats();
InnerPower.InnerPowerRank.UpdateRank(client.Player .InnerPower);
BlackBlock.InnerPowerRank.UpdateRank(client.Player .InnerPower);
}
zezonever
2019-11-08, 09:56 PM
عفواً لايمكن عرض الروابط في الإرشيف
ModyMohamedAdel
2019-11-08, 11:29 PM
عفواً لايمكن عرض الروابط في الإرشيف
طيب ابعتلي الانبسي الي انت شغال بيه دا دلوقتي
zezonever
2019-11-08, 11:37 PM
طيب ابعتلي الانبسي الي انت شغال بيه دا دلوقتي
ال انا شغال بيه هو ال انا حاطه يا صحبي في المنتدي انما عاوز اضافه ال في الصور سهله خدها اهي
#region InnerPower
case 785410:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("im Selling InnerPower Items and InnePower System Full By BlackBlock-Co");
// dialog.Option("Buy InnerPower items", 1);
dialog.Option("Buy Full InnerPower", 2);
//dialog.Option("Buy Temporaly CUP", 253);
dialog.Option("I will come later. ", 255);
dialog.Send();
break;
}
/* case 253:
{
client.Inventory.AddTime(2100125, 3);
break;
}
case 1:
{
byte count = 0;
foreach (var stage in Database.InnerPowerTable.Stages)
count += (byte)stage.NeiGongAtributes.Length;
if (client.Inventory.HaveSpace(count))
{
foreach (var stage in Database.InnerPowerTable.Stages)
{
foreach (var gong in stage.NeiGongAtributes)
client.Inventory.Add(gong.ItemID, 0, 1);
}
}
else
{
dialog.Text("Please do 8 spaces in your inventory");
dialog.Option("Ok, will come later. ", 255);
dialog.Send();
}
break;
}*/
case 2:
{
if (client.Player.ConquerPoints >= 1000)
{
client.Player.ConquerPoints -= 1000;
Database.InnerPowerTable.Stage DBStage = null;
foreach (var m_stage in client.Player.InnerPower.Stages)
{
foreach (var m_gong in m_stage.NeiGongs)
{
m_stage.UnLocked = m_gong.Unlocked = true;
m_gong.Score = 100;
Database.InnerPowerTable.Stage.NeiGong DBGong = null;
if (Database.InnerPowerTable.GetDBInfo(m_gong.ID, out DBStage, out DBGong))
m_gong.level = DBGong.MaxLevel;
}
}
// client.Send(stream.InnerPowerStageInfo(InnerPowerS tage.ActionID.UpdateStage, client.Player.UID, DBStage));
// client.Send(stream.InnerPowerStageInfo(InnerPowerS tage.ActionID.UpdateScore, client.Player.UID, DBStage));
// client.Send(new //InnerPowerGui(client.Player.InnerPower.GetNeiGongs ()).ToArray());
client.Player.InnerPower.UpdateStatus();
client.LoadItemStats();
InnerPower.InnerPowerRank.UpdateRank(client.Player .InnerPower);
// BlackBlock.InnerPowerRank.UpdateRank(client.Player .InnerPower);
}
else
{
dialog.Text("You do not have 1000 ConquerPoints with you.");
dialog.Option("Ok, will come later. ", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
محمد ياسر
2019-11-08, 11:38 PM
عاش
ModyMohamedAdel
2019-11-08, 11:47 PM
بردو ارور ف
InnerPower.InnerPowerRank.UpdateRank(client.Player .InnerPower);
zezonever
2019-11-08, 11:50 PM
بردو ارور ف
innerpower.innerpowerrank.updaterank(client.player .innerpower);
دخلني اني ديسك يا صحبي احل المشكله
vBulletin® v3.8.8 Beta 1, Copyright ©2000-2025, TranZ by code