Xtreme Worlds Database

Xtreme Worlds Community helping with the Engine.
 
Home1CalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Informational Thread

View previous topic View next topic Go down 
AuthorMessage
Prophecy
Administrator
Administrator
avatar

Posts : 6
Points : 15
Join date : 2014-05-27

PostSubject: Informational Thread   Tue Jun 03, 2014 9:51 pm

Note: Call must be placed in front of all Subs being called. Ex: Call GlobalMsg(Msg, Color). For functions, the call is not required.

-=Scripted Subs=-
Sub CastSpell(Index, TargetType, Target, SpellNum)
Sub CheckUseItem(Index, InvNum)
Sub Commands(Index)
Sub DeleteChar(Index)
Sub DeleteAccount(Index)
Sub DropWornEquip(Index)
Sub FixItem(Index, N, ItemNum, DurNeeded, ItemType)
Sub JoinGame(Index)
Sub JoinMap(Index, MapNum)
Sub LeaveMap(Index, MapNum)
Sub LeftGame(Index)
Sub NpcAttackPlayer(Victim, MapNpcNum, Damage)
Sub NpcDeath(Attacker, NPCNum, MapNum, NPCNumOnMap)
Sub OnDeath(Index, Attacker)
Sub OnLevelUp(Index)
Sub OnScriptedTile(Index, Movement)
Sub PlayerAttack(Attacker, Victim, Damage, SpellNum)
Sub PlayerAttackNpc(Attacker, MapNpcNum, Damage, SpellNum)
Sub PlayerMapGetItem(Index, ItemNum)
Sub UseItem(Index, ItemNum, ItemType, SlotNum)
Sub UseStatPoint(Index, PointType)
Sub Quest(Index, QuestNum)
Sub ScriptReload()
Sub ServerHour()
Sub ServerMinute()
Sub ServerSecond()
Sub ServerStarted()
Sub Unequip(Index, ItemNum)

-=Scripted Functions=-
Function CanPlayerCriticalHit(Index)
Function GetPlayerDamage(Index)


