Register for your free account! | Forgot your password?

You last visited: Today at 13:57

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

Advertisement



ProjectX V3.2 Source

Discussion on ProjectX V3.2 Source within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 11/13/2013, 15:56   #46
 
L1nk1n*P4rK's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 303
Received Thanks: 39
Ahhh and I had so much interest on this
Well gonna change it to MySQl cuz I know it better, and I don't need other "unklown" like MSSql to fark with me.

Great release none the less.
L1nk1n*P4rK is offline  
Old 11/13/2013, 19:27   #47
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by L1nk1n*P4rK View Post
Ahhh and I had so much interest on this
Well gonna change it to MySQl cuz I know it better, and I don't need other "unklown" like MSSql to fark with me.

Great release none the less.
Better? Not really.
Super Aids is offline  
Old 11/14/2013, 00:28   #48
 
L1nk1n*P4rK's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 303
Received Thanks: 39
I mean, I know it better and I did it already x3
Fooling around with TQ's client at the moment. Hopefuly I'll make it to work with 5803 (lattest patch) just for the lulz
L1nk1n*P4rK is offline  
Old 11/14/2013, 00:45   #49
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
If you need any help or got questions just hit me up.
Super Aids is offline  
Old 11/22/2013, 13:35   #50
 
elite*gold: 0
Join Date: Jun 2013
Posts: 7
Received Thanks: 0
Code:
public static void script_150002(GameClient client, byte option) // script_ before the id is necessary!
{
    switch (option)
	{
		case 0:
		{
			NPCHandler.SendDialog(client, "Would you like to upgrade your items?");
            NPCHandler.SendOption(client, "Yes please.", 1);
            NPCHandler.SendOption(client, "No thanks.", 255);
            NPCHandler.Finish(client);
            break;
        }
        case 1:
        {
            NPCHandler.SendDialog(client, "Which equipment do you want to upgrade?");
            NPCHandler.SendDialog(client, "<Head, Necklace, WeaponL, WeaponR, Armor, Boots, Ring, Garment, Bottle>");
			NPCHandler.SendInput(client, 2);
            NPCHandler.Finish(client);
            break;
        }
        case 2:
        {
            NPCHandler.SendDialog(client, "Please choose how you want your item to be upgraded?");
            NPCHandler.SendOption(client, "Sockets", 3);
            NPCHandler.SendOption(client, "Plus", 4);
            NPCHandler.SendOption(client, "Bless", 5);
            NPCHandler.SendOption(client, "Enchant", 6);
            NPCHandler.Finish(client);
            break;
        }
        case 3:
        {
        }
        case 4:
        {
                for (byte i = 1; i < 12; i++)
				{
                    item.Plus = Plus + i++;
        }
        case 5:
        {
            NPCHandler.SendDialog(client, "Please choose an option from below, here you can upgrade your bless.");
            NPCHandler.SendOption(client, "-1 Damage", 7);
            NPCHandler.SendOption(client, "-3 Damage", 8);
            NPCHandler.SendOption(client, "-5 Damage", 9);
            NPCHandler.SendOption(client, "-7 Damage", 10);
            NPCHandler.Finish(client);
            break;
        }
        case 6:
        {
                    if (Enchant > 250)
                    {
                        return;
                    }
                    item.Enchant = 50;
        }
        case 7:
        {
                    item.Bless = 1;
        }
        case 8:
        {
        if (Bless == 1)
        {
                    item.Bless = 3;
        }
        case 9:
        {
        if (Bless == 3)
        {
                    item.Bless = 5;
        }
        case 10:
        {
        if (Bless == 5)
        {
                    item.Bless = 7;
        }
    }
}
Upgrading Master
-He can upgrade Plus,Bless,Enchant and open sockets.
Plus: To add +1 for your item, Ex: If you have +4 Sword and want to upgrade to +5 for cps
Sockets: I don't know how to open a socket, 1st socket and 2nd socket.
Bless: Upgrade your bless from -1 to -3
Enchant: I want to add 50 HP everytime I add HP max HP is 250.
-Will add the CPS system later.. and was thinking of making it with points.. Like tounry points
The NPC isn't working needs fixing.
Anyone who can code wants to work with me on the source PM
Rooocky is offline  
Old 11/22/2013, 19:00   #51
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
Quote:
Originally Posted by Rooocky View Post
Code:
public static void script_150002(GameClient client, byte option) // script_ before the id is necessary!
{
    switch (option)
	{
		case 0:
		{
			NPCHandler.SendDialog(client, "Would you like to upgrade your items?");
            NPCHandler.SendOption(client, "Yes please.", 1);
            NPCHandler.SendOption(client, "No thanks.", 255);
            NPCHandler.Finish(client);
            break;
        }
        case 1:
        {
            NPCHandler.SendDialog(client, "Which equipment do you want to upgrade?");
            NPCHandler.SendDialog(client, "<Head, Necklace, WeaponL, WeaponR, Armor, Boots, Ring, Garment, Bottle>");
			NPCHandler.SendInput(client, 2);
            NPCHandler.Finish(client);
            break;
        }
        case 2:
        {
            NPCHandler.SendDialog(client, "Please choose how you want your item to be upgraded?");
            NPCHandler.SendOption(client, "Sockets", 3);
            NPCHandler.SendOption(client, "Plus", 4);
            NPCHandler.SendOption(client, "Bless", 5);
            NPCHandler.SendOption(client, "Enchant", 6);
            NPCHandler.Finish(client);
            break;
        }
        case 3:
        {
        }
        case 4:
        {
                for (byte i = 1; i < 12; i++)
				{
                    item.Plus = Plus + i++;
        }
        case 5:
        {
            NPCHandler.SendDialog(client, "Please choose an option from below, here you can upgrade your bless.");
            NPCHandler.SendOption(client, "-1 Damage", 7);
            NPCHandler.SendOption(client, "-3 Damage", 8);
            NPCHandler.SendOption(client, "-5 Damage", 9);
            NPCHandler.SendOption(client, "-7 Damage", 10);
            NPCHandler.Finish(client);
            break;
        }
        case 6:
        {
                    if (Enchant > 250)
                    {
                        return;
                    }
                    item.Enchant = 50;
        }
        case 7:
        {
                    item.Bless = 1;
        }
        case 8:
        {
        if (Bless == 1)
        {
                    item.Bless = 3;
        }
        case 9:
        {
        if (Bless == 3)
        {
                    item.Bless = 5;
        }
        case 10:
        {
        if (Bless == 5)
        {
                    item.Bless = 7;
        }
    }
}
Upgrading Master
-He can upgrade Plus,Bless,Enchant and open sockets.
Plus: To add +1 for your item, Ex: If you have +4 Sword and want to upgrade to +5 for cps
Sockets: I don't know how to open a socket, 1st socket and 2nd socket.
Bless: Upgrade your bless from -1 to -3
Enchant: I want to add 50 HP everytime I add HP max HP is 250.
-Will add the CPS system later.. and was thinking of making it with points.. Like tounry points
The NPC isn't working needs fixing.
Anyone who can code wants to work with me on the source PM
This should already been done, not sure tho.
Check wuxingoven in market.
turk55 is offline  
Old 11/23/2013, 17:26   #52
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by Rooocky View Post
Code:
public static void script_150002(GameClient client, byte option) // script_ before the id is necessary!
{
    switch (option)
	{
		case 0:
		{
			NPCHandler.SendDialog(client, "Would you like to upgrade your items?");
            NPCHandler.SendOption(client, "Yes please.", 1);
            NPCHandler.SendOption(client, "No thanks.", 255);
            NPCHandler.Finish(client);
            break;
        }
        case 1:
        {
            NPCHandler.SendDialog(client, "Which equipment do you want to upgrade?");
            NPCHandler.SendDialog(client, "<Head, Necklace, WeaponL, WeaponR, Armor, Boots, Ring, Garment, Bottle>");
			NPCHandler.SendInput(client, 2);
            NPCHandler.Finish(client);
            break;
        }
        case 2:
        {
            NPCHandler.SendDialog(client, "Please choose how you want your item to be upgraded?");
            NPCHandler.SendOption(client, "Sockets", 3);
            NPCHandler.SendOption(client, "Plus", 4);
            NPCHandler.SendOption(client, "Bless", 5);
            NPCHandler.SendOption(client, "Enchant", 6);
            NPCHandler.Finish(client);
            break;
        }
        case 3:
        {
        }
        case 4:
        {
                for (byte i = 1; i < 12; i++)
				{
                    item.Plus = Plus + i++;
        }
        case 5:
        {
            NPCHandler.SendDialog(client, "Please choose an option from below, here you can upgrade your bless.");
            NPCHandler.SendOption(client, "-1 Damage", 7);
            NPCHandler.SendOption(client, "-3 Damage", 8);
            NPCHandler.SendOption(client, "-5 Damage", 9);
            NPCHandler.SendOption(client, "-7 Damage", 10);
            NPCHandler.Finish(client);
            break;
        }
        case 6:
        {
                    if (Enchant > 250)
                    {
                        return;
                    }
                    item.Enchant = 50;
        }
        case 7:
        {
                    item.Bless = 1;
        }
        case 8:
        {
        if (Bless == 1)
        {
                    item.Bless = 3;
        }
        case 9:
        {
        if (Bless == 3)
        {
                    item.Bless = 5;
        }
        case 10:
        {
        if (Bless == 5)
        {
                    item.Bless = 7;
        }
    }
}
Upgrading Master
-He can upgrade Plus,Bless,Enchant and open sockets.
Plus: To add +1 for your item, Ex: If you have +4 Sword and want to upgrade to +5 for cps
Sockets: I don't know how to open a socket, 1st socket and 2nd socket.
Bless: Upgrade your bless from -1 to -3
Enchant: I want to add 50 HP everytime I add HP max HP is 250.
-Will add the CPS system later.. and was thinking of making it with points.. Like tounry points
The NPC isn't working needs fixing.
Anyone who can code wants to work with me on the source PM
First of all your brackets are invalid. You open a scope, but forgets to close it, as well some of your cases are not breaking or returning, add a break; or return; to the end of your cases depending on whether you want to do something after the switch or not.

Secondly the plus thing is pretty simple, take a look at weaponmaster or magicartisan (I think that's the name?) and how it shows the gears you can upgrade, then you could simply change it from mets/dbs to cps and instead of upgrading the quality/level you could just upgrade the plus.

About sockets i's very simple, take again the process is the same for selecting gear. The ItemInfo class which is returned from the equipments contains 2 variables called Gem1 and Gem2.

They're of the enum type "ProjectX_V3_Game.Enums.SocketGem".

Set the value of Gem1 to ProjectX_V3_Game.Enums.SocketGem.EmptySocket for first socket.
Set the value of Gem2 to ProjectX_V3_Game.Enums.SocketGem.EmptySocket for the second socket.

Bless is already added, take a look at BlessedGearMaster.cs in the NPCScripts.
If you want this with cps system, it's just the same as above again.

Enchant is basically the same as the rest, same process. The variable name in ItemInfo is Enchant.
Super Aids is offline  
Old 11/28/2013, 20:58   #53
 
elite*gold: 0
Join Date: Jun 2013
Posts: 7
Received Thanks: 0
Why when I use the @item command to get JadeHare it doesn't work, JadeHare is in the database and I cannot get it
Rooocky is offline  
Old 11/28/2013, 21:06   #54
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by Rooocky View Post
Why when I use the @item command to get JadeHare it doesn't work, JadeHare is in the database and I cannot get it
Probably invalid attributes for the command. Debug the item command and see where it doesn't reach. I will look into the issue later, if you haven't figured it out
Super Aids is offline  
Old 12/07/2013, 13:28   #55
 
elite*gold: 0
Join Date: Jun 2013
Posts: 7
Received Thanks: 0
I haven't figured it out :s
Rooocky is offline  
Old 12/08/2013, 00:23   #56
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
You need to make a new item command that does not handle quality, because it will change the itemid based on quality which makes the item invalid with mountarmors.
Super Aids is offline  
Old 12/08/2013, 01:36   #57
 
vincentvdb's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 37
Received Thanks: 6
Any way to convert it to MySQL? Can't get MSSQL working on my pc
vincentvdb is offline  
Old 12/08/2013, 02:09   #58
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by vincentvdb View Post
Any way to convert it to MySQL? Can't get MSSQL working on my pc
You'd be on your own converting it to mysql and it will be quite a job changing the parameter usage etc. Since it does not use directly sql queries, but sql parameters. Not sure if the Mysql library for .NET supports that.

Also perhaps you could tell the issue you're having. It could be you don't have the sql service pack maybe? Or a wrong version of mssql?
Super Aids is offline  
Old 12/11/2013, 08:21   #59
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Fixed 2 bugs with ArtisanWind. Please view the fixes/optimization spoiler in OP.
Super Aids is offline  
Old 12/17/2013, 21:51   #60
 
elite*gold: 0
Join Date: Oct 2005
Posts: 72
Received Thanks: 7
account creating

I remnoved all previous issues...just to find a new one! Now I can log in on a new account....create a new character but after you pick your class...etc it just hangs up on login and never gets passed that? anyone know what I'm doing wrong or is willing to TV?
nushizu is offline  
Reply


Similar Threads Similar Threads
ProjectX Source
10/28/2018 - CO2 PServer Guides & Releases - 167 Replies
Well I will not develope Conquer anymore and I have decided to close down ProjectX, but I have not talked with any of my partners, because they haven't been on, but they know it's due to lack of players and activity. The reason I will release it is because I won't develope any server more. I was working on a new source based on Project Manifesto, but I quitted that to. I will keep that for my self, if I ever go back to developing, but mostly not. I will not be as much active here neither,...
ProjectX V3 Source
03/28/2013 - CO2 PServer Guides & Releases - 40 Replies
Quitting CO again, don't really got time to work enough on this, so I will just release the whole project. Source (View): ProjectX V3 Source (Download): Source Database (Download): Database
ProjectX Source
02/07/2012 - CO2 PServer Guides & Releases - 2 Replies
This is just a reupload, not our current source, because the other link seems to be dead and I'm tired of people asking me all the time if I could reupload it, so here it is. Do not ask if you can get our current source, because it will NEVER be public nor for sale. ProjectXFull.rar Original thread: http://www.elitepvpers.com/forum/co2-pserver-guid es-releases/990423-projectx-source.html
Need help with projectx source.
09/29/2011 - CO2 Private Server - 5 Replies
Hello everyone i've download all files for projectx source and also i putted the right files in C:/ Driver and when i start the projectx console there comes a error like this>>> ImageShack&#174; - Online Photo and Video Hosting <<< And also i'm using windows 7 64bit
need help in ProjectX source
07/30/2011 - CO2 Private Server - 4 Replies
Can some1 tell me how can i delite a skill for example hercules..



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


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.