Register for your free account! | Forgot your password?

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

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

Advertisement



Preview for advanced Clone bot AI

Discussion on Preview for advanced Clone bot AI within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
Preview for advanced Clone bot AI

this was done with albetrous source by pro4never, pvp clone bot wasn't as smart as it should be so i worked on it for couple of hrs and modified it to act as guard where it can loot and kill (exp for hitting or killing goes to it's owner) also made it a bit faster and added more factors for chances

anyway here what i've done


im going to release that after adding couple more stuff, going to lower the hitting chance with rewritting it's AI to include stratages ex. hit 'n run, also will add another features like reviving it's owner and use pasive skills on him , maybe turn it to a skill and let it use player hp/mp pots , i honestly duno if i've time to do what i wish to do with it but it's really fun tho

more over , i honestly duno how people could leave a source like albetrous and use trinity edits, it's a pretty decent source and well written , not perfect but imho it could be the best i've seen (greatz pro4never you did awesome job there) and btw wamp 2.4 could do the trick instead of installing full version of mysql specially if the x64 version doesn't have installer
go for it is offline  
Thanks
2 Users
Old 10/10/2013, 02:52   #2
 
U2_Caparzo's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 314
Received Thanks: 90
sad to see that u are going to release it :/ will hate to see ppl leeching it and see it in the title of every single server, i would prefer "original things for who can code it".
U2_Caparzo is offline  
Old 10/10/2013, 03:06   #3
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
Quote:
Originally Posted by U2_Caparzo View Post
sad to see that u are going to release it :/ will hate to see ppl leeching it and see it in the title of every single server, i would prefer "original things for who can code it".
i'm not releasing it for trinity, so it's okay i guess XD Lol, plus if pro4never haven't shared albetrous and i guess if in the first place if it wasn't shared at project x that i wasn't to think of it
but i honestly still duno if i want to share it anyway
go for it is offline  
Old 10/10/2013, 03:40   #4
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by go for it View Post
i'm not releasing it for trinity, so it's okay i guess XD Lol, plus if pro4never haven't shared albetrous and i guess if in the first place if it wasn't shared at project x that i wasn't to think of it
but i honestly still duno if i want to share it anyway
u won't

1st. nice capturing than mine (when i tried it sucks )
2nd. looting is useless
3rd. u could lose him or there is a specific range between owner and it(him)
4th playinf with AI is too epic. we never wins
5th best freature is adding stigers follower , reviver etc.

Good Luck.
Much fun.
abdoumatrix is offline  
Old 10/10/2013, 03:47   #5
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
Quote:
Originally Posted by abdoumatrix View Post
u won't

1st. nice capturing than mine (when i tried it sucks )
you was recording with a potato try camtisea studio :P
2nd. looting is useless
could be but that depends on what the server drops vs cp drop (if there is any)
3rd. u could lose him or there is a specific range between owner and it(him)
lmao nope he pretty much jumps within my ranges with 3 checks for owner range vs monsters range and if it exceeds 18 it find it's path to me
4th playinf with AI is too epic. we never wins
that depends on how lucky he could get, currently it's 3 factors but that would increase, i've adjusted it's speed and rates to be so smarter and faster but that could always change
5th best freature is adding stigers follower , reviver etc.
i've already add that with checking if it's passive or active skills to cast on monster or self and owner but forgot to loop the current skill lmao
Good Luck.
thanks buddy
Much fun.
reply in bold
go for it is offline  
Old 10/10/2013, 05:15   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
Looks good so far. Could use some AI checks as well as an inventory just for the bot. You could have it so that when you talk to the bot it lets you claim items much like from a warehouse. Adding in some AI to have the bot drop worthless items once its storage is full would also be useful.

It's also pretty easy to revamp pathfinding so it stays within range of the player (on player jump check if he moves X spaces away and re-sync positions if needed) and you can add in many other features such as giving the bot its own equipment to wear (visible changes stored permanently in database) and even giving it various commands/actions to change behavior types.

There's plenty of functionality in the client to support proper summoned AI companions. It's something I had looked into writing years ago but never bothered finishing to a worthwhile state.


Best of luck and look forward to seeing more from you in the future.
pro4never is offline  
Thanks
2 Users
Old 10/10/2013, 05:27   #7
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
Quote:
Originally Posted by pro4never View Post
Looks good so far. Could use some AI checks as well as an inventory just for the bot. You could have it so that when you talk to the bot it lets you claim items much like from a warehouse. Adding in some AI to have the bot drop worthless items once its storage is full would also be useful.

