Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 23:29

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



P Server "NPC base code/shops/drop items" for who asked me 2 do it

Discussion on P Server "NPC base code/shops/drop items" for who asked me 2 do it within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 06/29/2008, 19:40   #1186
 
elite*gold: 0
Join Date: Nov 2007
Posts: 182
Received Thanks: 29
Hello, i can't find they map ID, somebody can give me theire ?

Thx
anerax is offline  
Old 06/29/2008, 19:41   #1187
 
elite*gold: 0
Join Date: Nov 2007
Posts: 182
Received Thanks: 29
Hello, i can't find they map ID, somebody can give me theire ?

Thx
anerax is offline  
Old 06/29/2008, 19:47   #1188
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Quote:
Originally Posted by stephanyd View Post
i changed lvl and equipped gears and when i create a new char it is lvl 110 and full sup tro gears ... i don't understand why... see my screenshot of my TheDB.cs
Rebuild the File, Than copy "TheCOServer" from ur release folder to ur Debug folder, Done ...

Quote:
Originally Posted by anerax View Post
Ok thx and for rename /skill herc in /skill avezole ?

Thx
Open ur Chat.cs, Look for herc and rename it... than rebuild your file and than copy "TheCOServer" from ur release folder to ur Debug folder, Done ...
YukiXian is offline  
Old 06/29/2008, 19:49   #1189
 
GRASSHOPPA's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 113
Received Thanks: 19
the map ids have been posted at least 10 times...
please stop double posting so much

@adz
grats on guilds btw =o
GRASSHOPPA is offline  
Old 06/29/2008, 19:57   #1190
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by GRASSHOPPA View Post
the map ids have been posted at least 10 times...
please stop double posting so much

@adz
grats on guilds btw =o
Sam made them i'm just bug fixing there is still alot to be done on the guilds which i'm gonna need alot of help from Sam (he is probably gonna have to do the majority of it)

But i am working on a few things at once, guilds are going ok.

Oh that reminds me does anyone know how to code skills? If you can, can you code a few that I already havent? Would save me alot of time.
adz06676 is offline  
Old 06/29/2008, 20:18   #1191
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
[QUOTE=YukiXian;1222663]Rebuild the File, Than copy "TheCOServer" from ur release folder to ur Debug folder, Done ...


I tried but still no changes
stephanyd is offline  
Old 06/29/2008, 20:37   #1192
 
elite*gold: 0
Join Date: Nov 2007
Posts: 182
Received Thanks: 29
Ive problem.

In dialog.ini i've prog this :

Code:
[3825]
face=6
txt0=Je peux vous vendre quelques items vous savez...
opt0=Met-DB-SDG-SPG-SMG-SRG-Non merci
req=gold,200000-gold,10000000-gold,20000000-gold,20000000-
gold,20000000-gold,20000000
rew=item,1088001,0,0,0,0,0,1-item,1088000,0,0,0,0,0,1-
item,700013,0,0,0,0,0,1-item,700003,0,0,0,0,0,1-item,700063,0,0,0,0,0,1-
item,700033,0,0,0,0,0,1
The guys take my money but he don't give me a sdg, spg, srg, smg.

Help me please Thx
anerax is offline  
Old 06/29/2008, 20:57   #1193
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
Quote:
Originally Posted by adz06676 View Post
Sam made them i'm just bug fixing there is still alot to be done on the guilds which i'm gonna need alot of help from Sam (he is probably gonna have to do the majority of it)

But i am working on a few things at once, guilds are going ok.

Oh that reminds me does anyone know how to code skills? If you can, can you code a few that I already havent? Would save me alot of time.
Code:
 
