Giter Club home page Giter Club logo

ike3 / mangosbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trinitycore/trinitycore

183.0 35.0 78.0 828.04 MB

This is a modification of MaNGOS (Zero, One, R2, Trinity) server which brings a number of bots online and available for any player. Also allows you to use your account/guild characters as bots.

Home Page: http://ike3.github.io/mangosbot-docs/

License: GNU General Public License v2.0

CMake 0.44% C 5.80% Shell 0.91% PHP 0.08% C++ 91.66% Python 0.17% Batchfile 0.01% Pascal 0.85% Dockerfile 0.01% Smarty 0.09%

mangosbot's Introduction

         Build Status: Linux/MAC: Windows:
Repository Status:


MangosZero - Vanilla WoW server

Mangos is an open source project written in C++ . It's fast, runs on multiple platforms and stores game data in MySQL or MariaDB. It also has optional support for SOAP.

If you liked the original incarnation of World of Warcraft and still want to play it, this is the branch for you. We provide an authentication server where you can manage your users, and a world server which serves game content just like the original did back then.

It aims to be 100% compatible with the 3 final versions of Vanilla World of Warcraft, namely patch 1.12.1, patch 1.12.2 & patch 1.12.3.
IT DOES NOT SUPPORT 1.13.x and beyond which is the newly released Classic Experience (NuClassic).

On top of that each update is automatically built by Github Actions (Linux/MAC) and AppVeyor (Windows) as you can see by the images in the heading above! We do love green builds, and working things.

Requirements

The server supports a wide range of operating systems, and various compiler platforms. In order to do that, we use various free cross-platform libraries and use CMake (v3.12+) to provide a cross-platform build system which adapts to your chosen operating system and compiler.

Operating systems

Currently we support running the server on the following operating systems:

  • Windows, 32 bit and 64 bit. Windows Server 2008 (or newer) or Windows 8 (or newer) is recommended.
  • Linux, 32 bit and 64 bit. Debian 7 and Ubuntu 12.04 LTS are recommended. Other distributions with similar package versions will work, too.
  • BSD, 32 bit and 64 bit. FreeBSD, NetBSD, OpenBSD are recommended.

Of course, newer versions should work, too. In the case of Windows, matching server versions will work, too.

Compilers

Building the server is currently possible with these compilers:

  • Microsoft Visual Studio 32 bit and 64 bit. All editions of Visual Studio from 2015 upwards are officially supported (although support for 2015 and 2017 are end of life.)

  • Clang, 32 bit and 64 bit. The Clang compiler can be used on any supported operating system.

Dependencies

The server stands on the shoulders of several well-known Open Source libraries plus a few awesome, but less known libraries to prevent us from inventing the wheel again.

Please note that Linux and Mac OS X users should install packages using their systems package management instead of source packages.

  • Git / Github for Windows: This version control software allows you to get the source files in the first place.
  • MySQL / MariaDB: These databases are used to store content and user data.
  • ACE: aka Adaptive Communication Environment, provides us with a solid cross-platform framework for abstracting operating system specific details.
  • Recast: In order to create navigation data from the client's map files, Recast is used to do the dirty work. It provides functions for rendering, pathing, etc.
  • G3D: This engine provides the basic framework for handling 3D data and is used to handle basic map data.
  • Stormlib: Provides an abstraction layer for reading from the client's data files.
  • Zlib/Zlib for Windows provides compression algorithms used in both MPQ archive handling and the client/server protocol.
  • Bzip2/Bzip2 for Windows provides compression algorithms used in MPQ archives.
  • OpenSSL/OpenSSL for Windows provides encryption algorithms used when authenticating clients.

ACE, Recast, G3D, Stormlib, Zlib and Bzip2 are included in the standard distribution as we rely on specific versions.

Optional dependencies

  • Doxygen: If you want to export HTML or PDF formatted documentation for the Mangos API, you should install this.


We have a small, but extremely friendly and helpful community managed by MadMax and Antz.

Our discord/forum motto is:

'Be nice or Be somewhere else'

Any trolling or unpleasantness is swiftly dealt with !!

Official Website

We welcome anyone who is interested in enjoying older versions of wow or contributing and helping out !

Discord Server

We also have a Discord server where many of us hang out and discuss Mangos related stuff.

Main Wiki

The repository of as much information as we can pack in. Details regarding the Database, file type definitions, packet definitons etc.

Bug / Issue Tracker

Found an issue or something which doesn't seem right, please log it in the relevant section of the Bug Tracker.

Installation Guides

Installation instructions for various operation systems can be found here.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

