I have a problem with my 5165-Server! [Iam testing know how i coding, learning now, dont have my server xD]
I've created new 2 NPC!
Look
PHP Code:
#region Vote server
case 51652:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Load all accounts online with vote page"));
GC.AddSend(Packets.NPCLink("Yep", 1));
GC.AddSend(Packets.NPCLink("Nope not right now.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1)
{
if (GC.MyChar.Silvers >= 0)
{
GC.MyChar.Silvers += 1;
Game.World.SendMsgToAll("SYSTEM", "http://www.xtremetop100.com/in.php?site=1132301192", 2105, 0);
}
else
{
GC.AddSend(Packets.NPCSay("...."));
GC.AddSend(Packets.NPCLink("....", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
#region InCreDiBLE-CO
case 51651:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Hi, u join InCreDiBLE-CO and that means: Free Gifts! Choose your Pack!"));
GC.AddSend(Packets.NPCLink("Yeah,i wanna choose my pack!", 1));
GC.AddSend(Packets.NPCLink("OK,maybe next TIME", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1)
{
GC.AddSend(Packets.NPCSay("Choose your pack!"));
GC.AddSend(Packets.NPCLink("FireTao L70 pack", 2));
GC.AddSend(Packets.NPCLink("WaterTao L70 pack", 3));
GC.AddSend(Packets.NPCLink("Warrior L70 pack", 4));
GC.AddSend(Packets.NPCLink("Trojan L70 pack", 5));
GC.AddSend(Packets.NPCLink("Archer L70 pack", 6));
GC.AddSend(Packets.NPCLink("Ninja L70 pack", 7));
GC.AddSend(Packets.NPCLink("Weps pack L70", 8));
GC.AddSend(Packets.NPCLink("No, thanks.", 255));
GC.AddSend(Packets.NPCSetFace(15));
GC.AddSend(Packets.NPCFinish());
}
else if (GC.MyChar.Level <= 69)
{
GC.AddSend(Packets.NPCSay("Sorry, you must be LVL-70, but its very easy to reach this Level here in InCreDiBLE-CO!"));
GC.AddSend(Packets.NPCLink("Ok, i will come sonn then....", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 2)
{
GC.MyChar.AddItem(134069, 12); //Robe
GC.MyChar.AddItem(117069, 12); //Earring
GC.MyChar.AddItem(152129, 12); //brac
GC.MyChar.AddItem(121129, 12); //Bag
GC.MyChar.AddItem(160139, 12); //boots
GC.MyChar.AddItem(202009, 12); //Star
GC.MyChar.AddItem(201009, 12); //Fan
GC.AddSend(Packets.NPCSay("Here you are! Say thanks to ZiZo[PM] and yote for your Server!"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 3)
{
GC.MyChar.AddItem(134069, 12); //Robe
GC.MyChar.AddItem(117069, 12); //Earring
GC.MyChar.AddItem(152129, 12); //brac
GC.MyChar.AddItem(121129, 12); //Bag
GC.MyChar.AddItem(160139, 12); //boots
GC.MyChar.AddItem(202009, 12); //Star
GC.MyChar.AddItem(201009, 12); //Fan
GC.AddSend(Packets.NPCSay("Here you are! Say thanks to ZiZo[PM] and yote for your Server!"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 4)
{
GC.MyChar.AddItem(131069, 12); //Robe
GC.MyChar.AddItem(117069, 12); //Earring
GC.MyChar.AddItem(120129, 12); //Neck
GC.MyChar.AddItem(150139, 12); //Ring
GC.MyChar.AddItem(160139, 12); //boots
GC.MyChar.AddItem(202009, 12); //Star
GC.MyChar.AddItem(201009, 12); //Fan
GC.AddSend(Packets.NPCSay("Here you are! Say thanks to ZiZo[PM] and yote for your Server!"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 5)
{
GC.MyChar.AddItem(130069, 12); //Robe
GC.MyChar.AddItem(117069, 12); //Earring
GC.MyChar.AddItem(120129, 12); //Neck
GC.MyChar.AddItem(150139, 12); //Ring
GC.MyChar.AddItem(160139, 12); //boots
GC.MyChar.AddItem(202009, 12); //Star
GC.MyChar.AddItem(201009, 12); //Fan
GC.AddSend(Packets.NPCSay("Here you are."));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 6)
{
GC.MyChar.AddItem(133049, 12); //Robe
GC.MyChar.AddItem(117069, 12); //Earring
GC.MyChar.AddItem(120129, 12); //Neck
GC.MyChar.AddItem(150139, 12); //Ring
GC.MyChar.AddItem(160139, 12); //boots
GC.MyChar.AddItem(202009, 12); //Star
GC.MyChar.AddItem(201009, 12); //Fan
GC.AddSend(Packets.NPCSay("Here you are! Say thanks to ZiZo[PM] and yote for your Server!"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
GC.AddSend(Packets.NPCSay("Here you are! Say thanks to ZiZo[PM] and yote for your Server!"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 7)
{
GC.MyChar.AddItem(135069, 12); //Robe
GC.MyChar.AddItem(112069, 12); //Earring
GC.MyChar.AddItem(120129, 12); //Neck
GC.MyChar.AddItem(150139, 12); //Ring
GC.MyChar.AddItem(160139, 12); //boots
GC.MyChar.AddItem(202009, 12); //Star
GC.MyChar.AddItem(201009, 12); //Fan
GC.AddSend(Packets.NPCSay("Here you are! Say thanks to ZiZo[PM] and yote for your Server!"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
else if (Control == 8)
{
GC.MyChar.AddItem(421139, 12); //BS
GC.MyChar.AddItem(420139, 12); //S
GC.MyChar.AddItem(410139, 12); //B
GC.MyChar.AddItem(480139, 12); //C
GC.MyChar.AddItem(561139, 12); //W
GC.MyChar.AddItem(560139, 12); //SP
GC.MyChar.AddItem(601139, 12); //k
GC.MyChar.AddItem(500129, 12); //Bo
GC.AddSend(Packets.NPCSay("Here you are! Say thanks to ZiZo[PM] and yote for your Server!"));
GC.AddSend(Packets.NPCLink("Thanks.", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
Blue Elephant? as skill or as mesh trans ? most likely as skill ? search for it's id and learn it
Quote:
ID: 51651 and the other the same with 51652
r u sure there is a npc with this name in database ?
Quote:
VIDEO-TUTORIAL how i create new weapons!?
ill read the codes and edit if i found something wrong in codes but here most likely the problem is
there is no such npcs in database else wrong type
else maybe there is 2 fields u should add dialogs too (in my source there is dialogs.cs and npcs.cs , i should add the dialogs in both to get it to work)
i dont mean mesh i mean type
aka npc got id , mesh , type
type is the job he do , if he is shop or just replying or what
mesh is how he looks like
id is to differentiate each of them
Mind giving me some information oh wth that tiger is? I thought it was a mount?
Oh, it was from the Lantern Event on Chinese New Year two years ago. It's pretty cool, but it can't jump (which is slightly annoying). I'm sure if you go through the transformation types, you'll find it.
[Error]Error when using Zero's method/And another Error 09/16/2011 - Shaiya Private Server - 5 Replies well here is a screeny of my problem. Any assistance is greatly appreciated. I haven't come across this error before nor seen any posts up here about it. Also this is me executing the NpcQuest_cvs.bat and yes i changed python to C:/Python27/Python.exe in the command line.
http://img707.imageshack.us/img707/9997/errorgx.p ng
Ok So my second error involves changing Stat points per lvl here is my screen shots
http://img854.imageshack.us/img854/6412/nosave.pn g