It's also pretty easy to revamp pathfinding so it stays within range of the player (on player jump check if he moves X spaces away and re-sync positions if needed) and you can add in many other features such as giving the bot its own equipment to wear (visible changes stored permanently in database) and even giving it various commands/actions to change behavior types.

There's plenty of functionality in the client to support proper summoned AI companions. It's something I had looked into writing years ago but never bothered finishing to a worthwhile state.


Best of luck and look forward to seeing more from you in the future.
i really like the suggestions, some are pretty easy (the wh and saving to db) but letting it wear it's own gear is kinda tricky to figure out the way that you can change what it wears (could use big sash but that won't work on higher patchs where gears exceed 9 slots)
also thinking about a way to let it learn skills and level up that skills
go for it is offline  
Old 10/10/2013, 06:17   #8
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
I would say just use a inventory type slot and let it auto equip whatever best in slot items are in there when you drop them in (they would still show in the wh window but would show as registered or w/e the red glow around them is so you could still remove them)

Then add skill books designed for companions that when dropped into the window are consumed.

You could do the same with potions to make them heal and use the team window to show companion health in real time.


LOTS of things you can do to write a full companion system into CO as all their other games are pretty much the same engine. If you hook into the client you can even do some directx calls to write your own GUI for it as far as I know (inf was demonstrating it recently for voting iirc)
pro4never is offline  
Thanks
1 User
Old 10/10/2013, 06:30   #9
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
Quote:
Originally Posted by pro4never View Post
I would say just use a inventory type slot and let it auto equip whatever best in slot items are in there when you drop them in (they would still show in the wh window but would show as registered or w/e the red glow around them is so you could still remove them)

Then add skill books designed for companions that when dropped into the window are consumed.

You could do the same with potions to make them heal and use the team window to show companion health in real time.


LOTS of things you can do to write a full companion system into CO as all their other games are pretty much the same engine. If you hook into the client you can even do some directx calls to write your own GUI for it as far as I know (inf was demonstrating it recently for voting iirc)
that's just mind blowing, but it would be way better if it's done with good effects , actually a suspcious effect on item in bot wh inventory would be great but we still can do better and wow i really like the ideas , pretty easy and yet really good

and i know someone who had done that ages before ulti with buttons and stuff, windows itself was created by reshacker (if i remmeber corectly) and the functionality and on screen drawing was all pure asm , wish i really could do something like that with maybe only 2 packets (open window info , update ) also get the red hp bar
go for it is offline  
Old 10/10/2013, 11:26   #10
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
u r using which method for his equipment?
Spwan packet or the separte mehtod for new Player

like
PHP Code:
GameState Bot = new GameState(); 
or
PHP Code:
GameState Bot = new GameState(null); 
and the rest codes like
PHP Code:
Bot.Readytoplay(); 
and using the normal itemusage


the second may is much better cuz u can control its inv. & equips and skills etc very easily and just add it to the game pool make the the normal player checks works for him so he could easily level up and level up skills
abdoumatrix is offline  
Old 10/10/2013, 11:33   #11
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,224
Received Thanks: 868
So you say you will release it, say you wont, say you might.

Quite honestly, I would just release your modifications that you did to pro4's one.

It really is a shame to see someone so unsure whether to release an improvement for something already around.

Oh and
Quote:
Originally Posted by go for it View Post
that's just mind blowing, but it would be way better if it's done with good effects , actually a suspcious effect on item in bot wh inventory would be great but we still can do better and wow i really like the ideas , pretty easy and yet really good

and i know someone who had done that ages before ulti with buttons and stuff, windows itself was created by reshacker (if i remmeber corectly) and the functionality and on screen drawing was all pure asm , wish i really could do something like that with maybe only 2 packets (open window info , update ) also get the red hp bar
I hope you weren't implying that it's something ulti couldn't do lol

Quote:
Originally Posted by abdoumatrix View Post
u r using which method for his equipment?
Spwan packet or the separte mehtod for new Player

like
PHP Code:
GameState Bot = new GameState(); 
or
PHP Code:
GameState Bot = new GameState(null); 
and the rest codes like
PHP Code:
Bot.Readytoplay(); 
and using the normal itemusage


