Guildwar starting and ending?

12/26/2009 16:53 WHITELIONX#1
If I have a case for a guildwar start and end where would I put it in 5165? World.cs or Database.cs?
12/26/2009 16:55 Arcо#2
Quote:
Originally Posted by WHITELIONX View Post
If I have a case for a guildwar start and end where would I put it in 5165? World.cs or Database.cs?
What do you mean?
There is already a method for GuildWar start and end.
Look in Features->GuildWar.cs.
Scroll to the very bottom.
You'll see it.
12/26/2009 17:10 Fleaman#3
#request close
Threadstarter got what he wanted
12/26/2009 17:15 Arcо#4
[QUOTE =. Rex; 3748980] # request close
Thread starter got what he wanted [/ QUOTE]

Only the threadstarter can request this thread closed as he might need more help.
12/26/2009 17:23 Fleaman#5
I sent you one gold

#edit

Maybe if you send it to someone else you will get the Elite*Gold Trade Tag...
But i'm not sure
12/26/2009 17:26 Arcо#6
Quote:
Originally Posted by .Rex View Post
I sent you one gold

#edit

Maybe if you send it to someone else you will get the Elite*Gold Trade Tag...
But i'm not sure

No you must buy it to get it.
12/27/2009 03:24 WHITELIONX#7
Ok so I just need to add a command for it to start at a certain time and date right? If so that is done or at least I will test it later to see if it works hehe. I got no errors so I assume it will work :D
12/27/2009 07:15 .Guru#8
lol...if it was that easy.. nah you should pretty much have it.. you'll have bugs though, just a warning
12/27/2009 07:18 Arcо#9
Quote:
Originally Posted by Hepatitis B View Post
lol...if it was that easy.. nah you should pretty much have it.. you'll have bugs though, just a warning

Most codes work through trail and error though.
12/27/2009 14:44 WHITELIONX#10
Well I am testing the same thing that applies to DisCity now that the map ID is genuine lmao, Have any of you guys found the correct ID for grotto yet? Because it is not 7001 >.<
Basically I have put in without errors

public static void StartWar()
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Friday)
if (DateTime.Now.Hour == 20 && DateTime.Now.Minute <= 00)

So theoretically it should start at that time and date correct? I just added this to what was already there :P I also assume it is in this part somewhere that I will put the halo award thing also but at the end somewhere?
12/27/2009 19:27 .Guru#11
Quote:
Originally Posted by WHITELIONX View Post
Well I am testing the same thing that applies to DisCity now that the map ID is genuine lmao, Have any of you guys found the correct ID for grotto yet? Because it is not 7001 >.<
Basically I have put in without errors

public static void StartWar()
{
if (DateTime.Now.DayOfWeek == DayOfWeek.Friday)
if (DateTime.Now.Hour == 20 && DateTime.Now.Minute <= 00)

So theoretically it should start at that time and date correct? I just added this to what was already there :P I also assume it is in this part somewhere that I will put the halo award thing also but at the end somewhere?
i've been told it's 1801, but truely i'm not sure.

about the daytime code.. it looks right, but i don't use datetime. tht code (if works) starts gw at 8 pm every friday (8 pm on your computer). you still have to add a { after every if just remember that.
12/27/2009 20:21 ImmuneOne#12
Hey,

Why won't you add in a timer, and then add the delegate function at the serverload function.
It can be used, for things like starting guild war, class tournament and such things.
If you don't know where I'm talking about, or don't have a clue about how to do it.
I will be more then happy to help you out.
12/28/2009 11:24 Arcо#13
Quote:
Originally Posted by ImmuneOne View Post
Hey,

Why won't you add in a timer, and then add the delegate function at the serverload function.
It can be used, for things like starting guild war, class tournament and such things.
If you don't know where I'm talking about, or don't have a clue about how to do it.
I will be more then happy to help you out.

Global timer?
12/28/2009 15:14 ImmuneOne#14
Quote:
Originally Posted by Hepatitis C View Post

Global timer?
Yeah, what i taught you.
PS. It's not the official term/name.
12/29/2009 00:01 Arcо#15
Quote:
Originally Posted by ImmuneOne View Post
Yeah, what i taught you.
PS. It's not the official term/name.

Whatever it is, its pretty much the best thing to happen.
Way better than datetime.