Jump to content

Playerbot (archive)


Recommended Posts

I noticed that had a reduction in crash that gave the bots when they died ...

and yet when I went in with them gave naxxramas crash.

Aki is the log server

...

2009-10-11 12:07:36 >> Loaded 747 string templates from creature_ai_texts

2009-10-11 12:07:36 Loading EventAI Texts additional data...

2009-10-11 12:07:36

2009-10-11 12:07:36 >> Loaded 747 additional CreatureEventAI Texts data.

2009-10-11 12:07:36 Loading CreatureEventAI Summons...

2009-10-11 12:07:36

2009-10-11 12:07:36 >> Loaded 19 CreatureEventAI summon definitions

2009-10-11 12:07:36 Loading CreatureEventAI Scripts...

2009-10-11 12:07:37 ERROR:CreatureEventAI: Event 2304903 Action 1 param1 references out-of-range entry (378) in texts table.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -544 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -509 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -504 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -494 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -492 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -491 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -490 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -471 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -378 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -349 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -167 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -151 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -150 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -147 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -146 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -145 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -144 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -143 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry -142 in table `creature_ai_texts` but not used in EventAI scripts.

2009-10-11 12:07:37 ERROR:CreatureEventAI: Entry 8 in table `creature_ai_summons` but not used in EventAI scripts.

2009-10-11 12:07:37

2009-10-11 12:07:37 >> Loaded 12335 CreatureEventAI scripts

2009-10-11 12:07:37 Initializing Scripts...

2009-10-11 12:07:37

2009-10-11 12:07:37 >>> Scripts Library MaNGOSScript.dll was successfully loaded.

2009-10-11 12:07:37 DEBUG:: Initialize game time and timers

2009-10-11 12:07:37 Starting Map System

2009-10-11 12:07:37 Starting BattleGround System

2009-10-11 12:07:37

2009-10-11 12:07:37 >> Loaded 13 battlegrounds

2009-10-11 12:07:37 Loading Transports...

2009-10-11 12:07:37

2009-10-11 12:07:37 >> Loaded 19 transports

2009-10-11 12:07:37 Deleting expired bans...

2009-10-11 12:07:37 Calculate next daily quest reset time...

2009-10-11 12:07:37 Starting objects Pooling system...

2009-10-11 12:07:37 Starting Game Event system...

2009-10-11 12:07:37 GameEvent 3 "Darkmoon Faire (Terokkar Forest)" started.

2009-10-11 12:07:37 GameEvent 4 "Darkmoon Faire (Elwynn Forest)" started.

2009-10-11 12:07:37 GameEvent 19 "Call to Arms: Warsong Gulch!" started.

2009-10-11 12:07:37 GameEvent 36 "Edge of Madness, Hazza'rah" started.

2009-10-11 12:07:37 WORLD: World initialized

2009-10-11 12:07:37 mangosd process priority class set to HIGH

2009-10-11 12:07:37

2009-10-11 12:07:37

2009-10-11 12:13:33 ERROR:Player::addSpell: Non-existed in SpellStore spell #51379 request, deleting for all characters in `character_spell`.

2009-10-11 12:13:33 ERROR:Not existed achievement criteria 309 data removed from table `character_achievement_progress`.

2009-10-11 12:13:33 ERROR:Not existed achievement criteria 643 data removed from table `character_achievement_progress`.

2009-10-11 12:13:33 ERROR:Not existed achievement criteria 1861 data removed from table `character_achievement_progress`.

2009-10-11 12:13:33 ERROR:Not existed achievement criteria 1862 data removed from table `character_achievement_progress`.

2009-10-11 12:13:33 ERROR:Not existed achievement criteria 1864 data removed from table `character_achievement_progress`.

2009-10-11 12:13:33 ERROR:Not existed achievement criteria 7390 data removed from table `character_achievement_progress`.

2009-10-11 12:14:12 ERROR:Not existed achievement criteria 317 data removed from table `character_achievement_progress`.

2009-10-11 12:14:12 ERROR:Not existed achievement criteria 1866 data removed from table `character_achievement_progress`.

2009-10-11 12:20:55 ERROR:EffectSummonType: Unhandled summon type 209

