LOTF 5017
Well i release alot crap for lotf 5017, since im not gonna work with mine more.
Im just releasing the scripts, how to use em is your own thing to figure out.
What do you need to use it?
Code:
c# visual studio
knowledge in where to add it
have your own lotf 5017 source
if (Splitter[0] == "/botjail") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value;
if (Char.Name == Splitter[1]) { World.SendMsgToAll(Splitter[1] + " has been botjailed by " + MyChar.Name, "SYSTEM", 2011); Char.Teleport(6001, 50, 50); Char.Silvers = 0; Char.CPs = 0; SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs)); SendPacket(General.MyPackets.Vital((long)MyChar.UID, 4, MyChar.Silvers)); } else { SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "Sorry the Character:" + Splitter[1] + " is offline...Please try again later", 2000)); } } }
PHP Code:
if (Splitter[0] == "/release") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; if (Char.Name == Splitter[1]) { Char.Teleport(1002, 431, 379); World.SendMsgToAll(Splitter[1] + " has been released from jail, please behave good next time. ", "SYSTEM", 2011); } else { SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "Sorry the Character:" + Splitter[1] + " is offline...Please try again later", 2000)); } } }
if (CurrentNPC == 7666)//PKCity { SendPacket(General.MyPackets.NPCSay("So you want to enter the PK City?.")); SendPacket(General.MyPackets.NPCLink("Oh yea, thanks.)", 1)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); } if (CurrentNPC == 7777)//PKCity Out { SendPacket(General.MyPackets.NPCSay("So you want to leave again?")); SendPacket(General.MyPackets.NPCLink("Yes please.)", 1)); SendPacket(General.MyPackets.NPCSetFace(30)); SendPacket(General.MyPackets.NPCFinish()); }
Control:
PHP Code:
if (CurrentNPC == 7666) { if (Control == 1) { World.SendMsgToAll(MyChar.Name + " has entered PKCity, hurry up to talk with PKCityNPC in TwinCity, to enter and fight him/her.", "SYSTEM", 2011); MyChar.Teleport(1505, 154, 219); } } if (CurrentNPC == 7777) { if (Control == 1) { MyChar.Teleport(1002, 438, 377); } }
nah the 5165 is pretty much better
5017 is just the best to work with
lol, i like to deal with 5017, but since me and yuki started this project.
Then there is no need in it
Goodluck on you twos server :P
[HELP]LOTF 11/11/2009 - CO2 Private Server - 1 Replies Guys , i need some serious help , i`m trying to learn come C# etc.
Also i need some knowledge about LOTF , how can i add NPC`s , can i make direct CPS drop from mobs? if so how can i do that? etc , if anyone could help me please PM me or leave msn here.
Thanks
[HELP] Compile error with LOTF(i know LOTF sucks but just help) 06/19/2009 - CO2 Private Server - 3 Replies It says:
Loaded 254 portals.
Loaded 1027 NPCs.
Loaded 37 mobs.
Loaded 11147 items.
Loaded 172 mob spawns.
System.ArgumentOutOfRangeException: 'minValue' cannot be greater then mxValue.
Parameter name : minValue
at System.Random.Next<Int32 minValue, Int32 maxValue>
at COServer_Project.Mobs.SpawnAllMobs<> in C:\Documents and Settings\Admin\My Documents\COServerProject1\COServerProject\Entitie s.cs:line 207
Lotf 03/30/2009 - CO2 Private Server - 2 Replies Is tehre even away to fix login? in lotf
Lotf 07/22/2008 - Conquer Online 2 - 0 Replies I have a question in lotf source their is a login bug like when the server go's online in a minute the login freezes anyone know how to fix that?