gargoyle fly and movemode to 'f'

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
guialtran
Grandmaster Poster
Posts: 120
Joined: Wed Jul 30, 2008 12:42 pm

gargoyle fly and movemode to 'f'

Post by guialtran »

how can i mount the packet to make the gargoyle fly?
i would like to know how to change the movemode to 'F'??????

[0xBF] General Information Packet
Packet: 0xBF
Sent By: Both
Size: Variable

Packet Build
BYTE[1] Command "BF"
BYTE[2] Length "0000"
BYTE[2] Subcommand "0000"
BYTE[length-5] Subcommand details "Subcommand 0x32: ???" - >"00000100"+"00" ??????????

Subcommand 0x32: Toggle gargoyle flying
Byte[4] unk1 (always 0x0100)
Byte[2] unk2 (always 0x0)

script
mobile.graphic := 0x029A;// Gargoyle graphic male/female = 0x029a/0x029b
mobile.race:=RACE_GARGOYLE;
var msg := "BF"+"000B"+"0032"+"00000100"+"0000";????????
SendPacket(mobile, msg);

12-03-2009 Turley:
Added: basic gargoyle flying support (new movemode "F")
Fixed: poison status for newer clients
Note: gargoyles can "fly" on tiles with tiledata flag HOVEROVER (MAPDATA_FLAG_OVERFLIGHT)
rebuilding of all realms is required
currently flymode can only be activated clientside (0xBF:0x32) and if race=RACE_GARGOYLE
renamed uo:TILEDATA_FLAG_NODIAGONAL to uo:TILEDATA_FLAG_HOVEROVER
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: gargoyle fly and movemode to 'f'

Post by Turley »

0xbf sub 0x32 is a client side packet you cannot send it...
and the changelog says:
"currently flymode can only be activated clientside"
guialtran
Grandmaster Poster
Posts: 120
Joined: Wed Jul 30, 2008 12:42 pm

Re: gargoyle fly and movemode to 'f'

Post by guialtran »

i would like to know how to change the movemode to 'F'??????
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: gargoyle fly and movemode to 'f'

Post by Turley »

clientside...with 7.x/UOSA client "toggle flying" macro
movemode is readonly http://docs.polserver.com/pol099/objref.php#Character
guialtran
Grandmaster Poster
Posts: 120
Joined: Wed Jul 30, 2008 12:42 pm

Re: gargoyle fly and movemode to 'f'

Post by guialtran »

Harley
Forum Regular
Posts: 360
Joined: Sat Mar 18, 2006 1:41 am

Re: gargoyle fly and movemode to 'f'

Post by Harley »

guialtran, can you help me with it?
I can't understand how to make it((
Post Reply