2009-10-11 12:25:01 ERROR:SESSION: opcode CMSG_MOVE_SPLINE_DONE (0x02C9) have unprocessed tail data (read stop at 0 from 53)

2009-10-11 12:35:53 ERROR:BuildPlayerRepop: player Chikamaru(229) already has a corpse

Link to comment
Share on other sites

  • Replies 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

Does time I tested,

At that time the rogue generated crash when he was ordered to attack <- fixed

DK and freeze the server. <- fixed?

And every time a bot teleports generated crash also killed. <- not fixed (only happens inside instance)

I will now test in 3.2.2a to see it and I report aki later this weekend

fixed rogue crash, some minor DK work & mangos_botguy.sql updated

Link to comment
Share on other sites

I went too compile mangos 8632+ and the latest of playerbot, and had a few compile errors,

..\\..\\src\\game\\PlayerbotAI.cpp(492) : error C2065: 'MOVEMENTFLAG_FLYING2' : undeclared identifier

..\\..\\src\\game\\PlayerbotAI.cpp(504) : error C2065: 'MOVEMENTFLAG_FLYING2' : undeclared identifier

so i removed this

from line #'s 492 , and 504 of playerbotai.cpp

       
m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING2);

and changed it with this

m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING);

so the finel looks like this.

--------------------------- src/game/PlayerbotAI.cpp ---------------------------
index a6ef70f..6afa719 100644
@@ -489,7 +489,7 @@ void PlayerbotAI::HandleBotOutgoingPacket(const WorldPacket& packet)
            uint64 guid = extractGuid(p);
            if (guid != m_bot->GetGUID())
                return;
-            m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING2);
+            m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING);
            //m_bot->SetSpeed(MOVE_RUN, GetMaster()->GetSpeed(MOVE_FLIGHT) +0.1f, true);
            return;
        }
@@ -501,7 +501,7 @@ void PlayerbotAI::HandleBotOutgoingPacket(const WorldPacket& packet)
            uint64 guid = extractGuid(p);
            if (guid != m_bot->GetGUID())
                return;
-            m_bot->m_movementInfo.RemoveMovementFlag(MOVEMENTFLAG_FLYING2);
+            m_bot->m_movementInfo.RemoveMovementFlag(MOVEMENTFLAG_FLYING);
            //m_bot->SetSpeed(MOVE_RUN,GetMaster()->GetSpeedRate(MOVE_RUN),true);
            return;
        }

and it compiled fine after the changes.

Link to comment
Share on other sites

Hi Mates!

Just a lil update. Still working on something to get bots to interact with gameobjects. Also thinking bout a LUA-Addon for the client to manage bots, commands and stuff.

@illustri: erm... did something manage to get your changes into playerbot, yet? otherwise I will do it beside looking after the crash reports.

Have fun

Link to comment
Share on other sites

First Post, First off, Great work on everything guys. From Mangos, to AHBot, to Playerbot.

I've been running Mangos+SD2+UBD+AHOBT for some weeks now for my Family/Wife/3 Kids and enjoying it greatly. I've complied the latest Playerbot from git://github.com/playerbot/mangos.git master and the basics are working. IE can .bot add <character> They follow me around and attack on command.

I know Combat Orders are still new/not fully functioning, I tried to setup my Warrior Alt as a bot and issued a .bot co <Character> tank command, but I got nothing in reply, and doesn't appear to do anything. I set debug whispers to 1 and get no whispers, I notice in PlayerBotAI.cpp there is a SendOrders function what appears to show that it should whisper back a confirmation. But I'm an armature programmer at best. (Enough to compile apply patches etc)

Am I using it right? Does that work yet?

Once again, Great work!

Regards,

WGK

Link to comment
Share on other sites

merged with mangos branch master. updated druid & warlock too :)

EDIT:

@wargameskhaine - sry, i dont use the "tank command" i just read this and will look into it. collinsp implemented that command...speaking of, he started this thread cause yad02 'abandoned' the original playerbot thread and now collinsp is gone?!?!

Link to comment
Share on other sites

Hey guys, i was just wondering if anyone else has been having any similar problems such as this. The Playerbotmgr.cpp seems to be coming up with this error.....

PlayerbotMgr.cpp

..\\..\\src\\game\\PlayerbotMgr.cpp(230) : error C2039: 'GetWorldObject' : is not a member of 'ObjectAccessor'