The full license is included in the file LICENSE.

We have all put in hundreds of hours of time for free to make the server what it is today.
All we ask is that if you modify the code and make improvements, please have the decency to feed those changes back to us.

In addition, as a special exception, permission is granted to link the code of Mangos with the OpenSSL project's OpenSSL library (or with modified versions of it that use the same license as the OpenSSL library), and distribute the linked executables. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL.

Acknowledgements

World of Warcraft, and all related art, images, and lore are copyright Blizzard Entertainment, Inc.

mangosbot's People

Contributors

andybe avatar billy1arm avatar brotalnia avatar cabfever avatar domgries avatar elmsroth avatar evildead666 avatar faded avatar fgreinus avatar foereaper avatar h0zen avatar i-am-fyre avatar ioexceptional avatar kmmiles avatar krilliac avatar kvipka avatar leprasmurf avatar madmaxmangos avatar meltie2013 avatar necrovoice avatar olion17 avatar rochet2 avatar stormrage-project avatar sundayz avatar trashpandaboy avatar trimken avatar warkdev avatar web-flow avatar xfurry avatar zwisus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mangosbot's Issues

Crash on R2 , this is after a few mins of play

Revision: 2014-10-14 13:17:12 12687 c0ade47
Date 14:10:2014. Time 20:55
//=====================================================
*** Hardware ***
Processor: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
Number Of Processors: 8
Physical Memory: 4194303 KB (Available: 3920380 KB)
Commit Charge Limit: 4194303 KB

*** Operation System ***
Windows 8 (Version 6.2, Build 9200)

//=====================================================
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 009D48E5 01:005D38E5 C:\Users\fallenangel\Desktop\Testing_Server\MaNGOS\mangosd.exe

Registers:
EAX:2706E4E0
EBX:00000000
ECX:00000002
EDX:00000001
ESI:00000000
EDI:1C6DF020
CS:EIP:0023:009D48E5
SS:ESP:002B:1812C3E0 EBP:1812C76C
DS:002B ES:002B FS:0053 GS:002B
Flags:00010246

Call stack:
Address Frame Function SourceFile
009D48E5 00000000 BIH::intersectRayVMAP::MapRayCallback+3A5 c:\users\fallenangel\desktop\mangos\src\game\vmap\bih.h line 192
009D78D3 00000000 VMAP::StaticMapTree::getIntersectionTime+33 c:\users\fallenangel\desktop\mangos\src\game\vmap\maptree.cpp line 147
009D813F 00000000 VMAP::StaticMapTree::isInLineOfSight+1CF c:\users\fallenangel\desktop\mangos\src\game\vmap\maptree.cpp line 167
00953EF2 00000000 VMAP::VMapManager2::isInLineOfSight+D2 c:\users\fallenangel\desktop\mangos\src\game\vmap\vmapmanager2.cpp line 156
0050E833 00000000 Map::IsInLineOfSight+43 c:\users\fallenangel\desktop\mangos\src\game\map.cpp line 2661
004D0A44 00000000 WorldObject::IsWithinLOS+74 c:\users\fallenangel\desktop\mangos\src\game\object.cpp line 1295
004D0AB8 00000000 WorldObject::IsWithinLOSInMap+68 c:\users\fallenangel\desktop\mangos\src\game\object.cpp line 1288
00AFA648 00000000 ai::NearestGameObjects::Calculate+128 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\values\nearestgameobjects.cpp line 42
00A67C1B 00000000 ai::CalculatedValuestd::list<ObjectGuid,std::allocator >::Get+4B c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\value.h line 41
00ADC8D6 00000000 ai::AddAllLootAction::Execute+66 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\actions\addlootaction.cpp line 23
00A2F60A 00000000 ai::Engine::ListenAndExecute+8A c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\engine.cpp line 466
00A2E798 00000000 ai::Engine::DoNextAction+348 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\engine.cpp line 171
00A0A830 00000000 PlayerbotAI::DoNextAction+80 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\playerbotai.cpp line 422
00A0DFEE 00000000 PlayerbotAI::UpdateAIInternal+38E c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\playerbotai.cpp line 174
009F10A0 00000000 PlayerbotAIBase::UpdateAI+30 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\playerbotaibase.cpp line 23
00A0DC3F 00000000 PlayerbotAI::UpdateAI+11F c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\playerbotai.cpp line 150
006067A3 00000000 Player::Update+7B3 c:\users\fallenangel\desktop\mangos\src\game\player.cpp line 1536
004D3A6B 00000000 WorldObject::UpdateHelper::Update+8B c:\users\fallenangel\desktop\mangos\src\game\object.cpp line 2370
00512694 00000000 Map::Update+404 c:\users\fallenangel\desktop\mangos\src\game\map.cpp line 654
006CA0CF 00000000 ObjectUpdateRequest::call+F c:\users\fallenangel\desktop\mangos\src\shared\objectupdatetaskbase.h line 50
006CB04A 00000000 ObjectUpdateTaskBase::svc+8A c:\users\fallenangel\desktop\mangos\src\shared\objectupdatetaskbase.h line 102
689AA1BC 00000000 ACE_Task_Base::svc_run+2C c:\users\fallenangel\desktop\mangos\dep\ace_wrappers\ace\task.cpp line 286
689AA566 00000000 ACE_Thread_Adapter::invoke_i+76 c:\users\fallenangel\desktop\mangos\dep\ace_wrappers\ace\thread_adapter.cpp line 145
689AA4BE 00000000 ACE_Thread_Adapter::invoke+7E c:\users\fallenangel\desktop\mangos\dep\ace_wrappers\ace\thread_adapter.cpp line 94
68D4C01D 00000000 __get_tlsindex+6F
68D4C001 00000000 __get_tlsindex+53
76F686E3 00000000 BaseThreadInitThunk+E
778DBE99 00000000 RtlInitializeExceptionChain+85

