Register for your free account! | Forgot your password?

You last visited: Today at 08:17

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

Advertisement



[Fix]So GM's can pk.

Discussion on [Fix]So GM's can pk. within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
[Fix]So GM's can pk.

I know most of you know how to "fix" this already but I figure I'll post a "fix" for it.
First go to Charcater.cs and search for this.
Code:
                        if(!MyClient.GM)
                            foreach (Character C in World.H_Chars.Values)
                            {
                                if (C.Alive && C != this)
                                {
                                    if (MyMath.PointDistance(Loc.X, Loc.Y, C.Loc.X, C.Loc.Y) <= Dist)
                                        if (C.PKAble(PKMode, this) && !SU.PlayerTargets.Contains(C) && !World.NoPKMaps.Contains(Loc.Map))
                                            SU.PlayerTargets.Add(C, SU.GetDamage(C));
                                }
                            }
Delete that entire code.
Next go to Attack.cs.
Search for
Code:
                    if (PossChar != null)
                        if (GC.GM)
                            return;
Delete that.
Now gm's should be able to pk.
Hope this helps.
Arcо is offline  
Thanks
23 Users
Old 12/06/2009, 20:59   #2
 
Hitsugaya Toshiro's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 116
Received Thanks: 42
Thanks for the release now i can be a GM and pk =)
Hitsugaya Toshiro is offline  
Old 12/07/2009, 03:13   #3
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
good Release ;x
felipeboladao is offline  
Old 12/07/2009, 07:04   #4
 
Nirion's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 99
Received Thanks: 33
I noticed that you still can't use skills against ppl heres the fix that worked for me.

In Skills.cs, search for and delete

Code:
if (User.MyClient.GM && C.EntityID == User.EntityID || !User.MyClient.GM)
Search once more and delete
Code:
if (User.MyClient.GM)
                        {
                            if (C.EntityID != User.EntityID)
                            {
                                continue;
                            }
                        }
Nirion is offline  
Thanks
9 Users
Old 12/08/2009, 10:31   #5
 
elite*gold: 0
Join Date: Aug 2007
Posts: 3
Received Thanks: 0
tnx the best **** forum in da world now i am real GM
HRTY313 is offline  
Old 12/14/2009, 07:57   #6
 
elite*gold: 0
Join Date: Jun 2007
Posts: 24
Received Thanks: 22
can u upload Skills.cs Charcater.cs Attack.cs
bonza is offline  
Old 12/14/2009, 08:32   #7
 
elite*gold: 0
Join Date: May 2006
Posts: 29
Received Thanks: 1
Wink

Quote:
Originally Posted by bonza View Post
can u upload Skills.cs Charcater.cs Attack.cs
here

credit to tiku and nirion
gwapo ka is offline  
Old 12/15/2009, 02:07   #8
 
elite*gold: 0
Join Date: Jun 2007
Posts: 24
Received Thanks: 22
Quote:
Originally Posted by gwapo ka View Post
here

credit to tiku and nirion
character.cs not changed plz try upload it again
bonza is offline  
Old 12/15/2009, 02:55   #9
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Goodjob tiku this very usefull
.Ryu is offline  
Old 12/15/2009, 15:15   #10
 
elite*gold: 0
Join Date: May 2006
Posts: 29
Received Thanks: 1
Quote:
Originally Posted by bonza View Post
character.cs not changed plz try upload it again

here
gwapo ka is offline  
Thanks
1 User
Old 12/15/2009, 17:21   #11
 
elite*gold: 0
Join Date: Dec 2009
Posts: 7
Received Thanks: 0
Good job Tiku!
Neo~ is offline  
Old 12/27/2009, 16:29   #12
 
elite*gold: 0
Join Date: Dec 2009
Posts: 87
Received Thanks: 2
goooooooooooooood
alaa410 is offline  
Old 12/27/2009, 20:35   #13
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
although yea an easy fix, why would you want to do this? tanel coded this with intention that GM's and PM's wouldn't be gay and battle their players. but eh, i guess player happiness isn't a biggie for everyone
.Guru is offline  
Old 12/27/2009, 20:48   #14
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by Hepatitis B View Post
although yea an easy fix, why would you want to do this? tanel coded this with intention that GM's and PM's wouldn't be gay and battle their players. but eh, i guess player happiness isn't a biggie for everyone

Because some people might wanna do pkevents.
Like my idea of a pkevent.
Battle a GM with the EXACT same gears as you.
Just a start of a pkevent.
So this can be helpful.
Arcо is offline  
Thanks
1 User
Old 02/13/2010, 04:42   #15
 
shadow8994's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 124
Received Thanks: 16
Quote:
Originally Posted by Nirion View Post
I noticed that you still can't use skills against ppl heres the fix that worked for me.

In Skills.cs, search for and delete

Code:
if (User.MyClient.GM && C.EntityID == User.EntityID || !User.MyClient.GM)
Search once more and delete
Code:
if (User.MyClient.GM)
                        {
                            if (C.EntityID != User.EntityID)
                            {
                                continue;
                            }
                        }

Thanks man So much it worked
shadow8994 is offline  
Reply


Similar Threads Similar Threads
gm's im dt
04/20/2010 - Metin2 - 13 Replies
können gm's in der 8 ebene unsichtbar erscheinen?
GM's...
12/02/2009 - Dekaron - 12 Replies
When do GM's do their patrols? Like siena, etc. And do they do them everywhere, or just select maps (and kalibus, blades, oread, etc)? Any info on how to avoid them would be nice, don't wanna get banned on a 102+ ^^
Umm! Hi GM's
10/16/2009 - Off Topic - 2 Replies
Hi! umm! is this the rigth page to ask! if some one wants to try to bypass LUNA ONLINE? tehehehe! Luna PH if possible? :handsdown: THANKS SO MUCH sorry if i wrote on a wrong page, im a newbie but RESPECTING the ADMINS alot! ^^ Chao!:rolleyes:
WPE, when gm's are on.
08/29/2009 - Ragnarok Online - 2 Replies
Hi, i'm kinda new to this whole wpe business. Though i'd like to know a few things about it. Now, when using wpe to spam DS with no delay, how can GM's find out if you're using it, other than seeing a physically impossible (for the human hand) DS spam. Can they, whilst sitting at town, know it's being used? or do they have to be watching me DS, to ASSUME that i'm using it. Thanks alot.
Any one looking for GM'S..
04/18/2009 - Private Server - 0 Replies
HII guys iplay like 7 private servers and i wanna try to be GM if someone need GM for server add my msn [email protected]



All times are GMT +1. The time now is 08:18.


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.