c:\\ac web mangos hybrid\\src\\game\\ObjectAccessor.h(79) : see declaration of 'ObjectAccessor'

..\\..\\src\\game\\PlayerbotMgr.cpp(230) : error C3861: 'GetWorldObject': identifier not found

Player.cpp

I have successfully made a 3.2.2a server once but the bots caused too many bugs. I have not been able to remake 3.2.2a since then. I returned back to 3.1.3 in wait for any news of a fix. Myself, wife, kids and friends all play with the bots so i am forced to stay 3.1.3 until i get a successful patch of playerbots in. If anyone has had a similar problem with this or some advice as to what i need to do would be greatly appreciated.

As always thank you everyone for your hard work and dedication to the project, we would never got anywhere with out you.

TG

Link to comment
Share on other sites

ok, i have a idea for playerbot progress how about multi-language playerbot. meaning right now the only people playerbot is good for is enUS players, however, if we get some translation patches i think this will increase the amount of contributors/users.

You don't really need to do this actually.....

I used to commit a patch that was supporting for multi-language but somehow someone reverted my changes.

Check where I commit and search for the code then you should find where it reverts.

The patch I made is still working good; works on spells, quests, and mounts.

Link to comment
Share on other sites

Warrior: fixed some wrong spellids & worked on battle stance attacks. Hunter: added misdirection & thanks to blueboy for feed pets patch.

@ckegg - ok, i found your getSpellId locale patch commit. i dont understand exactly what this does for the spell commands? please explain. since we are just sending the commands to the client, instead of the spell numbers, wouldnt this be a client side issue? like only enUS & enGB clients would understand the "heal" command. this is why i thought we needed some translation patches :confused:

Link to comment
Share on other sites

@ckegg - ok, i found your getSpellId locale patch commit. i dont understand exactly what this does for the spell commands? please explain. since we are just sending the commands to the client, instead of the spell numbers, wouldnt this be a client side issue? like only enUS & enGB clients would understand the "heal" command. this is why i thought we needed some translation patches :confused:

Let me explain

First of all, you have to install a enUS dbc, then you can expand your own dbc files in any subfolder like enGB zhTW etc.

Second, Playerbot is storing IDs, not by name. For spells, look into codes, you should find out that there is a function (PlayerbotAI::getSpellId) passing spell name parameter and returning an integer. It is the function searching for a spell in english and return the spell ID. So do quests and items.

So, mangos will use English of course by default, and so do bots you summon (bot is assigned in enUS locale, check HandlePlayerBotLoginCallback() in CharacterHandler.cpp, you will see). Therefore, with my patch, for example zhTW is client #5, and when I login with Mandarin WoW client, mangos will assign zhTW dbc for the client. Whenever you type a spell or a quest in Mandarin language, my patch search for the spell in zhTW dbc file or look for the quest name in locale_quest column 5 in DB, and then return the ID.

Now make sense? :D

Link to comment
Share on other sites

recommitted locale patch by ckegg, some more hunter & warrior work.

@ckegg - wow, thanks for clearing that up i had no idea you could piggyback foreign client dbc on top of enUS dbc! this really is news to me cause i have only used the enUS client ;)

Link to comment
Share on other sites

hi,

thought that i should post this crash report.

Core: 8752

SD2: 1485

YTDB 192

Revision: * * 8752 89b64e1d041611a3d52e16a1e02c726153735fc6
Date 31:10:2009. Time 2:0 
//=====================================================

*** Operation System ***
Microsoft Windows Server 2003 Standard Edition Service Pack 2 (Version 5.2, Build 3790)

//=====================================================
Exception code: C0000005 ACCESS_VIOLATION
Fault address:  0074894C 01:0034794C  ..\\..\\mangos\\bin\\Win32_Release\\mangosd.exe

Registers:
EAX:00000000
EBX:72D9C1A8
ECX:72C3CC20
EDX:00000000
ESI:00000000
EDI:008A0ED0
CS:EIP:001B:0074894C
SS:ESP:0023:0BF78968  EBP:0BF78998
DS:0023  ES:0023  FS:003B  GS:0000
Flags:00010202

