BotOwner by AccountID instead of CharacterID
I am currently looking for a way to get bots to spawn if the accountID matches instead of the characterID and came to a bit of a pit regarding my meager knowledge of the source.
What i tried was looking into bots.cpp: 1) at the spawn command I disabled the check for owned bot: Code:
if(!strcasecmp(sep->arg[1], "spawn") ) { Code:
void Bot::Spawn(Client* botCharacterOwner, std::string* errorMessage) { Code:
if(this->Save()) can anyone see this endeavour as totally fruitless ? The main idea for my solo server project is to not have to create bots for every character you create over and over again. thanks in advance! |
This one is a little more involved than the other and I'm in the middle of an implementation review.
My guess on the despawn is that something is askew with the instantiated bot..probably not having an owner id..and the it is being marked and processed for de-pop. If I get time, I'll come back to this. |
would be great, thanks :)
in the long run i could see this as a candidate for rule_values |
Code:
if (xy.equals(yz) && yz.equals(yzz)); True |
Quote:
|
All times are GMT -4. The time now is 05:09 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.