Movegrp quest command fix
I have seen a few complaints about movegrp not moving the requesting character. Well here is why
Zone\groups.cpp Code:
void Group::TeleportGroup(Mob* sender, int32 zoneID, float x, float y, float z, float heading) This function appears to only be used twice in the code. By QuestManager::movegrp in questmgr.cpp and XS(XS_Group_TeleportGroup) in perl_groups.cpp I do not know where XS_Group_TeleportGroup is used. Can someone enlighten me before I remove (members[i] != sender) and break something? Also what is IPC? I did not see any reference to it in my source. |
Nevermind the IPC question. It appears to be a Unix thing. Sorry, I should have done more searching before asking.
|
Quote:
Quote:
|
Thank you, it makes more sense now.
I probably don't want to mess with the Group::TeleportGroup since it is likely being used. Though I think I may have a fix for the quest initiator not being moved by movegrp. Please note I am at work so this is untested. If someone with quests that use the movegrp function could give this a try I would be grateful. zone\questmgr.cpp Find void QuestManager::movegrp and replace line 10 with the line in red. Line number for whole file is 720 on mine. Code:
void QuestManager::movegrp(int zoneid, float x, float y, float z) { |
Thanks. I tested this and it works fine. It's in Rev87.
|
IPC was basically a system where a character could become a npc. It no longer works and probably should be fixed or removed.
|
All times are GMT -4. The time now is 04:45 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.