778DBE6C 00000000 RtlInitializeExceptionChain+58

Local Variables And Parameters

Call stack:
Address Frame Function SourceFile
009D48E5 00000000 BIH::intersectRayVMAP::MapRayCallback+3A5 c:\users\fallenangel\desktop\mangos\src\game\vmap\bih.h line 192
Local 'r' = 1812C76C
Local 'intersectCallback' = 1812C76C
Local 'maxDist' = 1812C76C
Local bool 'stopAtFirst' = 90
Local 'dir' = 1812C76C
Local 'stack' = 1812C76C
Local 'offsetFront' = 1812C76C
Local 'offsetBack' = 1812C76C
Local 'offsetFront3' = 1812C76C
Local float 'intervalMax' = 0.000000
Local float 'intervalMin' = 0.000000
Local 'org' = 1812C76C
Local 'invDir' = 1812C76C
Local 'offsetBack3' = 1812C76C
Local float 't1' = 0.000000
Local float 't2' = 0.000000
Local float 'tf' = 0.000000
Local float 'tb' = 0.000000
Local float 'tf' = 0.000000
Local float 'tb' = 0.000000

009D78D3 00000000 VMAP::StaticMapTree::getIntersectionTime+33 c:\users\fallenangel\desktop\mangos\src\game\vmap\maptree.cpp line 147
Local 'pRay' = 1812C790
Local 'pMaxDist' = 1812C790
Local bool 'pStopAtFirstHit' = 30
Local 'intersectionCallBack' = 1812C790
Local float 'distance' = 0.000000

009D813F 00000000 VMAP::StaticMapTree::isInLineOfSight+1CF c:\users\fallenangel\desktop\mangos\src\game\vmap\maptree.cpp line 167
Local 'pos1' = 1812D830
Local 'pos2' = 1812D830
Local 'ray' = 1812D830
Local float 'maxDist' = 0.000000
Local 'st' = 1812D830

00953EF2 00000000 VMAP::VMapManager2::isInLineOfSight+D2 c:\users\fallenangel\desktop\mangos\src\game\vmap\vmapmanager2.cpp line 156
Local unsigned int 'pMapId' = 1812D894
Local float 'x1' = 0.000000
Local float 'y1' = 0.000000
Local float 'z1' = 0.000000
Local float 'x2' = 0.000000
Local float 'y2' = 0.000000
Local float 'z2' = 0.000000
Local 'instanceTree' = 1812D86C
Local 'pos1' = 1812D86C
Local 'pos2' = 1812D86C

0050E833 00000000 Map::IsInLineOfSight+43 c:\users\fallenangel\desktop\mangos\src\game\map.cpp line 2661
Local float 'srcX' = 0.000000
Local float 'srcY' = 0.000000
Local float 'srcZ' = 0.000000
Local float 'destX' = 0.000000
Local float 'destY' = 0.000000
Local float 'destZ' = 0.000000
Local unsigned int 'phasemask' = 1812D8C4

004D0A44 00000000 WorldObject::IsWithinLOS+74 c:\users\fallenangel\desktop\mangos\src\game\object.cpp line 1295
Local float 'ox' = 0.000000
Local float 'oy' = 0.000000
Local float 'oz' = 0.000000
Local float 'z' = 0.000000
Local float 'x' = 0.000000
Local float 'y' = 0.000000