Call stack:
Address   Frame     Function      SourceFile
0074894C  00000000  PlayerbotAI::HasAura+C
0074D21B  00000000  PlayerbotAI::CastSpell+16B
0074D054  00000000  PlayerbotAI::CastSpell+A4
0085448A  00000000  PlayerbotDruidAI::DoNextCombatManeuver+2B7A
00749E82  00000000  PlayerbotAI::DoNextCombatManeuver+1C2
0074CC33  00000000  PlayerbotAI::UpdateAI+6A3
004CB081  00000000  Player::Update+EA1
0049D3D9  00000000  Map::Update+D9
004A39A3  00000000  InstanceMap::Update+13
008116CE  00000000  MapInstanced::Update+DE
00603D58  00000000  MapManager::Update+128
005E8397  00000000  World::Update+787
004306EE  00000000  WorldRunnable::run+8E
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E61C8D  00000000  WaitForSingleObject+12
00A79C64  00000000  __WSAFDIsSet+FFFFFFFFFFF84BEC
00AE64DA  00000000  __WSAFDIsSet+FFFFFFFFFFFF1462
00AE269F  00000000  __WSAFDIsSet+FFFFFFFFFFFED627
00600A1A  00000000  WorldSocketMgr::Wait+4A
72FADD04  00000000  0000:00000000 
72FADD04  00000000  0000:00000000 
6C696146  00000000  0000:00000000 
8BFC4D89  FFFFFFFF  0000:00000000 

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
008A1110  00000000  ACE_Based::Thread::Sleep+30
008A72F0  00000000  SqlDelayThread::run+20
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
008A1110  00000000  ACE_Based::Thread::Sleep+30
008A72F0  00000000  SqlDelayThread::run+20
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
008A1110  00000000  ACE_Based::Thread::Sleep+30
008A72F0  00000000  SqlDelayThread::run+20
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
0BF779C0  00000000  0000:00000000 
FF50D845  FFFFFFFF  0000:00000000 

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E4CF8C  00000000  ReadConsoleW+19B
77EB2904  00000000  ReadConsoleA+3B
77E418F4  00000000  ReadFile+A5
78586A93  00000000  realloc+9F7
78586F17  00000000  _read+C0
7854EC7A  00000000  _filbuf+7D
7854E319  00000000  fgets+109
00410408  00000000  CliRunnable::run+B8
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
71B21A03  00000000  0001:00000A03 C:\\WINDOWS\\system32\\MSWSOCK.dll
71C0283C  00000000  select+A1
008D9CC9  00000000  SocketHandler::Select+669
008D9586  00000000  SocketHandler::Select+26
0042C3CF  00000000  RARunnable::run+1FF
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
71B21A03  00000000  0001:00000A03 C:\\WINDOWS\\system32\\MSWSOCK.dll
71C0283C  00000000  select+A1
00A84AE5  00000000  __WSAFDIsSet+FFFFFFFFFFF8FA6D
00AE79AF  00000000  __WSAFDIsSet+FFFFFFFFFFFF2937
00AE8220  00000000  __WSAFDIsSet+FFFFFFFFFFFF31A8
00AE83C8  00000000  __WSAFDIsSet+FFFFFFFFFFFF3350
00ACC13D  00000000  __WSAFDIsSet+FFFFFFFFFFFD70C5
006004C5  00000000  ReactorRunnable::svc+65

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
71B21A03  00000000  0001:00000A03 C:\\WINDOWS\\system32\\MSWSOCK.dll
71C0283C  00000000  select+A1
00A84AE5  00000000  __WSAFDIsSet+FFFFFFFFFFF8FA6D
00AE79AF  00000000  __WSAFDIsSet+FFFFFFFFFFFF2937
00AE8220  00000000  __WSAFDIsSet+FFFFFFFFFFFF31A8
00AE83C8  00000000  __WSAFDIsSet+FFFFFFFFFFFF3350
00ACC13D  00000000  __WSAFDIsSet+FFFFFFFFFFFD70C5
006004C5  00000000  ReactorRunnable::svc+65
========================
Local Variables And Parameters

Call stack:
Address   Frame     Function      SourceFile
0074894C  00000000  PlayerbotAI::HasAura+C
   Local  <user defined> 'iter'
   Local  <user defined> 'this'
punting on symbol spellId
   Local  <user defined> 'player'

