Thank you for the expedited reply!
Adding those to the files gave me this on compile?
Error 481 error C2352: 'Bot::GetMaxBots' : illegal call of non-static member function C:\PATH\zone\bot.cpp 9157 1 zone
I added it at the end of Bot.cpp so it shows like this.
auto say_link = linker.GenerateLink();
return say_link;
}
uint8 Bot::GetMaxBots(uint8 level) {
if (level >= 1 && level <= 9)
return 1;
else if (level >= 10 && level <= 19)
return 2;
else if (level >= 20 && level <= 29)
return 3;
else if (level >= 30 && level <= 39)
return 4;
else if (level >= 40 && level <= 64)
return 5;
else if (level >= 65)
return 71;
}
#endif
Last edited by Trackye; 09-18-2015 at 01:39 AM..
Reason: Edited
|