Packets

Include Code

include "include/packets";

Enum

PACKET_ID

enum PACKET_ID
    PACKET_FEATURES     := 0xB9,
    PACKET_CLILOC       := 0xC1
endenum

FEATURE_BITS

enum FEATURE_BITS
    FEATURE_CHAT        := 0x0001,
    FEATURE_LBR         := 0x0002,
    FEATURE_AOS         := 0x0004
endenum

SEASONS

enum SEASONS
    SEASON_SPRING := 0,
    SEASON_SUMMER := 1,
    SEASON_FALL := 2,
    SEASON_WINTER := 3,
    SEASON_DESOLATION := 4
endenum

Functions

SendFeatures()

Enable OSI client features like the chat button or LBR graphics.

SendFeatures(who, features);

Parameters

Description

who

The character on which to enable the features

features

The features to enable, see enumeration above for possible features

Return value: No return value

PlayMovingEffectXYZHued()

PlayMovingEffectXYZHued(source, dest, effect, speed, loop:=0, explode:=0, color:=0, translucent:=0);

OpenBrowser()

OpenBrowser( who, link:="" );

PlayerSpeedBoost()

PlayerSpeedBoost( player, toggle := 0 );

DisplayDamage( )

DisplayDamage( damaged, amount );

SendSeasonForPlayer()

SendSeasonForPlayer( who, season );

PlayCharAnim()

PlayCharAnim( who );

FixPacketLength()

FixPacketLength( packetString, byteLength );

Last updated

Was this helpful?