004D0AB8 00000000 WorldObject::IsWithinLOSInMap+68 c:\users\fallenangel\desktop\mangos\src\game\object.cpp line 1288
Local 'obj' = 1812D8E0
Local float 'oz' = 0.000000
Local float 'oy' = 0.000000
Local float 'ox' = 0.000000

00AFA648 00000000 ai::NearestGameObjects::Calculate+128 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\values\nearestgameobjects.cpp line 42
Local 'targets' = 1812E93C
Local 'u_check' = 1812E93C
Local 'searcher' = 1812E93C

00A67C1B 00000000 ai::CalculatedValuestd::list<ObjectGuid,std::allocator >::Get+4B c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\value.h line 41

00ADC8D6 00000000 ai::AddAllLootAction::Execute+66 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\actions\addlootaction.cpp line 23
Local 'event' = 1812E9BC
Local 'gos' = 1812E9BC
Local 'corpses' = 1812E9BC

00A2F60A 00000000 ai::Engine::ListenAndExecute+8A c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\engine.cpp line 466
Local 'action' = 1812EA48
Local 'event' = 1812EA48
Local bool 'actionExecuted' = A8

00A2E798 00000000 ai::Engine::DoNextAction+348 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\strategy\engine.cpp line 171
Local 'unit' = 1812EBA8
Local int 'depth' = 1812EC00
Local 'event' = 1812EBA8
Local float 'relevance' = 0.000000

00A0A830 00000000 PlayerbotAI::DoNextAction+80 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\playerbotai.cpp line 422
Local 'packet' = 1812EC00

00A0DFEE 00000000 PlayerbotAI::UpdateAIInternal+38E c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\playerbotai.cpp line 174
Local unsigned int 'elapsed' = 1812ED34
Local 'helper' = 1812ED20
Local 'holder' = 1812ED20
Local 'command' = 1812ED20
Local 'out' = 1812ED20

009F10A0 00000000 PlayerbotAIBase::UpdateAI+30 c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\playerbotaibase.cpp line 23
Local unsigned int 'elapsed' = 1812ED5C

00A0DC3F 00000000 PlayerbotAI::UpdateAI+11F c:\users\fallenangel\desktop\mangos\src\plugins\playerbot\playerbotai.cpp line 150
Local unsigned int 'elapsed' = 1812EDD0

006067A3 00000000 Player::Update+7B3 c:\users\fallenangel\desktop\mangos\src\game\player.cpp line 1536
Local unsigned int 'update_diff' = 1812EDF4
Local unsigned int 'p_time' = 1812EDF4
Local 'iter' = 1812EDD0
Local float 'bubble' = 0.000000
Local unsigned int 'newzone' = 1812EDF4
Local unsigned int 'newarea' = 1812EDF4
Local unsigned int 'timer' = 1812EDF4

004D3A6B 00000000 WorldObject::UpdateHelper::Update+8B c:\users\fallenangel\desktop\mangos\src\game\object.cpp line 2370
Local unsigned int 'time_diff' = 1812FE90

00512694 00000000 Map::Update+404 c:\users\fallenangel\desktop\mangos\src\game\map.cpp line 654
Local 't_diff' = 1812FE90
Local 'updater' = 1812FE90
Local 'world_object_update' = 1812FE90
Local 'updateQueue' = 1812FE90
Local 'grid_object_update' = 1812FE90
Local 'guid' = 1812FE90
Local 'updater' = 1812FE90
Local 'guid' = 1812FE90
Local 'helper' = 1812FE90
Local 'helper' = 1812FE90
Local 'area' = 1812FE90
Local 'guid' = 1812FE90
Local 'cell' = 1812FE90
Local 'st' = 1812FE90

006CA0CF 00000000 ObjectUpdateRequest::call+F c:\users\fallenangel\desktop\mangos\src\shared\objectupdatetaskbase.h line 50

006CB04A 00000000 ObjectUpdateTaskBase::svc+8A c:\users\fallenangel\desktop\mangos\src\shared\objectupdatetaskbase.h line 102

689AA1BC 00000000 ACE_Task_Base::svc_run+2C c:\users\fallenangel\desktop\mangos\dep\ace_wrappers\ace\task.cpp line 286
Local args& = 1812FF1C void 'args' = 1812FF1C

689AA566 00000000 ACE_Thread_Adapter::invoke_i+76 c:\users\fallenangel\desktop\mangos\dep\ace_wrappers\ace\thread_adapter.cpp line 145
Local unsigned long 'status' = 1812FF40

