![]() |
User::SendUserInfo(bool GMPacket)
I don't know how it works and don't know how to experiment with it but... Is there a way to make 'SendUserInfo' update location information?
I teleportedTo x,y,z but my character still looks like he's in the original location and SendUserInfo doesn't fix that. Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-20-2009, 03:38 PM. Открыть источник. |
User::SendUserInfo(bool GMPacket)
User info is sending position .. but maybe it isn't enough, did you try calling method: User::TeleportToLocation - 0x8151E0 ?
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-20-2009, 04:08 PM. Открыть источник. |
User::SendUserInfo(bool GMPacket)
you prolly updated XYZ in shareddata didn't ya ? :P
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-20-2009, 04:13 PM. Открыть источник. |
User::SendUserInfo(bool GMPacket)
User info is sending position .. but maybe it isn't enough, did you try calling method: User::TeleportToLocation - 0x8151E0 ?
If I use TeleportToLocation(x,y,z) then the problem is targetting. My skill is supposed to teleport to the target and then continue attacking them. With what I've written here: [X] It teleports [X] It attacks target [ ] Keeps pTargetCreature targetted Last one doesn't work. I end up teleporting to the target and start to attack him but targetting status is removed and I have to push esc then target him again to get it to work. pUser->TeleportToLocation(x, y, z); pUser->ChangeTarget(pTargetCreature, true); pUser->SD->nTargetObjId = pTargetCreature->SD->nObjectID; pUser->SendUserInfo(false); Here is the original method that I posted the problem about: pUser->SD->x = x; pUser->SD->y = y; pUser->SD->z = z; pUser->Unlock(); pUser->SendUserInfo(false); Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-20-2009, 04:43 PM. Открыть источник. |
User::SendUserInfo(bool GMPacket)
trying to do shadow step ?
Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-22-2009, 05:54 AM. Открыть источник. |
| All times are GMT. The time now is 18:13. |