Register for your free account! | Forgot your password?

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

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

Advertisement



[HELP]Couple things i need help on...

Discussion on [HELP]Couple things i need help on... within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
[HELP]Couple things i need help on... *NEW PROBLEM ADDED* Guard (non rb ones)

Ok here are the things i need help on...

BOLD are specific things i need done fast

1. How to add Night Devil, Robot, DH and stuff.

2. How to make mana potions work

3. How to not get pk points in Jail and PK Arena..

4. *How to ADD 120 Shield*

5. Guards (Not the Summon ones) - What i need done with these are how to remove some guards from specific locations because right now my server has like 10 in 1 city and its really annoying. Also how to change their attack.. Right now they attack blue names with flying moon.

I will give you Thanks if you help

Please Don't flame this post
n0mansland is offline  
Old 01/04/2009, 11:27   #2
 
Beta Limit's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 493
Received Thanks: 72
Quote:
Originally Posted by n0mansland View Post
Ok here are the things i need help on...

1. How to add Night Devil, Robot, DH and stuff.

2. How to make mana potions work

3. How to not get pk points in Jail and PK Arena..

4. *How to ADD 120 Shield*

I will give you Thanks if you help

Please Don't flame this post
1. Unsure about this myself

2. Before you can add mana pots properly u need mana working (in most LOTF mana is just there and the value of mana doesn't go up or down with the exception of attribute points)
After mana is added you need to find the health pots in your source and use the format they have (think they have CurHP += 2000(etc) - you would use what ever you used for your "Current Mana") then you give the items CurMP += 2000 (etc). Do Not Add Pots Without Working Mana

3. In the part of your source which adds pk points "PKPoints += 10;" in character.cs and "User.PkPoints += 10;" in World.cs
Replace the "PKPoints += 10;" with
Code:
if (LocMap == 6000 || LocMap == 1005)
                                                        {
                                                            PKPoints += 0;
                                                        }
                                                        else
                                                        {
                                                            PKPoints += 10;
                                                        }
and replace "User.PKPoints += 10;" in world.cs with
Code:
if (User.LocMap == 6000 || User.LocMap == 1005)
                                {
                                    User.PKPoints += 0;
                                }
                                else
                                {
                                    User.PKPoints += 10;
                                }
4. There is a guide to this on epvpers somewhere(i think, if not correct me)
Beta Limit is offline  
Thanks
1 User
Old 01/04/2009, 12:02   #3
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
Originally Posted by Beta Limit View Post
1. Unsure about this myself

2. Before you can add mana pots properly u need mana working (in most LOTF mana is just there and the value of mana doesn't go up or down with the exception of attribute points)
After mana is added you need to find the health pots in your source and use the format they have (think they have CurHP += 2000(etc) - you would use what ever you used for your "Current Mana") then you give the items CurMP += 2000 (etc). Do Not Add Pots Without Working Mana

3. In the part of your source which adds pk points "PKPoints += 10;" in character.cs and "User.PkPoints += 10;" in World.cs
Replace the "PKPoints += 10;" with
Code:
if (LocMap == 6000 || LocMap == 1005)
                                                        {
                                                            PKPoints += 0;
                                                        }
                                                        else
                                                        {
                                                            PKPoints += 10;
                                                        }
and replace "User.PKPoints += 10;" in world.cs with
Code:
if (User.LocMap == 6000 || User.LocMap == 1005)
                                {
                                    User.PKPoints += 0;
                                }
                                else
                                {
                                    User.PKPoints += 10;
                                }
4. There is a guide to this on epvpers somewhere(i think, if not correct me)


ROFLMAO! Why do you do like this:


Quote:
if (User.LocMap == 6000 || User.LocMap == 1005)
{
User.PKPoints += 0;
}
else
{
User.PKPoints += 10;
}
Just do like this:

Quote:
if (User.LocMap != 6000 && user.LocMap != 1005)
{
User.PKPoints += 10;
}
Way easier.
_Emme_ is offline  
Old 01/04/2009, 17:51   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by n0mansland View Post
Ok here are the things i need help on...

1. How to add Night Devil, Robot, DH and stuff.

2. How to make mana potions work

3. How to not get pk points in Jail and PK Arena..

4. *How to ADD 120 Shield*

I will give you Thanks if you help

Please Don't flame this post
1. Ive never done it myself, but it should go something like this.

The disguise is essentially a spell, and should trigger a magicattack packet with a userid matching your own char, you then respond by sending a disguise packet (youll need to research this yourself) which will contain the modelID, and trigger the timer, you will also need to send a status packet to increase your hp and max hp and remove mana, and that should be that.

2. When you right click a consumable item on the client, the client will send an itemequip request to the server with a locationID of 0, in most sources there should be a place to handle these requests.

Firstly, remove the item to stop people trying to use the item again, ensure that you "despawn" the item from your inventory and then remove it from the servers inventory, you would then need to look up the itemid thats included in the packet and check its itemstats to see what its +mana value is and then add that to the client that is using the item using a mana status packet.

3. Durring the pking event handler that you have (youll know what i mean, probably durring your attack system somewhere) perform a check similar to this:
Code:
If(Player.CurrentLoc.Map != 6000 && Player.CurrentLoc.Map != 1005)
{
     Player.PKPoints += 10;
}
This basically means that if the players map is anything except 6000, and anything except 1005, they will gain 10pkps otherwise if it IS one of those 2 maps they will receive no pkps, you can add more simply by seperating the map check (Player.CurrentLoc.Map != MapID) with &&

4. I beleive i gave you a general idea of what to do in your other thread a few minutes ago.
Korvacs is offline  
Thanks
1 User
Old 01/04/2009, 19:35   #5
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
a few minutes ago? i dont remember having another post on adding a 120 shield and thanks for answering my questions
n0mansland is offline  
Old 01/04/2009, 20:42   #6
 
Beta Limit's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 493
Received Thanks: 72
@ emme - yeah urs is faster xD but they both work the same
Beta Limit is offline  
Old 01/04/2009, 22:34   #7


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by n0mansland View Post
a few minutes ago? i dont remember having another post on adding a 120 shield and thanks for answering my questions
My mistake, was someone elses who asked same question.
Korvacs is offline  
Reply


Similar Threads Similar Threads
Selling couple of things
08/09/2010 - EO PServer Hosting - 3 Replies
i hope my things not to go for Public and be released. Im Also selling a Rufeng Divine database.. New Features : - All God Divine Skills and Flying skills. - All Tiger Pets and mounts ALL Divine pets ( You can check Hero's War Topic Screen shots its similar to it ) - Love Map similar to Lunar map .. - Divine Casuals...
nid Couple
02/11/2010 - Grand Chase Philippines - 1 Replies
Nid qoue qouple Add me jasmin08 nym ng char q yan
Things about the new client/ Help with a few things
08/23/2009 - S4 League - 7 Replies
Okay... After the update I rescanned for a few things. I have SP, Fumbi Address, Master Address, Run Speed and Jump speed. I noticed freezing your SP seems to disconnect you. I also can't find a Z pointer that last longer than a few restarts (probably not looking deep enough, but haven't been bored enough to spend hours searching for pointers) I'm wondering if anyone else has successfully frozen their SP value without a disconnect I'm also wondering if anyone has a pointer for Z and...
Couple Things I need help with simpile question
11/20/2008 - CO2 Private Server - 21 Replies
Ok I got a couple things I need help with so if you could help "thanks"! 1. How do you add PK Arena 2. How do you add the NPC to go into jail? 3. How do you add 1st Reborn? The one I got doesn't give you the gem? 4. Is there a 2nd Reborn for PServers yet if so how do you add? (Script)
A Couple More Exploits.
03/29/2007 - FFXI Exploits, Hacks, Bots, Tools & Macros - 5 Replies
"Chocobo Exploit" "When entering a town/area that chocobos cannot enter, simply type /dismount and have the "enter" key ready to press before you are entering a non accessable area. When your chocobo is about 2-3 steps from entering press "enter." "-Doing this will enable you to enter a city w/o dismounting a chocobo." "Aution House Exploit" "Place a bid on something in the AH and you would win, then when it says you win you must D/C yourself (Turn Off Modem/unplug router work...



All times are GMT +1. The time now is 20:05.


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.