Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 02:27

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

Advertisement



[Release] Old Explorer V2 (Adding Instructions)

Discussion on [Release] Old Explorer V2 (Adding Instructions) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2007
Posts: 69
Received Thanks: 3
[Release] Old Explorer V2 (Adding Instructions)

Here is an update to Old Explorer, he now charges 100 cps to get to meteor zone.

Place in GameServer Handlers NpcTalk.cs

Code:
#region Old Explorer
                case 999:
                    {
                        if (LinkBack == 0)
                        {
                            Face(30, CSocket);
                            Text("Would you like to go to Meteor Zone? It will cost you 100cps", CSocket);
                            Link("Yes", 1, CSocket);
                            Link("No", 255, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            if (CSocket.Client.CPs >= 100)
                            {
                                Handler.Teleport(1210, 1041, 716, 0, CSocket);
                                CPs(-100, CSocket);
                            }
                        }
                        break;
                    }
                #endregion
Implementing Instructions

2 Screenshots are attached for phpmyadmin setup, The smaller sized picture is your npc's database, youll have to add a new row with the information in the screenshot, the bigger sized picture is TqNpc's database which youll have to add the bigger screenshot information to.

Warning!

The npc isnt properly named when it goes to the market, i need to learn how to properly place npcs before i can provide the right npc. But the npc will still work and take you to metzone for 100cps

Npc will go at 199,212 of the market.

If you use either codes be sure to thank Shadow as well as Mwaha for correcting mistakes on my part.
Attached Images
File Type: jpg NPC.JPG (18.3 KB, 19 views)
File Type: jpg Tqnpc.JPG (52.0 KB, 18 views)
Illustria is offline  
Old 09/24/2009, 10:50   #2
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
a lil better one
Code:
		#region Old Explorer
                case 999:
                    {
                        if (LinkBack == 0)
                        {
                            Text("Would you like to go to Meteor Zone? It will cost you 100 Cps", CSocket);
                            Link("Ok !", 1, CSocket);
                            Link("No thanks..", 255, CSocket);
			    Face(30, CSocket);
                            End(CSocket);
                        }
                        else if (LinkBack == 1)
                        {
                            if (CSocket.Client.CPs >= 100)
                            {
                                Handler.Teleport(1210, 1041, 716, 0, CSocket);
                                Money(-50, CSocket);
                            }
							else
							{
								Text("You dont have that much Money ! come back later when you have it !", CSocket);
								Link("Oh... Ok....", 255, CSocket);
								Face(30, CSocket);
								End(CSocket);
							}
                        }
                        break;
                    }
                #endregion
$HaDoW is offline  
Thanks
1 User
Old 09/24/2009, 22:19   #3
 
elite*gold: 0
Join Date: Jul 2006
Posts: 195
Received Thanks: 13
Code:
                            if (CSocket.Client.CPs >= 100)
                            {
                                Handler.Teleport(1210, 1041, 716, 0, CSocket);
                                Money(-50, CSocket);
                            }
Is wrong to charge 100cps, you need it as:

Code:
                            if (CSocket.Client.CPs >= 100)
                            {
                                Handler.Teleport(1210, 1041, 716, 0, CSocket);
                                CPs(-100, CSocket);
                            }
Your example he checks for 100cps but actually charges 50silver to enter.
mwaha is offline  
Thanks
1 User
Old 09/25/2009, 00:42   #4
 
elite*gold: 0
Join Date: Apr 2007
Posts: 69
Received Thanks: 3
Quote:
Originally Posted by mwaha View Post
Code:
                            if (CSocket.Client.CPs >= 100)
                            {
                                Handler.Teleport(1210, 1041, 716, 0, CSocket);
                                Money(-50, CSocket);
                            }
Is wrong to charge 100cps, you need it as:

Code:
                            if (CSocket.Client.CPs >= 100)
                            {
                                Handler.Teleport(1210, 1041, 716, 0, CSocket);
                                CPs(-100, CSocket);
                            }
Your example he checks for 100cps but actually charges 50silver to enter.
Thx i changed it ^_^.
Illustria is offline  
Reply


Similar Threads Similar Threads
[RELEASE] pak-Explorer
01/24/2012 - Florensia - 17 Replies
pak-Explorer 0.80 Idea and code by : Cholik I think the title should be enough or ? :D Well this tool can open florensia data files (.pak). You can preview image and text files, you can filter the entries. Single- and full-extraction is also possible. Well what should I else say ? Have fun with this tool.
[RELEASE + TUT] NO CRC + FILES + Instructions
01/19/2010 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 132 Replies
=> :eek: <= NO CRC + FILES + Instructions xD Instructions NO CRC: Step 1. Put BIN Folder to ...2Moons\Dekaron Installation Folder\.



All times are GMT +1. The time now is 02:28.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.