Game Server Function List Overview
Game Server Function List Overview
GetMaxIndex()
GetMinUserIndex()
GetMaxUserIndex()
GetMinMonsterIndex()
GetMaxMonsterIndex()
GetGameServerCode()
GetGameServerVersion()
GetGameServerProtocol()
GetGameServerCurUser()
GetGameServerMaxUser()
GetObjectConnected()
GetObjectIpAddress()
GetObjectHardwareId()
GetObjectLang() - NEW
GetObjectType()
GetObjectAccount()
GetObjectPassword()
GetObjectName()
GetObjectPersonalCode()
GetObjectClass()
GetObjectChangeUp()
GetObjectLevel()
GetObjectLevelUpPoint()
GetObjectMoney()
GetObjectStrength()
GetObjectDexterity()
GetObjectVitality()
GetObjectEnergy()
GetObjectLeadership()
GetObjectExtraStrength()
GetObjectExtraDexterity()
GetObjectExtraVitality()
GetObjectExtraEnergy()
GetObjectExtraLeadership()
GetObjectDefaultStrength()
GetObjectDefaultDexterity()
GetObjectDefaultVitality()
GetObjectDefaultEnergy()
GetObjectDefaultLeadership()
GetObjectLive()
GetObjectLife()
GetObjectMaxLife()
GetObjectMana()
GetObjectMaxMana()
GetObjectBP()
GetObjectMaxBP()
GetObjectShield()
GetObjectMaxShield()
GetObjectPKCount()
GetObjectPKLevel()
GetObjectPKTimer()
GetObjectMap()
GetObjectMapX()
GetObjectMapY()
GetObjectAuthority()
GetObjectPartyNumber()
GetObjectGuildNumber()
GetObjectGuildStatus()
GetObjectGuildName()
GetObjectGuildRelationship()
GetObjectGuildUnionNumber()
GetObjectGuildUnionName()
GetObjectChange()
GetObjectInterface()
GetObjectMasterLevel()
GetObjectMasterPoint()
GetObjectAccountLevel()
GetObjectAccountExpireDate()
GetObjectReset()
GetObjectMasterReset()
GetObjectGensRank()
GetObjectGensSymbol()
GetObjectGensFamily()
GetObjectGensContribution()
GetObjectCSGuildSide()
GetObjectOfflineFlag()
GetObjectIndexByName()
SetObjectLevel()
SetObjectLevelUpPoint()
SetObjectMoney()
SetObjectStrength()
SetObjectDexterity()
SetObjectVitality()
SetObjectEnergy()
SetObjectLeadership()
SetObjectChatLimitTime()
SetObjectPKCount()
SetObjectPKLevel()
SetObjectPKTimer()
SetObjectMap()
SetObjectMapX()
SetObjectMapY()
SetObjectMasterLevel()
SetObjectMasterPoint()
ChatTargetSend()
CommandCheckGameMasterLevel()
CommandGetArgNumber()
CommandGetArgString()
CommandSend()
ConfigReadNumber()
ConfigReadString()
ConfigSaveString()
EffectAdd()
EffectDel()
EffectCheck()
EffectClear()
GetItemName()
GetMapName()
GetMonsterName()
FireworksSend()
InventoryGetWearSize()
InventoryGetMainSize()
InventoryGetFullSize()
InventoryGetItemTable()
InventoryGetItemIndex()
InventoryGetItemCount()
InventoryDelItemIndex()
InventoryDelItemCount()
InventoryGetFreeSlotCount()
InventoryCheckSpaceByItem()
InventoryCheckSpaceBySize()
ItemDrop()
ItemDropEx()
ItemGive()
ItemGiveEx()
LevelUpSend()
LogPrint()
LogColor()
MapCheckAttr()
MapGetItemTable()
MasterLevelUpSend()
MasterSkillTreeRebuild()
MessageGet() - MOD
MoneySend()
MonsterCount()
MonsterCreate()
MonsterDelete()
MonsterSummonCreate()
MonsterSummonDelete()
MoveUser()
MoveUserEx()
MessageSend()
MessageSendToAll()
MessageGlobalSend()
NoticeSend()
NoticeSendToAll()
NoticeGlobalSend()
PartyGetMemberCount()
PartyGetMemberIndex()
ObjectGetCoin()
ObjectAddCoin()
ObjectSubCoin()
PermissionCheck()
PermissionInsert()
PermissionRemove()
PKLevelSend()
PostSend()
QuestStateCheck()
RandomGetNumber()
SkinChangeSend()
UserDisconnect()
UserGameLogout()
UserCalcAttribute()
UserInfoSend()
UserActionSend()
UserSetAccountLevel()
SQLConnect()
SQLDisconnect()
SQLCheck()
SQLQuery()
SQLClose()
SQLFetch()
SQLGetResult()
SQLGetNumber()
SQLGetSingle()
SQLGetString()
SQLAsyncConnect()
SQLAsyncDisconnect()
SQLAsyncCheck()
SQLAsyncQuery()
SQLAsyncGetResult()
SQLAsyncGetNumber()
SQLAsyncGetSingle()
SQLAsyncGetString()
FUNCTION DESCRIPTION
GetMaxIndex()
--------------------------------------------------------------------------------------------------------
GetMinUserIndex()
--------------------------------------------------------------------------------------------------------
GetMaxUserIndex()
--------------------------------------------------------------------------------------------------------
GetMinMonsterIndex()
--------------------------------------------------------------------------------------------------------
GetMaxMonsterIndex()
Return monster final index.
--------------------------------------------------------------------------------------------------------
GetGameServerCode()
--------------------------------------------------------------------------------------------------------
GetGameServerVersion()
--------------------------------------------------------------------------------------------------------
GetGameServerProtocol()
--------------------------------------------------------------------------------------------------------
GetGameServerCurUser()
GetGameServerMaxUser()
--------------------------------------------------------------------------------------------------------
GetObjectConnected(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectIpAddress(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectHardwareId(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectLang(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectType(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectAccount(aIndex)
aIndex = Object index.
--------------------------------------------------------------------------------------------------------
GetObjectPassword(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectName(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectPersonalCode(aIndex)
aIndex = Object index.
--------------------------------------------------------------------------------------------------------
GetObjectClass(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectChangeUp(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectLevel(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectLevelUpPoint(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMoney(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectStrength(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectDexterity(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectVitality(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectEnergy(aIndex)
GetObjectLeadership(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectExtraStrength(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectExtraDexterity(aIndex)
GetObjectExtraVitality(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectExtraEnergy(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectExtraLeadership(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectDefaultStrength(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectDefaultDexterity(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectDefaultVitality(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectDefaultEnergy(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectDefaultLeadership(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectLive(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectLife(aIndex)
aIndex = Object index.
--------------------------------------------------------------------------------------------------------
GetObjectMaxLife(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMana(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMaxMana(aIndex)
aIndex = Object index.
--------------------------------------------------------------------------------------------------------
GetObjectBP(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMaxBP(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectShield(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMaxShield(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectPKCount(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectPKLevel(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectPKTimer(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMap(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMapX(aIndex)
GetObjectMapY(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectAuthority(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectPartyNumber(aIndex)
GetObjectGuildNumber(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGuildStatus(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGuildName(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGuildRelationship(aIndex,bIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGuildUnionNumber(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGuildUnionName(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectChange(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectInterface(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMasterLevel(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectMasterPoint(aIndex)
aIndex = Object index.
--------------------------------------------------------------------------------------------------------
GetObjectAccountLevel(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectAccountExpireDate(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectReset(aIndex)
aIndex = Object index.
--------------------------------------------------------------------------------------------------------
GetObjectMasterReset(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGensRank(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGensSymbol(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGensFamily(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectGensContribution(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectCSGuildSide(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectOfflineFlag(aIndex)
--------------------------------------------------------------------------------------------------------
GetObjectIndexByName(aString)
--------------------------------------------------------------------------------------------------------
SetObjectLevel(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectLevelUpPoint(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectMoney(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectStrength(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectDexterity(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectVitality(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectEnergy(aIndex,aValue)
aIndex = Object index.
--------------------------------------------------------------------------------------------------------
SetObjectLeadership(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectChatLimitTime(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectPKCount(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectPKLevel(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectPKTimer(aIndex,aValue)
SetObjectMap(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectMapX(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectMapY(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectMasterLevel(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
SetObjectMasterPoint(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
ChatTargetSend(aIndex,bIndex,aString)
aIndex = NPC index.
aString = Message.
--------------------------------------------------------------------------------------------------------
CommandCheckGameMasterLevel(aIndex,aValue)
Return (1) if the user have the chosen level, (0) if not.
--------------------------------------------------------------------------------------------------------
CommandGetArgNumber(aString,aValue)
--------------------------------------------------------------------------------------------------------
CommandGetArgString(aString,aValue)
--------------------------------------------------------------------------------------------------------
CommandSend(aIndex,aString)
--------------------------------------------------------------------------------------------------------
ConfigReadNumber(aString,bString,cString)
ConfigReadString(aString,bString,cString)
--------------------------------------------------------------------------------------------------------
ConfigSaveString(aString,bString,cString,dString)
--------------------------------------------------------------------------------------------------------
EffectAdd(aIndex,aValue,bValue,cValue,dValue,eValue,fValue,gValue)
--------------------------------------------------------------------------------------------------------
EffectDel(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
EffectCheck(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
EffectClear(aIndex)
--------------------------------------------------------------------------------------------------------
GetItemName(aValue,bValue)
--------------------------------------------------------------------------------------------------------
GetMapName(aValue)
--------------------------------------------------------------------------------------------------------
GetMonsterName(aValue)
--------------------------------------------------------------------------------------------------------
FireworksSend(aIndex,aValue,bValue)
aValue = Position X.
bValue = Position Y.
--------------------------------------------------------------------------------------------------------
InventoryGetWearSize()
Return wear inventory max slot.
--------------------------------------------------------------------------------------------------------
InventoryGetMainSize()
--------------------------------------------------------------------------------------------------------
InventoryGetFullSize()
--------------------------------------------------------------------------------------------------------
InventoryGetItemTable(aIndex,aValue)
Return the item attribute table from the chosen inventory slot.
Table elements: Serial, Index, Level, Durability, Option1, Option2, Option3, NewOption,
SetOption, JoHOption, 380Option, SocketOption1, SocketOption2, SocketOption3,
SocketOption4, SocketOption5, SocketOptionBonus.
--------------------------------------------------------------------------------------------------------
InventoryGetItemIndex(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
InventoryGetItemCount(aIndex,aValue,bValue)
--------------------------------------------------------------------------------------------------------
InventoryDelItemIndex(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
InventoryDelItemCount(aIndex,aValue,bValue,cValue)
--------------------------------------------------------------------------------------------------------
InventoryGetFreeSlotCount(aIndex)
--------------------------------------------------------------------------------------------------------
InventoryCheckSpaceByItem(aIndex,aValue)
aIndex = User index.
Return (1) if the item fits in the user inventory, (0) if not.
--------------------------------------------------------------------------------------------------------
InventoryCheckSpaceBySize(aIndex,aValue,bValue)
Return (1) if the item fits in the user inventory, (0) if not.
--------------------------------------------------------------------------------------------------------
ItemDrop(aIndex,aValue,bValue,cValue,dValue)
--------------------------------------------------------------------------------------------------------
ItemDropEx(aIndex,aValue,bValue,cValue,dValue,eValue,fValue,gValue,hValue,iVal
ue,jValue)
--------------------------------------------------------------------------------------------------------
ItemGive(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
ItemGiveEx(aIndex,aValue,bValue,cValue,dValue,eValue,fValue,gValue)
--------------------------------------------------------------------------------------------------------
LevelUpSend(aIndex)
LogPrint(aString)
aString = Text.
--------------------------------------------------------------------------------------------------------
LogColor(aValue,aString)
aString = Text.
--------------------------------------------------------------------------------------------------------
MapCheckAttr(aValue,bValue,cValue,dValue)
--------------------------------------------------------------------------------------------------------
MapGetItemTable(aIndex,aValue)
Return the item attribute table from the chosen map slot.
Table elements: Serial, Index, Level, Durability, Option1, Option2, Option3, NewOption,
SetOption, JoHOption, 380Option, SocketOption1, SocketOption2, SocketOption3,
SocketOption4, SocketOption5, SocketOptionBonus.
--------------------------------------------------------------------------------------------------------
MasterLevelUpSend(aIndex)
--------------------------------------------------------------------------------------------------------
MasterSkillTreeRebuild(aIndex,aValue)
aIndex = User index.
--------------------------------------------------------------------------------------------------------
MasterSkillTreeExtRebuild(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
MessageGet(aValue)
bValue = Language.
--------------------------------------------------------------------------------------------------------
MoneySend(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
MonsterCount(aValue,bValue)
--------------------------------------------------------------------------------------------------------
MonsterCreate(aValue,bValue,cValue,dValue,eValue)
--------------------------------------------------------------------------------------------------------
MonsterDelete(aIndex)
--------------------------------------------------------------------------------------------------------
MonsterSummonCreate(aIndex,aValue,bValue,cValue,dValue,eValue,fValue)
--------------------------------------------------------------------------------------------------------
MonsterSummonDelete(aIndex)
--------------------------------------------------------------------------------------------------------
MoveUser(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
MoveUserEx(aIndex,aValue,bValue,cValue)
aIndex = User index.
--------------------------------------------------------------------------------------------------------
MessageSend(aIndex,aValue,bValue,aString)
aString = Message.
--------------------------------------------------------------------------------------------------------
MessageSendToAll(aValue,bValue,aString)
aString = Message.
Send a message to the user.
--------------------------------------------------------------------------------------------------------
MessageGlobalSend(aValue,bValue,aString)
aString = Message.
--------------------------------------------------------------------------------------------------------
NoticeSend(aIndex,aValue,aString)
aString = Message.
--------------------------------------------------------------------------------------------------------
NoticeSendToAll(aValue,aString)
aString = Message.
--------------------------------------------------------------------------------------------------------
NoticeGlobalSend(aValue,aString)
aString = Message.
--------------------------------------------------------------------------------------------------------
PartyGetMemberCount(aValue)
--------------------------------------------------------------------------------------------------------
PartyGetMemberIndex(aValue,bValue)
--------------------------------------------------------------------------------------------------------
ObjectGetCoin(aIndex)
--------------------------------------------------------------------------------------------------------
ObjectAddCoin(aIndex,aValue,bValue,cValue)
--------------------------------------------------------------------------------------------------------
ObjectSubCoin(aIndex,aValue,bValue,cValue)
--------------------------------------------------------------------------------------------------------
PermissionCheck(aIndex,aValue)
Permission list:
1 = Move Item.
2 = Sell Item.
3 = Buy Item.
4 = Use Item.
5 = Drop Item.
6 = Pick Item.
7 = Open Trade.
11 = Use Chat.
12 = Move character.
13 = Attack Disable.
Return (1) if the user has the chosen permission, (0) if not.
--------------------------------------------------------------------------------------------------------
PermissionInsert(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
PermissionRemove(aIndex,aValue)
aIndex = User index.
--------------------------------------------------------------------------------------------------------
PKLevelSend(aIndex,aValue)
aValue = PK level.
--------------------------------------------------------------------------------------------------------
PostSend(aValue,bValue,aString,bString)
bString = Message.
QuestStateCheck(aIndex,aValue)
Return (1) if the user has the chosen quest complete, (0) if not.
--------------------------------------------------------------------------------------------------------
RandomGetNumber(aValue)
--------------------------------------------------------------------------------------------------------
SkinChangeSend(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
UserDisconnect(aIndex)
--------------------------------------------------------------------------------------------------------
UserGameLogout(aIndex,aValue)
--------------------------------------------------------------------------------------------------------
UserCalcAttribute(aIndex)
--------------------------------------------------------------------------------------------------------
UserInfoSend(aIndex)
--------------------------------------------------------------------------------------------------------
UserActionSend(aIndex,bIndex,aValue)
--------------------------------------------------------------------------------------------------------
UserSetAccountLevel(aIndex,aValue,bValue)
--------------------------------------------------------------------------------------------------------
SQLConnect(aString,bString,cString)
--------------------------------------------------------------------------------------------------------
SQLDisconnect()
--------------------------------------------------------------------------------------------------------
SQLCheck()
Return (1) if MSSQL is already connected, (0) if not.
--------------------------------------------------------------------------------------------------------
SQLQuery(aString)
aString = Query.
--------------------------------------------------------------------------------------------------------
SQLClose()
--------------------------------------------------------------------------------------------------------
SQLFetch()
--------------------------------------------------------------------------------------------------------
SQLGetResult(aValue)
aValue = Result number.
--------------------------------------------------------------------------------------------------------
SQLGetNumber(aString)
--------------------------------------------------------------------------------------------------------
SQLGetSingle(aString)
--------------------------------------------------------------------------------------------------------
SQLGetString(aString)
aString = Column name.
--------------------------------------------------------------------------------------------------------
SQLAsyncConnect(aString,bString,cString)
--------------------------------------------------------------------------------------------------------
SQLAsyncDisconnect()
--------------------------------------------------------------------------------------------------------
SQLAsyncCheck()
SQLAsyncQuery(aString)
aString = Query.
--------------------------------------------------------------------------------------------------------
SQLAsyncGetResult(aValue)
Return as number the chosen result. Only work inside bridge function
OnSQLAsyncResult.
--------------------------------------------------------------------------------------------------------
SQLAsyncGetNumber(aString)
--------------------------------------------------------------------------------------------------------
SQLAsyncGetSingle(aString)
Return as float the chosen column. Only work inside bridge function
OnSQLAsyncResult.
--------------------------------------------------------------------------------------------------------
SQLAsyncGetString(aString)
Return as string the chosen column. Only work inside bridge function
OnSQLAsyncResult.