Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 20.06.2009, 15:38   #1
goodtimeshaxor
Guest
 
Posts: n/a
Default 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. Открыть источник.
 
Old 20.06.2009, 16:08   #2
kuroi
Guest
 
Posts: n/a
Default 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. Открыть источник.
 
Old 20.06.2009, 16:13   #3
mrmac
Guest
 
Posts: n/a
Default User::SendUserInfo(bool GMPacket)

you prolly updated XYZ in shareddata didn't ya ? :P

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-20-2009, 04:13 PM. Открыть источник.
 
Old 20.06.2009, 16:43   #4
goodtimeshaxor
Guest
 
Posts: n/a
Default 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. Открыть источник.
 
Old 22.06.2009, 05:54   #5
Aldryss
Guest
 
Posts: n/a
Default User::SendUserInfo(bool GMPacket)

trying to do shadow step ?

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 06-22-2009, 05:54 AM. Открыть источник.
 
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:26.