0074D21B  00000000  PlayerbotAI::CastSpell+16B
   Local  <user defined> 'this'
punting on symbol spellId
   Local  <user defined> 'pSpell'
punting on symbol targetGUID
   Local  <user defined> 'pTarget'
   Local  <user defined> 'pSpellInfo'

0074D054  00000000  PlayerbotAI::CastSpell+A4
   Local  <user defined> 'this'
punting on symbol spellId
   Local  <user defined> 'target'
punting on symbol rv
punting on symbol oldSel

0085448A  00000000  PlayerbotDruidAI::DoNextCombatManeuver+2B7A
   Local  <user defined> 'this'
   Local  <user defined> 'pTarget'
   Local  <user defined> 'ai'
punting on symbol masterHP
   Local  <user defined> 'pVictim'
   Local  <user defined> 'm_bot'

00749E82  00000000  PlayerbotAI::DoNextCombatManeuver+1C2
   Local  <user defined> 'this'

0074CC33  00000000  PlayerbotAI::UpdateAI+6A3
   Local  <user defined> 'pSpell'
   Local  <user defined> 'this'
   Local  <user defined> 'p_time'
punting on symbol currentTime

004CB081  00000000  Player::Update+EA1
   Local  <user defined> 'this'
punting on symbol p_time
punting on symbol now
   Local  <user defined> 'pet'

0049D3D9  00000000  Map::Update+D9
   Local  <user defined> 'this'
   Local  <user defined> 't_diff'
   Local  <user defined> 'updater'
   Local  <user defined> 'world_object_update'
   Local  <user defined> 'grid_object_update'

004A39A3  00000000  InstanceMap::Update+13
   Local  <user defined> 'this'
   Local  <user defined> 't_diff'

008116CE  00000000  MapInstanced::Update+DE
   Local  <user defined> 'this'
   Local  <user defined> 't'
   Local  <user defined> 'i'

00603D58  00000000  MapManager::Update+128
   Local  <user defined> 'iter'
   Local  <user defined> 'this'
punting on symbol diff

005E8397  00000000  World::Update+787
punting on symbol i
   Local  <user defined> 'this'
punting on symbol diff
   Local  unsigned int 'autobroadcaston' = 0

004306EE  00000000  WorldRunnable::run+8E
punting on symbol diff
   Local  <user defined> 'this'
punting on symbol realCurrTime
punting on symbol realPrevTime
punting on symbol prevSleepTime

008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
punting on symbol param
   Local  <user defined> '_task'

00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C

78543433  00000000  _endthreadex+44

785434C7  00000000  _endthreadex+D8

77E6482F  00000000  GetModuleHandleA+DF

========================
Global Variables

Second one,

Revision: * * 8752 89b64e1d041611a3d52e16a1e02c726153735fc6
Date 31:10:2009. Time 4:37 
//=====================================================

*** Operation System ***
Microsoft Windows Server 2003 Standard Edition Service Pack 2 (Version 5.2, Build 3790)

//=====================================================
Exception code: C0000005 ACCESS_VIOLATION
Fault address:  0074894C 01:0034794C ..\\..\\mangos\\bin\\Win32_Release\\mangosd.exe

Registers:
EAX:00000000
EBX:72DA04F0
ECX:72C9D800
EDX:00000000
ESI:00000000
EDI:008A0ED0
CS:EIP:001B:0074894C
SS:ESP:0023:0BF799F4  EBP:0BF79A24
DS:0023  ES:0023  FS:003B  GS:0000
Flags:00010202

