Okay here's my rb script and i can't figure out wtf is wrong i have the npc and stuff right but like i click on it and say ima trojan etc and nothing happens i dosn't go to a diff control and i can't figure out why not well here it is.
Code:
if (CurrentNPC == 127)
{
SendPacket(General.MyPackets.NPCSay("Hello. Intresed in getting reborned? If you are an WaterTao,you can get reborned at 110,else you can get reborned after 120. Intresed in getting reborned?"));
SendPacket(General.MyPackets.NPCLink("Yeah,im intresed,I am an Trojan.", 1));
SendPacket(General.MyPackets.NPCLink("Yeah,im intresed,I am an Taoist.", 2));
SendPacket(General.MyPackets.NPCLink("Yeah,im intresed,I am an Water Taoist.", 3));
SendPacket(General.MyPackets.NPCLink("Yeah,im intresed,I am an Archer.", 4));
SendPacket(General.MyPackets.NPCLink("Yeah,im intresed,I am an Warrior.", 5));
SendPacket(General.MyPackets.NPCLink("Not intresed,thanks anyways.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
Code:
if (CurrentNPC == 127)
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("What would you like to get reborned into? Remember that your earlier skills don't save."));
SendPacket(General.MyPackets.NPCLink("Trojan", 2));
SendPacket(General.MyPackets.NPCLink("Warrior", 3));
SendPacket(General.MyPackets.NPCLink("Archer", 4));
SendPacket(General.MyPackets.NPCLink("Fire Taoist", 5));
SendPacket(General.MyPackets.NPCLink("WaterTaoist", 6));
SendPacket(General.MyPackets.NPCLink("Let me think it over.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
{
if (MyChar.InventoryContains(721259, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(11);
}
}
if (Control == 3)
{
if (MyChar.InventoryContains(721259, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(21);
}
}
if (Control == 4)
{
if (MyChar.InventoryContains(721259, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(41);
}
}
if (Control == 5)
{
if (MyChar.InventoryContains(721259, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(721259));
MyChar.ReBorn(101);
}
}
}
Well that's all I see wrong with it right now, TBH I barely code/script NPCs, I leave the annoying work to my other server coder.
To fix that in the middle of control 1 just change the end of NPCSay(the number) to a number greater than 6-7 or whatever you ended on and go from there.
if (CurrentNPC == 127)
{
SendPacket(General.MyPackets.NPCSay("Hello. Would you like to reborn?"));
SendPacket(General.MyPackets.NPCSay("The Price is you must be 110+ for Waters and 120+ for all other classes "));
SendPacket(General.MyPackets.NPCSay("and you must give me a Celestial Stone."));
SendPacket(General.MyPackets.NPCLink("Yes", 1));
SendPacket(General.MyPackets.NPCLink("No", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
L2Walker script: Solo rebuff/restock/return script 08/08/2012 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 63 Replies Hello!
I've been reading alot and not really contributing so i'll start off here with a very well working script im using to bot my SK outside ivory tower in oren. I've tried to structure the code so it easily can be modified for another level of character, town, and hunting spot.
The script is made for CT2 Retail, mainly to get advantage of the newbie buffs (which now lasts all the way until level 62)
Change log:
Update 2008-09-01
Version 1.14 -Download
[suche] d2nt level rush script 1-25 / follow script 06/23/2010 - Diablo 2 Programming - 5 Replies moin
erstmal sry falls es da doch schon was passendes zu gab - hab schonmal gesucht aber nur alte sachen gefunden oder eben antworten in richtung "geht so schnell dafür braucht man keinen bot" ^^
mein problem besteht darin dass ich für lvl 1 bis 20 immer x stunden brauche - trist geht ja noch halberwegs aber mit tombruns such ich mich immer dusselig ^^ - bzw cows sind noch schlimmer (dafür geht das cow-script für d2nt ausm bluebird zumindest halberwegs)
die frage ist jetz die - giebt...