Register for your free account! | Forgot your password?

You last visited: Today at 01:47

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

Advertisement



time problem.

Discussion on time problem. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 05/06/2013, 20:47   #16
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Yeah or it would at least freeze the thread it's executed on, but much better than doing datetime checks.

Psudo:
Code:
static void Start()
{
	new System.Threading.Thread(Effect_Thread).Start();
}

static void Effect_Thread()
{
	while (true)
	{
		foreach (Client client in Clients)
		{
			if (client.Entity.Level == 140)
			{
				_String str = new _String(true);
				str.UID = client.Entity.UID;
				str.TextsCount = 1;
				str.Type = _String.Effect;
				str.Texts.Add("break_start");
				client.SendScreen(str, true);
	 		}
		}
		System.Threading.Thread.Sleep(5000);
	}
}
Keep in mind the collection should be thread-safe or it might cause problems...
Super Aids is offline  
Old 05/06/2013, 20:56   #17
 
LordGragen.'s Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 606
Received Thanks: 68
thank you guys.
LordGragen. is offline  
Reply


Similar Threads Similar Threads
Run Time Error! [Problem]
04/12/2012 - Flyff Private Server - 0 Replies
Hallo liebe Community. Ich hab derzeit mit einem relativ großen Problem zu kämpfen. Ich starte meinen Flyff Server wie gewohnt doch bei dem World Server kommt ein Error. Er spuckt mir einen Run Time Error aus und meint es muss terminiert werden oder so. Screen von dem Error oder what immer das is post ich morgen. Wenn jemand irgendwas darüber weis oder so bitte ich euch es mit mir zu teilen :) Bitte um sehr schnelle hilfe!!! :o Ps: Die Source hat keinerlei errors oder so Die davorigen...
Another problem (CE this time)
10/19/2009 - Dekaron - 2 Replies
Hey guys, I've trouble with getting cheat engine to work with dekaron, when I start up dekaron I use the bypasser (nebular) and then start up CE. Then I go to process list and click on the dekaron.exe thingy but then I get the following error (see screenshot). Am I doing something wrong? Like opening the wrong .exe or maybe I need something else before I can get it to work? Imageshack - errordek Thanks in advance! http://img26.imageshack.us/i/errorde.jpg/
sibi bot problem, dc all the time
08/01/2009 - SRO Private Server - 0 Replies
it worked for the past day or two, then today when i log in, it bots for about 10 mins then i get DC, any1 know why? or any solutions? thanks
crevice-time problem
10/17/2008 - Dekaron - 8 Replies
Hello guys..i've made a crevice hack what works... my only problem is, that i can't kill fast enough in round 9:rtfm: knows anybody of you where i can increase the time?? greetz thanks for the replies... only needed other skills, items, tactic and exercise
Problem With SRO [FIRST TIME]
03/22/2008 - Silkroad Online - 2 Replies
hi all, this problem not for me but for my friend. He's not n00b play sro long time but this problem first time for him. :eek: so this is him post from other forum with problem. :confused:



All times are GMT +1. The time now is 01:48.


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.