Register for your free account! | Forgot your password?

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

  • 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 07/05/2008, 13:27   #1456
 
elite*gold: 0
Join Date: Aug 2007
Posts: 295
Received Thanks: 89
I made one a little while ago when testing this source...not much difference just some validation on it:

Code:
if (TheClient.Status == 8)
           {
               if (Splitter[0] == "/tele")
               {
                   if (Splitter[1] != "" & Splitter[2] != "" & Splitter[3] != "")
                   {
                       TheClient.MyChar.Teleport(short.Parse(Splitter[1]), short.Parse(Splitter[2]), short.Parse(Splitter[3]));
                    }
               }
           }
Works for me, but so would the one posted before, goes in chat.cs within the
Code:
if (Message[0] == '/')
method.

Usage /tele mapid co-ord-x co-ord-y

e.g. /tele 1022 150 150
or /mm 1022 150 150 for the previous example posted by tao4229
Some-Guy is offline  
Old 07/05/2008, 13:32   #1457
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Ill try it now it shoud work right?

So cant get it working can u upload a working chat.cs?
~Yuki~ is offline  
Old 07/05/2008, 14:28   #1458
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by lolmaster123 View Post
Ill try it now it shoud work right?

So cant get it working can u upload a working chat.cs?
why u need some command like that? u have the teleport (/scroll) command allready

nice code at ur signature by the way
samehvan is offline  
Old 07/05/2008, 15:01   #1459
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by samehvan View Post
why u need some command like that? u have the teleport (/scroll) command allready

nice code at ur signature by the way
I wanna have a teleporting function with coords

and i bet the code has in 2 lines 200 errors :P
~Yuki~ is offline  
Old 07/05/2008, 16:09   #1460
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by lolmaster123 View Post
I wanna have a teleporting function with coords

and i bet the code has in 2 lines 200 errors :P
No errors, mine works fine, problems may be:
You didn't rebuild
You put it like at the TOP of Chat.cs not in the middle with the other ones
You still have PM commands on(And you're not a PM/GM)
I used tab on the Code window, but its actually 4 spaces(I'm used to tab doing 4 spaces from VisualC#2008)
You fail at life(Doubt that one)
But I'm working on RBing equips, but i'm too much of a noob to get anywhere...Goodluck with the warehouse/guilds/other stuff i could never do (Samehvan'z teaaamm)
tao4229 is offline  
Old 07/05/2008, 16:24   #1461
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by tao4229 View Post
No errors, mine works fine, problems may be:
You didn't rebuild
You put it like at the TOP of Chat.cs not in the middle with the other ones
You still have PM commands on(And you're not a PM/GM)
I used tab on the Code window, but its actually 4 spaces(I'm used to tab doing 4 spaces from VisualC#2008)
You fail at life(Doubt that one)
But I'm working on RBing equips, but i'm too much of a noob to get anywhere...Goodluck with the warehouse/guilds/other stuff i could never do (Samehvan'z teaaamm)
Not that code lool in my signature:P
And i added it rebuilt successfully but i cant use it in-game
~Yuki~ is offline  
Old 07/05/2008, 17:50   #1462
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
new Good news

The Monsters Drop items and money when been killed
samehvan is offline  
Thanks
1 User
Old 07/05/2008, 18:00   #1463
 
elite*gold: 0
Join Date: Jun 2008
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by samehvan View Post
new Good news

The Monsters Drop items and money when been killed
wow when will it be release?
Odonata is offline  
Old 07/05/2008, 18:09   #1464
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
Quote:
Originally Posted by samehvan View Post
new Good news

The Monsters Drop items and money when been killed
concerning the /mm commands

they help you out when scripting a npc ^^
Light200 is offline  
Old 07/05/2008, 18:31   #1465
 
elite*gold: 0
Join Date: Aug 2006
Posts: 227
Received Thanks: 57
The Team working on this Server is so good respect from me
keving is offline  
Thanks
1 User
Old 07/05/2008, 19:45   #1466
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
/mm command works like a charm!
~Yuki~ is offline  
Old 07/05/2008, 19:49   #1467
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
Quote:
Originally Posted by Light200 View Post
concerning the /mm commands

they help you out when scripting a npc ^^
give an example ,

somthing the teleport statement doesnt do
samehvan is offline  
Old 07/05/2008, 20:02   #1468
 
Light200's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 85
/mm 1700 800 800
teleports to reborn area, rather easier then GUESS the cords in npc.txt ^^
and you cant /scroll there and some certain other places

also works when you're finding someone, the character tells the map and cords, /scroll can't do that ^^
or some place where you can't /scroll to
Light200 is offline  
Old 07/05/2008, 20:20   #1469
 
elite*gold: 0
Join Date: Aug 2006
Posts: 2
Received Thanks: 0
Smile

WOW Sam Awsome Job on this guide i think its gonna be really useful ^^ im almost done with my p-server xD ill look forward to ur updates and thanks for the guide
killerjay333 is offline  
Old 07/05/2008, 20:40   #1470
 
elite*gold: 0
Join Date: Aug 2007
Posts: 295
Received Thanks: 89
Quote:
Originally Posted by samehvan View Post
give an example ,

somthing the teleport statement doesnt do
I think he means so that you can experiment with the co-ords before defining them in npc.txt.
Some-Guy 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 15:57.


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.