Register for your free account! | Forgot your password?

You last visited: Today at 15:25

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

Advertisement



Guild Members

Discussion on Guild Members within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
Guild Members

Hey guys...I've recently tried to search if a Character is in the guild with me...
I tried to search them with MyGuild.Members.contains(C.entityID) and obviously it didn't work...and started to search how are they added...and then i found that the members hashtable contains another hashtable in the values so I searched with
foreach (Hastable M in MyGuild.Members.Values) //a friend's ideea
if (H.Contains(C.entityID))
and obviosly it didn't work again because it will take somebody(even if it's not in my guild)

so anyone got any ideea how to check if a member is in my guild? ( i need this for public bool PKAble(PKMode PK, Character C))
ryuchetval is offline  
Old 09/23/2010, 09:56   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
Code:
C.MyGuild != this.MyGuild
just make a foreach for chars. (If it is not already there)
then cold be like this
Code:
if (C.MyGuild.Name != this.MyGuild.Name)
    return true;//not sure if is true or false needed.
else
    return;
Fish* is offline  
Old 09/23/2010, 11:08   #3
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
there's no need for a foreach cuz it already takes every character and check if it can be pked...also i'll try your way but i'm pretty sure it won't work...

edit: nope it didn't work...
ryuchetval is offline  
Old 09/23/2010, 11:48   #4
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
did u try from return true to return false?
Fish* is offline  
Old 09/23/2010, 18:49   #5
 
elite*gold: 0
Join Date: Feb 2007
Posts: 340
Received Thanks: 38
lol ofcourse and i didn't use return true...i used return false so that i am not able to pk that character
ryuchetval is offline  
Reply


Similar Threads Similar Threads
Recuiting Guild members on OMG guild
04/06/2010 - Grand Chase Philippines - 1 Replies
i need a Guild members.. :mofo: Guild name: Removed Just Contect me to my Yahoo messanger.. :cool::cool: Thanks! :)
Looking for members for my guild!
04/04/2008 - SRO Private Server - 14 Replies
Hey guys! just uploading some pick's. we got good members in our guild.. we are looking for high lvls and low lvls once you are active and talk english xD rule? 1. No stealing 2. No scamming 3. have fun :) 4. trust me always xD
New guild need members
03/15/2008 - SRO Private Server - 6 Replies
Hi all, Guys i have guild lvl 2+115% but i need active and funny people to my guild only u must speak english and lvl 30+ who need pm me in game G4NJ4 me lvl 60+ or send me private message thx and best regards romankooo
[guild]Searching Members in ..
11/03/2007 - SRO Hacks, Bots, Cheats & Exploits - 0 Replies
looking for botting members for guild in Sparta called "DisturbeD" guild is lvl 2 and 30% if you wanna join leave here a msg.
kicking guild members if BM without guild director
04/15/2006 - CO2 Guides & Templates - 8 Replies
All right this is my first post so excuse me if im a bit noobie. This is a glitch and a tip to kicking members when u dont want to go to the Guild Director. This is for BMs only!!!! 1. Go to the guild option 2. GO to members 3. Click on a perseon whom u want to kick out of the guild 4. Do u see the 2 arrows going left and right? well in the middle of those arrows there is a delete button thats not shown when you are a BM. 5. Click yes when it says "do you wish to kick ______"



All times are GMT +1. The time now is 15:26.


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