Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 03:41

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


[help]Allowing and disabling PKing

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
[help]Allowing and disabling PKing

Hey everyone, i know i already posted this, but now i have gotten further and further into my PK Event so i figure this would be most useful now since no one helped last time lol... I use a LOTF Source

This is what i did to make it not able to pk in a map until i command or the timer allows it, but it didnt work:

Other.CS
Code:
public static bool NoPK(ushort Map)
        {
            bool Rt = false;

            foreach (ushort map in DataBase.NoPKMaps)
            {
                if (map == Map || map == World.PKCity && World.StartPK == false)
                {
                    Rt = true;
                    break;
                }
            }
            return Rt;
        }
        public static bool CanPK(ushort Map)
        {
            bool Rt = false;

            foreach (uint map in DataBase.PKMaps)
            {
                if (map == Map || map == World.PKCity && World.StartPK == true)
                {
                    Rt = true;
                    break;
                }
            }
            return Rt;
        }
As you see i added World.PKCity && World.StartPK == true to that coding, and i also changed in database.cs:
Code:
public static ushort[] NoPKMaps = new ushort[] { 1002, 1039, 1036, 1010, 500, 1004, 700, World.PKCity};
        public static ushort[] PKMaps = new ushort[] { 1038, 1005, 6000, 1080, 1090, 1018, World.PKCity};
If any1 could tell me what i missed or help me figure out a problem with what i did, id really appreciate it =) thanks!

REMEMBER: THIS IS A LOTF SOURCE!!!! LOTF CODING ONLY!


~Rapid



~RapidBlade~ is offline  
Old 07/01/2009, 08:38   #2
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 312
if (Splitter[0] == "/allowpk")
{
foreach (DictionaryEntry DE in World.AllChars)
{
Character char = DE.Value as Character;
char.PKMode = 1;
}
}


_tao4229_ is offline  
Old 07/01/2009, 16:29   #3
 
elite*gold: 0
Join Date: Jul 2007
Posts: 73
Received Thanks: 1
is that working with CoEmu v2
0105653642 is offline  
Old 07/01/2009, 16:39   #4
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
Eh, got a bunch of errors trying that, ones that really made no sence... thanks for trying tho


~RapidBlade~ is offline  
Old 07/01/2009, 19:17   #5
 
elite*gold: 0
Join Date: May 2009
Posts: 113
Received Thanks: 15
Bump (sorry)


~RapidBlade~ is offline  
Reply



« [Help]Several Questions | List Of Questions I Need Help With »

Similar Threads
[Request] NAGC Thanatos Dungeon Allowing
03/16/2010 - Grand Chase - 2 Replies
I was playing around with Miguel's perfect star trainer and it allows you to unlock continents 1-4 through hack. Anyway I found a way to find the Thanatos duneon doing this. However since it isn't implemented into NAGC yet when i create a room there it makes it a room in Trail forest. Anyway the request is for someone to edit it so that You can play the dungeon if you make a room. I just want to test it really. How to get as far as i did. *Must have dungeons on bermesiah at least...
[HELP]Disabling Pk.
12/17/2009 - EO PServer Hosting - 14 Replies
Hey everyone i was wondering how can i disable pking in certain maps? For example i got Old market and i would like to disable pking in there...or even make it like new market so when players compose when they click evolve they don't have to summon their eudemon it would do it automatically like in cronus...so if anyone knows please let me know. Thanks.
Discussion: Disabling IVC with the use of CR+CB+CE
04/10/2009 - Cabal Main - Discussions / Questions - 6 Replies
yes but what are we exactly looking for? ive seen on official cabal forums the exceptions of ivc, so do i use that information to disable ivc? so i get the value when im in safe zones/idle /[ersonal shop mode etc, then freeze it? is this right? anoother possible way to disable ivc that i thought of: - once the timer of ivc appears, search for it then freeze the timer value?
[help] disabling a hack
07/22/2008 - Dekaron - 6 Replies
How do you disable that hack when you click it moves you to middle of the map (256:256) I can't kill monsters like this and it always moves me to the middle of the map >_> What do I delete from my USA Folder?
Disabling Warden & Using BWH
02/09/2006 - WoW Guides & Templates - 80 Replies
This thread guides you through BWH and stuff like that - English Detection status ] Sry guys, I've been inactive for a while, so I wasn't able to update this. Be careful with using BWH, it's dangerous as hell at the moment. I'm not using it anymore, 80% of ppl using BWH are getting fucked. WARNING 08-18-2006 ] Do not use BWH anymore, it will get you banned! You can't trick Warden at this time. I'll let this post be, just for the fun of it. Good ole times..



All times are GMT +1. The time now is 03:41.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.