1. When you code npcs' you base the case number on their npc type which will make that code for every npc for w/ that type.
How do you make it so it's for only 1 npc of that kind.. Like im making 2 arena guards 1 for pk arena 2 for TC pk map and BI pk map... I need to make Number 2 seperate but still the same npc.
If you cant just tell me i need to look in the list and find another one...
2.How do you add new portals? I know that some portals are already in some maps but just dont have a location to teleport but i wanna add a whole new one..
3. what the code for npc adding items and please put how you add it... Its confusing for me x.x
That should be about it for right now I will add more later if i need to
1. All NPCs have their own unique ID. The case would be this unique ID.
I think you were thinking of the Mesh ID, which is what they look like.
2. In the database, go to the portals table. Add the correct values in.
(Note: This will not add a new blue portal thing on the map, this is just for existing ones)
yes again im back. I'll try to help you. First off for jail npcs just make 2 number 2 npcs have a different case in your database. IDK if it works but i believe it will.
tell me what you want them to say or post what you have and ill try to make it work.
yes again im back. I'll try to help you. First off for jail npcs just make 2 number 2 npcs have a different case in your database. IDK if it works but i believe it will.
tell me what you want them to say or post what you have and ill try to make it work.
#CIRASH Alright my pk arena dude already has text (ArenaGuard)
now im making another one to take players to Pk maps
I'll make the code and put it up here so it makes your life easier
Code:
case 10021: // ArenaGuard 2
{
if (LinkBack == 0)
{
Text("I can take you to amazing PK maps of Twin City or Bird Island. In this area you will not lose", CSocket);
Text(" equipped items or get any PK Points. In there is an NPC that will supply you with Health and Mana Potions but I will have to fee 100,000 Gold.", CSocket);
Link("Take me to the Twin City PK Map!", 1, CSocket);
Link("Take me to the Bird Island PK Map!", 2, CSocket);
Link("I'm fine where I am.", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
if (CSocket.Client.Money >= 100000)
{
Teleport(1505, 163, 227, 0, CSocket);
Money(-100000, CSocket);
}
else if (LinkBack == 2)
{
if (CSocket.Client.Money >= 100000)
{
Teleport(1507, 89, 113, 0, CSocket);
Money(-100000, CSocket);
}
}
break;
}
}
#kinshi88
Thanks but I already know how to set coords for it i was wondering if it was possible to add the blue thing
Hey i fixed it =] something was wrong with your money statements or sumtin
use this
Code:
case 956: // ArenaGuard
{
if (LinkBack == 0)
{
Text("I can take you to amazing PK maps of Twin City or Bird Island. In this area you will not lose", CSocket);
Text(" equipped items or get any PK Points. In there is an NPC that will supply you with Health and Mana Potions but I will have to fee 100,000 Gold.", CSocket);
Link("Take me to the Twin City PK Map!", 1, CSocket);
Link("Take me to the Bird Island PK Map!", 2, CSocket);
Link("I'm fine where I am.", 255, CSocket);
End(CSocket);
}
else if (LinkBack == 1)
{
Teleport(1505, 163, 227, 0, CSocket);
}
else if (LinkBack == 2)
{
{
Teleport(1507, 89, 113, 0, CSocket);
}
}
break;
}
you know how to add an npc since i h believe i helped you with it be4 xD
and just use 956 as npctype and 588 as your NPCid
couple questions 11/04/2009 - EO PServer Hosting - 1 Replies 1. i got a pserver running. then i tried to run accserver again and it fails..... any idea on fixing that.. ive uninstalled everything to do with my server reinstalled and it still wont work.....
2. how do i get the totems working?cool to have 100 stars n be a king lol no totems for my demon tho so i cant level up legion....
3.anybody know how i can get the god quests?
like divine path....
thanks guys
_________________
[Help] Couple questions.. about npcs.. 07/02/2009 - CO2 Private Server - 3 Replies Im using CoEmu
Hey just a couple questions for some codes before I release a new source :) Just questions about the remaining npcs'
1. If I was making Guild Director, guy what would the line be for Save Guild... Also if you make someone Deputy what would you put to save that spot.. (Guild seems too much of a hassle and probably won't put it in)
2. Anyone know the furniture NPC's Sub Type numbers? Like what they look like, It's not in npc.ini.
3. What would you put to add socket...
[HELP]Just a couple of questions 05/21/2009 - CO2 Private Server - 5 Replies what is a static ip and how do i get one?
if i made a new item fo rmy server does the image have to be saved as dds?
How ot make a Gold cup? like whats the UID for talismans?
More to come*
Couple o Questions 12/05/2006 - Conquer Online 2 - 2 Replies First of is it just a prob for me or every1 is experenceing it, did elitepvpers take out the conquer Hacks section or what
\and secondly does any1 have a med lvlers?
thanks for info
Couple of questions 01/20/2006 - Conquer Online 2 - 0 Replies Are the memory address the same in CO2 for Stam, HP and Mana as they where in CO1.0? If not what are they, or do I have to fiund them myself >:o ?
Has anyone found a way to find a player on the current screen (as in mouse co-ords)?
Reason I ask is cause I am thinking of writing an app for my Miner, so when he gets PKed, it logs in my water and revs him, closes the client my water is logged into then continues mining on my Miner client. I could do it with a set mouse position, but then...