.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   HPB_bot (http://forums.bots-united.com/forumdisplay.php?f=35)
-   -   HPBBot/Bot#10/ZWC Bot: final fixes NED HELP! (http://forums.bots-united.com/showthread.php?t=10046)

MIFUNE 08-02-2017 16:10

Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
 
I see that it is included into the game_shared folder, does it need special dependencies or it will compile if it is directly added into the hl project?, for hl project I mean the modīs project, not the one of the ISOHL.

(Letīs give some life to this forum!!) :punk:

The Storm 10-02-2017 21:53

Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
 
Go test it out. ;)

tschumann 11-02-2017 13:16

Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
 
Let us know how you go - I'm interested in taking a look at the new bot code but haven't had a chance to.

MIFUNE 13-02-2017 09:38

Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
 
Hi!!, of course I tried!! :)

But, even if I made it to insert all the code (un modified), I realized that I must do a lot of changes to many of the essential features of the Bot. :glare:

I did start with the combat part, and find myself in serious trouble trying to declare things, and even doing this, the bot did not move at all, I did look for waypointing method but the only thing I finally did is place info_nodes, then the Bot started to move but not in a better way than the previous code from the Bot#10. :confused:

The bot also didnīt try to combat, and here I tried to make the bot do this through iRelationship method, attacking a certain class by string (monster_whatever, etc.) etc, etc; with this part the MOd crashes very often because (I think) I did something bad with pointers or stuff like that (Iīm no coder at all). :whistling:

What I did finally is use the old version of the ZWC Bot. I did some major modifications and now it works better, but not perfect. At least it tries to navigate a bit for the map , and finally choose weapons almost right... :guns:

I will do further tests and try other modifications. :unsure:

This weekend I will make a video with the new version of the Zion Dockīs map, there you will se how the ZWC Bot will behave. Anyway, I will also post the combat code and the navigation code here for you can help me to improve it if you wish ;) :beta:

The Storm 13-02-2017 21:46

Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
 
If your coding skills are really as low as you say I strongly suggest to improve them before continuing with your AI adventure. Coding AI for games is not picnic and if you have issues with pointers you are really on the wrong way to go.

Also posting large pieces of code here and expecting someone to try to find the issue only by looking in the code is not good option. You should begin using some kind of version control system like Git and provide all the code in compilable state, so in case that someone wants to help you he will be able to run the code using debugger and find issues much more easy.

MIFUNE 14-02-2017 14:41

Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
 
Yes, youīre right, I must learn more C++. It is one of the things that ashame me the most. :blushing:

Anyway, I did not mean to post the whole block of code, but the link to GitHub. :whistling:

Actually the real problem is that the Bot does not turn around if it hits a wall, I know itīs easy to code, but I am stuck with it. I ony want the bot walk straight until it is near a wall, then turn a certain number of degrees and walk again, nothing complex, more or less like a vacuum cleaner bot.

What I can do (I hope you agree :sweatdrop: ) is to provide ALL the mod in its beta stage along with its Source Code to anyone who really wants to help.

There are three people who has the Mod now, thanks to them I did finish the new features of the Mod, itīs the bot what is causing me more trouble. I will be pleased if someone SERIOUSLY wants to take a look. :surrender:


All times are GMT +2. The time now is 05:54.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.