blueboy / portalclassic

playerbot support for C(ontinued)-MaNGOS (classic fork)
GNU General Public License v2.0
18 stars 32 forks source link

Summoning bots is broken #4

Closed cala closed 11 years ago

cala commented 11 years ago

Since a few days, when summoning a bot (either the bot got lost or was logged out in a distant area), the bot appears for a mere second near the player then vanish before appearing again, then vanishing and so on. All the time, the mini map indicates that the bot is very far away. When quitting game and logging in bot instead, the bot is falling : either from high to the ground or through the map (to his/her doom...). I think that might be related to spline and/or mmaps implementation as it worked right before.

EDIT: spline sub system had a important bug fix recently. I'll try merging last core version with portalclassic and if there is no conflict, I'll test if the issue is still here.

blueboy commented 11 years ago

I was experiencing exactly the same issue on my server. I remembered that we had a similiar issue with our 'wotlk' code and BThallid found a solution to this;

https://github.com/blueboy/portalclassic/commit/476f00b2689958bf1d8d92883bc319bb03a491a1

I have tested this with both commandline & botguy summoning. The bots are now directly teleported to the master and not redirected to the bot's last logoff position.

I have also tested the latest core code and unfortunately the lag issue persists (z2147 core).

@EDIT: I have now tested the playerbot code with the latest (z2219) core (after creating new vmaps, mmaps, maps,dbc files) and the lag issue appears to have gone :+1:

cala commented 11 years ago

Just tested a few minutes ago and summoning seem to work again. Thanks ! :+1: (I'm closing the issue)