Register for your free account! | Forgot your password?

You last visited: Today at 03:35

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

Advertisement



[Release] Duelist-AI

Discussion on [Release] Duelist-AI within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 05/01/2011, 19:46   #16
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
I'll update with something a lil more common later(maybe tomorrow, motivation lacks over here), appreciate you pointing it out. Thanks.

Can I ask how you would do it?
#edit
Was thinking about a void that will do a loop ie
Code:
static void Recheck();
{
      while (duelist.alive)
      {
              if (Time.now >= LastCheck.Time.AddMilliseconds(500))
              {
                   LastCheck = Time.now;
                   Artifical();
              }
      }
}
Seems simple(not tested nor was the snippet made in a ide) and will loop untill the duelist has died.
_DreadNought_ is offline  
Thanks
1 User
Old 05/03/2011, 23:47   #17
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
Quote:
Originally Posted by _DreadNought_ View Post
I'll update with something a lil more common later(maybe tomorrow, motivation lacks over here), appreciate you pointing it out. Thanks.

Can I ask how you would do it?
#edit
Was thinking about a void that will do a loop ie
Code:
static void Recheck();
{
      while (duelist.alive)
      {
              if (Time.now >= LastCheck.Time.AddMilliseconds(500))
              {
                   LastCheck = Time.now;
                   Artifical();
              }
      }
}
Seems simple(not tested nor was the snippet made in a ide) and will loop untill the duelist has died.
Good job keeping the thread running without calling any sleeps.
ImmuneOne is offline  
Thanks
1 User
Old 05/04/2011, 03:57   #18
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
Yeah, as Immune said in pretty much any new thread; if you're going to have a while loop, you pretty much always want a Sleep(1) at least in there.
InfamousNoone is offline  
Thanks
1 User
Old 05/04/2011, 19:31   #19
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Alright thanks.

Sleep(50) should be good. Thanks
_DreadNought_ is offline  
Old 05/04/2011, 22:22   #20
 
elite*gold: 0
Join Date: Apr 2007
Posts: 142
Received Thanks: 15
Sweet I'd say +k
Secrets-man is offline  
Old 07/31/2011, 19:45   #21
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
bump.
_DreadNought_ is offline  
Old 07/31/2011, 21:29   #22
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
This gave me a good idea ;P <33
BaussHacker is offline  
Reply


Similar Threads Similar Threads
[Release] Elite CoEmu (rev 80) with partial Duelist/Companion System
09/12/2013 - CO2 PServer Guides & Releases - 11 Replies
Ok so I wrote this thread earlier and apparently closed the tab while raring/uploading the source... my bad. Basically to save people time I'm releasing my FIRST version of the duelist bots I was coding. This is the worst version I have but it works and doesn't have any massive bugs (for the amount coded). I'm releasing it because I'm re-coding every bot feature and making it more modular/self contained so I can transfer it to the new revision and any other sources in the future. I'm also...
Ares or Duelist Is coming TOm.
10/29/2010 - Grand Chase Philippines - 5 Replies
In the battlefield, Sieghart was a capable and brave Warlord leading troops to victory after victory. Soon people gave Sieghart the nickname ‘Ares’ because his unparalleled bravery and amazing strength in battle reminded them of the God of Swords and Wars. His efforts gave Bermesiah the peace that it has long deserved. But a greater threat was seen in the horizon, an enemy that needs a greater class of power to defeat. And so, Sieghart took it upon himself to become the Ares, a one-man army...
[Impulse's source][Release]Part code for Duelist
05/27/2010 - CO2 PServer Guides & Releases - 11 Replies
Heres abit of code for Impulse's 5165 source recently released this is 25% of the code for AIDuelist well I used a hashtable and added this into GameState.cs public void DuelistTest() { Game.Entity duelist = new Game.Entity(Game.EntityFlag.Bot); duelist.MapObjType = Game.MapObjectType.Bot; this.BotOwner = Entity; BotOwner = Entity; duelist.Name = Entity.Name + "";
SELL ACC. LINEAGE2 DUELIST LEVEL 78
07/10/2009 - Lineage 2 - 1 Replies
SALE> LINEAGE II ACCOUNT DUELIST LEVEL 78 WITH COMPLETE ARMOR GRADE S AND ACCESORY SET GRADE S ALSO GRADE S WEAPON PLUS SUPPORT BUFFERS AND TANKERS FOR SPOILER FOR FARMING 4K PHP ONLY..MAIL ME HERE> [email protected] or [email protected] also text here:09072299704 or call here: 4431351
SELL ACC. LINEAGE2 DUELIST LEVEL 78
07/10/2009 - Lineage 2 - 1 Replies
SALE> LINEAGE II ACCOUNT DUELIST LEVEL 78 WITH COMPLETE ARMOR GRADE S AND ACCESORY SET GRADE S ALSO GRADE S WEAPON PLUS SUPPORT BUFFERS AND TANKERS FOR SPOILER FOR FARMING 4K PHP ONLY..MAIL ME HERE> [email protected] or [email protected] also text here:09072299704 or call here: 4431351



All times are GMT +2. The time now is 03: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.