Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Implement last IKE3 playerbot #2159

Open
nero08 opened this issue Jul 30, 2019 · 155 comments
Open

[Request] Implement last IKE3 playerbot #2159

nero08 opened this issue Jul 30, 2019 · 155 comments

Comments

@nero08
Copy link

nero08 commented Jul 30, 2019

Feature Request: Implement IKE3 playerbot on last azerothcore.

Here is the playerbot module: https://github.com/ike3/mangosbot-bots/commits/master

And last time ike3 merge with trinitycore: https://github.com/ike3/mangosbot/tree/trinity-wotlk-ai

Thanks in advance.

** EDIT BY ADMIN: **

It would be nice if this can be done preferably in a module. If not, in the worst case, as a configurable feature disabled by default (that does not impact anything else when disabled).

@FrancescoBorzi FrancescoBorzi changed the title [Request] Implement last IKE3 playerbot [100$] [Request] Implement last IKE3 playerbot Jul 31, 2019
@FrancescoBorzi
Copy link
Member

@nero08 where is the reward? please post it using Bountysource

@Yehonal Yehonal changed the title [Request] Implement last IKE3 playerbot [Request] Implement last IKE3 playerbot [$100] Jul 31, 2019
@Yehonal Yehonal added the Bounty label Jul 31, 2019
@nero08
Copy link
Author

nero08 commented Jul 31, 2019

@nero08 where is the reward? please post it using Bountysource

@FrancescoBorzi see again

@FrancescoBorzi
Copy link
Member

@nero08 thanks a lot, also let me know if you're on Discord (you can contact me privately)

@solidmaxtor
Copy link

I'm in =)

@FrancescoBorzi
Copy link
Member

As mentioned on discord, it would be nice if this can be done preferably in a module. If not, in the worst case, as a configurable feature disabled by default (that does not impact anything else when disabled).

@wowmane
Copy link

wowmane commented Aug 1, 2019

good job !

@Viste
Copy link
Contributor

Viste commented Aug 1, 2019

to low bounty for this( just my opinion)

@FrancescoBorzi
Copy link
Member

FrancescoBorzi commented Aug 1, 2019

Bounties are there to help, they are just an extra bonus and we are very thankful to backers, even when they post little amounts. However 100$ is not a little amount, maybe it's not proportional to the amount of work needed, but we do appreciate it.

@Yehonal Yehonal changed the title [Request] Implement last IKE3 playerbot [$100] [Request] Implement last IKE3 playerbot [$200] Aug 4, 2019
@nero08
Copy link
Author

nero08 commented Aug 4, 2019

200$ now @FrancescoBorzi

@Winfidonarleyan
Copy link
Member

Hmm, hmm

@FrancescoBorzi
Copy link
Member

thanks a lot @nero08

@nero08
Copy link
Author

nero08 commented Aug 4, 2019

Link of better recent sources:

https://github.com/conan513/SingleCore-AC branch bot+custom

But CMakeList is incompatible since:

eae9aff#diff-9c4a789a0cb66ac82ec640d8fa1fb592

@nero08
Copy link
Author

nero08 commented Aug 4, 2019

@Psilovybin

https://github.com/Psilovybin/azcore-acbot/commits/acbot

@Psilovybin
Copy link

As mentioned on discord, it would be nice if this can be done preferably in a module. If not, in the worst case, as a configurable feature disabled by default (that does not impact anything else when disabled).

It would be cool if this were made into a module, much easier to implement as a drop in, but i'm afraid there is too many hooks into the main code to do this. I was trying to do something like that but there's no way around the hooks.

@nero08
Copy link
Author

nero08 commented Aug 4, 2019

Or just use another branch if it's not possible

@Psilovybin On your project, you don't update your cmakelist file to the new rewrite cmake include system, maybe it will be easier if we update it? Do you think it's only because AzerothCore does not use BOOST lib?

@nero08
Copy link
Author

nero08 commented Aug 4, 2019

We have to implement it like worldserver folder or scripts folder at this time with checkbox option on cmake to include it

@Psilovybin
Copy link

Or just use another branch if it's not possible

@Psilovybin On your project, you don't update your cmakelist file to the new rewrite cmake include system, maybe it will be easier if we update it? Do you think it's only because AzerothCore does not use BOOST lib?