-=Callable Functions=-
FindPlayer(Name) -> Returns index
GetTotalAliveNpcs(MapNum)
GetTotalMapPlayers(MapNum)
GetTotalPlayers()
GetClassDEF(ClassNum)
GetClassMagi(ClassNum)
GetClassMaxHP(ClassNum)
GetClassMaxMP(ClassNum)
GetClassMaxSP(ClassNum)
GetClassName(ClassNum)
GetClassSpeed(ClassNum)
GetClassSTR(ClassNum)
GetMapMoral(MapNum)
GetMapName(MapNum)
GetMapNpcHP(MapNum, MapNpcNum)
GetNpcExp(NpcNum)
GetNpcLevel(NpcNum)
GetNpcName(NpcNum)
GetNpcNumber(MapNum, MapNPCNum)
GetNpcSay(NpcNum)
GetNpcTarget(MapNum, MapNpcNum)
GetNpcX(MapNum, MapNpcNum)
GetNpcY(MapNum, MapNpcNum)
GetItemAddExp(ItemNum)
GetItemAttackSound(ItemNum)
GetItemCriticalSound(ItemNum)
GetItemData1(ItemNum)
GetItemData2(ItemNum)
GetItemData3(ItemNum)
GetItemMaxDamage(ItemNum)
GetItemName(ItemNum)
GetItemType(ItemNum)
GetPlayerAccess(Index)
GetPlayerAccessorySlotOne(index)
GetPlayerAccessorySlotTwo(index)
GetPlayerAccessName(Index)
GetPlayerArmorSlot(Index)
GetPlayerArmorSlotDur(Index)
GetPlayerBankItemDur(Index, BankSlot)
GetPlayerBankItemNum(Index, BankSlot)
GetPlayerBankItemValue(Index, BankSlot)
GetPlayerBurn(Index)
GetPlayerChar(Index)
GetPlayerClassID(Index)
GetPlayerDEF(Index)
GetPlayerDir(Index)
GetPlayerDirection(Index)
GetPlayerEmail(Index)
GetPlayerExp(Index)
GetPlayerExperience(Index)
GetPlayerGender(Index)
GetPlayerGuild(Index)
GetPlayerGuildAccess(Index)
GetPlayerGuildAcronym(Index)
GetPlayerHelmetSlot(Index)
GetPlayerHelmetSlotDur(Index)
GetPlayerHP(Index)
GetPlayerInvItemDur(Index, InvSlot)
GetPlayerInvItemNum(Index, InvSlot)
GetPlayerInvItemValue(Index, InvSlot)
GetPlayerIP(Index)
GetPlayerLevel(Index)
GetPlayerLogin(Index)
GetPlayerMAGI(Index)
GetPlayerMap(Index)
GetPlayerMaxHP(Index)
GetPlayerMaxMP(Index)
GetPlayerMaxSP(Index)
GetPlayerMP(Index)
GetPlayerName(Index)
GetPlayerNextLevel(Index)
GetPlayerPartyPlayer(Index)
GetPlayerPassword(Index)
GetPlayerPK(Index)
GetPlayerPOINTS(Index)
GetPlayerPoison(Index)
GetPlayerQuest(Index, QuestNum)
GetPlayerSerial(Index)
GetPlayerShieldSlot(Index)
GetPlayerShieldSlotDur(Index)
GetPlayerSP(Index)
GetPlayerSPEED(Index)
GetPlayerSpell(Index, SpellSlot)
GetPlayerSprite(Index)
GetPlayerSTR(Index)
GetPlayerTarget(Index)
GetPlayerTargetType(Index)
GetPlayerTempSprite(Index)
GetPlayerWeaponSlot(Index)
GetPlayerWeaponSlotDur(Index)
GetPlayerX(Index)
GetPlayerY(Index)
GetQuestName(QuestNum)
GetServerMaxLevel
GetServerName
GetServerTime
GetServerWeather
GetSpellType(SpellNum)
GetSpellData1(SpellNum)
GetTileAttribute(MapNum, X, Y)
GetTileAttribute2(MapNum, X, Y)
GetTileData1(MapNum, X, Y)
GetTileData2(MapNum, X, Y)
GetTileData3(MapNum, X, Y)
GetTileData4(MapNum, X, Y)
GetTileData5(MapNum, X, Y)
GetTileData6(MapNum, X, Y)
GetVar(File, Header, Var)
HasItem(Index, ItemNum)
HasSpell(Index, SpellNum)
IsPlayerInParty(Index)
IsPlaying(Index)
QuestOnlyOnce(QuestNum)
Rand(High, Low)
Sleep(Milliseconds)
GetPlayerMutation(Index)
ExistVar(File, Header, Var)
FindOpenMapItemSlot(MapNum, PK)
DirToX(X, Dir)
DirToY(Y, Dir)
FindOpenInvSlot(Index, ItemNum)
FindOpenBankSlot(Index, ItemNum)
GetAdminName(Index)
GetPlayerGuildAccessname(Index)
GetPlayerBonusDEF(Index)
GetPlayerBonusMagi(Index)
GetClassSprite(ClassNum)
GetPlayerBuffStr(Index)
GetPlayerBuffSpeed(Index)
GetSpellName(SpellNum)
GetItemMinDamage(ItemNum)
GetItemMaxDamage(ItemNum)
GetItemIsRepairable(itemNum)
GetNPCBehavior(NpcNum) <-- Is reported to not work. If anyone else can confirm this, let me know.
GetNpcColor(NpcNum)
GetNpcStr(NpcNum)
GetNpcDef(NpcNum)
GetNpcSprite(NpcNum)
GetPlayerBonusSpeed(Index)
GetPlayerBonusStr(Index)
GetMapUp(MapNum)
GetMapDown(MapNum)
GetMapLeft(MapNum)
GetMapRight(MapNum)
GetTileX(MapNum, X, Y, Layer)
GetTileY(MapNum, X, Y, Layer)
IsAlpha(Str)
GetNpcPoision(MapNum, MapNpcNum)
GetNpcBurn(MapNum, MapNpcNum)