Call stack:
Address   Frame     Function      SourceFile
0074894C  00000000  PlayerbotAI::HasAura+C
0074D21B  00000000  PlayerbotAI::CastSpell+16B
00855298  00000000  PlayerbotDruidAI::DoNextCombatManeuver+3988
00749E82  00000000  PlayerbotAI::DoNextCombatManeuver+1C2
0074CC33  00000000  PlayerbotAI::UpdateAI+6A3
004CB081  00000000  Player::Update+EA1
0049D3D9  00000000  Map::Update+D9
00603D58  00000000  MapManager::Update+128
005E8397  00000000  World::Update+787
004306EE  00000000  WorldRunnable::run+8E
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E61C8D  00000000  WaitForSingleObject+12
00A79C64  00000000  __WSAFDIsSet+FFFFFFFFFFF84BEC
00AE64DA  00000000  __WSAFDIsSet+FFFFFFFFFFFF1462
00AE269F  00000000  __WSAFDIsSet+FFFFFFFFFFFED627
00600A1A  00000000  WorldSocketMgr::Wait+4A
72FB1D04  00000000  0000:00000000 
72FB1D04  00000000  0000:00000000 
6C696146  00000000  0000:00000000 
8BFC4D89  FFFFFFFF  0000:00000000 

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
008A1110  00000000  ACE_Based::Thread::Sleep+30
008A72F0  00000000  SqlDelayThread::run+20
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
008A1110  00000000  ACE_Based::Thread::Sleep+30
008A72F0  00000000  SqlDelayThread::run+20
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E424FD  00000000  Sleep+F
008A1110  00000000  ACE_Based::Thread::Sleep+30
008A72F0  00000000  SqlDelayThread::run+20
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
0BF78A4C  00000000  0000:00000000 
FF50D845  FFFFFFFF  0000:00000000 

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
77E4CF8C  00000000  ReadConsoleW+19B
77EB2904  00000000  ReadConsoleA+3B
77E418F4  00000000  ReadFile+A5
78586A93  00000000  realloc+9F7
78586F17  00000000  _read+C0
7854EC7A  00000000  _filbuf+7D
7854E319  00000000  fgets+109
00410408  00000000  CliRunnable::run+B8
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
71B21A03  00000000  0001:00000A03 C:\\WINDOWS\\system32\\MSWSOCK.dll
71C0283C  00000000  select+A1
008D9CC9  00000000  SocketHandler::Select+669
008D9586  00000000  SocketHandler::Select+26
0042C3CF  00000000  RARunnable::run+1FF
008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C
78543433  00000000  _endthreadex+44
785434C7  00000000  _endthreadex+D8
77E6482F  00000000  GetModuleHandleA+DF

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
71B21A03  00000000  0001:00000A03 C:\\WINDOWS\\system32\\MSWSOCK.dll
71C0283C  00000000  select+A1
00A84AE5  00000000  __WSAFDIsSet+FFFFFFFFFFF8FA6D
00AE79AF  00000000  __WSAFDIsSet+FFFFFFFFFFFF2937
00AE8220  00000000  __WSAFDIsSet+FFFFFFFFFFFF31A8
00AE83C8  00000000  __WSAFDIsSet+FFFFFFFFFFFF3350
00ACC13D  00000000  __WSAFDIsSet+FFFFFFFFFFFD70C5
006004C5  00000000  ReactorRunnable::svc+65

Call stack:
Address   Frame     Function      SourceFile
7C82860C  00000000  KiFastSystemCallRet+0
71B21A03  00000000  0001:00000A03 C:\\WINDOWS\\system32\\MSWSOCK.dll
71C0283C  00000000  select+A1
00A84AE5  00000000  __WSAFDIsSet+FFFFFFFFFFF8FA6D
00AE79AF  00000000  __WSAFDIsSet+FFFFFFFFFFFF2937
00AE8220  00000000  __WSAFDIsSet+FFFFFFFFFFFF31A8
00AE83C8  00000000  __WSAFDIsSet+FFFFFFFFFFFF3350
00ACC13D  00000000  __WSAFDIsSet+FFFFFFFFFFFD70C5
006004C5  00000000  ReactorRunnable::svc+65
========================
Local Variables And Parameters

Call stack:
Address   Frame     Function      SourceFile
0074894C  00000000  PlayerbotAI::HasAura+C
   Local  <user defined> 'iter'
   Local  <user defined> 'this'
punting on symbol spellId
   Local  <user defined> 'player'

0074D21B  00000000  PlayerbotAI::CastSpell+16B
   Local  <user defined> 'this'
punting on symbol spellId
   Local  <user defined> 'pSpell'
punting on symbol targetGUID
   Local  <user defined> 'pTarget'
   Local  <user defined> 'pSpellInfo'

00855298  00000000  PlayerbotDruidAI::DoNextCombatManeuver+3988
   Local  <user defined> 'this'
   Local  <user defined> 'pTarget'
   Local  <user defined> 'ai'
punting on symbol masterHP
   Local  <user defined> 'pVictim'
   Local  <user defined> 'm_bot'

