0.3.0.1 RC
[BREAKING-CHANGE][REMOVED] ItemsManager
class on both sides, use Daedalus
class instead.
[BREAKING-CHANGE][REMOVED] function startFaceAni
on both sides.
[BREAKING-CHANGE][REMOVED] function getFaceAniName
on both sides.
[BREAKING-CHANGE][REMOVED] function getPlayerFaceAni
on both sides, use getPlayerFaceAnis
function instead.
[BREAKING-CHANGE][REMOVED] Server-side event onPlayerChangeFaceAni
.
[BREAKING-CHANGE][REMOVED] Synchronization face-ani config.
[BREAKING-CHANGE][REMOVED] Client-side class Line
, use drawLine
function instead.
[BREAKING-CHANGE][REMOVED] Client-side class Line2d
, use drawLine
function instead.
[BREAKING-CHANGE][REMOVED] Client-side class Line3d
, use drawLine3d
function instead.
[BREAKING-CHANGE][REMOVED] Client-side function getKeyLetter
, use onKeyInput
event instead.
[BREAKING-CHANGE][REMOVED] Client-side function getKeyLayout
.
[BREAKING-CHANGE][REMOVED] Client-side function setKeyLayout
.
[BREAKING-CHANGE][REMOVED] Client-side event onMobInteract
, use onMobInterStateChange
event instead.
[BREAKING-CHANGE][REMOVED] Client-side event onMobOpen
, use onMobLockableOpen
event instead.
[BREAKING-CHANGE][REMOVED] Client-side event onMobClose
, use onMobLockableClose
event instead.
[BREAKING-CHANGE][REMOVED] Client-side event onKey
, use onKeyDown
event instead.
[BREAKING-CHANGE][REMOVED] Function getPlayerAniId
on both sides, use getPlayerAni
function instead.
[BREAKING-CHANGE][REMOVED] Function playAniId
on both sides, use playAni
function instead.
[BREAKING-CHANGE][REMOVED] Function stopAniId
on both sides, use stopAni
function instead.
[BREAKING-CHANGE][REMOVED] Client-side function getPlayerAniNameById
.
[BREAKING-CHANGE][REMOVED] Client-side function getPlayerAniIdByName
.
[BREAKING-CHANGE][REMOVED] Server-side method ItemsGround::spawn
, use ItemsGround::create
method instead.
[BREAKING-CHANGE][REMOVED] Client-side method Texture::getRect
, use Texture::getUV
method instead.
[BREAKING-CHANGE][REMOVED] Client-side method Texture::setRect
, use Texture::setUV
method instead.
[BREAKING-CHANGE][REMOVED] Client-side method Texture::getRectPx,
use Texture::getUV
method instead.
[BREAKING-CHANGE][REMOVED] Client-side method Texture::setRectPx
, use Texture::setUV
method instead.
[BREAKING-CHANGE][REMOVED] Client-side field Draw.alpha
, use Draw.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side field Draw::getColor
, use Draw.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side field Draw::setColor
, use Draw.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side field Draw3d.alpha
, use Draw3d.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side field Draw3d::getColor
, use Draw3d.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side field Draw3d::setColor
, use Draw3d.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side field Texture.alpha
, use Texture.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side field Texture::getColor
, use Draw.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side field Texture::setColor
, use Draw.color
field instead.
[BREAKING-CHANGE][REMOVED] Client-side function enableEvent_Render
, use toggleEvent
function instead.
[BREAKING-CHANGE][REMOVED] Client-side function enableEvent_RenderFocus
, use toggleEvent
function instead.
[BREAKING-CHANGE][REMOVED] Server-side function enableEvent_onTick
, use toggleEvent
function instead.
[BREAKING-CHANGE][REMOVED] Shared field DamageDescription.item_id
.
[BREAKING-CHANGE][UPDATED] function giveItem
on both sides. The function will now accept string
as a second argument (itemInstance) instead of int
.
[BREAKING-CHANGE][UPDATED] Replaced items.xml
file with data.xml
, this file can also be generated via client-side command generate data
.
[BREAKING-CHANGE][UPDATED] Replaced bans.xml
file with bans.json
.
[BREAKING-CHANGE][UPDATED] Client-side event onAnim
will now use string
(aniName) as an argument instead of int
(aniId).
[BREAKING-CHANGE][UPDATED] Client-side event onSink
should now be cancelled, eventValue
will no longer work for it.
[BREAKING-CHANGE][UPDATED] Renamed client-side event onMouseClick
to onMouseDown
.
[BREAKING-CHANGE][UPDATED] Renamed client-side event onMouseRelease
to onMouseUp
.
[BREAKING-CHANGE][UPDATED] Created item grounds on server side will now have physics disabled
by default.
[BREAKING-CHANGE][UPDATED] Renamed server-side method ItemsGround::id
to ItemsGround::getById
.
[BREAKING-CHANGE][UPDATED] Client-side event onTakeItem
arguments (Item
item, bool
synchronized).
[BREAKING-CHANGE][UPDATED] Client-side event onDropItem
arguments (Item
item, bool
synchronized).
[BREAKING-CHANGE][UPDATED] Client-side function getItemBySlot
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getEq
will now return array of item objects.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerArmor
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerHelmet
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerShield
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerMeleeWeapon
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerRangedWeapon
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerAmulet
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerRing
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerBelt
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerSpell
will now return item object.
[BREAKING-CHANGE][UPDATED] Client-side event onEquip
will now have item object
as argument.
[BREAKING-CHANGE][UPDATED] Client-side event onUnequip
will now have item object
as argument.
[BREAKING-CHANGE][UPDATED] Client-side event onPlayerUseItem
will now have item object
as argument.
[BREAKING-CHANGE][UPDATED] Client-side event onPlayerSpellSetup
will now have item object
as argument.
[BREAKING-CHANGE][UPDATED] Client-side event onPlayerSpellCast
will now have item object
as argument.
[BREAKING-CHANGE][UPDATED] Client-side event onPlayerShoot
will now have item object
as argument.
[BREAKING-CHANGE][UPDATED] Renamed shared function getStackTop
to getstacktop
.
[BREAKING-CHANGE][UPDATED] From now on every function that was returning a position will return a Vec2i
, Vec2
, Vec3
object.
[BREAKING-CHANGE][UPDATED] From now on every function that was returning a color will return a Color
object.
[BREAKING-CHANGE][UPDATED] Client-side function getPlayerReadiedWeapon
will now return item object
instead of string
itemInstance.
[BREAKING-CHANGE][UPDATED] Client-side onWorldChange
event has additional parameter (waypoint).
[BREAKING-CHANGE][UPDATED] Client-side onPlayerChangeWorld
event has additional parameter (waypoint).
[BREAKING-CHANGE][REPLACED] regexp engine with ECMASScript
compatible, that means that some of the regexp flags that squirrel wasn't supporting will now be available. This change has been tagged as potential breaking change, because some of the regular expressions might now behave differently (most of them should work fine).
[BREAKING-CHANGE][ADDED] (munition) argument for server-side event onPlayerShoot
.
[FIXED] Client-side event onUnequip
not being called for torches, rings, amulets, belts.
[FIXED] Internal time inaccuracies that could lead to imprecise execution of the timer.
[FIXED] Client-side event onMouseMove
swapped arguments, now x
will represent the x axis
movement and y
will represent the y axis
movement.
[FIXED] sscanf
function on both sides. When passing spaces, the conversion to decimal
or float
arguments was passing and the arguments had odd values. Now the invalid conversion will return null
.
[FIXED] Some of the unsynced items weren't removed from the world during load.
[FIXED] gameAbnormalExit
gothic.ini option will be set to 0
while pressing CTRL+C
in debug external console.
[FIXED] Client-side event onRenderFocus
not working properly when target has empty name.
[FIXED] Crash while closing up inventory during raining while using dx11
modification.
[FIXED] Incorrect values returned by the client-side functions textGetWidth
, textGetWidthPx
for text that contained whitespace characters.
[FIXED] Incorrect values returned by the client-side fields Draw.width
, Draw.widthPx
for text that contained whitespace characters.
[FIXED] Incorrect display of splash screen while launching game with union
modification.
[FIXED] Bug with caching mouse input movement while player controls were disabled (using disableControls
). Which caused camera to move unintentionally.
[FIXED] chat input will no longer allow typing the ASCII control characters
.
[FIXED] Incorrect values returned by server-side function getPlayerVisual
when player instance was different than PC_HERO
.
[FIXED] Bug while downloading addons from local external http server that were located in subdirectory.
[FIXED] Game bug while loading the same world twice, static mesh wasn't loaded, now loading the same world will work as expected.
[FIXED] Vec2
multiplication causing assertion.
[FIXED] Vec3
multiplication causing assertion.
[FIXED] Vec4
multiplication causing assertion.
[FIXED] Mat3
multiplication causing assertion.
[FIXED] Mat4
multiplication causing assertion.
[FIXED] Quat
multiplication causing assertion.
[FIXED] Squirrel API sq_cmp
function will now return -2
if error gets thrown.
[FIXED] Cirtical bug with removeEventHandler
called inside caller event. Which resulted in skipped event handler calls.
[FIXED] Support for WINE
, from now on getPlayerSerial
function might return empty string
for players that can't generate unique serial.
[FIXED] Client-side Vob.matrix
field setter not working properly (sometimes vob that matrix got updated were invisible under certain camera angles).
[FIXED] Synchronization of focus target while casting magic in non system pack version.
[FIXED] findNearbyPlayers function not working properly when using small search distance.
[FIXED] Game bug with not removing fight overlays, e.g: setting fight mode from warrior overlay
to novice overlay
.
[FIXED] TALENT_PICKPOCKET_UNUSED
representing TALENT_PICKPOCKET
, now constants are treated properly (previously they were swapped).
[FIXED] Bug with draw weapon action for remote NPCs, which could never end, due to NPC falling.
[FIXED] Bug with not refreshing local NPC grid after player was teleported.
[FIXED] Bug with not invalidating bot state after respawn on client-side, which resulted in invalid state on server-side.
[FIXED] Memory leak associated with G2O callback/timers, when object were allocated or stored.
[FIXED] Bug with camera that sometimes causes to camera slowly approaching player, after sudden teleport on far distance, instead of being teleported along.
[FIXED] Crash while casting spell from one time scroll.
[FIXED] Bug with armor not being equipped correctly for client-side NPCs during spawn.
[FIXED] Tracking unequipping shields while equipping two handed melee weapon.
[FIXED] Texture.rotation
viewport not being set correctly for rotated textures.
[FIXED] Shared function removeEventHandler
not working correctly with multiple handlers.
[FIXED] Server-side function getPlayerMana
returning incorrect value.
[FIXED] Server-side events onPlayerChangeMana
, onPlayerChangeMaxMana
not being called.
[FIXED] Client-side event onWorldEnter
not being called for the first time.
[FIXED] Shared function callEvent
not working on coroutines.
[FIXED] One pixel gap on texture width/height
when texture was being displayed with fullscreen dimensions
.
[REMOVED] Fast chat input clear while holding backspace for longer than 1500 miliseconds.
[UPDATED] Client-side event onPaste
will now be triggered even if chat input isn't opened.
[UPDATED] Server-side function kick
now has optional arguments.
[UPDATED] Server-side function ban
now has optional arguments.
[UPDATED] Client-side constants HUD_*
values were changed to bit fields.
[UPDATED] Client-side function setHudMode
now support bit fields.
[UPDATED] Disabled game logic responsible for changing weather type depenging on the music zone name (if music zone contained "_NCI"
or "_NCO"
then weather type was set to snow, otherwise rain.
[BREAKING-CHANGE][UPDATED] From now on methods like: Vob::getRotation
and Camera::getRotation
will return a rotation that might not be the same as the set one (returned rotation will be the same, but it might use different axis representation).
[UPDATED] Shared function hexToRgb now supports 7
, 8
characters length string hex values, e.g: "AABBCCDD"
.
[UPDATED] Squirrel errors are more descriptive/readable, you can also go to specific file/line where error occurs by running server in VS:C terminal.
[UPDATED] Enabled Windows 10 ANSI support
on server console.
[UPDATED] Remote NPCs state on server-side, will now be only updated after host player acknowledge it. Which means, that for example setting weapon mode, will take effect only after action will be finished on host player.
[UPDATED] Client-side and server-side function setPlayerAngle
, which takes now one extra optional argument (interpolate), used to smootly interpolate NPC while changing angle.
[UPDATED] Server-side function npcAttackMelee
, which takes now one extra optional argument turn, used enable/disable turning to enemy while attacking.
[UPDATED] Server-side function npcAttackRanged
, which takes now one extra optional argument turn, used enable/disable turning to enemy while attacking.
[UPDATED] Server-side function npcSpellCast
, which takes now one extra optional argument turn, used enable/disable turning to enemy while attacking.
[UPDATED] Client-side events onPlayerCreate
and onPlayerDestroy
are now also called for remote NPCs.
[UPDATED] Invoking server-side event onNpcActionFinished
, when clearing actions queue with result set to false.
[UPDATED] server.log
file will now be updated immediately.
[UPDATED]
[UPDATED] All item constants are now shared.
[UPDATED] Client crash reporting system drdump
was replaced with sentry-native
.
[UPDATED] Client-side onWorldChange
event can now be cancelled.
[UPDATED] Server-side onPlayerChangeWorld
event can now be cancelled.
[UPDATED] Client-side event onRenderFocus
event is now enabled by default.
[UPDATED] Client-side event onRender
event is now enabled by default.
[UPDATED] Client-side event onTick
event is now enabled by default.
[ADDED] Client-side console command generate data
for generating game_dir/Multiplayer/data.xml
file that will contain metadata required by the g2o server.
[ADDED] Loading of <data src="" />
file in server config.
[ADDED] Server-side Daedalus class for managing querying informations from instances.xml file.
[ADDED] optional argument (aniName) for stopFaceAni
function on both sides.
[ADDED] function getPlayerFaceAnis
on both sides.
[ADDED] server-side event onPlayerToggleFaceAni
.
[ADDED] Client-side function drawLine
.
[ADDED] Client-side function drawLine3d
.
[ADDED] Client-side function disableHumanAI
for controlling hero movement control logic.
[ADDED] field Packet.bitsUsed
on both sides.
[ADDED] field Packet.bytesUsed
on both sides.
[ADDED] Client-side function getKeyboardCodePage
.
[ADDED] Client-side function getKeyboardLayout
.
[ADDED] Client-side function getKeyboardLocaleName
.
[ADDED] Client-side function getKeyboardLangName
.
[ADDED] Client-side event onKeyInput
.
[ADDED] Client-side event onChangeKeyboardLayout
.
[ADDED] Client-side event onMobInterStartInteraction
.
[ADDED] Client-side event onMobInterStopInteraction
.
[ADDED] Client-side event onMobInterStateChange
.
[ADDED] Client-side event onPlayerInterrupt
.
[ADDED] Client-side event onMobLockableOpen
.
[ADDED] Client-side event onMobLockableClose
.
[ADDED] Server-side event onBan
.
[ADDED] Server-side event onUnban
.
[ADDED] Server-side function addBan
.
[ADDED] Server-side function removeBan
.
[ADDED] Server-side function getBans
.
[ADDED] Vob.matrix
setter, because dx11 doesn't like direct matrix manipulation.
[ADDED] Client-side event onKeyUp
.
[ADDED] Configuration node <tickrate-limit>60</tickrate-limit>
to limit server ticks per second in order to safe some CPU cycles.
[ADDED] Client-side event onWindowFocus
.
[ADDED] Client-side event onPortalChange
.
[ADDED] Client-side field Vob.sectorName
.
[ADDED] Support for 32-bit
BGRA8888 texture format. Please note, that Gothic natively not support auto conversion from this format to .TEX (compiled). Use external tools like zTEXiPy to compile texture.
[ADDED] Client-side function isKeyLocked
.
[ADDED] Client-side class MobLadder
.
[ADDED] Client-side method Sky::setPlanetTxt
.
[ADDED] Client-side event onMusicZoneChange
.
[ADDED] Server-side method ItemsGround::create
for creating ground items on the world.
[ADDED] Client-side event onItemGroundCreate
.
[ADDED] Client-side event onItemGroundDestroy
.
[ADDED] Client-side event onItemsGroundDestroy
.
[ADDED] Client-side class ItemGround
.
[ADDED] Client-side field ItemGround.id
.
[ADDED] Client-side field ItemGround.item
.
[ADDED] Client-side class ItemsGround
.
[ADDED] Client-side method ItemsGround::getById
.
[ADDED] Client-side method ItemsGround::getByItem
.
[ADDED] Client-side class Item
.
[ADDED] Client-side field Item.instance
.
[ADDED] Client-side field Item.idx
.
[ADDED] Client-side field Item.name
.
[ADDED] Client-side field Item.nameID
.
[ADDED] Client-side field Item.hitp
.
[ADDED] Client-side field Item.max_hitp
.
[ADDED] Client-side field Item.mainflag
.
[ADDED] Client-side field Item.flags
.
[ADDED] Client-side field Item.weight
.
[ADDED] Client-side field Item.value
.
[ADDED] Client-side field Item.damageTypes
.
[ADDED] Client-side field Item.wear
.
[ADDED] Client-side field Item.nutrition
.
[ADDED] Client-side field Item.magic
.
[ADDED] Client-side field Item.owner
.
[ADDED] Client-side field Item.ownerGuild
.
[ADDED] Client-side field Item.disguiseGuild
.
[ADDED] Client-side field Item.file
.
[ADDED] Client-side field Item.visual_change
.
[ADDED] Client-side field Item.effectName
.
[ADDED] Client-side field Item.visual_skin
.
[ADDED] Client-side field Item.scemeName
.
[ADDED] Client-side field Item.material
.
[ADDED] Client-side field Item.munition
.
[ADDED] Client-side field Item.spell
.
[ADDED] Client-side field Item.range
.
[ADDED] Client-side field Item.mag_circle
.
[ADDED] Client-side field Item.description
.
[ADDED] Client-side field Item.inv_zbias
.
[ADDED] Client-side field Item.inv_rotx
.
[ADDED] Client-side field Item.inv_roty
.
[ADDED] Client-side field Item.inv_rotz
.
[ADDED] Client-side field Item.inv_animate
.
[ADDED] Client-side field Item.amount
.
[ADDED] Client-side method Item::getDamage
.
[ADDED] Client-side method Item::getProtection
.
[ADDED] Client-side method Item::getCondAtr
.
[ADDED] Client-side method Item::getCondValue
.
[ADDED] Client-side method Item::getChangeAtr
.
[ADDED] Client-side method Item::getChangeValue
.
[ADDED] Client-side method Item::getText
.
[ADDED] Client-side method Item::getCount
.
[ADDED] Client-side method Item::setDamage
.
[ADDED] Client-side method Item::setProtection
.
[ADDED] Client-side method Item::setCondAtr
.
[ADDED] Client-side method Item::setCondValue
.
[ADDED] Client-side method Item::setChangeAtr
.
[ADDED] Client-side method Item::setChangeValue
.
[ADDED] Client-side method Item::setText
.
[ADDED] Client-side method Item::setCount
.
[ADDED] Client-side constant ITEM_CAT_NONE
.
[ADDED] Client-side constant ITEM_CAT_NF
.
[ADDED] Client-side constant ITEM_CAT_FF
.
[ADDED] Client-side constant ITEM_CAT_MUN
.
[ADDED] Client-side constant ITEM_CAT_ARMOR
.
[ADDED] Client-side constant ITEM_CAT_FOOD
.
[ADDED] Client-side constant ITEM_CAT_DOCS
.
[ADDED] Client-side constant ITEM_CAT_POTION
.
[ADDED] Client-side constant ITEM_CAT_LIGHT
.
[ADDED] Client-side constant ITEM_CAT_RUNE
.
[ADDED] Client-side constant ITEM_CAT_MAGIC
.
[ADDED] Client-side constant ITEM_FLAG_DAG
.
[ADDED] Client-side constant ITEM_FLAG_SWD
.
[ADDED] Client-side constant ITEM_FLAG_AXE
.
[ADDED] Client-side constant ITEM_FLAG_2HD_SWD
.
[ADDED] Client-side constant ITEM_FLAG_2HD_AXE
.
[ADDED] Client-side constant ITEM_FLAG_SHIELD
.
[ADDED] Client-side constant ITEM_FLAG_BOW
.
[ADDED] Client-side constant ITEM_FLAG_CROSSBOW
.
[ADDED] Client-side constant ITEM_FLAG_RING
.
[ADDED] Client-side constant ITEM_FLAG_AMULET
.
[ADDED] Client-side constant ITEM_FLAG_BELT
.
[ADDED] Client-side constant ITEM_FLAG_DROPPED
.
[ADDED] Client-side constant ITEM_FLAG_MI
.
[ADDED] Client-side constant ITEM_FLAG_MULTI
.
[ADDED] Client-side constant ITEM_FLAG_NFOCUS
.
[ADDED] Client-side constant ITEM_FLAG_CREATEAMMO
.
[ADDED] Client-side constant ITEM_FLAG_NSPLIT
.
[ADDED] Client-side constant ITEM_FLAG_DRINK
.
[ADDED] Client-side constant ITEM_FLAG_TORCH
.
[ADDED] Client-side constant ITEM_FLAG_THROW
.
[ADDED] Client-side constant ITEM_FLAG_ACTIVE
.
[ADDED] Client-side constant ITEM_WEAR_NO
.
[ADDED] Client-side constant ITEM_WEAR_TORSO
.
[ADDED] Client-side constant ITEM_WEAR_HEAD
.
[ADDED] Client-side constant ITEM_WEAR_LIGHT
.
[ADDED] Client-side method Daedalus::call
.
[ADDED] Client-side method DaedalusSymbol::getValue
for instances (userpointer type).
[ADDED] Client-side method DaedalusSymbol::setValue
for instances (userpointer type).
[ADDED] Shared function regexp.captureall
for easier capturing all of the matches for regular expression.
[ADDED] Shared function min
.
[ADDED] Shared function max
.
[ADDED] Shared function clamp
.
[ADDED] Shared function random
.
[ADDED] Shared function randomseed
.
[ADDED] Shared function getdefaultdelegate
.
[ADDED] Client-side class Color
.
[ADDED] Client-side field Draw.color
for manipulating RGBA color.
[ADDED] Client-side field Draw3d.color
for manipulating RGBA color.
[ADDED] Client-side field Texture.color
for manipulating RGBA color.
[ADDED] Shared field DamageDescription.bone
.
[ADDED] Client-side field MobInter.conditionFunc
.
[ADDED] Shared function round
.
[ADDED] Client-side function getKeyDelayFirst
.
[ADDED] Client-side function setKeyDelayFirst
.
[ADDED] Client-side function getKeyDelayRate
.
[ADDED] Client-side function setKeyDelayRate
.
[ADDED] Client-side constant KEY_DELAY_GAME
.
[ADDED] Client-side constant KEY_DELAY_SYSTEM
.
[ADDED] Client-side function chatInputSetCaretPosition
.
[ADDED] Client-side function chatInputGetCaretPosition
.
[ADDED] Shared function geterrorhandler
.
[ADDED] Server-side constants ATTACK_RUN
, ATTACK_FORWARD
, ATTACK_LEFT
, ATTACK_RIGHT
for remote NPC attack melee.
[ADDED] Shared constants ACTION_CLEAR_QUEUE
, ACTION_APPLY_OVERLAY
, ACTION_REMOVE_OVERLAY
, ACTION_PLAY_ANI
, ACTION_STOP_ANI
, ACTION_EQUIP_ITEM
, ACTION_UNEQUIP_ITEM
, ACTION_WEAPON_MODE
, ACTION_DRAW_WEAPON
, ACTION_REMOVE_WEAPON
, ACTION_USE_ITEM
, ACTION_USE_ITEM_TO_STATE
, ACTION_READY_SPELL
, ACTION_UNREADY_SPELL
, ACTION_ATTACK_MELEE_WEAPON
, ACTION_ATTACK_RANGED_WEAPON
, ACTION_SPELL_CAST
, ACTION_USE_MOB_SCHEME
, ACTION_SHOOT_AT
, ACTION_START_AIM_AT
, ACTION_STOP_AIM_AT
, ACTION_SCRIPT
.
[ADDED] NpcAction
class on both sides to create script NPC actions. Custom actions are automatically registered, so class order in scripts is important! Maximum possible script actions is 16384
.
[ADDED] Client-side function getNpcActionType
.
[ADDED] Client-side function getNpcAction
.
[ADDED] Client-side function getNpcActions
.
[ADDED] Client-side function getNpcActionsCount
.
[ADDED] Client-side function getNpcLastActionId
.
[ADDED] Client-side function isNpcActionFinished
.
[ADDED] Server-side function setNpcHostPlayer
.
[ADDED] Server-side function clearNpcActions
.
[ADDED] Server-side function pushNpcAction
.
[ADDED] Server-side function getNpcAction
.
[ADDED] Server-side function getNpcActions
.
[ADDED] Server-side function getNpcActionsCount
.
[ADDED] Server-side function getNpcLastActionId
.
[ADDED] Server-side function isNpcActionFinished
.
[ADDED] Server-side function npcUseClosestMob
.
[ADDED] Client-side event onNpcActionRecv
.
[ADDED] Client-side event onNpcActionFinished
.
[ADDED] Server-side event onNpcCreated
.
[ADDED] Server-side event onNpcDestroyed
.
[ADDED] Server-side event onNpcChangeHostPlayer
.
[ADDED] Server-side event onNpcActionSent
.
[ADDED] Server-side event onNpcActionFinished
.
[ADDED] Server-side function serverLog
.
[ADDED] Client-side function isHumanAIDisabled
.
[ADDED] Client-side constant VOB_ITEM
.
[ADDED] Shared function getstacksize
.
[ADDED] Client-side event onSoundVolumeChange
.
[ADDED] Client-side event onMusicVolumeChange
.
[ADDED] Client-side field Vob.staticVob
.
[ADDED] Server sentry-native
crash reporting system.
[ADDED] Client-side field Vob.rigidBody
.
[ADDED] Client-side class RigidBody
.
[ADDED] Client-side constant RIGIDBODY_MODE_FLY
.
[ADDED] Client-side constant RIGIDBODY_MODE_SLIDE
.
[ADDED] Client-side field RigidBody.mass
.
[ADDED] Client-side field RigidBody.massInv
.
[ADDED] Client-side field RigidBody.position
.
[ADDED] Client-side field RigidBody.velocity
.
[ADDED] Client-side field RigidBody.impulse
.
[ADDED] Client-side field RigidBody.force
.
[ADDED] Client-side field RigidBody.gravityScale
.
[ADDED] Client-side field RigidBody.slideDir
.
[ADDED] Client-side field RigidBody.slideAngle
.
[ADDED] Client-side field RigidBody.gravityOn
.
[ADDED] Client-side field RigidBody.collisionHad
.
[ADDED] Client-side field RigidBody.mode
.
[ADDED] Client-side method RigidBody::applyForce
.
[ADDED] Client-side method RigidBody::applyImpulse
.
[ADDED] Client-side event onPlayerAnimEventTag
.
[ADDED] Shared function toggleEvent
.
[ADDED] Shared field DamageDescription.item_instance
.
[ADDED] Support for passing additional params in g2o://
URL protocol.
[ADDED] Client-side function getURLProtocolParams
.
[ADDED] Ability to override the context via function.call
, function.acall
methods or rawcall
operator on callEvent
function for called handlers.
[ADDED] Ability to override the context via function.call
, function.acall
methods or rawcall
operator on setTimer
function for called handlers.
[ADDED] Client-side constants BLOOD_MODE_NONE
, BLOOD_MODE_PARTICLES
, BLOOD_MODE_DECALS
, BLOOD_MODE_TRAILS
, BLOOD_MODE_AMPLIFICATION
.
[ADDED] Client-side constants COLLISION_OBJECT_UNDEF
, COLLISION_OBJECT_LEVEL_POLYS
, COLLISION_OBJECT_CHARACTER
, COLLISION_OBJECT_POINT
, COLLISION_OBJECT_PROJECTILE
, COLLISION_OBJECT_COMPLEX
.
[ADDED] Client-side field Vob::setCollisionObject
.
[ADDED] Client-side field Vob::getCollisionObject
.
[ADDED] Client-side class CollisionReport
.
[ADDED] Client-side event onVobCollisionResponse
.
0.3.0.2 RC
[REMOVED] sentry crash reporter for the server due to OpenSSL version mismatch
issues (crashes
with MySQL module
).
[FIXED] Player position being changed before world change would start.
[FIXED] Shared function removeEventHandler
not working properly.
0.3.0.3 RC
[FIXED] Texture.rotation
not always rendering full rectangle.
[FIXED] Crash during cast of spells that don't have targets (e.g: light
).
[FIXED] Windows 7 support
removed by accident.
0.3.0.4 RC
[BREAKING CHANGE][UPDATED] Client-side function getNearestWaypoint
now requires passing x
,y
,z
arguments.
[BREAKING CHANGE][UPDATED] Client-side function getNextNearestWaypoint
now requires passing x
,y
,z
arguments.
[BREAKING CHANGE][UPDATED] Loading wayfile.xml now only requires src
attribute, e.g: <wayfile src="newworld.xml" />
[BREAKING CHANGE][UPDATED] TALENT_*
constant values.
[BREAKING CHANGE][UPDATED] Function getPlayerTalent
will now return int
instead of bool
on both sides.
[BREAKING CHANGE][UPDATED] Function setPlayerTalent
will now accept int
instead of bool
on both sides.
[DEPRECATED] Function getPlayerMagicLevel
on both sides.
[DEPRECATED] Function setPlayerMagicLevel
on both sides.
[RESTORED] Sentry crash handler on server-side.
[FIXED] A*
algorithm used by the server-side Way
class, now it will create the same path as the client-side Way
class.
[UPDATED] Way
class constructor won't throw error
when path between two waypoints doesn't exists on both sides.
[ADDED] Missing sqstd
functions into HSQAPI
struct.
[ADDED] Client side console command generate wayfile
for generating waypoint files for server.
[ADDED] Shared constant TALENT_1H
[ADDED] Shared constant TALENT_2H
[ADDED] Shared constant TALENT_BOW
[ADDED] Shared constant TALENT_CROSSBOW
[ADDED] Shared constant TALENT_MAGE
[ADDED] Shared constant TALENT_MAX
[ADDED] Client side class Console
[ADDED] Client-side method Console::print
[ADDED] Client-side class Line
[ADDED] Client-side field Line.visible
[ADDED] Client-side field Line.color
[ADDED] Client-side method Line::top
[ADDED] Client-side method Line::getBeginPosition
[ADDED] Client-side method Line::setBeginPosition
[ADDED] Client-side method Line::getBeginPositionPx
[ADDED] Client-side method Line::setBeginPositionPx
[ADDED] Client-side method Line::getEndPosition
[ADDED] Client-side method Line::setEndPosition
[ADDED] Client-side method Line::getEndPositionPx
[ADDED] Client-side method Line::setEndPositionPx