689AA4BE 00000000 ACE_Thread_Adapter::invoke+7E c:\users\fallenangel\desktop\mangos\dep\ace_wrappers\ace\thread_adapter.cpp line 94
Local 'exit_hook_maybe' = 1812FF40

68D4C01D 00000000 __get_tlsindex+6F

68D4C001 00000000 __get_tlsindex+53

76F686E3 00000000 BaseThreadInitThunk+E

778DBE99 00000000 RtlInitializeExceptionChain+85

778DBE6C 00000000 RtlInitializeExceptionChain+58

CppUnit compile on linux

Compile errors on linux if TESTS=1 (CppUnit core, not tests themselves). Windows build is fine.

Any branch with working bots for at least dungeons?

I'm on TC 3.3.5 and just need bots that will work in dungeons. I tried the tc-wotlk-ai branch but bots mostly stand there doing nothing, dungeon finder doesnt work, some bots show as 'unkown'. I don't mind if I have to use an old version of TC as long as bots are working in dungeons.

Installing issues

Hi

I'm trying to get this branch working however i'm getting tons or warnings.
I get it compiled with a few warnings, but when i run the server i'm getting a lot of database errors.

At random:
Warning: GetUInt32() on non-(medium)int field. Using type: TINY.

When rndbot init is put in console.
Warning: GetUInt64() on non-bigint field. Using type: LONG.

I'm using the normal characters and auth database from TC. Without any modifications.

Also i can add a bot with ".bot add Eolap" for example but it's just standing at a starting zone doing nothing but standing.

Some warnings in server.log:
Warning: Transaction only holds 1 query, consider removing Transaction context in code.
(getting tons of these)

Hope you can give some insight into this.

RandomBots falling through ground

RandomBots falling through ground. I have vmaps and mmaps enabled in trinity but they are still falling through ground most likely happend when they start to fight. Also i noticed when RandomBot is fighting and a secound mob attack him he will not fight back and completly ignore him until he die's, that's because i think you coded them to wait until hp/mana get's back to full and then fight next mob.

Questions about the bots

ree, open source World of Warcraft server software
My questions are related to this http://ike3.github.io/mangosbot-docs/.

  1. How to make the bots only alliance.
  2. How to make the bots all teleport to one place or spawn in one place.
  3. Any updates coming out?
  4. How to get bot to train spells and use talents
  5. How to make the bots have better armor
  6. HOw to the make the bots the parameters for the best performance
  7. How to make the bots be faster at reacting at attacking them or healing some1
  8. Anyway to make bots arena,bg or basically invite random bots to join together and level or pvp or something just in a group?
  9. How to make the bots level on their own such as quest and such
  10. No bot Death Knights?
  11. How to fix the dungeon finder, if i have a full group, it doesn't find a group, 3 dps 1 healer 1 tank.
  12. How to make the bots que for dungeons themselves
    I realize most of my questions or basically request because most of the questions i ask are very hardly to code i understand that, but if anyone is willing to...
  13. Bots keep spamming for me to join a dungeon while in a party, how to fix?
  14. Anyway to make bots just chillout in Goldshire like real players would, and due or something? Lol to add more of a real player experience.
    AHBOT problems.
    Well here is my worldserver.conf http://pastebin.com/L3N4kFrJ
    My AHBOT.conf http://pastebin.com/4bdPE9Qu
    What am i doing wrong?
    I set the intervals to 50 because i was trying to test and see if it would be faster but it is still set to 300 seconds and it says in the world console and it doesn't buy or sell items fast. Well it hasn't bought any of my items at all.
    Their is only 71 total items on the auctionhouse and its been that way before i set the intervals, it does not sell items fast ;c
    Can you set the it up where bots buy bots items also?

Playerbot system is currently disabled!

After compiling the newest version on Ubuntu 14.04 the command: .rndbot returns this:
"Playerbot system is currently disabled!"
The configs are generated and renamed (removed the .dist) part. due to the fact that the Log isnt mentioning the Playerbots in any kind I assumed that there are compilation errors which were skipped.
I will post a log of the compilation tomorrow.

Is it possible though that the #includes in the CPP files in the src/plugins subfolders are not correct? I am not that handy with c++ so I could be wrong.. just my findings.

Maybe I am doing something wrong in the first place? I follow the compilation guide from the trinitycore wiki.

Do you need any more information besides the compilation logs? I will be actively trying to resolve this issue by myself.

Random bots not abiding to level restrictions

Don't know if I am doing something wrong or not but clearing out all characters and bots from the database and re initializing does not appear to abide by my level restrictions within the aiplayerbot conf file. I set the levels 1-20 and there are still levels higher being generated. Is this a known issue of sorts or am I doing something wrong?

