Make a new Class in Twin City, name it EnterTGNPC.cs, and paste this in there:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arco_Online
{
class EnterTGNPCTC
{
public static void Npc(GameClient Hero, byte OptionID, string Input, NpcRequestPacket Packet)
{
switch (OptionID)
{
case 0:
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Do you want to enter Training Grounds? You will need 1,000 silvers.",
"OPTION1 Yes",
"OPTION-1 Just passing by",
});
break;
}
case 1:
{
if (Hero.Money >= 1000)
{
Hero.Money -= 1000;
Hero.Teleport(1039, 300, 300);
}
else
{
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Sorry, you don't have enough money.",
"OPTION-1 Damn",
});
break;
}
}
break;
}
}
}
}
}
Now search for:
Code:
case 10003:
GuildDirector.Npc(Hero, OptionID, Input, Packet);
break;
Under it put:
Code:
case 46:
EnterTGNPCTC.Npc(Hero, OptionID, Input, Packet);
break;
Now make a new text file anywhere on your computer, name it tg.sql, then paste this in there:
Make a new Class under Twin City, name it JailNPC.cs, and paste this in there:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arco_Online
{
class JailNPC
{
public static void Npc(GameClient Hero, byte OptionID, string Input, NpcRequestPacket Packet)
{
switch (OptionID)
{
case 0:
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Do you want to visit Jail?",
"OPTION1 Yes",
"OPTION-1 Just passing by",
});
break;
}
case 1:
{
Hero.Teleport(6000, 32, 72);
break;
}
}
}
}
}
PK Arena NPC:
Make a new Class under Twin City, and paste this in there:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arco_Online
{
class PKArenaNPC
{
public static void Npc(GameClient Hero, byte OptionID, string Input, NpcRequestPacket Packet)
{
switch (OptionID)
{
case 0:
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Do you want to enter PK Arena?",
"OPTION1 Yes",
"OPTION-1 Just passing by",
});
break;
}
case 1:
{
Hero.Teleport(1005, 51, 71);
break;
}
}
}
}
}
Now search for:
Code:
case 10003:
GuildDirector.Npc(Hero, OptionID, Input, Packet);
break;
Under it add:
Code:
case 10021:
PKArenaNPC.Npc(Hero, OptionID, Input, Packet);
break;
Guild Controller:
Make a new Class under Twin City, name it GWArenaNPC.cs, and paste this in there:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arco_Online
{
class GWArenaNPC
{
public static void Npc(GameClient Hero, byte OptionID, string Input, NpcRequestPacket Packet)
{
switch (OptionID)
{
case 0:
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Would you like to go to the Guild Arena?",
"OPTION1 Yes",
"OPTION-1 Just passing by",
});
break;
}
case 1:
{
Hero.Teleport(1038, 350, 350);
break;
}
}
}
}
}
Now search for:
Code:
case 10003:
GuildDirector.Npc(Hero, OptionID, Input, Packet);
break;
Under it add:
Code:
case 380:
GWArenaNPC.Npc(Hero, OptionID, Input, Packet);
break;
Eh.. I Get this problem when i try to run the Arco_Online Application File to turn the server online.. But i dont really full understand it and im hoping i could get a little help from someone on here if possible?
Well.. I'll Get on this tomorrow morning. Im Gonna get some rest first.. Didnt Want to just leave without saying anything.. Thnx for the help so far Arco!
lol in this source the npc codes look so simple i might actrully b able 2 learn somethin through this when and if i get my appserver workin oh and btw arco ur a beast
lol in this source the npc codes look so simple i might actrully b able 2 learn somethin through this when and if i get my appserver workin oh and btw arco ur a beast
Yeah they are very simple in this source, they work really well as well
From what I know Arco has done alot of work on this, also I dont think people should release stuff for this source as it was intended for people to work on themselves and learn from.
@Arco not downloaded this yet but I will look at it when I get home tonight.
Make a new class in the Market folder, name it ProficiencyGod.cs, and paste this in there:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Arco_Online
{
class ProficiencyGod
{
public static void Npc(GameClient Hero, byte OptionID, string Input, NpcRequestPacket Packet)
{
switch (OptionID)
{
case 0:
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Hello. For 20 Exp Balls, I can upgrade your Proficiency to level 20.",
"OPTION1 One Handed Weapons",
"OPTION2 Two Handed Weapons",
"OPTION3 Boxing",
"OPTION-1 Just passing by",
});
break;
}
case 1:
{
if (Hero.CountInventory(723700) >= 20)
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Please choose.",
"OPTION4 Sword",
"OPTION5 Blade",
"OPTION6 Club",
"OPTION7 Axe",
"OPTION8 Hammer",
"OPTION9 Backsword",
"OPTION10 Dagger",
"OPTION11 Next",
});
}
else
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Sorry, you don't have the required items.",
"OPTION-1 Damn",
});
}
break;
}
case 11:
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Please choose.",
"OPTION12 Hook",
"OPTION13 Scepter",
"OPTION14 Mace",
"OPTION15 Katana",
"OPTION1 Back",
});
break;
}
case 2:
{
if (Hero.CountInventory(723700) >= 20)
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Please choose.",
"OPTION16 Bow",
"OPTION17 Wand",
"OPTION18 Glaive",
"OPTION19 Poleaxe",
"OPTION20 Longhammer",
"OPTION21 Spear",
"OPTION21 Halberd",
});
}
else
{
NpcProcessor.Dialog(Hero, new string[] {
"AVATAR 0",
"TEXT Sorry, you don't have the required items.",
"OPTION-1 Damn",
});
}
break;
}
#region Sword
case 4:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 410, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Blade
case 5:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 410, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Club
case 6:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 480, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Axe
case 7:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 450, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Hammer
case 8:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 460, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Backsword
case 9:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 421, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Dagger
case 10:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 490, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Hook
case 12:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 430, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Scepter
case 13:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 481, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Mace
case 14:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 441, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Katana
case 15:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 601, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Bow
case 16:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 500, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Wand
case 17:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 561, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Glaive
case 18:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 510, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Poleaxe
case 19:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 530, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Longhammer
case 20:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 540, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Spear
case 21:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 560, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Halberd
case 22:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 580, Level = 20, Experience = 0 });
}
break;
}
#endregion
#region Boxing
case 3:
{
if (Hero.CountInventory(723700) >= 20)
{
for (byte i = 0; i < 20; i++)
Hero.RemoveInventory(Hero.GetItemUID(723700));
}
{
Hero.LearnProf(new ProfPacket(true) { ID = 000, Level = 20, Experience = 0 });
}
break;
}
#endregion
}
}
}
}
Now search for:
Code:
case 45:
MarketConductress.Npc(Hero, OptionID, Input);
break;
Under that add:
Code:
case 941:
ProficiencyGod.Npc(Hero, OptionID, Input, Packet);
break;
Katana is fail, as there aint ninja :P
But goodwork
Quote:
Originally Posted by .Beatz
Yeah they are very simple in this source, they work really well as well
From what I know Arco has done alot of work on this, also I dont think people should release stuff for this source as it was intended for people to work on themselves and learn from.
@Arco not downloaded this yet but I will look at it when I get home tonight.
Or release things not fully working or finished, so they can finish it by coding it self. Like 12tails do.
[Development]5071 C# Source 09/13/2010 - CO2 Private Server - 36 Replies Well as some of you know, I have been working on Hybrid's Bugless/Basic source and with the help of Kinshi, I have upgraded it to +5018. The patch I am going for it 5065. Thought it was about time to post a development thread so all of you looking forward to the server can stay updated.
I've successfully structured the 5065 character information packet (HUGE thanks to Nullable for teaching me about packets, if it wasn't for him, I wouldn't have been able to structure all the packets I...
UCO NonDC Speed Hack ~ 5071+ 11/17/2009 - CO2 Exploits, Hacks & Tools - 1469 Replies Hey Guys,
Allot of people only use the speedhack in my multihack so im releasing this simple Standalone Speed hack.
After many requests for my speedhack to be NonDC, here it is a successful NonDC Speedhack!
For best results use Future's Cracked Conquer.exe
Conquer Patch: 5071+
Requirements:
ItemType patch 5071 09/27/2009 - CO2 Exploits, Hacks & Tools - 1 Replies :bandit:Alright well this is my first itemtype dat and I think my first contribution, You scan if you like since i never did realese my stuff on here theres no reason you should trust me But if you do cool if you dont then scan :bandit:Find any errors let me know
Yea I know that gems and tactics arn't shown but Im working on it
Instructions:
Save it in Conquer folder
Open it up
Copy itemtype and paste it into the ini file
Press the thanks button :D
ISO: Someone to make Working Speedhack 5071+ 09/22/2009 - CO2 Programming - 3 Replies Came back to conquer a few days ago and nobody has a working speedhack? what happend? programmers move on to different games or people just stop making them. luckily I got my hands on the itemtype.dat file. Now just need the speedhack.
So heres my request to help me get back in the game :P
Is this bot safe for new patch 5071? 11/10/2008 - Conquer Online 2 - 6 Replies Is this "ELSE - multi-class bot" safe for version 5071? As in will it not botjail me or anything and does it work for version 5071. anyone that uses it or has can you let me know?
Here's the link the the main post for it. It's a elitepvpers post:
http://www.elitepvpers.com/forum/co2-bots-macros/1 03894-else-multi-class-controlclick-bot.html