-=Callable Subs=-
AddLog(Text, FileName)
AdminMessage(Msg, Color)
AdminMsg(Msg, Color)
AlertMessage(Index, Msg)
AlertMsg(Index, Msg)
ConvertToString(Input)
GiveItem(Index, ItemNum, ItemVal, ItemDur)
GlobalMessage(Msg, Color)
GlobalMsg(Msg, Color)
GuildMsg(Guild, Msg, Color)
GuildMsgBut(Index, Msg, Color)
MapMessage(Map, Msg, Color)
MapMsg(Map, Msg, Color)
PlayerMessage(Index, Msg, Color)
PlayerMsg(Index, Msg, Color)
PlayerWarp(Index, MapNum, X, Y)
PutVar(File, Header, Var, Value)
ReplaceItem(Index, Item, NewItem)
ReplaceSpell(Index, Spell, NewSpell)
RespawnMap(Map)
RespawnNpcs(Map)
SaveAllPlayersOnline
SendBook(Index, BookNum)
SendExp(Index)
SendInventory(Index)
SendInventoryUpdate(Index, InvNum)
SendPlayerData(Index)
SendSoundTo(Index, "soundname.wav")
SendSoundToMap(Map, "soundname.wav")
SendTimeToAll
SendStats(Index)
SendWeatherTo(Index)
SendWeatherToAll
SendWornEquipment(Index)
ServerShowQuests(Index)
SetPlayerWeaponSlotDur(Index, Durability)
SetPlayerArmorSlotDur(Index, Durability)
SetPlayerHelmetSlotDur(Index, Durability)
SetPlayerShieldSlotDur(Index, Durability)

SetMapNpcHP(MapNum, MapNPCNum, HP)
SetNpcTarget(MapNum, MapNpcNum, Target)
SetPlayerAccess(Index, Access)
SetPlayerArmorSlot(Index, ItemNum)
SetPlayerBankItemDur(Index, BankSlot, ItemDur)
SetPlayerBankItemNum(Index, BankSlot, ItemNum)
SetPlayerBankItemValue(Index, BankSlot, ItemValue)
SetPlayerBurn(Index, BurnSpell)
SetPlayerClass(Index, ClassNum)
SetPlayerDEF(Index, DEF)
SetPlayerDir(Index, lngDir)
SetPlayerEmail(Index, Email)
SetPlayerExp(Index, lngExp)
SetPlayerGender(Index, Gender)
SetPlayerGuild(Index, Guild)
SetPlayerGuildAccess(Index, GuildAccess)
SetPlayerGuildAcronym(Index, GuildAcronym)
SetPlayerHelmetSlot(Index, ItemNum)
SetPlayerHP(Index, HP)
SetPlayerInvItemDur(Index, InvSlot, ItemDur)
SetPlayerInvItemNum(Index, InvSlot, ItemNum)
SetPlayerInvItemValue(Index, InvSlot, ItemValue)
SetPlayerLevel(Index, Level)
SetPlayerMAGI(Index, Magi)
SetPlayerMap(Index, MapNum)
SetPlayerMP(Index, MP)
SetPlayerName(Index, strName)
SetPlayerPassword(Index, Password)
SetPlayerPK(Index, PK)
SetPlayerPOINTS(Index, POINTS)
SetPlayerPoison(Index, PoisonSpell)
SetPlayerQuest(Index, QuestNum, Status)
SetPlayerSerial(Index, Serial)
SetPlayerShieldSlot(Index, ItemNum)
SetPlayerSP(Index, SP)
SetPlayerSPEED(Index, Speed)
SetPlayerSpell(Index, SpellSlot, SpellNum)
SetPlayerSprite(Index, Sprite)
SetPlayerSTR(Index, STR)
SetPlayerTarget(Index, Target)
SetPlayerTargetType(Index, TargetType)
SetPlayerTempSprite(Index, Sprite)
SetPlayerWeaponSlot(Index, ItemNum)
SetPlayerX(Index, X)
SetPlayerY(Index, Y)
SetServerTime(Time)
SetServerWeather(Weather)
SetTile(Index, MapNum, MapX, MapY, Layer, Tile)
SpawnItem(ItemNum, ItemVal, MapNum, X, Y)
TakeItem(Index, ItemNum, ItemVal)
WarnMsg(Index, Message)
WarpPlayer(Index, MapNum, X, Y)