Thanks!

Linux Warnings Regarding Pragma Mark

Since all the pragma marks in your code have a semi colon in them, the compiler screams about each one. If you remove the additional semicolon after the pragma mark the warnings will go away.

Example of a Warning:
/home/trinity/mangosbot/src/server/game/Ahbot/ItemBag.h:1:13: warning: extra tokens at end of #pragma directive [enabled by default]
#pragma once;
^

Random Bots unused Talent points

I have been running around with the same group of random bots from level 10 to level 15ish. I have been taking them to the trainers at level ups. They have been learning spells but they are not allocating talent points. This is seen when I inspect them. I was looking through the commands and didn't see a way to select their talent points. Is this normal, that talent points on the random bots have no easy way to allocate?

Core freeze while generating bots

I put the characters and world DB on two seperated mysql server and the world db hangs while I clear all bots and waiting for the server to randomize the new bots.

Maybe the AiPlayerbot.RandomBotLoginAtStartup do this, because this setting isn't working yet and I can't set it to zero or false in the source and all bots try to login same time and teleporting to a random place.

Some compiler warning from vs2013

ConsumableCategory.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
WarriorTriggers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
WarriorMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
GenericWarriorNonCombatStrategy.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
WarlockMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
WarlockActions.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
Value.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
ShamanMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
ShamanActions.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
RogueTriggers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
RogueMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
RogueActions.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
PriestTriggers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
PriestMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
PaladinMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
PaladinActions.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
Multiplier.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
MageMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
HunterMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
DruidTriggers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
DruidMultipliers.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
NonCombatActions.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
GenericActions.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
ActionBasket.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library

Core: Lagging

Bug: core is unstable and lags a lot. I had this since the beginning and at first i thought it was because the load of the random npc's that are spawning, but after leaving it up for an hour, not be able to login and if i am able to login the server just hangs. It seems it does do stuff but it lags tons and tons and it is not playable.

Normal trinitycore build works perfect with no lag issues.

Any idea's?

Moonglade flightpath crashes worldserver with playerbots

Using the night elf flightpath in Moonglade crashes the worldserver if my playerbots are loaded and in group. I've tested flightpath without playerbots loaded and it works fine. Playerbots were not in Moonglade (they were sitting in Stormwind one time) when flightpath was being used. Just updated to latest commit (12-31-2015) and flightpath still crashes the worldserver.

[TC] Feature Requests