00749E82  00000000  PlayerbotAI::DoNextCombatManeuver+1C2
   Local  <user defined> 'this'

0074CC33  00000000  PlayerbotAI::UpdateAI+6A3
   Local  <user defined> 'pSpell'
   Local  <user defined> 'this'
   Local  <user defined> 'p_time'
punting on symbol currentTime

004CB081  00000000  Player::Update+EA1
   Local  <user defined> 'this'
punting on symbol p_time
punting on symbol now
   Local  <user defined> 'pet'

0049D3D9  00000000  Map::Update+D9
   Local  <user defined> 'this'
   Local  <user defined> 't_diff'
   Local  <user defined> 'updater'
   Local  <user defined> 'world_object_update'
   Local  <user defined> 'grid_object_update'

00603D58  00000000  MapManager::Update+128
   Local  <user defined> 'iter'
   Local  <user defined> 'this'
punting on symbol diff

005E8397  00000000  World::Update+787
punting on symbol i
   Local  <user defined> 'this'
punting on symbol diff
   Local  unsigned int 'autobroadcaston' = 0

004306EE  00000000  WorldRunnable::run+8E
punting on symbol diff
   Local  <user defined> 'this'
punting on symbol realCurrTime
punting on symbol realPrevTime
punting on symbol prevSleepTime

008A0EE9  00000000  ACE_Based::Thread::ThreadTask+19
punting on symbol param
   Local  <user defined> '_task'

00AC14D4  00000000  __WSAFDIsSet+FFFFFFFFFFFCC45C

78543433  00000000  _endthreadex+44

785434C7  00000000  _endthreadex+D8

77E6482F  00000000  GetModuleHandleA+DF

========================
Global Variables

Thanks in advance for any feedback or fixes

Link to comment
Share on other sites

hello there =)

excuse me for posting!

my client is deDE 2.4.3 (*refering to translation*)

i play around with the sources of the trinity version of playerbots.

my WRATH (addon 2) installation will install english Data (dbc) AND German (i can't deselect english),so there was no need for translation before.

now i begun for certain causes (nax :>) using 2.3.4 again and now with bots!

but neither classic nor addon 1 ofdeDE installation will install english data,so i need to translate the strings for the getspellid fct. or just jet the additional english dbcs, but thats not an option for me!

my prob there is just the special characters in deDE such as ö.

i tried different approaches to get the spellid of e.g. "Segen der Könige" like extra variable for tmp_BoK << "Segen der K" << char(148) << "nige" and then getspellid(tmp_BoK) and other ways but until now without success (my bots telling me spellid 0).

next thing when i have access to my src i'll try std::wstring for the tmp_BoK variable

and then something with this: std::locale::global(std::locale("German")); from http://www.highscore.de/cpp/boost/stringverarbeitung.html

but if you have a better idea, please tell me!

thank you!

Link to comment
Share on other sites

now is there a chance to have battle ground bots? I have a low pop server but would like to have available battlegrounds with bots filling the player gaps on both ends

I do not think! PlayerBot and BGBot are two completely different things. PB only responds to your commands, but the BGB would have to act completely alone and would need to have a complicated AI. It would be nice, but probably not in the foreseeable future.

Link to comment
Share on other sites

I'd like to add playerbot to my server, but looking through these threads I don't see a place to get a patch that I can apply to my source.

I'd have a core with several modification, and it seem like to use playerbot I have to clone a previous core with the playerbot mods incorporated. Is there a patch I can git and apply to my current core?

Thanks

Link to comment
Share on other sites

What ist the last known revision of MaNGos working with playerbot? 8781?

I tried 8801 but failed compiling, yesterday.

BTW. how to get older versions from mangos like 8781 with git? With pull I only get the latest one!

2. how to patch correctly? is a patcher needed when using winXP. Thx

Link to comment
Share on other sites

What ist the last known revision of MaNGos working with playerbot? 8781?

I tried 8801 but failed compiling, yesterday.

BTW. how to get older versions from mangos like 8781 with git? With pull I only get the latest one!

2. how to patch correctly? is a patcher needed when using winXP. Thx

Rename objmgr to sObjectMgr in the Botfiles to fix the compile error.

For older git copy mangos git an then type

git reset --hard commitid

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use