Register for your free account! | Forgot your password?

You last visited: Today at 22:37

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

Advertisement



A question

Discussion on A question within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
A question

//
Kiyono is offline  
Old 11/04/2008, 20:05   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Depends on what you're doing..
tao4229 is offline  
Old 11/04/2008, 20:10   #3

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Well let's say you have a NPC that's says : Example Timer not started
And if you type for example /startnpctimer the npc would say: Example Timer started

so the npc script would be like if timer started blahblahb;a else if other blablahbla
Kiyono is offline  
Old 11/04/2008, 20:58   #4
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Look at my anti-bot ( As Qonquer had it ) thread, it shoul be in All-In-One thread. I there show you how to do that by command. Hope it helped!


Emme
_Emme_ is offline  
Thanks
1 User
Old 11/04/2008, 21:19   #5

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by EmmeTheCoder View Post
Look at my anti-bot ( As Qonquer had it ) thread, it shoul be in All-In-One thread. I there show you how to do that by command. Hope it helped!


Emme
Ah thanks hadn't thought of that

//edit can you explain me this part a bit...

Quote:
if (Splitter[0] == "@start")
{
MyChar.QuestionTimer.Interval = 60000 * 15;
MyChar.QuestionTimer.Elapsed += new ElapsedEventHandler(MyChar.QuestionTimer_Elapsed);
MyChar.QuestionTimer.Start();
MyChar.QuestionTimer1.Interval = 60000 * 16;
MyChar.QuestionTimer1.Elapsed += new ElapsedEventHandler(MyChar.QuestionTimer1_Elapsed) ;
MyChar.QuestionTimer1.Start();
bolded parts... i don't get why you multiply by 15 or 16...
Kiyono is offline  
Old 11/04/2008, 22:21   #6
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
60000 milliseconds = 60 seconds, right?
As I said in the post, it sends out 1 question every 15 minutes. So

60 seconds * 15 = 15 minutes,correct?

And for the 16:

60000 * 16 = 60 seconds * 16 = 16 minutes

16 minutes until the "Did not answer"- Timer starts - Disconnect you. Means you got 1 minute to answer the question.

Hope it makes sence!
_Emme_ is offline  
Old 11/04/2008, 22:27   #7

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by EmmeTheCoder View Post
60000 milliseconds = 60 seconds, right?
As I said in the post, it sends out 1 question every 15 minutes. So

60 seconds * 15 = 15 minutes,correct?

And for the 16:

60000 * 16 = 60 seconds * 16 = 16 minutes

16 minutes until the "Did not answer"- Timer starts - Disconnect you. Means you got 1 minute to answer the question.

Hope it makes sence!
ow ok i get it so for the command part i need to do something as


if (splitter[0] == "/start" && Status = 8)
{
MyChar.TImerthingy.Interval = 60000 * 5;
MyChar.TImerthingy.Elapsed += new ElapsedEventHandler(MyChar.TImerthingy_Elapsed) ;
MyChar.TImerthingy.Start();
}

and for the npc part i need to do something like
if (timer = true
{
if (CurrentNpc == 451655615
{
NPCSAY "TImer has started
NPCLink "kwahtever", 1
NPCLINk "Just passing by", 255
}
else if
{
NPCSAY "Sorry not available right now"
NPCLINK "I'll come later", 255
}

and i would need to add a public void TImerthingy() like thing right

i know it's not the right way to type it it's just a example + that i can't code lol i'm trying to learn from what i see
Kiyono is offline  
Old 11/04/2008, 22:48   #8
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Send the NPC packets ( chat / options / finish npc **** ) under your Timer elapsed ****,like this:

if (TImerthingy_Elapsed()
{
NPC STUFFS HERE
}
_Emme_ is offline  
Old 11/04/2008, 22:58   #9

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
Quote:
Originally Posted by EmmeTheCoder View Post
Send the NPC packets ( chat / options / finish npc **** ) under your Timer elapsed ****,like this:

if (TImerthingy_Elapsed()
{
NPC STUFFS HERE
}
ah ok i'll try tommorow since i still need to learn for my math & history test
Kiyono is offline  
Reply


Similar Threads Similar Threads
[QUESTION]How do i bypass Xtrap for any private server?[QUESTION]
10/12/2009 - Cabal Online - 3 Replies
Exactly what the title says. I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane. I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts Bump.
[QUESTION]How do i bypass Xtrap for any private server?[QUESTION]
10/02/2009 - Cabal Private Server - 2 Replies
Exactly what the title says. I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane. I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts



All times are GMT +1. The time now is 22:40.


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.