I was thinking, bots are now static and are spawned on some locations around the world to play with.
A few features i can come up with that would greatly enhance the experience of a official player on retail.

  • Speech - Random speech and repond to some players questions. Basic speech would be fun and fun to make it very advanced.
  • Waypoints - Make bots walk around the map. Litterly walk around go to zones and fight mobs, do quests, farm. Like a real bot would do in wow. The only thing i can think is some sort of waypoint system where player bots can walk. Pretty much like NPC waypoints are now but way bigger waypoints. This will increase memory usage but it would be worthwhile in the playing experience. Same in dungeons or raids. Pretty much what a bot should be doing.
  • Battlegrounds - Now you added the ability to add npcbots in queue, can it be adapted into queueing into a battleground? Then we finally can play in battlegrounds and or play the game alone. ( waypoints would be sweet in this ). At the moment if you have a private server you can do dungeons and raid and quest and such, but no pvp. So would be great to have to pvp in world and in battlegrounds (maybe arena's too!)

cmake warning in linux

-- Configuring done
CMake Warning (dev) at src/plugins/CMakeLists.txt:152 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "revision.h" of target "plugins" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.

This can be easily fixed. In src/plugins/CMakeLists.txt line 152 change:
add_dependencies(plugins revision.h)
to
add_dependencies(plugins revision_data.h)

This is the same for CMakeLists.txt in src/server/game/

On make install - bot configs are not created

aiplayerbot.conf.dist and ahbot.conf.dist not installed during the make install process. I verified that the issue exists in windows as well as linux. The aiplayerbot.conf.dist.in and the ahbot.conf.dist.in files are present in the repository.

Errors: error creating guild task

Bug:
The Blade / Subfusion: error creating guild task
The Gnomes Lordaero / Subfusion: no items avaible for item task
The Gnomes Lordaero / Subfusion: error creating guild task
Raven Clan / Subfusion: no items avaible for item task
Raven Clan / Subfusion: error creating guild task
Raiders of the Sil / Subfusion: no items avaible for item task
Raiders of the Sil / Subfusion: error creating guild task
The Blues Azeroth / Subfusion: no items avaible for item task
The Blues Azeroth / Subfusion: error creating guild task
The Red Hood Thunder / Subfusion: no items avaible for item task
The Red Hood Thunder / Subfusion: error creating guild task

I'm getting these errors all the time. Subfusion is my gm character and the only normal client that is connected to the server. It keeps spamming this all the time. I do have a guild on that char but not these bot clans.

Any ideas?

Core: eb57731

Priest Fortitude Buff

Hi,
First I would like to say thank you Ike3 for these bots.. They are awsome!
But I have a Priest buff problem.
When I have a Priest bot in party and a Hunter (Or i play the hunter) then when the HunterPet is called, the Priest will start buffing the Pet with Power Word Fortitude, again and again, until it runs out of mana, then it will drink up, and party starts all over again.

For now i have solved this by Removing the "power word: fortitude on party", from the source code file "PriestNonCombatStrategy.cpp" so now the Priest does not buff the party with fortitude, only it self. Other Priest buffs on party, works fine.

Are there any solution for this?

Also i noticed that: I had a Druid bot in Party, and one of the other bots used a "Scroll Of Stamina" on it self, and the the Druid started buffing "Mark of the wild" on that bot again and again.

I know its small bugs, and its possible to live without. Just thought i would mention them.

/Jrod

Questions

  1. How to make bots only be on the alliance?
  2. How to make bots do dungeons themselves?
  3. Could bots by any chance battleground?
  4. How to make bots load in faster
  5. Online 70 bots spawn with 40% cpu usage with 200 min bots 300 max bots..
    Thats it thanks for responses 💃

Memory leak issue?

So I have been doing some tests with a large number of bots. I have 8 gigs of ram on my server and I load up 200 bots are server start-up. I have a total of 3.2 gig RAM free after the server and bots come up. If I let the server run for a 6-8 hours, the server creeps up to using all of the system RAM, with no players on. Eventually it crashes.

I realize I am using a lot of bots here but it seems odd that the bots eat all RAM over a short period of time with no one on. Is this normal?

This is using x64 compile with rev ID 1d37a34, Windows Server 2012 Essentials

Wndows 8.1 shits again

Some settings doesn't have effect when I change it on Windows 8.1.

Example:
randomBotLoginAtStartup = config.GetBoolDefault("AiPlayerbot.RandomBotLoginAtStartup", true);

AiPlayerbot.RandomBotLoginAtStartup = 1

default all bots login on server start but this do heavy lag and I wanna disable this so I change in the config file first but no effect, then I changed in the code to false but nothing and all bots login on start

Priest invited in group continue to cast "Abolish Disease" spell

When I login ingame as a Death Knight pg, and I gonna group some priests bots (with any type of spec) they continue to cast "Abolish Disease" spell on me (party leader) without stopping.
It happens in secure enviroments and not in battle (like in Stormwind) and my character didn't have any type of diseases active on him. This continue casting prevents the Priest healer to do correct healing because is all the time casting "Abolish Disease".

Melee bots cannot reach target properly

Although AiPlayerbot.MeleeDistance = 2.0, bots some times stay just outside of melee distance and cannot attack the target. Seems something prevents them to reach target properly and start swinging their weapons.

Remove Ahbot

Since Trinity Core maintains an included Ahbot it would be a good idea to remove that portion of Ikebots. It's one less thing to have to update.

Ubuntu 14.04 compile error

When I try to compile on Ubuntu, the following error appears:

[ 2%] Built target jemalloc
[ 6%] Built target g3dlib
[ 6%] Built target Detour
[ 7%] Built target Recast
[ 7%] Built target gsoap
[ 8%] Built target mpq
[ 8%] Built target revision.h
[ 10%] Built target shared
[ 10%] Building CXX object src/plugins/CMakeFiles/plugins.dir/playerbot/RandomPlayerbotFactory.cpp.o
In file included from /home/trinity/mangosbot/src/plugins/playerbot/RandomPlayerbotFactory.cpp:2:0:
/home/trinity/mangosbot/src/plugins/playerbot/playerbot.h:3:1: error: ‘vector’ in namespace ‘std’ does not name a type
std::vectorstd::string split(const std::string &s, char delim);
^
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/plugins/CMakeFiles/plugins.dir/playerbot/RandomPlayerbotFactory.cpp.o] Error 1
make[1]: *** [src/plugins/CMakeFiles/plugins.dir/all] Error 2
make: *** [all] Error 2

