Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 14:35

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

Advertisement



[Huge Question] Events Triggered by Time [5165]

Discussion on [Huge Question] Events Triggered by Time [5165] within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 03/06/2010, 16:29   #16
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
Thanks ill start to learn this off by heart and erm
Code:
(2 HOURS VAL);
Do I add how many seconds in 2 hours or ?
Paralyzer[GM] is offline  
Old 03/06/2010, 16:31   #17
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
FFS only a stupid idiot will ask that

60 SECONDS IN A MINUTE
60 MINUTES IN AN HOUR
2 HOURS = 60*60*2
PeTe Ninja is offline  
Thanks
1 User
Old 03/06/2010, 16:33   #18
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
Quote:
Originally Posted by Paralyzer[GM] View Post
Thanks ill start to learn this off by heart and erm
Code:
(2 HOURS VAL);
Do I add how many seconds in 2 hours or ?
Timers work using milliseconds, there are 1000 ms in 1 s, 60 * 60 is an hour in seconds, so it would be 3600 * 2 seconds in 2 hours, then multiply it by 1000 to find ms = (3600 * 2) * 1000 = 7,200,000 milliseconds
and the value should be double so: 7200000.0
Nullable is offline  
Reply


Similar Threads Similar Threads
[5165] Making events question
05/27/2010 - CO2 Private Server - 4 Replies
Hey guys. I was just thinking, if I make my own events would it be better to make a new thread for the event or just stick stuff into character.cs? Because I've been thinking, if I stick it into character.cs and there are x people online, wouldn't that just lag the whole server? Or it wouldn't matter that much? Just looking for some feedback. Currently I have most of my events in character.cs which I think is causing some lag. I just cant pinpoint whether its my client or the server.
[HUGE PROBLEM] 5165 archer bow damage bug
04/30/2010 - CO2 Private Server - 9 Replies
hey guys :x i have a big problem... i have a 5165 conquer server, and i found a huge bug x_X the archer's bow have a bug that makes them kill every player with 1 shot o_o they cause a huge damage.... can someone helpme fix this?
[Huge-Release] All-In-One Basic NPC Scripts For The 5165 Source!
02/19/2010 - CO2 PServer Guides & Releases - 30 Replies
Well I'm sorry that I spammed the whole forum full of my posts So pro4never and .Ryu gave me the idea of making this All-In-One thread about all my NPC's! THESE ARE UPDATED DAILY! NOTE: TO PEOPLE... SOME OF THE CODES ARE NOT MADE BY ME! I USUALLY JUST FIXED/UPDATED THE BASIC ONES! SORRY I'M LEARNING ON HOW TO CODE! 1. Birth-Island-NPC's(The NPC text is not from "REAL CONQUER" SORRY!...) #region BirthOldGeneralYang case 425: {
Time on messages and events in SRO?
04/12/2007 - Silkroad Online - 4 Replies
Well sometimes i don't know what time is is but i want to know with out stop grind anyway to make a time thats in front of ppl message and events? Also any know any info on this? http://www.gzp.net/forums/showthr...7685#post7876 85



All times are GMT +2. The time now is 14:35.


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