Updates:
Code:
Moved NPC from middle of TC to next to the TC boxer, His name is now ApprenticeLuo instead of BlessingLantern(Different NPC) Added an option to End GW for 1kk cps (Note: There is no message that says GW has ended when you use this, It has been tested and yes it does end GW.)
Open NPCs in your database and put this in there.
Code:
300003 5500 2 68 1002 350 332
Open NPCDialog.cs in your Source files, And search for
Code:
default:
Put this above default:
Code:
#region GwStartingNPC case 300003: { if (Control == 0) { GC.AddSend(Packets.NPCSay("I'll start the Guild War for you, You just have to give me 750k CPs! Or I can End the Guild War for 1kk CPs!")); GC.AddSend(Packets.NPCLink("Start GW!", 1)); GC.AddSend(Packets.NPCLink("End GW!", 2)); GC.AddSend(Packets.NPCLink("I'm too poor =(", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } if (Control == 1) { if (GC.MyChar.CPs >= 750000) { GC.MyChar.CPs -= 750000; Features.GuildWars.StartWar(); GC.AddSend(Packets.NPCSay("GW has started!")); GC.AddSend(Packets.NPCLink("Ok then.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } else { GC.AddSend(Packets.NPCSay("You need 750k cps! Stupid scammer..")); GC.AddSend(Packets.NPCLink("Alright alright.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } } if (Control == 2) { if (GC.MyChar.CPs >= 1000000) { GC.MyChar.CPs -= 1000000; Features.GuildWars.EndWar(); GC.AddSend(Packets.NPCSay("GW has ended!")); GC.AddSend(Packets.NPCLink("Ok Thanks.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } else { GC.AddSend(Packets.NPCSay("You need 1kk CPs! Stupid scammer..")); GC.AddSend(Packets.NPCLink("Alright alright.", 255)); GC.AddSend(Packets.NPCSetFace(N.Avatar)); GC.AddSend(Packets.NPCFinish()); } } break; } #endregion
I'm a noob at making stuff and I'm doing this all by guess work. Tell me what you think and what I could do to improve my stuff. I tested it and it does work on my server. Feedback all ways helps a newbie