Version 0.1.9

December 31, 2020

UPDATED Set limit on ground items to 65565.
UPDATED ItemRender now have option to render model.
usage ItemRender.visual = "MODEL.3DS";
UPDATED  Add name, mobType parameteres on onMobInteract.
usage onMobInteract(mob, name, type, from, to)

FIXED Equip functions now will check if item exists in player equipment.
FIXED getFont() in Draw class works proper.

ADDED Function to use item by player.
usage useItem(int player, string itemInstance)
ADDED Function to use closest mob.
usage useClosestMob(int player, string mobName, int state)
ADDED Function to attack player visual effect.
usage attackPlayerWithEffect(int playerId, int killerId, int damageType, int damage, bool projectile, int effect, string effectName)
ADDED Function to display video.
usage playVideo(string name)
ADDED SFX/music sound manipulation.
bool isMusicSystemDisabled()
setMusicVolume(float volume) // 0.0 - 1.0
float getMusicVolume()
setSoundVolume(float volume) // 0.0 - 1.0
float getSoundVolume()


July 14, 2020

FIXED Crash when other player shooting arrow/bolts

Version 0.1.8

June 28, 2020

Rewritten animation synchronization
Added new client-side function: switchInterpolation(int type) for switching interpolation methods

New constants especially for this funtion:
DEFAULT_INTERPOLATION (this method is used by default, good for most cases)
OLD_INTERPOLATION (old interpolation method, better than default for DeathMatch servers, can't handle more than 70 players without problem with undoing player position)
NO_INTERPOLATION (it's also good for DeathMatch server, may cause player teleportations in some cases)

Version 0.1.7

May 10, 2020

FIXED Position interpolation (Previously, there was a problem with undoing player position when there were more than 70 people on the server)
FIXED The most common cause of unexpected crashes (probably)
FIXED ItemsGround (previously they were not created sometimes)
FIXED Problem with unexpected starting turning animation
FIXED Fighting animations (now they're much more smooth)
FIXED error squirrel function (previously it wasn't printing message in console under tilde)
FIXED getPlayerScale (client-side, previously it was returning integer value instead of floating point)
FIXED Spawning nameless hero on 0,0,0 position when another player used mob
FIXED Console isn't scale after change resolution
UPDATED httpLib (this can solve problem with "Cannot connect to http server!")
ADDED Full combos sync
ADDED New client-side class for line3d drawing:
Line3d(float x1, float y1, float z1, float x2, float y2, float z2)
bool Line3d.visible
Line3d.setBegin(float x, float y, float z)
Line3d.setEnd(float x, float y, float z)
Line3d.setColor(int r, int g, int b)
table {x, y, z} Line3d.getBegin()
table {x, y, z} Line3d.getEnd()
table {r, g, b} Line3d.getColor()
ADDED New client-side class for line2d drawing:
Line2d(int x1, int y1, int x2, int y2)
bool Line2d.visible
Line2d.setBegin(int x, int y)
Line2d.setEnd(int x, int y)
Line2d.setColor(int r, int g, int b)
table {x, y} Line2d.getBegin()
table {x, y} Line2d.getEnd()
table {r, g, b} Line2d.getColor()
ADDED New client-side class for item rendering:
ItemRender(int x, int y, int width, int height, string itemInstance)
ItemRender.setPosition(int x, int y)
ItemRender.setPositionPx(int x, int y)
ItemRender.setSize(int width, int height)
ItemRender.setSizePx(int width, int height)
table {x, y} ItemRender.getPosition()
table {x, y} ItemRender.getPositionPx()
table {width, height} ItemRender.getSize()
table {width, height} ItemRender.getSizePx()
int ItemRender.rotX
int ItemRender.rotY
int ItemRender.rotZ
int ItemRender.zbias
bool ItemRender.lightingswell
bool ItemRender.visible
ADDED New server-side function:
equipSpell(int pid, int itemId[, int slot])