Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2010, 03:57 AM
robinreg
Sarnak
 
Join Date: Feb 2010
Location: California
Posts: 88
Default Compiling errors from the latest source r1575

not sure which build it was from. It's either somewhere between r1572 to r1575

here's the error I got:

botspellsai.cpp
.\botspellsai.cpp(1055) : error C2660: 'EntityList::GetNPCList' : function does not take 0 arguments
.\botspellsai.cpp(1055) : error C2228: left of '.begin' must have class/struct/union
.\botspellsai.cpp(1055) : error C2660: 'EntityList::GetNPCList' : function does not take 0 arguments
.\botspellsai.cpp(1055) : error C2228: left of '.end' must have class/struct/union
bot.cpp
bonuses.cpp
beacon.cpp
attack.cpp
aggro.cpp
AA.cpp
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.30729
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://f:\eqservfiles\trunk\EQEmuServer\zone\ReleaseBots\ BuildLog.htm"
Zone - 4 error(s), 0 warning(s)
Reply With Quote
  #2  
Old 06-27-2010, 07:25 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

The new argument was introduced in r1572
Reply With Quote
  #3  
Old 06-28-2010, 09:29 AM
robinreg
Sarnak
 
Join Date: Feb 2010
Location: California
Posts: 88
Default

ah, wish I know how to fix this.
Reply With Quote
  #4  
Old 06-28-2010, 10:02 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by robinreg View Post
ah, wish I know how to fix this.
Untested, but at line 1055 in zone/botspellsai.cpp, replace

Code:
for(std::list<NPC*>::iterator itr = entity_list.GetNPCList().begin(); itr != entity_list.GetNPCList().end(); itr++) {
with:
Code:
std::list<NPC*> npc_list;
entity_list.GetNPCList(npc_list);
for(std::list<NPC*>::iterator itr = npc_list.begin(); itr != npc_list.end(); itr++) {
Reply With Quote
  #5  
Old 06-28-2010, 03:21 PM
robinreg
Sarnak
 
Join Date: Feb 2010
Location: California
Posts: 88
Default

Thanks Derision, that fixed the compiling errors. =)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:05 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3