I've pretty much abandoned that, only still have it up for reference

@Trystanosaurus
Copy link
Contributor

I don't know if it helps but Jokerlfm had been working on getting Ike3 bots into Azeroth Core. This was around November 2017 in the below repository, since then I think he's undone some of that and started working on his own bots.

https://github.com/jokerlfm/azerothcore-wotlk

@Yehonal Yehonal changed the title [Request] Implement last IKE3 playerbot [$200] [Request] Implement last IKE3 playerbot [$225] Sep 1, 2020
@FALL1N1
Copy link
Contributor

FALL1N1 commented Nov 15, 2020

Is "IKE3 playerbots" any different than https://github.com/trickerer/Trinity-Bots? If not, it can easily be backported.

@LukasVolgger
Copy link
Member

LukasVolgger commented Nov 15, 2020

Yes it is. Trickerer uses NPC bots while IKE3 bots are in fact fake Players.

I asked Trickerer a long time ago to backport his mod to AC but he didn't want to....

If you could do this, that would be awesome like your other PR's <3

@Trystanosaurus
Copy link
Contributor

Is "IKE3 playerbots" any different than https://github.com/trickerer/Trinity-Bots? If not, it can easily be backported.

The trinity bots there look like NPC bots (i.e. they don't have character data like a player does), you hire them from an NPC and they follow you about helping.

The IKE3 ones iirc were player bots and once you logged them in they would run around farming or whatever else they were set to until you asked them to your party or recruited them through raid finder https://ike3.github.io/mangosbot-docs/

In practical terms there's not the biggest difference, though player bots (since they are just characters in the database) allow you to kind of multibox with AI's controlling your extra characters and switch between them when you want.

@fatbeardpirate
Copy link

Playerbots > NPCBots ...

Playerbots are summoned from the players own account and are alot more fun - their equipment persists.

@Murachacha
Copy link

Any updates on this?

@UltraNix
Copy link
Contributor

I will try to adopt that to azerothcore, but I can't guarantee anything :)
@FrancescoBorzi Assign me.

@biancong1208
Copy link

biancong1208 commented Mar 23, 2022

I have fixed several issues causing crash and have now bots running without crashes and fewer console errors. If anyone is interested in helping test, please use the module code from repo here: https://github.com/ZhengPeiRu21/mod-playerbots
Compile using Playerbots branch of my AzerothCore fork repo - I keep it up to date with master, but it has the changes needed for Playerbots to work. I don't know yet best approach to add these as hooks to master, as it requires things like overloaded constructor which would be hard to implement with hooks. For now, please use this branch: https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot
I will continue to work on these and add improvement from upstream. Please kindly share any feedbacks or problems you find!

bug I am getting errors when compiling, is it my problem?

you will only be able to compile if you use the recommended source.

Yes, my source code is copied from https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot

I also have errors when trying to compile the same source. attach

Dude, this source is not the correct one. I compiled normally.

Hi, can you share the correct source code?

@Bogir
Copy link
Contributor

Bogir commented Mar 23, 2022

Hi, can you share the correct source code?

It is not a kind of Release. Just some fixes. If something still wrong - try to fix it and assign your development here

@biancong1208
Copy link

Hi, can you share the correct source code?

It is not a kind of Release. Just some fixes. If something still wrong - try to fix it and assign your development here

I'm really sorry, I'm not a developer and I don't know how to fix it.

@rogerc66
Copy link

rogerc66 commented Mar 23, 2022

I have fixed several issues causing crash and have now bots running without crashes and fewer console errors. If anyone is interested in helping test, please use the module code from repo here: https://github.com/ZhengPeiRu21/mod-playerbots
Compile using Playerbots branch of my AzerothCore fork repo - I keep it up to date with master, but it has the changes needed for Playerbots to work. I don't know yet best approach to add these as hooks to master, as it requires things like overloaded constructor which would be hard to implement with hooks. For now, please use this branch: https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot
I will continue to work on these and add improvement from upstream. Please kindly share any feedbacks or problems you find!

bug I am getting errors when compiling, is it my problem?

you will only be able to compile if you use the recommended source.

Yes, my source code is copied from https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot

I also have errors when trying to compile the same source. attach

Dude, this source is not the correct one. I compiled normally.

Just curious, do I have to put the mod Repo of the first link into the modules folder of 2nd link Repo? or the 2nd link is already made hard coded integration of playerbot?

@ZhengPeiRu21
Copy link
Contributor

ZhengPeiRu21 commented Mar 23, 2022

Thank you all for support. ^_^ And thank you for share crash logs - it is very helpful to solve the problems.

Just curious, do I have to put the mod Repo of the first link into the modules folder of 2nd link Repo? or the 2nd link is already made hard coded integration of playerbot?

The module should be installed like a regular AzerothCore module - place it in the modules directory and run the SQL files.

For everyone having trouble compiling, please ensure you are on the correct branch. If you have cloned using Git, it will be the repo with all different branches. Make sure you are on Playerbot branch. Also please ensure module is on the AzerothCore branch.

@biancong1208 You maybe have the correct code and branch but the MOD_PLAYERBOTS define is not being trigger. Please ensure you run cmake after placing module in correct directory.

@Bogir
Copy link
Contributor

Bogir commented Mar 23, 2022

Thank you all for support. ^_^

small issue

изображение

@ZhengPeiRu21
Copy link
Contributor

Thank you all for support. ^_^

small issue

изображение

Oh, yes, I missed ifdef tags there! That will cause compile to fail if module is not present. Thank you for finding! I will fix it.

@Greyisttot
Copy link

I have been paying attention to this issue for a long time, as if it has become popular, thank you cute girl @ZhengPeiRu21 ❤️

@heyitsbench
Copy link
Contributor

heyitsbench commented Mar 23, 2022

I will point out that you don't need to quote

the entire previous message

in every reply you make in this issue. Makes it very difficult to keep up with this issue through the Github notifications in the AC Discord. (Also makes my phone crash because so much text gets loaded.)

@Nyeriah
Copy link
Member

Nyeriah commented Mar 23, 2022

Maybe you guys would like to join our Discord to chat about this? GitHub is useful for discussions, but not so much for chatting. This issue alone has over 130 messages, out of which 93 are hidden because there are so many and it hit the threshold.

https://discord.gg/53mMbXjA

@biancong1208
Copy link

I have successfully compiled and entered the game, but I see that there are some problems:

  1. The playerbot does not seem to know to turn around, even if it is being attacked.
  2. The playerbot seems to rarely attack actively, mostly standing and making different expressions.
  3. The playerbot control plugin - Mangosbot cannot be used.
  4. An error is displayed when talking to the playerbot.
    @ZhengPeiRu21 Thanks for your guidance and hard work so I can experience playerbot at acerothcore.

@htc16
Copy link

htc16 commented Mar 24, 2022

Compilei e entrei no jogo com sucesso, mas vejo que existem alguns problemas:

  1. O playerbot parece não saber se virar, mesmo que esteja sendo atacado.
  2. O playerbot parece raramente atacar ativamente, principalmente em pé e fazendo expressões diferentes.
  3. O plugin de controle do playerbot - Mangosbot não pode ser usado.
  4. Um erro é exibido ao falar com o playerbot.
    @ZhengPeiRu21 Obrigado por sua orientação e trabalho duro para que eu possa experimentar o playerbot no acerothcore.

Bots work, you just can't have GM on and invisibility.

@biancong1208
Copy link

Bots work, you just can't have GM on and invisibility.

Yes, I use a level 1 account and I am not invisible.

@htc16
Copy link

htc16 commented Mar 24, 2022

I understood. So be patient, because critical crash bugs are still being fixed.

@ZhengPeiRu21
Copy link
Contributor

I have successfully compiled and entered the game, but I see that there are some problems:

1. The playerbot does not seem to know to turn around, even if it is being attacked.

2. The playerbot seems to rarely attack actively, mostly standing and making different expressions.

3. The playerbot control plugin - [Mangosbot](https://github.com/celguar/mangosbot-addon) cannot be used.

4. An error is displayed when talking to the playerbot.
   @ZhengPeiRu21 Thanks for your guidance and hard work so I can experience playerbot at acerothcore.

Thank you for post a report. I am investigating issue of bot AI being slow. They are not attacking because many attack actions are expiring before they execute. Hopefully this can resolve soon!

The addon probably needs to be changed and updated for this port. I will investigate this if I have time but it is a lower priority.

Could you open an issue in the module repo with details for the error you see when talk to the bot?

@rogerc66
Copy link

rogerc66 commented Mar 25, 2022

I'm still having difficulties to compile ZhengPeiRu21's source.

I have made sure source is on Playerbot branch and mod in module folders but compiler still complaint many warning msg and enventually generate errors.
it makes me wonder, did I miss any dependencies or libs? but I can compile azerothcore master source along many mods without flaws, How to verify what's the problem?
My environment is a Ubuntu 20.04 vm running on a NAS system, compile environment shouldnt have any problems, otherwise it wont compile other source without problem. I could compile trinitycore and azerothcore master without problem.

Screen Shot 2022-03-25 at 4 14 03 PM

Screen Shot 2022-03-25 at 4 14 39 PM

@biancong1208
Copy link

Thank you for post a report. I am investigating issue of bot AI being slow. They are not attacking because many attack actions are expiring before they execute. Hopefully this can resolve soon!

The addon probably needs to be changed and updated for this port. I will investigate this if I have time but it is a lower priority.

Could you open an issue in the module repo with details for the error you see when talk to the bot?

Thank you for taking the time to fix the playerbot, I will continue to compile and play and experience, I will open an issue in the module repo to feedback the problem.
thanks again.

@biancong1208
Copy link

My environment is a Ubuntu 20.04 vm running on a NAS system, compile environment shouldnt have any problems, otherwise it wont compile other source without problem. I could compile trinitycore and azerothcore master without problem.

I'm a layman, I use windows to compile, I can't understand why you fail to compile.

@htc16
Copy link

htc16 commented Mar 25, 2022

I'm still having difficulties to compile ZhengPeiRu21's source.

I have made sure source is on Playerbot branch and mod in module folders but compiler still complaint many warning msg and enventually generate errors. it makes me wonder, did I miss any dependencies or libs? but I can compile azerothcore master source along many mods without flaws, How to verify what's the problem? My environment is a Ubuntu 20.04 vm running on a NAS system, compile environment shouldnt have any problems, otherwise it wont compile other source without problem. I could compile trinitycore and azerothcore master without problem.

Screen Shot 2022-03-25 at 4 14 03 PM Screen Shot 2022-03-25 at 4 14 39 PM

look here: ZhengPeiRu21/mod-playerbots#8

@rogerc66
Copy link

look here: ZhengPeiRu21/mod-playerbots#8

I have managed get pass to 72% and now stopped at 73%, any suggestion?
Screen Shot 2022-03-25 at 10 42 36 PM

@Winfidonarleyan
Copy link
Member

Why are you trying to use a module that doesn't work and isn't finished and then writing here that it doesn't work?

@Bogir
Copy link
Contributor

Bogir commented Mar 26, 2022

Why are you trying to use a module that doesn't work?

Because for some it works and for others it doesn't. Development continues :)

@htc16
Copy link

htc16 commented Oct 7, 2022

I couldn't help but opine here, all about this request.

It's resolved here: https://github.com/ZhengPeiRu21/mod-playerbots

After this PR ZhengPeiRu21/mod-playerbots#115 when Zheng analyze, the bots will be independent.

We definitely have bots in azerothcore.

So my humble opinion is that @ZhengPeiRu21 and @UltraNix solved this bot implementation in azerothcore.

@heyitsbench
Copy link
Contributor

I don't know that this can be considered solved until enabling bots is either a matter of dropping the module into the folder or setting an option in the worldserver config. Currently a separate fork is required, and that in my opinion is enough to keep this issue open.

@htc16
Copy link

htc16 commented Oct 7, 2022

Oh, that being so, you are right.
For this not to be infinitely open could be added the way you said.
For it seems to me that this will never be resolved and closed the way it is at the moment.

And on the other hand, there is the solution!

@Kitzunu Kitzunu changed the title [Request] Implement last IKE3 playerbot [$350] [Request] Implement last IKE3 playerbot Nov 14, 2023
@sudlud sudlud removed the Bounty label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests