|
You last visited: Today at 04:21
Advertisement
Guildwar starting and ending?
Discussion on Guildwar starting and ending? within the CO2 Private Server forum part of the Conquer Online 2 category.
12/26/2009, 16:53
|
#1
|
elite*gold: 0
Join Date: Apr 2006
Posts: 532
Received Thanks: 66
|
Guildwar starting and ending?
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
|
#2
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by WHITELIONX
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
|
#3
|
elite*gold: 188
Join Date: Dec 2009
Posts: 79
Received Thanks: 36
|
#request close
Threadstarter got what he wanted
|
|
|
12/26/2009, 17:15
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
[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
|
#5
|
elite*gold: 188
Join Date: Dec 2009
Posts: 79
Received Thanks: 36
|
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
|
#6
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by .Rex
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
|
#7
|
elite*gold: 0
Join Date: Apr 2006
Posts: 532
Received Thanks: 66
|
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
|
|
|
12/27/2009, 07:15
|
#8
|
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
|
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
|
#9
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by Hepatitis B
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
|
#10
|
elite*gold: 0
Join Date: Apr 2006
Posts: 532
Received Thanks: 66
|
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
|
#11
|
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
|
Quote:
Originally Posted by WHITELIONX
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
|
#12
|
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
|
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
|
#13
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by ImmuneOne
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
|
#14
|
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
|
Quote:
Originally Posted by Hepatitis C
Global timer?
|
Yeah, what i taught you.
PS. It's not the official term/name.
|
|
|
12/29/2009, 00:01
|
#15
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by ImmuneOne
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.
|
|
|
Similar Threads
|
[Help] GuildWar
06/30/2009 - CO2 Private Server - 7 Replies
how do I Make a Guild War in my servver?
I Use tq Binaries,
I added NPCs like CPAdmin,
Translated almost everything but i can't make a GW..:S help me please ;D
|
IS CO ENDING?
08/10/2007 - Conquer Online 2 - 27 Replies
IS CONQUER ENDING
|
All times are GMT +2. The time now is 04:21.
|
|