The entire GUILD owns the pole not just one client...and seeing as it's part of the guild class (according to your example) it's not a guild... is it a bool or something?
For my system I'm having the guildwar class hold a guild structure which is the 'current pole owner' which by default is null...
Then in the sob attack checks or w/e I simply do...
if(GuildWar.WinningGuild != null && GuildWar.WinningGuild == user.Guild)
Do action check is needed for.
Handling who is winning is not a complex thing to do but I've seen it done so very many ways in different servers.
if (client.Guild != null) <-- check if the client have guild
if (client.Guild.PoleKeeper) <--check if the guild of this client hold the pole
if (client.Entity.GuildRank == 1000)<-- check if guild leader
if (client.Entity.topguildleader != 1) <--check if he already claim or not.
Correct way to do a speedhack. 06/27/2010 - CO2 Programming - 7 Replies Heya,
I was wondering what changed recently? Because in the earlier patches, this could be done the following way;
if (Client.AutoBot != null)
{
data.TimeStamp = client.LastJump + 900;
}
Done from TQServer->Proxy and TQClient->Proxy
[ADVISE]Is this a correct start for NPC code? 12/05/2009 - CO2 Private Server - 4 Replies The point of the NPC: If you have 40 Bronze Prizes, it takes them away, and then gives you Silver Prize. Is this a good start? I know it may not be and yes I know some stuffs missing, but can anyone finish it or tell me what do to next? I'm so tired 2 am I will check tomorrow sorry if this didn't make sense.
#region
case 300009:
{
if (Control == 0)
...
Porting from the North Dock to Roc Mountain. I TYPED THE CORRECT CODE! 03/09/2009 - Silkroad Online - 1 Replies Hey guys,
This is the code i pasted in the script.
It´s only the "portpart":
"-2625","379","1"
"cmd","",""
"Inject","745A","6802000 0"
"Inject","7495","6802000 00216000000"
autoit code für correct facing 02/20/2009 - World of Warcraft - 3 Replies ich suche ein autoit source code beispiel für
"ausrichtung des spielers zum gegner (drehen)"
danke
Pa Correct nmn toh~ 08/18/2008 - RF Online - 9 Replies Sir..pa correct nmn sa makakabasa n2..
ung sinasabi po ng iba na sa Search lng mahahanap ung mga hacks na gusto ko...
san ako mag Search d2 sa forums na toh oh sa iba??
pa correct ^^