the second may is much better cuz u can control its inv. & equips and skills etc very easily and just add it to the game pool make the the normal player checks works for him so he could easily level up and level up skills
That looks like you have modified a class that was heavily designed around for only an actual player, seems like a 'ducktape' method, I mean - It's fine for a first time run, but you should definitely consider a more appropriate way of achieving this next time round.
_DreadNought_ is offline  
Old 10/10/2013, 11:55   #12
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by _DreadNought_ View Post
So you say you will release it, say you wont, say you might.

Quite honestly, I would just release your modifications that you did to pro4's one.

It really is a shame to see someone so unsure whether to release an improvement for something already around.

Oh and


I hope you weren't implying that it's something ulti couldn't do lol



That looks like you have modified a class that was heavily designed around for only an actual player, seems like a 'ducktape' method, I mean - It's fine for a first time run, but you should definitely consider a more appropriate way of achieving this next time round.
abdoumatrix is offline  
Old 10/10/2013, 16:58   #13
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,224
Received Thanks: 868
Quote:
Originally Posted by abdoumatrix View Post
"That looks like you have modified a class that was heavily designed around for only an actual player"
_DreadNought_ is offline  
Old 10/10/2013, 17:24   #14
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 327
Quote:
Originally Posted by _DreadNought_ View Post
So you say you will release it, say you wont, say you might.

Quite honestly, I would just release your modifications that you did to pro4's one.

It really is a shame to see someone so unsure whether to release an improvement for something already around.

Oh and


I hope you weren't implying that it's something ulti couldn't do lol



That looks like you have modified a class that was heavily designed around for only an actual player, seems like a 'ducktape' method, I mean - It's fine for a first time run, but you should definitely consider a more appropriate way of achieving this next time round.

i've been working on that "improvement" for 11 hrs and still working on it, that could be even more time than it took pro4never to write it, i've had almost changed most of classes for more functionality, that's not just "improvement" that is reworking on a basic idea and you will see how good it became on the next preview, so it's all my decision to release it or not, and even if i don't ill still give a copy to pro4never for inspiring me but not everyone around here worth to leech it, but i still didn't really made my mind

and im not going to argue about if that was done or not and if ulti. can do it or not, simply cuz that will get nowhere as i don't have a proof to show you for right now


Quote:
Originally Posted by abdoumatrix View Post
bots are special entity and not a players
go for it is offline  
Old 10/10/2013, 19:24   #15
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by go for it View Post
i've been working on that "improvement" for 11 hrs and still working on it, that could be even more time than it took pro4never to write it, i've had almost changed most of classes for more functionality, that's not just "improvement" that is reworking on a basic idea and you will see how good it became on the next preview, so it's all my decision to release it or not, and even if i don't ill still give a copy to pro4never for inspiring me but not everyone around here worth to leech it, but i still didn't really made my mind

and im not going to argue about if that was done or not and if ulti. can do it or not, simply cuz that will get nowhere as i don't have a proof to show you for right now




bots are special entity and not a players
so they r players + have special code to force them to make what u want
abdoumatrix is offline  
Reply


Similar Threads Similar Threads
[VIDEO] Black Space 4.0 Preview 1 [Dark Orbit clone]
11/06/2012 - DarkOrbit - 9 Replies
Hello today I present you the first video of the new version of my project, Black Space 4.0 .... In Black Space you will be download the client and the server, so you will can have your own private server of DarkOrbit , and personalize it, you will can change the rewards, the prices, etc. PD : The game will have their own graphics and will be an independent game. Black Space 4.0 Preview 1 - YouTube Coming soon... In december.. ;)
★ Offshore Webspace 1 Year (Forum,Blog,FB-Clone,Shop,Youtube-Clone,OsTicket-System) ★
09/09/2012 - Social Media Trading - 11 Replies
Server Standort Romania (Offshore) ------------------------------------------------- -------------------------------------------------- ------------- ★ ★ !! Closed !! ★ ★ Kann auch auf 2 x Bezahlt werden geht aber nur bei PSC und LR die 2 zahlung muss bis 10.10.2012 bezahlt werden
[PREVIEW]Nilsator's HP - Template[PREVIEW]
12/28/2010 - Flyff Private Server - 7 Replies
Wollte hier mal meine HP vorstellen, sie ist noch nicht ganz fertig, aber hier sind schon mal einige Bilder: http://img35.imageshack.us/img35/4338/homeku.jpg http://img145.imageshack.us/img145/5646/12328261. jpg http://img210.imageshack.us/img210/62/teamjg.jpg



All times are GMT +2. The time now is 11:45.


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.