make install obviously encounters a similar error:
[ 2%] Built target jemalloc
[ 6%] Built target g3dlib
[ 6%] Built target Detour
[ 7%] Built target Recast
[ 7%] Built target gsoap
[ 8%] Built target mpq
[ 8%] Built target revision.h
[ 10%] Built target shared
[ 10%] Building CXX object src/plugins/CMakeFiles/plugins.dir/playerbot/RandomPlayerbotFactory.cpp.o
In file included from /home/trinity/mangosbot/src/plugins/playerbot/RandomPlayerbotFactory.cpp:2:0:
/home/trinity/mangosbot/src/plugins/playerbot/playerbot.h:3:1: error: ‘vector’ in namespace ‘std’ does not name a type
std::vectorstd::string split(const std::string &s, char delim);
^
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/plugins/CMakeFiles/plugins.dir/playerbot/RandomPlayerbotFactory.cpp.o] Error 1
make[1]: *** [src/plugins/CMakeFiles/plugins.dir/all] Error 2
make: *** [all] Error 2

Unable to open configuration file ahbot.conf and aiplayerbot.conf

Under Linux, conf file can't be load.

Initializing AuctionHouseBot...
Initializing AhBot by ike3
AhBot is Disabled. Unable to open configuration file ahbot.conf
Initializing AI Playerbot by ike3, based on the original Playerbot by blueboy
AI Playerbot is Disabled. Unable to open configuration file aiplayerbot.conf

Database

Everything work now but the only problem I have is the database. I used the 3.3.5 database from Trinity and it update the world database automatic and I used the all the character_ai.sql files from the aiplayerbot.

But I can`t play it. I get everytime the message that I must update the database.

This is the error:
Loading Script Names...
[1054] Unknown column 'ScriptName' in 'field list'
Your database structure is not up to date. Please make sure you've executed all

queries in the sql/updates folders.

I used all the slq updates from Ike3 wotlk-ai-playerbot but still the same error. Any solution for this? I really want to play wow met the random bots.

Which database are most of you using?

[TC] Compile problem on OS X 10.9.5

/Users/conan/Trinity/repo/src/plugins/playerbot/strategy/actions/TeleportAction.cpp:34:34: Cannot initialize a parameter of type 'const AuraEffect *' with an rvalue of type 'bool'

AH Bot Trinity Core Default

ike3 is there anyway to mod so you can use the Trinity Core AH Bot by default and exclude bots from buying or selling? I think this might improve performance and lag. Since this is a single player experience I don't care who post auctions as long as I can sell and buy items in the AH.

NULL pointer warnings.

There are some warnings that yell about NULL. I believe the correct way to do NULL is now ObjectGuid::Empty

SmartScript Crash [Linux]

SmartScript: Action target Creature (GUID: 31877 Entry: 5743) is not using SmartAI, action called by Creature (GUID: 31877 Entry: 5743) skipped to prevent crash.
SmartScript: Action target Creature (GUID: 45218 Entry: 5743) is not using SmartAI, action called by Creature (GUID: 45218 Entry: 5743) skipped to prevent crash.
SmartScript: Action target Creature (GUID: 45218 Entry: 5743) is not using SmartAI, action called by Creature (GUID: 45218 Entry: 5743) skipped to prevent crash.
SmartScript: Action target Creature (GUID: 45218 Entry: 5743) is not using SmartAI, action called by Creature (GUID: 45218 Entry: 5743) skipped to prevent crash.
SmartScript: Action target Creature (GUID: 45218 Entry: 5743) is not using SmartAI, action called by Creature (GUID: 45218 Entry: 5743) skipped to prevent crash.
SmartScript: Action target Creature (GUID: 45218 Entry: 5743) is not using SmartAI, action called by Creature (GUID: 45218 Entry: 5743) skipped to prevent crash.
Killed

Cmake warning in windows - Can`t compile it in vs 2015

I have the some problem that this OP had...#47. He had the problem for Linux and I use windows to compile. I changed it to but that didn`t fix the problem.

Configuring done
CMake Warning (dev) at src/server/game/CMakeLists.txt:210 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "revision.h" of target "game" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at src/plugins/CMakeLists.txt:151 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "revision.h" of target "plugins" does not exist.
This warning is for project developers. Use -Wno-dev to suppress it.

I use windows 7 with VS 2015. And mangosbot trinity-wotlk-ai. I can`t compile it. Any body who can help me so I can compile it?

Thanks

Help

I got the repack 3.3.5a Single Player Project, and i was wondering how to make the bots stay updated? Like i want to update the bots every time their is a new update for them. So like replace the files but i don't wanna mess anything up. So, how?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.