if (SkillId == 1045 || SkillId == 1046)
{
byte Range = 10;
Hashtable Targets = new Hashtable();
Hashtable PTargets = new Hashtable();
byte SkillLvl = (byte)Skills[(short)SkillId];
IDictionaryEnumerator en = MobsFunctions.AllMobs.GetEnumerator();
double Aim = MyMath.PointDirecton((short)ToX, (short)ToY, PosX, PosY);
 
while (en.MoveNext())
{
SingleMob TheMob = (SingleMob)en.Value;
double MobDir = MyMath.PointDirecton(TheMob.PosX, TheMob.PosY, PosX, PosY);
int MobDist = MyMath.PointDistance(TheMob.PosX, TheMob.PosY, PosX, PosY);
long DMG = (long)Rand.Next((int)MinAtk, (int)MaxAtk);
if ((Level - 2) > TheMob.Level)
{
int AddDamage = (int)(2 + (Level - (TheMob.Level + 2)) / 2);
DMG *= AddDamage;
DMG = DMG * 3 / 4;
}
if (TheMob.Map == PosMap)
if (MobDist < Range + 1)
if (MobDir == Aim)
if (!Targets.Contains(TheMob))
Targets.Add(TheMob,DMG);
}
en = WorldHandler.AllClients.GetEnumerator();
 
while (en.MoveNext())
{
Character ThePlayer = ((Client)en.Value).MyChar;
double CharDir = MyMath.PointDirecton(ThePlayer.PosX, ThePlayer.PosY, PosX, PosY);
int CharDist = MyMath.PointDistance(ThePlayer.PosX, ThePlayer.PosY, PosX, PosY);
long DMG = (long)Rand.Next((int)MinAtk, (int)MaxAtk);
DMG -= ThePlayer.Defense;
if (DMG < 1)
DMG = 1;

if (PKMode == 0 || PKMode == 2)
if (ThePlayer.PosMap == PosMap)
if (CharDist < Range + 1)
if (CharDir == Aim)
if (ThePlayer != this)
if (ThePlayer.Alive)
PTargets.Add(ThePlayer, DMG);
}
normal fb and ss
Light200 is offline  
Old 06/29/2008, 21:39   #1194
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by Light200 View Post
Code:
 
if (SkillId == 1045 || SkillId == 1046)
{
byte Range = 10;
Hashtable Targets = new Hashtable();
Hashtable PTargets = new Hashtable();
byte SkillLvl = (byte)Skills[(short)SkillId];
IDictionaryEnumerator en = MobsFunctions.AllMobs.GetEnumerator();
double Aim = MyMath.PointDirecton((short)ToX, (short)ToY, PosX, PosY);
 
while (en.MoveNext())
{
SingleMob TheMob = (SingleMob)en.Value;
double MobDir = MyMath.PointDirecton(TheMob.PosX, TheMob.PosY, PosX, PosY);
int MobDist = MyMath.PointDistance(TheMob.PosX, TheMob.PosY, PosX, PosY);
long DMG = (long)Rand.Next((int)MinAtk, (int)MaxAtk);
if ((Level - 2) > TheMob.Level)
{
int AddDamage = (int)(2 + (Level - (TheMob.Level + 2)) / 2);
DMG *= AddDamage;
DMG = DMG * 3 / 4;
}
if (TheMob.Map == PosMap)
if (MobDist < Range + 1)
if (MobDir == Aim)
if (!Targets.Contains(TheMob))
Targets.Add(TheMob,DMG);
}
en = WorldHandler.AllClients.GetEnumerator();
 
while (en.MoveNext())
{
Character ThePlayer = ((Client)en.Value).MyChar;
double CharDir = MyMath.PointDirecton(ThePlayer.PosX, ThePlayer.PosY, PosX, PosY);
int CharDist = MyMath.PointDistance(ThePlayer.PosX, ThePlayer.PosY, PosX, PosY);
long DMG = (long)Rand.Next((int)MinAtk, (int)MaxAtk);
DMG -= ThePlayer.Defense;
if (DMG < 1)
DMG = 1;

if (PKMode == 0 || PKMode == 2)
if (ThePlayer.PosMap == PosMap)
if (CharDist < Range + 1)
if (CharDir == Aim)
if (ThePlayer != this)
if (ThePlayer.Alive)
PTargets.Add(ThePlayer, DMG);
}
normal fb and ss
Already had that.
adz06676 is offline  
Old 06/29/2008, 21:45   #1195
 
elite*gold: 0
Join Date: Nov 2007
Posts: 182
Received Thanks: 29
Hello
Sniff, How can I make to throw an object on the ground and it will be visible on the ground ?

Thank you. (verry important please)
anerax is offline  
Old 06/29/2008, 21:47   #1196
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by anerax View Post
Hello
Sniff, How can I make to throw an object on the ground and it will be visible on the ground ?

Thank you. (verry important please)
You can't, wait for me sam or gfun to code it.
adz06676 is offline  
Old 06/29/2008, 21:51   #1197
 
elite*gold: 0
Join Date: Nov 2007
Posts: 182
Received Thanks: 29
Thanks a lot
And there is a comand for put -7% on 1 item if i've 6 mystic gems ?

EDIT : Big problem, i can't see the life of monsters, look :



It's a ini...no ?

Thx
anerax is offline  
Old 06/29/2008, 22:19   #1198
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
My Taoist in birth village won't teach my noob a skill ... someone cant tell me what's wrong in my dialog?
Attached Images
File Type: jpg TaoistStar.jpg (140.7 KB, 41 views)
stephanyd is offline  
Old 06/29/2008, 23:03   #1199
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by stephanyd View Post
My Taoist in birth village won't teach my noob a skill ... someone cant tell me what's wrong in my dialog?
You need to code it in NpcDialog.cs
adz06676 is offline  
Old 06/29/2008, 23:39   #1200
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by adz06676 View Post
You need to code it in NpcDialog.cs
ok... here is a screeny from my NPCdialog.cs... tell me plz if i'm wrong in my coding or if i have to add something when i make that one working i'll be able to code all others in BV
Attached Images
File Type: jpg Skills for Taoist bv.jpg (112.1 KB, 28 views)
stephanyd is offline  
Reply


Similar Threads Similar Threads
Verkaufe: Guild Wars "Platin", "Ectos, "Items" mehr...
09/12/2008 - Guild Wars Trading - 0 Replies
Hallo, ich biete gegen Euro viele schöne dinge für das Spiel Guild Wars an. Bitte meldet euch dann bei mir per PM was genau ihr haben möchtet und wieviel von den jeweiligen Virtuellen Gegenständen. Die Übergabe kann wie folgt ab laufen. Ich erstelle extra für euch die Ebay Auktion mit der gewünschten menge der jeweiligen Virtuellen Guild Wars gegenstände. Wenn ihr kein Ebay habt und euch auch kein Account anlegen möchtet kann die Übergabe auch ausserhalb Ebays statt finden hierzu erhaltet...



All times are GMT +1. The time now is 23:30.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.