SetPlayerMutation(Index, Mutation)
SaveNpcs()
ShowDamage(Index, Damage)
HideFringe(Index, StartX, StartY, EndX, EndY)
SendDataToAll(Data)
SendDataTo(Index, Data)
SendDataToAllBut(Index, Data)
SendDataToMap(MapNum, Data)
SendDataToMapBut(Index, MapNum, Data)
ShowFringe(Index)
MapMsgBut(Index, MapNum, Msg, Color)
BanPlayer(BanPlayerIndex, BannedByIndex, Reason)
PrivateMsg(index, Msg, Color)
SendMapDone(Index)
HackingAttempt(Index, Reason)
SendPlayerAttackMessages(Attacker, Victim, Damage, n)
SendPlayerSpellMessages(Attacker, Victim, Damage, Spellnum,
UpdateTarget(Attacker, Index, Dead)
SpawnItemSlot(MapitemSlot, ItemNum, ItemVal, ItemDur, MapNum, X, Y)
OpenShop(Index)
SpawnMapItems(MapNum)
SpawnMapNpcs(MapNum)
SaveAllPlayersOnline()
SetPlayerBuffSTR(Index, BuffSTR)
SetPlayerBuffDef(Index, BuffDef)
SetPlayerBuffSpeed(index, BuffSpeed)
SetPlayerBuffMagi(Index, BuffMagi)
KillPlayer(Victim)
SendUpdateSpellTo(Index, SpellNum)
SetNpcPoison(MapNum, MapNpcNum, Poison)
SetNpcBurn(MapNum, MapNpcNum, Burn)
SetNpcExp(NpcNum, Exp)
SetPlayerStun(Victim, StunTime)
SendMessage(Index, Message1, (Optional) Message2, (Optional) Message3, (Optional) Message4)
OpenTrade(Index)

-=Item Types=-
NONE = 0
WEAPON = 1
ARMOR = 2
HELMET = 3
SHIELD = 4
POTIONADDHP = 5
POTIONADDMP = 6
POTIONADDSP = 7
POTIONSUBHP = 8
POTIONSUBMP = 9
POTIONSUBSP = 10
KEY = 11
CURRENCY = 12
SPELL = 13
BOOK = 17

-=Attribute Types (Map)=-
Block: 1
Direction Block: 15
Door: 2
Warp: 10
Item: 3
Npc Avoid: 4
Key: 5
Key Open: 6
Heal: 8
Damage: 7
Sign: 11
Shop: 13
Npc: 12
No Xing: 19
Walkthru: 20
Arena: 9
Roof: 21

-=Genders=-
0 = Male
1 = Female

-=Target Types=-
Player = 0
Npc = 1
Back to top Go down
View user profile
 
Informational Thread
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Best Fight Thread!
» Funny Fights Thread!
» NECA Toy Fair 2011 reveal thread
» Eternal Dream Official "LOL Pictures" Thread
» Minecraft Screenshot Thread

Permissions in this forum:You cannot reply to topics in this forum
Xtreme Worlds Database :: Resources :: Scripting-
Jump to: