Base
Starting point..!
This commit is contained in:
parent
52e8db513f
commit
548007ea96
5098 changed files with 662525 additions and 1 deletions
641
DB/currentlsdb.sql
Normal file
641
DB/currentlsdb.sql
Normal file
File diff suppressed because one or more lines are too long
BIN
DB/world_db.zip
Normal file
BIN
DB/world_db.zip
Normal file
Binary file not shown.
36
EQ2/configs/LoginServer.ini
Normal file
36
EQ2/configs/LoginServer.ini
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
### --- This file tells world.exe what loginserver to connect to.
|
||||||
|
### --- Change the account and password fields to the information you used when you created your SERVER account.
|
||||||
|
|
||||||
|
### --- NOTE: the word "Server" is added to each server automaticly.
|
||||||
|
|
||||||
|
# READ README.MD
|
||||||
|
|
||||||
|
[LoginServer]
|
||||||
|
loginserver=eq2emulator.net
|
||||||
|
loginport=9100
|
||||||
|
worldname=WORLD_NAME_HERE
|
||||||
|
worldaddress=EXTERNAL_IP_HERE
|
||||||
|
#internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)
|
||||||
|
worldport=9000
|
||||||
|
locked=false
|
||||||
|
account=
|
||||||
|
password=
|
||||||
|
#autotableupdates retrieves the latest table updates and applies them to your database
|
||||||
|
#autotableupdates valid options=always, ask, and never
|
||||||
|
autotableupdates=always
|
||||||
|
#autotableverbose displays detailed information about the updates; options=true or false
|
||||||
|
autotableverbose=false
|
||||||
|
#autotabledata retrieves the latest data for tables like the opcodes table; options=true or false
|
||||||
|
autotabledata=true
|
||||||
|
|
||||||
|
[WorldServer]
|
||||||
|
Defaultstatus=
|
||||||
|
Unavailzone=
|
||||||
|
|
||||||
|
[UpdateServer]
|
||||||
|
updateserveraddress=updates.eq2emulator.net
|
||||||
|
updateserverport=9104
|
||||||
|
|
||||||
|
[LoginConfig]
|
||||||
|
ServerMode=StandAlone
|
||||||
|
ServerPort=9100
|
347
EQ2/configs/log_config.xml
Normal file
347
EQ2/configs/log_config.xml
Normal file
|
@ -0,0 +1,347 @@
|
||||||
|
<EQ2EmuLogConfigs>
|
||||||
|
<Help Text="Details on Log Config here: http://eq2emulator.net/wiki/index.php/Admins:LogSystem" />
|
||||||
|
<!-- SYSTEM Loggers -->
|
||||||
|
<LogConfig Category="WORLD">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="LOGIN">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="PATCHER">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="PARSER">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="INIT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="LOGIN_INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="LOGIN_WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="LOGIN_ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="LOGIN_DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PATCHER_INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="PATCHER_WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="PATCHER_ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="PATCHER_DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="DATABASE">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="QUERY" Level="0" Color="Cyan" Enabled="False" Logs="1" />
|
||||||
|
<ConfigType Type="RESULT" Level="0" Color="CyanBold" Enabled="False" Logs="1" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="MUTEX">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="MISC">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
<ConfigType Type="TODO" Level="0" Color="YellowBold" Enabled="False" Logs="3" />
|
||||||
|
</LogConfig>
|
||||||
|
<!-- NETWORK Loggers -->
|
||||||
|
<LogConfig Category="CCLIENT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="NET">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="OPCODE">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="MagentaBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="PACKET">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<!-- PLAYER Loggers -->
|
||||||
|
<LogConfig Category="PLAYER">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<!-- SUBSYSTEM Loggers -->
|
||||||
|
<LogConfig Category="ACHIEVEMENT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="CHAT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="COLLECTION">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="COMBAT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="COMMAND">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="FACTION">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="GUILD">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="ITEM">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="LOOT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="LUA">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="MERCHANT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="NPC">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="COMBAT" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="SPELLS" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="AI" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="DAMAGE" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="NPC_AI">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="PET">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="COMBAT" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="SPELLS" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="AI" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="DAMAGE" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="QUEST">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="REWARD" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="STEP" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="RULESYS">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="SKILL">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="SPELL">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="TRADESKILL">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="TRANSPORT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<!-- SPAWN Loggers -->
|
||||||
|
<LogConfig Category="SPAWN">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="OBJECT">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="SIGN">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="WIDGET">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="GROUNDSPAWN">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<!-- ZONE Loggers -->
|
||||||
|
<LogConfig Category="ZONE">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
<LogConfig Category="INSTANCE">
|
||||||
|
<ConfigType Type="INFO" Level="0" Color="WhiteBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="WARNING" Level="0" Color="YellowBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="ERROR" Level="0" Color="RedBold" Enabled="True" Logs="3" />
|
||||||
|
<ConfigType Type="DEBUG" Level="0" Color="GreenBold" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="PACKET" Level="0" Color="Yellow" Enabled="False" Logs="3" />
|
||||||
|
<ConfigType Type="TRACE" Level="0" Color="Yellow" Enabled="False" Logs="1" />
|
||||||
|
</LogConfig>
|
||||||
|
</EQ2EmuLogConfigs>
|
11
EQ2/configs/world_db.ini
Normal file
11
EQ2/configs/world_db.ini
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# READ README.MD!
|
||||||
|
|
||||||
|
[Database]
|
||||||
|
host=127.0.0.1
|
||||||
|
user=root
|
||||||
|
password=pass
|
||||||
|
database=eq2emu
|
||||||
|
|
||||||
|
|
||||||
|
### --- This file tells world.exe what computer mySQL is on. Host should
|
||||||
|
### --- be left "localhost" unless mysql is on a differant computer than world.exe.
|
3106
EQ2/devtools/PacketParser/Parser DB.sql
Normal file
3106
EQ2/devtools/PacketParser/Parser DB.sql
Normal file
File diff suppressed because one or more lines are too long
2061
EQ2/devtools/PacketParser/ParserStructs/ItemStructs.xml
Normal file
2061
EQ2/devtools/PacketParser/ParserStructs/ItemStructs.xml
Normal file
File diff suppressed because it is too large
Load diff
1258
EQ2/devtools/PacketParser/ParserStructs/SpawnStructs.xml
Normal file
1258
EQ2/devtools/PacketParser/ParserStructs/SpawnStructs.xml
Normal file
File diff suppressed because it is too large
Load diff
5405
EQ2/devtools/PacketParser/ParserStructs/WorldStructs.xml
Normal file
5405
EQ2/devtools/PacketParser/ParserStructs/WorldStructs.xml
Normal file
File diff suppressed because it is too large
Load diff
183
EQ2/devtools/PacketParser/Readme.txt
Normal file
183
EQ2/devtools/PacketParser/Readme.txt
Normal file
|
@ -0,0 +1,183 @@
|
||||||
|
################################
|
||||||
|
# EQ2Emulator PacketParser.exe #
|
||||||
|
################################
|
||||||
|
|
||||||
|
Contents
|
||||||
|
--------
|
||||||
|
|
||||||
|
1. Legal and Disclaimers
|
||||||
|
2. What is PacketParser.exe?
|
||||||
|
3. Before you begin
|
||||||
|
4. Parsing your logs
|
||||||
|
5. Populating your EQ2Emulator database
|
||||||
|
6. Conclusion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
1. Legal and Disclaimers
|
||||||
|
=======================================
|
||||||
|
There is nothing "Legal" or "Illegal" about using this tool as it is licensed under GPL, so
|
||||||
|
don't hack it, reverse-engineer it, and re-release it calling it your own great tool. The
|
||||||
|
only thing I want to really emphasize here is, if you use this tool to parse logs and populate
|
||||||
|
your database, YOU ARE 100% RESPONSIBLE FOR THE OUTCOME.
|
||||||
|
|
||||||
|
In no way, shape, or form is EQ2Emulator.net, developers, or database designers responsible
|
||||||
|
for you losing data, or encountering an inability to parse and populate properly. This tool,
|
||||||
|
like every other aspect of EQ2Emulator, is in a constant state of change and update, and at
|
||||||
|
times will cease to function. However, it is not a high priority for the EQ2Emulator team to
|
||||||
|
get it working again.
|
||||||
|
|
||||||
|
In other words, be patient, report problems in a mature, friendly,
|
||||||
|
respectful manner, and the problems will be resolved and a new parser package released.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
2. What is PacketParser.exe?
|
||||||
|
=======================================
|
||||||
|
PacketParser.exe is the small utility that analyzes your collected packets from EQ2 Live game
|
||||||
|
and turns them into "raw" data for use in building your world. This tool is only needed if you
|
||||||
|
choose to build worlds based on the EQ2 Live experience. You can use this tool to parse Spawns,
|
||||||
|
Items, Merchant lists, Factions, Spell and Collection data, and Quest/Conversation from the live
|
||||||
|
game, with additional support added during the EQ2Emulator Alpha development cycle.
|
||||||
|
|
||||||
|
In order to use PacketParser.exe, you of course need to have collected a log from the live game.
|
||||||
|
You can collect the game data yourself using EQ2PacketCollector.exe - a separate tool (and thus
|
||||||
|
documented separately). EQ2PacketCollector.exe is no longer available freely to the public, but
|
||||||
|
you may PM John Adams or LethalEncounter on the EQ2Emulator.net forums to receive a copy of the
|
||||||
|
program.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
3. Before You Begin
|
||||||
|
=======================================
|
||||||
|
Before you can parse a packet collect, you should have a local instance of MySQL 5.x installed.
|
||||||
|
You can have MySQL on your Windows XP workstation, or somewhere on your network - it does not have
|
||||||
|
to be on the same machine... but your database should not be located via a WAN or over the internet.
|
||||||
|
It would be far too slow!
|
||||||
|
|
||||||
|
Create a folder, example C:\eq2parser, and put the following files into that folder:
|
||||||
|
|
||||||
|
Required:
|
||||||
|
- PacketParser.exe
|
||||||
|
- zlib.dll (downloadable package - search for it on the internet)
|
||||||
|
- WorldStructs.xml
|
||||||
|
- SpawnStructs.xml
|
||||||
|
- ItemStructs.xml
|
||||||
|
- parser_db.ini
|
||||||
|
- Parser DB.sql (not needed except to source in raw DB structures)
|
||||||
|
|
||||||
|
Optional (if you wanted to script some mysql actions)
|
||||||
|
- parse-all.bat
|
||||||
|
- mysql.exe
|
||||||
|
- mysqldump.exe
|
||||||
|
|
||||||
|
|
||||||
|
MySQL Database setup:
|
||||||
|
Assuming you use SQLYog or some other MySQL GUI Tools (google them, they are your friend), you must
|
||||||
|
connect to your MySQL instance and create a blank database. Refer to MySQL documentation on creating
|
||||||
|
a database. Example database name for the parser: eq2_rawdata.
|
||||||
|
|
||||||
|
"Source" in the included Parser_DB.sql file - by this we mean open this Query and execute it so it
|
||||||
|
will build the database structure required by PacketParser.exe - without this, you are going nowhere.
|
||||||
|
If you encounter errors, you need to explore how to get around them as this is not a lesson in becoming
|
||||||
|
a Database Administrator. :)
|
||||||
|
|
||||||
|
Once your database is created and you see tables like "raw_spawns", "raw_items", "raw_spells" etc, you
|
||||||
|
are almost ready to go.
|
||||||
|
|
||||||
|
NOTE: Since PacketParser.exe is now a "controlled release", updates to both the EXE and Parser DB.sql
|
||||||
|
will usually be posted in In-House Tools, under PacketParser.
|
||||||
|
|
||||||
|
parser_db.ini:
|
||||||
|
Edit parser_db.ini to reflect your database settings. Here is an example:
|
||||||
|
|
||||||
|
[Database]
|
||||||
|
host=localhost
|
||||||
|
user=root
|
||||||
|
password=sekr3t
|
||||||
|
database=eq2_rawdata
|
||||||
|
|
||||||
|
host: the IP or FQDN (fully qualified domain name) of your MySQL server. If it is on the same machine,
|
||||||
|
use "localhost"
|
||||||
|
|
||||||
|
user/password: This is a MySQL account that has SELECT, INSERT, UPDATE, and DELETE rights to your
|
||||||
|
eq2_rawdata database.
|
||||||
|
|
||||||
|
database: The name of your raw database - in my example, eq2_rawdata.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
4. Parsing Your Logs
|
||||||
|
=======================================
|
||||||
|
Included in your PacketParser package is a sample BATCH file that is designed to identify *.log files
|
||||||
|
in the current directory and execute the PacketParser.exe (with parameters) on each file individually.
|
||||||
|
Once the parser is done with the file, it will move it off to a "Done" folder. This is to prevent the
|
||||||
|
same log from being re-parsed should you have to stop and restart the job.
|
||||||
|
|
||||||
|
Move your log(s) into your C:\eq2parser directory with your other parser files, and simply run the
|
||||||
|
included "parse-all.bat" file. This batch files is executing the following command:
|
||||||
|
|
||||||
|
- PacketParser.exe -spawns -items -spells -quests -factions -collections {log_file}
|
||||||
|
|
||||||
|
You can run the command-line version of the PacketParser.exe yourself - you do not need to use the
|
||||||
|
batch file. Run PacketParser.exe and hit ENTER to see a list of command-line options.
|
||||||
|
|
||||||
|
Example, if you just want to parse Spell information from your logs, run:
|
||||||
|
|
||||||
|
- PacketParser.exe -spells {log_file}
|
||||||
|
|
||||||
|
* Replace {log_file} with the name of your collected log (ie., EQ2PacketLog.log)
|
||||||
|
|
||||||
|
|
||||||
|
You can stack the command-line options as many or as few as you like. There has to be at least one,
|
||||||
|
and for PARSING logs, -populate is not valid (see next chapter).
|
||||||
|
|
||||||
|
NOTE: The parse-all.bat file is setup to output parser data to a parser_log.txt file. This is the
|
||||||
|
troubleshooting information we would need to see if you are having problems. Simply post your problem
|
||||||
|
and attach that text file. If it is larger than 10kb, you probably should ZIP/RAR it first.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
5. Populating your EQ2Emulator Database
|
||||||
|
=======================================
|
||||||
|
During the 0.7.0 development cycle of EQ2Emulator, some critical changes have been made to the database
|
||||||
|
structures regarding Items, Spawns, Spells and Quests. Take note of these as you continue populating
|
||||||
|
your worlds using our tools. Recently, major changes to the Spawns structure broke the -populate
|
||||||
|
functionality, but a new parser was released to resolve this issue.
|
||||||
|
|
||||||
|
To populate your EQ2Emulator World database, simply run the following command:
|
||||||
|
|
||||||
|
PacketParser.exe -populate {eq2world_db}
|
||||||
|
|
||||||
|
* Replace {eq2world_db} with the name of your database that EQ2World.exe uses
|
||||||
|
|
||||||
|
The -populate command will move all raw Spawn data from parser DB to World DB for use in your world.
|
||||||
|
|
||||||
|
There are a few other commands currently available:
|
||||||
|
-loaditems - this will populate the Items tables in your World DB from Raw data
|
||||||
|
-loadfactions - this will populate the Factions tables in your World DB from Raw data
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
6. Conclusion
|
||||||
|
=======================================
|
||||||
|
There is literally tons of RAW data coming from packet logs, some we do not even utilize yet in the -populate
|
||||||
|
commands of Parser. Examples of some of this data is:
|
||||||
|
|
||||||
|
raw_dialogs : These are the conversations you have with NPCs in game, with the clickable option buttons
|
||||||
|
raw_conversations : These are the casual shouts NPCs give as you pass by or Hail them - no interaction
|
||||||
|
raw_map_data : You should update your map_data table in your World DB with newly parsed raw_map_data as needed
|
||||||
|
raw_merchant_items : As you parse Items, if they came from a merchant window, this table shows you what spawn_id had what item_id
|
||||||
|
raw_quests : This data is what we use to build LUA scripts for quests - currently no automation available
|
||||||
|
raw_sounds : These are your door squeaks and other sound effects in game, mapped to their raw_spawn ID
|
||||||
|
raw_spells : This data is used to build our Spells lists, or update existing information with new captured data
|
||||||
|
raw_zone_points : This is an attempt for the collector/parser to locate any known zone-in-points when you zone while collecting (not always accurate)
|
||||||
|
|
||||||
|
There is so much more we can gleen from our logs we hvae yet to discover. If you feel like helping identify
|
||||||
|
some of this data, feel free to join in on the conversations in Development and offer your help.
|
||||||
|
|
||||||
|
|
||||||
|
Happy World Building!
|
||||||
|
|
||||||
|
|
||||||
|
-John Adams
|
1717
EQ2/devtools/PacketParser/old_files/ItemStructs.xml
Normal file
1717
EQ2/devtools/PacketParser/old_files/ItemStructs.xml
Normal file
File diff suppressed because it is too large
Load diff
2208
EQ2/devtools/PacketParser/old_files/ItemStructs_Parser.xml
Normal file
2208
EQ2/devtools/PacketParser/old_files/ItemStructs_Parser.xml
Normal file
File diff suppressed because it is too large
Load diff
571
EQ2/devtools/PacketParser/old_files/MerchantItemStructs.xml
Normal file
571
EQ2/devtools/PacketParser/old_files/MerchantItemStructs.xml
Normal file
|
@ -0,0 +1,571 @@
|
||||||
|
<EQ2Emulator>
|
||||||
|
<Struct Name="Substruct_BaseMerchantItemDescription" ClientVersion="1" >
|
||||||
|
<Data ElementName="creator_flag" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="creator" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
<Data ElementName="adornment" Type="EQ2_16Bit_String" Size="1" />
|
||||||
|
<Data ElementName="unknown3" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="first_desc" Type="EQ2_16Bit_String" Size="1" />
|
||||||
|
<Data ElementName="unique_id" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="item_id" Type="sint32" Size="1" />
|
||||||
|
<Data ElementName="icon" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="tier" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="flags" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown8" Type="int8" Size="19" />
|
||||||
|
<Data ElementName="stat_count" Type="int8" />
|
||||||
|
<Data ElementName="stat_array" Type="Array" ArraySizeVariable="stat_count">
|
||||||
|
<Data ElementName="stat_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="stat_subtype" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="stat_resist_oversized" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="value" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="stat_string_count" Type="int8" />
|
||||||
|
<Data ElementName="stat_string_array" Type="Array" ArraySizeVariable="stat_string_count">
|
||||||
|
<Data ElementName="stat_string" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
<Data ElementName="adornment_flag" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="adornment_array" Type="Array" ArraySizeVariable="adornment_flag">
|
||||||
|
<Data ElementName="adornment_unknown" Type="int8" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="stat_description" Type="EQ2_16Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="condition" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="weight" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="skill_req1" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="skill_req2" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown10" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="class_count" Type="int8" />
|
||||||
|
<Data ElementName="class_array" Type="Array" ArraySizeVariable="class_count">
|
||||||
|
<Data ElementName="adventure_class" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="tradeskill_class" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="level" Type="int16" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="slot_count" Type="int8" />
|
||||||
|
<Data ElementName="slot_array" Type="Array" ArraySizeVariable="slot_count">
|
||||||
|
<Data ElementName="slot" Type="int8" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="footer_type" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="item_type" Type="int8" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="Substruct_BaseMerchantItemDescription" ClientVersion="860" >
|
||||||
|
<Data ElementName="creator_flag" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="creator" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
<Data ElementName="adornment" Type="EQ2_16Bit_String" Size="1" />
|
||||||
|
<Data ElementName="unknown3" Type="int32" Size="2" />
|
||||||
|
<Data ElementName="adornment_desc" Type="EQ2_16Bit_String" Size="1" />
|
||||||
|
<Data ElementName="unknown_desc" Type="EQ2_16Bit_String" Size="1" />
|
||||||
|
<Data ElementName="first_desc" Type="EQ2_16Bit_String" Size="1" />
|
||||||
|
<Data ElementName="unique_id" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="item_id" Type="sint32" Size="1" />
|
||||||
|
<Data ElementName="icon" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="tier" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="flags" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown8" Type="int8" Size="19" />
|
||||||
|
<Data ElementName="stat_count" Type="int8" />
|
||||||
|
<Data ElementName="stat_array" Type="Array" ArraySizeVariable="stat_count">
|
||||||
|
<Data ElementName="stat_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="stat_subtype" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="value" Type="int16" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="stat_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="stat_string_count" Type="int8" />
|
||||||
|
<Data ElementName="stat_string_array" Type="Array" ArraySizeVariable="stat_string_count">
|
||||||
|
<Data ElementName="stat_string" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
<Data ElementName="adornment_flag" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="adornment_array" Type="Array" ArraySizeVariable="adornment_flag">
|
||||||
|
<Data ElementName="adornment_unknown" Type="int8" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="stat_description" Type="EQ2_16Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="condition" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="weight" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="skill_req1" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="skill_req2" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown10" Type="int16" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="class_count" Type="int8" />
|
||||||
|
<Data ElementName="class_array" Type="Array" ArraySizeVariable="class_count">
|
||||||
|
<Data ElementName="adventure_class" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="tradeskill_class" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="level" Type="int16" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="slot_count" Type="int8" />
|
||||||
|
<Data ElementName="slot_array" Type="Array" ArraySizeVariable="slot_count">
|
||||||
|
<Data ElementName="slot" Type="int8" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="footer_type" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="item_type" Type="int8" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="Substruct_MerchantItemDescription" ClientVersion="1" >
|
||||||
|
<Data ElementName="info_header" Substruct="WS_ExamineInfoHeader" Size="1" />
|
||||||
|
<Data ElementName="info" Substruct="Substruct_BaseMerchantItemDescription" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="Substruct_MerchantItemDescription" ClientVersion="860" >
|
||||||
|
<Data ElementName="info_header" Substruct="WS_ExamineInfoHeader" Size="1" />
|
||||||
|
<Data ElementName="info" Substruct="Substruct_BaseMerchantItemDescription" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="Substruct_MerchantItemDescription" ClientVersion="893" >
|
||||||
|
<Data ElementName="info_header" Substruct="WS_ExamineInfoHeader" Size="1" />
|
||||||
|
<Data ElementName="info" Substruct="Substruct_BaseMerchantItemDescription" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemGeneric" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemRange" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="damage_low1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="delay" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="range_low" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="range_high" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="rating" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemThrown" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="sint32" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown15" Type="float" Size="1" />
|
||||||
|
<Data ElementName="unknown16" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemWeapon" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="wield_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="damage_low1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="delay" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="rating" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemArmor" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="mitigation_low" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="mitigation_high" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemShield" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="mitigation_low" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="mitigation_high" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemBag" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="num_slots" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="num_empty" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="weight_reduction" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="num_names" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="name_array" Type="Array" ArraySizeVariable="num_names">
|
||||||
|
<Data ElementName="item_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemFood" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="food_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="level" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="duration" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemBauble" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="cast" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="charges" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="duration" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="recast" Type="float" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="11" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemSkill" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="spell_info" Substruct="WS_SpellInfo" Size="1" />
|
||||||
|
<Data ElementName="scribed" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemHouse" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="rent_reduction" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemHouseContainer" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="disallowed_types" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="allowed_types" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="num_slots" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown15" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemRecipeBook" ClientVersion="1" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="num_recipes" Type="int16" Size="1" OversizedValue="127" />
|
||||||
|
<Data ElementName="recipe_array" Type="Array" ArraySizeVariable="num_recipes">
|
||||||
|
<Data ElementName="recipe_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemGeneric" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemThrown" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="sint32" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown15" Type="float" Size="1" />
|
||||||
|
<Data ElementName="unknown16" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemRange" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="damage_low1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="delay" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="range_low" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="range_high" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="rating" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemWeapon" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="wield_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="damage_low1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="delay" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="rating" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemArmor" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="mitigation_low" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="mitigation_high" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemShield" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="mitigation_low" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="mitigation_high" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemBag" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="num_slots" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="num_empty" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="weight_reduction" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="num_names" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="name_array" Type="Array" ArraySizeVariable="num_names">
|
||||||
|
<Data ElementName="item_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemFood" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="food_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="level" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="duration" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemBauble" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="cast" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="charges" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="duration" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="recast" Type="float" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="11" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemSkill" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="spell_info" Substruct="WS_SpellInfo" Size="1" />
|
||||||
|
<Data ElementName="scribed" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemHouse" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="rent_reduction" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemHouseContainer" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="disallowed_types" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="allowed_types" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="num_slots" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown15" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemRecipeBook" ClientVersion="860" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="num_recipes" Type="int16" Size="1" OversizedValue="127" />
|
||||||
|
<Data ElementName="recipe_array" Type="Array" ArraySizeVariable="num_recipes">
|
||||||
|
<Data ElementName="recipe_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemGeneric" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemThrown" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="sint32" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown15" Type="float" Size="1" />
|
||||||
|
<Data ElementName="unknown16" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemRange" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="damage_low1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="delay" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="range_low" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="range_high" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="rating" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemWeapon" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="wield_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="damage_low1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="delay" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="rating" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemArmor" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="mitigation_low" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="mitigation_high" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemShield" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="mitigation_low" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="mitigation_high" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemBag" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="num_slots" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="num_empty" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="weight_reduction" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="num_names" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="name_array" Type="Array" ArraySizeVariable="num_names">
|
||||||
|
<Data ElementName="item_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemFood" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="food_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="level" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="duration" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemBauble" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="cast" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="charges" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="duration" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="recast" Type="float" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="11" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemSkill" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="spell_info" Substruct="WS_SpellInfo" Size="1" />
|
||||||
|
<Data ElementName="scribed" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemHouse" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="rent_reduction" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemHouseContainer" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="disallowed_types" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="allowed_types" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="num_slots" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown15" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemRecipeBook" ClientVersion="893" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="num_recipes" Type="int16" Size="1" OversizedValue="127" />
|
||||||
|
<Data ElementName="recipe_array" Type="Array" ArraySizeVariable="num_recipes">
|
||||||
|
<Data ElementName="recipe_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemGeneric" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemThrown" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="sint32" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown15" Type="float" Size="1" />
|
||||||
|
<Data ElementName="unknown16" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemRange" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="damage_low1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="delay" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="range_low" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="range_high" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="rating" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemWeapon" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="wield_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="damage_low1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high1" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high2" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_low3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_high3" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="delay" Type="int16" OversizedValue="127" OversizedByte="127" Size="1" />
|
||||||
|
<Data ElementName="damage_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="rating" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemArmor" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="mitigation_low" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="mitigation_high" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemShield" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="mitigation_low" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="mitigation_high" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemBag" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="num_slots" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="num_empty" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="weight_reduction" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="num_names" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="name_array" Type="Array" ArraySizeVariable="num_names">
|
||||||
|
<Data ElementName="item_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemFood" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="food_type" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="level" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="duration" Type="float" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemBauble" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="cast" Type="int16" Size="1" OversizedValue="127" OversizedByte="127" />
|
||||||
|
<Data ElementName="charges" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="duration" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="recast" Type="float" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="12" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemSkill" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="spell_info" Substruct="WS_SpellInfo" Size="1" />
|
||||||
|
<Data ElementName="scribed" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="skill_unknown" Type="int8" Size="1" IfVariableSet="scribed" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemHouse" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="rent_reduction" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="house_unknown1" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="house_unknown2" Type="int8" Size="2" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemHouseContainer" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="disallowed_types" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="allowed_types" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="num_slots" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown15" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
<Struct Name="WS_MerchantItemRecipeBook" ClientVersion="927" OpcodeName="OP_ClientCmdMsg" OpcodeType="OP_EqExamineInfoCmd">
|
||||||
|
<Data ElementName="header" Substruct="Substruct_MerchantItemDescription" Size="1" />
|
||||||
|
<Data ElementName="num_recipes" Type="int16" Size="1" OversizedValue="127" />
|
||||||
|
<Data ElementName="recipe_array" Type="Array" ArraySizeVariable="num_recipes">
|
||||||
|
<Data ElementName="recipe_name" Type="EQ2_8Bit_String" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown12" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="footer" Substruct="Substruct_ItemFooter" Size="1" />
|
||||||
|
</Struct>
|
||||||
|
</EQ2Emulator>
|
3434
EQ2/devtools/PacketParser/old_files/ParserStructs.xml
Normal file
3434
EQ2/devtools/PacketParser/old_files/ParserStructs.xml
Normal file
File diff suppressed because it is too large
Load diff
8
EQ2/devtools/PacketParser/old_files/WS_Updates.xml
Normal file
8
EQ2/devtools/PacketParser/old_files/WS_Updates.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<Struct Name="WS_TitleUpdate" ClientVersion="996" OpcodeName="OP_TitleUpdateMsg">
|
||||||
|
<Data ElementName="num_titles" Type="int16" />
|
||||||
|
<Data ElementName="titles_array" Type="Array" ArraySizeVariable="num_titles">
|
||||||
|
<Data ElementName="title" Type="EQ2_16Bit_String" />
|
||||||
|
<Data ElementName="prefix" Type="int8" Size="1" />
|
||||||
|
</Data>
|
||||||
|
<Data ElementName="unknown" Type="int32" Size="1" />
|
||||||
|
</Struct>
|
3546
EQ2/devtools/PacketParser/old_files/WorldStructs.xml
Normal file
3546
EQ2/devtools/PacketParser/old_files/WorldStructs.xml
Normal file
File diff suppressed because it is too large
Load diff
4073
EQ2/devtools/PacketParser/old_files/WorldStructsDev.xml
Normal file
4073
EQ2/devtools/PacketParser/old_files/WorldStructsDev.xml
Normal file
File diff suppressed because it is too large
Load diff
10
EQ2/devtools/PacketParser/parse all.bat
Normal file
10
EQ2/devtools/PacketParser/parse all.bat
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
@echo off
|
||||||
|
for /f "delims=^" %%a in ('dir /b *.log') do call :process "%%a"
|
||||||
|
PacketParser.exe -populate eq2_test
|
||||||
|
PAUSE
|
||||||
|
goto :eof
|
||||||
|
|
||||||
|
:process
|
||||||
|
PacketParser.exe -spawns -spells -items %1%2
|
||||||
|
move %1 Parsed
|
||||||
|
|
5
EQ2/devtools/PacketParser/parser_db.ini
Normal file
5
EQ2/devtools/PacketParser/parser_db.ini
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Database]
|
||||||
|
host=HOST
|
||||||
|
user=USER
|
||||||
|
password=PASSWORD
|
||||||
|
database=DATABASE
|
|
@ -0,0 +1,20 @@
|
||||||
|
CREATE TABLE `raw_achievement_updates` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`achievement_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`completed_date` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`num_items` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE INDEX `achievement_id` (`achievement_id`)
|
||||||
|
)
|
||||||
|
COLLATE='latin1_swedish_ci'
|
||||||
|
ENGINE=MyISAM;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_achievement_update_items` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`achievement_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`item_update` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
)
|
||||||
|
COLLATE='latin1_swedish_ci'
|
||||||
|
ENGINE=MyISAM;
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE `raw_conversations` DROP INDEX `NewIndex`, ADD UNIQUE `NewIndex` (spawn_name, `sound_file`, `chat_text`(200));
|
|
@ -0,0 +1,69 @@
|
||||||
|
ALTER TABLE raw_item_effects CHANGE column `name` `effect` VARCHAR(512) NOT NULL DEFAULT 'Unknown' AFTER `item_id`;
|
||||||
|
ALTER TABLE raw_item_effects DROP COLUMN `description`;
|
||||||
|
ALTER TABLE parser_stats ADD COLUMN `total_skills` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `new_books`;
|
||||||
|
ALTER TABLE parser_stats ADD COLUMN `unique_skills` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `total_skills`;
|
||||||
|
ALTER TABLE parser_stats ADD COLUMN `new_skills` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER `unique_skills`;
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `raw_traits` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`level` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`selection` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`icon_0` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`icon2_0` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`trait_id_0` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown_0` int(10) unsigned NOT NULL default '0',
|
||||||
|
`name_0` varchar(250) collate latin1_general_ci default NULL,
|
||||||
|
`icon_1` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`icon2_1` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`trait_id_1` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown_1` int(10) unsigned NOT NULL default '0',
|
||||||
|
`name_1` varchar(250) collate latin1_general_ci default '',
|
||||||
|
`icon_2` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`icon2_2` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`trait_id_2` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown_2` int(10) unsigned NOT NULL default '0',
|
||||||
|
`name_2` varchar(250) collate latin1_general_ci default '',
|
||||||
|
`icon_3` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`icon2_3` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`trait_id_3` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown_3` int(10) unsigned NOT NULL default '0',
|
||||||
|
`name_3` varchar(250) collate latin1_general_ci default '',
|
||||||
|
`icon_4` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`icon2_4` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`trait_id_4` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown_4` int(10) unsigned NOT NULL default '0',
|
||||||
|
`name_4` varchar(250) collate latin1_general_ci default '',
|
||||||
|
`data_version` smallint(5) unsigned NOT NULL,
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`log_file` varchar(250) collate latin1_general_ci default '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex1` (`trait_id_0`,`trait_id_1`,`trait_id_2`,`trait_id_3`,`trait_id_4`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci ROW_FORMAT=DYNAMIC;
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `raw_skills` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`skill_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`short_name` varchar(32) default 'Unknown',
|
||||||
|
`name` varchar(255) default 'Unknown',
|
||||||
|
`description` varchar(255) default 'Unknown',
|
||||||
|
`data_version` smallint(5) NOT NULL default '0',
|
||||||
|
`log_file` varchar(250) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `raw_skills_current` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`skill_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`type` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`current_val` mediumint(7) unsigned NOT NULL default '0',
|
||||||
|
`base_val` mediumint(7) unsigned NOT NULL default '0',
|
||||||
|
`max_val` mediumint(7) unsigned NOT NULL default '0',
|
||||||
|
`skill_delta` mediumint(7) NOT NULL default '0',
|
||||||
|
`skill_delta2` mediumint(7) NOT NULL default '0',
|
||||||
|
`display_min` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`display_max` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`unknown` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`data_version` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`log_file` varchar(250) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
11
EQ2/devtools/PacketParser/sql_updates/Item Updates.sql
Normal file
11
EQ2/devtools/PacketParser/sql_updates/Item Updates.sql
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
ALTER TABLE `raw_items` ADD `offers_quest` VARCHAR(64) DEFAULT ' ' NOT NULL AFTER `set_name`;
|
||||||
|
ALTER TABLE `raw_items` ADD `part_of_quest` VARCHAR(64) DEFAULT ' ' NOT NULL AFTER `offers_quest`;
|
||||||
|
ALTER TABLE `raw_items` ADD `quest_unknown` tinyint unsigned DEFAULT '0' NOT NULL AFTER `part_of_quest`;
|
||||||
|
ALTER TABLE `raw_items` ADD `total_charges` smallint unsigned DEFAULT '0' NOT NULL AFTER `quest_unknown`;
|
||||||
|
ALTER TABLE `raw_items` ADD `recommended_level` smallint unsigned DEFAULT '0' NOT NULL AFTER `total_charges`;
|
||||||
|
ALTER TABLE `raw_items` ADD `required_level` smallint unsigned DEFAULT '0' NOT NULL AFTER `recommended_level`;
|
||||||
|
ALTER TABLE `raw_items` ADD `stack_size` smallint unsigned DEFAULT '0' NOT NULL AFTER `required_level`;
|
||||||
|
ALTER TABLE `raw_items` ADD `collectable` tinyint unsigned DEFAULT '0' NOT NULL AFTER `stack_size`;
|
||||||
|
ALTER TABLE `raw_items` ADD `adornment_description` VARCHAR(64) DEFAULT ' ' NOT NULL AFTER `collectable`;
|
||||||
|
ALTER TABLE `raw_items` CHANGE `item_type` `item_type` ENUM('Normal','Armor','Food','Bag','Weapon','Ranged','Shield','Spell','Recipe','Book','House','Thrown','Bauble','House Container','Adornment') DEFAULT 'Normal' NOT NULL;
|
||||||
|
ALTER TABLE `raw_items` ADD `adornment_description` VARCHAR(255) DEFAULT ' ' NOT NULL AFTER `collectable`;
|
24
EQ2/devtools/PacketParser/sql_updates/MerchantItems.sql
Normal file
24
EQ2/devtools/PacketParser/sql_updates/MerchantItems.sql
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
CREATE TABLE `raw_merchant_items` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`spawn_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`item_id` int(10) unsigned NOT NULL,
|
||||||
|
`item_name` varchar(128) NOT NULL default ' ',
|
||||||
|
`unknown` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`price` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown2` int(10) unsigned NOT NULL default '0',
|
||||||
|
`stack_size` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`icon` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`unknown3` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`level` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`unknown4` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`unknown5` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`tier` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`unknown6` int(10) unsigned NOT NULL default '0',
|
||||||
|
`item_id2` int(10) unsigned NOT NULL default '0',
|
||||||
|
`stack_size2` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`description` varchar(512) NOT NULL default ' ',
|
||||||
|
`log_file` varchar(128) NOT NULL default ' ',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `SpawnItemNDX` (`item_id`,`spawn_id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
@ -0,0 +1,39 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_item_details_thrown`;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_thrown` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`item_id` int(11) NOT NULL default '0',
|
||||||
|
`range` int(11) NOT NULL default '0',
|
||||||
|
`damage_modifier` int(11) NOT NULL default '0',
|
||||||
|
`hit_bonus` float NOT NULL default '0',
|
||||||
|
`damage_type` int(10) unsigned NOT NULL default '0',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex` (`item_id`,`language_type`)
|
||||||
|
) ENGINE=MyISAM AUTO_INCREMENT=41 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_house` CHANGE `status_rent_reduction` `status_rent_reduction` INT DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_house_container` DROP `disallowed_types`;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_house_container` CHANGE `allowed_types` `allowed_types` INT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_house_container` CHANGE `unknown13` `unknown13` TINYINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_house_container` CHANGE `unknown14` `broker_commission` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_house_container` CHANGE `unknown15` `fence_commission` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_recipe` CHANGE `unknown12` `uses` SMALLINT(5) UNSIGNED DEFAULT '1' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_recipe` DROP `unknown13`, DROP `unknown14`;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_book` CHANGE `unknown1` `language` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_book` DROP `unknown2`;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_book` ADD `author` VARCHAR(255) NOT NULL AFTER `language`;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_book` ADD `title` VARCHAR(255) NOT NULL AFTER `author`;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_spawn_unknowns` CHANGE `value` `value` VARCHAR(50) NOT NULL;
|
49
EQ2/devtools/PacketParser/sql_updates/New Insert Queries.txt
Normal file
49
EQ2/devtools/PacketParser/sql_updates/New Insert Queries.txt
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
INSERT INTO `eq2_test`.`npcs` (`id`, `name`, `min_level`, `max_level`, `enc_level`, `race`, `race_type`, `class_`, `gender`, `hair_type_id`,
|
||||||
|
`facial_hair_type_id`, `wing_type_id`, `chest_type_id`, `legs_type_id`, `soga_hair_type_id`, `soga_facial_hair_type_id`, `show_name`, `attackable`,
|
||||||
|
`show_level`, `targetable`, `show_command_icon`, `display_hand_icon`, visual_state, action_state, mood_state, initial_state, activity_status, collision_radius, command_primary, size)
|
||||||
|
select `id`, `name`, `level`, `level`, `difficulty`, `race`, `race_type`, `class_`, `gender`, `hair_type_id`, `facial_hair_type_id`, `wing_type_id`,
|
||||||
|
`chest_type_id`, `legs_type_id`, `soga_hair_type_id`, `soga_facial_hair_type_id`, (vis_flags & 16) >0 as 'show_name', attackable_status = 0 as 'attackable',
|
||||||
|
(vis_flags & 64 || vis_flags & 32) >0 as 'show_level', (vis_flags & 4) >0 as 'targetable', (vis_flags & 2) >0 as 'show_command_icon', hand_flag,
|
||||||
|
visual_state, action_state, mood_state, pos_state, activity_status, pos_collision_radius, 0, pos_size
|
||||||
|
from `eq2_rawdata`.`raw_spawn_info`;
|
||||||
|
|
||||||
|
insert into `eq2_test`.`npc_appearance`
|
||||||
|
select
|
||||||
|
`id`,
|
||||||
|
`spawn_id` as npc_id,
|
||||||
|
`signed_value`,
|
||||||
|
`type`,
|
||||||
|
`red`,
|
||||||
|
`green`,
|
||||||
|
`blue`
|
||||||
|
from `eq2_rawdata`.`raw_spawn_appearance`;
|
||||||
|
|
||||||
|
insert into `eq2_test`.`npc_appearance_equip`
|
||||||
|
select
|
||||||
|
`id`,
|
||||||
|
`spawn_id` as npc_id,
|
||||||
|
`slot_id`,
|
||||||
|
`equip_type`,
|
||||||
|
`red`,
|
||||||
|
`green`,
|
||||||
|
`blue`,
|
||||||
|
`highlight_red`,
|
||||||
|
`highlight_green`,
|
||||||
|
`highlight_blue`
|
||||||
|
from `eq2_rawdata`.`raw_spawn_appearance_equip`;
|
||||||
|
|
||||||
|
insert into eq2_test.spawngroup select id, 'Tutorial Island Good Spawns' from eq2_rawdata.raw_spawns where eq2_rawdata.raw_spawns.spawn_packet_type = 'Normal';
|
||||||
|
|
||||||
|
insert into eq2_test.spawnentry (npcid, spawngroupid, spawnpercentage) select eq2_test.npcs.id, eq2_rawdata.raw_spawns.id, 100 from eq2_test.npcs, eq2_rawdata.raw_spawn_info, eq2_rawdata.raw_spawns where eq2_test.npcs.id = eq2_rawdata.raw_spawn_info.id and eq2_rawdata.raw_spawn_info.id = eq2_rawdata.raw_spawns.spawn_id and eq2_rawdata.raw_spawns.spawn_packet_type = 'Normal';
|
||||||
|
|
||||||
|
insert into eq2_test.spawns (spawngroup_id, zone_id, x, y, z, heading, respawn, location_id) select eq2_rawdata.raw_spawns.id, 9999, eq2_rawdata.raw_spawns.x,
|
||||||
|
eq2_rawdata.raw_spawns.y, eq2_rawdata.raw_spawns.z, eq2_rawdata.raw_spawns.heading, 3600, eq2_rawdata.raw_spawns.grid_id
|
||||||
|
from eq2_rawdata.raw_spawn_info, eq2_rawdata.raw_spawns
|
||||||
|
where eq2_rawdata.raw_spawn_info.id = eq2_rawdata.raw_spawns.spawn_id and eq2_rawdata.raw_spawns.spawn_packet_type = 'Normal';
|
||||||
|
|
||||||
|
update eq2_test.spawns, eq2_test.zones, eq2_rawdata.raw_spawns, eq2_rawdata.raw_zones set eq2_test.spawns.zone_id=eq2_test.zones.id
|
||||||
|
where eq2_test.spawns.zone_id= 9999 and eq2_rawdata.raw_spawns.id = eq2_test.spawns.spawngroup_id and eq2_rawdata.raw_zones.id = eq2_rawdata.raw_spawns.zone_id and eq2_rawdata.raw_zones.zone_file = eq2_test.zones.file;
|
||||||
|
|
||||||
|
|
||||||
|
update eq2_test.npcs, eq2_rawdata.raw_spawn_info, eq2_test.entity_commands set eq2_test.npcs.command_primary = eq2_test.entity_commands.command_list_id
|
||||||
|
where eq2_rawdata.raw_spawn_info.default_command = eq2_test.entity_commands.command_text and eq2_test.npcs.id = eq2_rawdata.raw_spawn_info.id;
|
85
EQ2/devtools/PacketParser/sql_updates/Parser DB Updates.sql
Normal file
85
EQ2/devtools/PacketParser/sql_updates/Parser DB Updates.sql
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_abilities`;
|
||||||
|
CREATE TABLE `raw_abilities` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`ability_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(250) DEFAULT '',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL,
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY (`ability_id`)
|
||||||
|
) ENGINE=MYISAM;
|
||||||
|
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_locations`;
|
||||||
|
CREATE TABLE `raw_locations` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`poi_id` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`soe_zone_id` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`poi_name` VARCHAR(250) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `LocationIDX` (`poi_id`,`soe_zone_id`)
|
||||||
|
) ENGINE=MYISAM;
|
||||||
|
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_traditions`;
|
||||||
|
CREATE TABLE `raw_traditions` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`tradition_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`selection` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(250) DEFAULT '',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL,
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY (`tradition_id`)
|
||||||
|
) ENGINE=MYISAM;
|
||||||
|
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_trainings`;
|
||||||
|
CREATE TABLE `raw_trainings` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`level` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_line` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon_0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2_0` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`training_id_0` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown_0` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name_0` VARCHAR(250) DEFAULT NULL,
|
||||||
|
`icon_1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2_1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`training_id_1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown_1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name_1` VARCHAR(250) DEFAULT '',
|
||||||
|
`icon_2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2_2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`training_id_2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown_2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name_2` VARCHAR(250) DEFAULT '',
|
||||||
|
`icon_3` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2_3` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`training_id_3` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown_3` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name_3` VARCHAR(250) DEFAULT '',
|
||||||
|
`icon_4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2_4` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`training_id_4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown_4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name_4` VARCHAR(250) DEFAULT '',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL,
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `TrainingIDX` (`training_id_0`, `training_id_1`, `training_id_2`, `training_id_3`, `training_id_4`)
|
||||||
|
) ENGINE=MYISAM;
|
|
@ -0,0 +1,102 @@
|
||||||
|
ALTER TABLE `raw_item_stats` CHANGE `text` `text` VARCHAR(250) DEFAULT ' ' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` CHANGE `damage_low1` `damage_low1` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` CHANGE `damage_low2` `damage_low2` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` CHANGE `damage_low3` `damage_low3` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` CHANGE `damage_high1` `damage_high1` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` CHANGE `damage_high2` `damage_high2` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` CHANGE `damage_high3` `damage_high3` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` CHANGE `delay` `delay` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `damage_low1` `damage_low1` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `damage_low2` `damage_low2` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `damage_low3` `damage_low3` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `damage_high1` `damage_high1` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `damage_high2` `damage_high2` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `damage_high3` `damage_high3` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `delay` `delay` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `range_low` `range_low` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `range_high` `range_high` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_shield` CHANGE `mitigation_high` `mitigation_high` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_shield` CHANGE `mitigation_low` `mitigation_low` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_armor` CHANGE `mitigation_high` `mitigation_high` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_armor` CHANGE `mitigation_low` `mitigation_low` SMALLINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_spell_levels` CHANGE `class_id` `adventure_class_id` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_spell_levels` ADD `tradeskill_class_id` TINYINT UNSIGNED DEFAULT '0' NOT NULL AFTER `adventure_class_id`;
|
||||||
|
ALTER TABLE `raw_spell_levels` DROP PRIMARY KEY, ADD PRIMARY KEY (`spell_id`, `tier`, `adventure_class_id`, `tradeskill_class_id`);
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_skill_classes` CHANGE `class_id` `adventure_class_id` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_skill_classes` ADD `tradeskill_class_id` TINYINT UNSIGNED DEFAULT '0' NOT NULL AFTER `adventure_class_id`;
|
||||||
|
ALTER TABLE `raw_item_skill_classes` DROP INDEX `NewIndex`, ADD UNIQUE `NewIndex` (`item_id`, `adventure_class_id`, `language_type`, `tradeskill_class_id`);
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_classes` ADD `tradeskill_class_id` TINYINT UNSIGNED DEFAULT '0' NOT NULL AFTER `class_id`;
|
||||||
|
ALTER TABLE `raw_item_classes` CHANGE `class_id` `adventure_class_id` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_classes` DROP INDEX `NewIndex`, ADD UNIQUE `NewIndex` (`adventure_class_id`, `item_id`, `language_type`, `tradeskill_class_id`);
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `unknown12` `damage_type` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_items` CHANGE `description` `description` VARCHAR(1024) NOT NULL;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_quest_reward_factions` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`quest_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`faction_name` varchar(64) NOT NULL,
|
||||||
|
`amount` int(10) unsigned NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `FactionQuestIDX` (`quest_id`,`faction_name`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_quest_reward_items` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`quest_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`item_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `ItemQuestIDX` (`item_id`,`quest_id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_quest_taskgroup_tasks` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`taskgroup_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`task` text NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `TaskGroupTaskIDX` (`task`(200),`taskgroup_id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_quest_taskgroup_taskupdates` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`taskgroup_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`icon` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`update_target_name` varchar(64) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `TaskGroupUpdateIDX` (`taskgroup_id`,`update_target_name`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_quest_taskgroups` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`quest_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`task_group` text NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `QuestTaskIDX` (`quest_id`,`task_group`(200))
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_quests` (
|
||||||
|
`id` int(11) unsigned NOT NULL default '0',
|
||||||
|
`name` varchar(255) NOT NULL,
|
||||||
|
`description` text NOT NULL,
|
||||||
|
`type` varchar(255) NOT NULL,
|
||||||
|
`zone` varchar(255) NOT NULL,
|
||||||
|
`unknown1` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`repeatable` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`unknown2` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`day` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`month` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`year` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`level` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`encounter_level` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`difficulty` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`visible` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`max_coin` int(10) unsigned NOT NULL default '0',
|
||||||
|
`min_coin` int(10) unsigned NOT NULL default '0',
|
||||||
|
`status_points` int(10) unsigned NOT NULL default '0',
|
||||||
|
`text` varchar(50) NOT NULL,
|
||||||
|
`exp_bonus` int(10) unsigned NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
@ -0,0 +1,28 @@
|
||||||
|
ALTER TABLE `raw_items` CHANGE `item_type` `item_type` ENUM('Normal','Armor','Food','Bag','Weapon','Ranged','Shield','Spell','Recipe','Book','House','Thrown','Bauble','House Container','Adornment','Pattern','Armor Set') DEFAULT 'Normal' NOT NULL;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_armorset` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`armorset_item_id` int(11) NOT NULL default '0',
|
||||||
|
`item_id` int(11) NOT NULL default '0',
|
||||||
|
`item_crc` int(11) NOT NULL default '0',
|
||||||
|
`item_name` varchar(255) NOT NULL default 'N/A',
|
||||||
|
`item_icon` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`unknown_piece` int(10) unsigned NOT NULL default '0',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `UnqArmorSetIdx` (`item_id`,`armorset_item_id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_pattern` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`pattern_item_id` int(11) NOT NULL default '0',
|
||||||
|
`item_id` int(11) NOT NULL default '0',
|
||||||
|
`item_crc` int(11) NOT NULL default '0',
|
||||||
|
`item_name` varchar(255) NOT NULL default 'N/A',
|
||||||
|
`item_icon` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `UnqPatternIDX` (`pattern_item_id`,`item_id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=135 DEFAULT CHARSET=latin1;
|
|
@ -0,0 +1,2 @@
|
||||||
|
ALTER TABLE `raw_quest_reward_items` ADD `selectable` TINYINT UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_quest_reward_items` DROP INDEX `ItemQuestIDX`, ADD UNIQUE `ItemQuestIDX` (`item_id`, `quest_id`, `selectable`);
|
29
EQ2/devtools/PacketParser/sql_updates/RawDialogs.sql
Normal file
29
EQ2/devtools/PacketParser/sql_updates/RawDialogs.sql
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
drop table if exists raw_dialogs;
|
||||||
|
CREATE TABLE `raw_dialogs` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`spawn_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`conversation_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`npc_text` text NOT NULL,
|
||||||
|
`voice_file` varchar(255) NOT NULL,
|
||||||
|
`key1` int(10) unsigned NOT NULL default '0',
|
||||||
|
`key2` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`unknown2` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`unknown3` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`sequence` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`index` smallint(5) NOT NULL default '0',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex` (`conversation_id`,`spawn_id`,`sequence`,`index`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
drop table if exists raw_dialog_choices;
|
||||||
|
CREATE TABLE `raw_dialog_choices` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`dialog_conversation_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`index` smallint(3) unsigned NOT NULL default '0',
|
||||||
|
`choice` text NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_item_details_skills`;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_item_details_skill`;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_skill` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`item_id` INT(11) NOT NULL DEFAULT '0',
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`tier` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `ItemSpellTierIdx` (`item_id`,`spell_id`,`tier`,`language_type`)
|
||||||
|
) ENGINE=MYISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_bauble` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`cast` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '100',
|
||||||
|
`recovery` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`duration` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`recast` FLOAT UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
`display_cast_time` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`display_bauble_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`effect_radius` FLOAT NOT NULL DEFAULT '0',
|
||||||
|
`max_aoe_targets` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`display_until_cancelled` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex` (`item_id`,`language_type`)
|
||||||
|
) ENGINE=MYISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
|
||||||
|
|
2
EQ2/devtools/PacketParser/sql_updates/SpawnFix.sql
Normal file
2
EQ2/devtools/PacketParser/sql_updates/SpawnFix.sql
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ALTER TABLE `raw_spawn_info` ADD `title` VARCHAR(255) DEFAULT ' ' NOT NULL AFTER `widget_id`;
|
||||||
|
ALTER TABLE `raw_spawn_info` DROP INDEX `NewIndex`, ADD UNIQUE `NewIndex` (`name`, `class_`, `race_type`, `race`, `level`, `gender`, `difficulty`, `language_type`, `widget_id`, `title`);
|
24
EQ2/devtools/PacketParser/sql_updates/TSO Parser Queries.sql
Normal file
24
EQ2/devtools/PacketParser/sql_updates/TSO Parser Queries.sql
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
ALTER TABLE `raw_item_appearances` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_classes` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_descriptions` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_armor` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_bag` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_bauble` CHANGE `item_id` `item_id` INT UNSIGNED DEFAULT '0' NULL;
|
||||||
|
ALTER TABLE `raw_item_details_food` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_house` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_house_container` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_range` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_recipe` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_recipe_items` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_shield` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_skills` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_thrown` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_effects` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_skill_classes` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_stats` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_items` CHANGE `id` `id` INT NOT NULL AUTO_INCREMENT;
|
||||||
|
ALTER TABLE `raw_merchant_items` CHANGE `item_id` `item_id` INT NOT NULL;
|
||||||
|
ALTER TABLE `raw_quest_reward_items` CHANGE `item_id` `item_id` INT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_spawn_info` CHANGE `race_type` `model_type` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_spawn_info` CHANGE `soga_race_type` `soga_model_type` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
|
40
EQ2/devtools/PacketParser/sql_updates/eq2_achievements.sql
Normal file
40
EQ2/devtools/PacketParser/sql_updates/eq2_achievements.sql
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_achievements`;
|
||||||
|
CREATE TABLE `raw_achievements` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(50) NOT NULL,
|
||||||
|
`uncompleted_text` VARCHAR(255) DEFAULT NULL,
|
||||||
|
`completed_text` VARCHAR(255) DEFAULT NULL,
|
||||||
|
`category` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`expansion` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`point_value` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`qty_req` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `id` (`unknown_id`,`name`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_achievements_items`;
|
||||||
|
CREATE TABLE /*!32312 IF NOT EXISTS*/ `raw_achievements_items` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(250) DEFAULT NULL,
|
||||||
|
`qty_req` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex` (`name`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_achievements_rewards`;
|
||||||
|
CREATE TABLE /*!32312 IF NOT EXISTS*/ `raw_achievements_rewards` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`reward` VARCHAR(250) DEFAULT '"',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `id` (`unknown_id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1;
|
38
EQ2/devtools/PacketParser/sql_updates/eq2_books.sql
Normal file
38
EQ2/devtools/PacketParser/sql_updates/eq2_books.sql
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_books`;
|
||||||
|
CREATE TABLE `raw_books` (
|
||||||
|
`id` TINYINT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`spawn_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`book_title` VARCHAR(100) NOT NULL,
|
||||||
|
`unknown` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`book_type` VARCHAR(100) NOT NULL,
|
||||||
|
`unknown2` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown3` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown4` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`unknown5` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex` (`spawn_id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_book_images`;
|
||||||
|
CREATE TABLE `raw_book_images` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`spawn_id` INT(10) UNSIGNED NOT NULL,
|
||||||
|
`image_file` VARCHAR(255) DEFAULT NULL,
|
||||||
|
`image_id` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown6` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_book_pages`;
|
||||||
|
CREATE TABLE `raw_book_pages` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`spawn_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`page_text` VARCHAR(1024) DEFAULT NULL,
|
||||||
|
`page_text_valign` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`page_text_halign` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1;
|
|
@ -0,0 +1,82 @@
|
||||||
|
CREATE TABLE `raw_aa_class` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown6` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown7` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown10` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(250) DEFAULT NULL,
|
||||||
|
`description` VARCHAR(250) DEFAULT NULL,
|
||||||
|
`icon` MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2` MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`current_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`max_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`rank_cost` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown11` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`class_name` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`points_req` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`subclass_name` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`icon_col` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon_row` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`line_title` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`unknown20` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `SpellIDX` (`spell_id`)
|
||||||
|
) ENGINE=MYISAM;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `raw_aa_subclass` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown6` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown7` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown10` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(250) DEFAULT NULL,
|
||||||
|
`description` VARCHAR(250) DEFAULT NULL,
|
||||||
|
`icon` MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2` MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`current_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`max_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`rank_cost` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown11` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`class_name` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`points_req` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`subclass_name` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`icon_col` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon_row` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`line_title` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`unknown20` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `SpellIDX` (`spell_id`)
|
||||||
|
) ENGINE=MYISAM;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `raw_aa_tso` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown6` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown7` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown10` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(250) DEFAULT NULL,
|
||||||
|
`description` VARCHAR(250) DEFAULT NULL,
|
||||||
|
`icon` MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2` MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`current_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`max_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`rank_cost` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown11` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`class_name` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`points_req` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`subclass_name` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`icon_col` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon_row` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`line_title` VARCHAR(50) DEFAULT NULL,
|
||||||
|
`unknown20` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `SpellIDX` (`spell_id`)
|
||||||
|
) ENGINE=MYISAM;
|
94
EQ2/devtools/PacketParser/sql_updates/parser_db_20070725.sql
Normal file
94
EQ2/devtools/PacketParser/sql_updates/parser_db_20070725.sql
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_item_classes`;
|
||||||
|
DROP TABLE IF EXISTS `raw_item_skill_classes`;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_items`
|
||||||
|
ADD COLUMN `adventure_classes` BIGINT(20) UNSIGNED DEFAULT '0' NOT NULL AFTER `adventure_default_level`,
|
||||||
|
ADD COLUMN `tradeskill_classes` BIGINT(20) UNSIGNED DEFAULT '0' NOT NULL AFTER `adventure_classes`,
|
||||||
|
CHANGE `required_level` `adventure_default_level` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
ADD COLUMN `tradeskill_default_level` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `adventure_default_level`;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_details_skills`
|
||||||
|
ADD COLUMN `adventure_classes` BIGINT(20) UNSIGNED DEFAULT '0' NOT NULL AFTER `unknown26`,
|
||||||
|
ADD COLUMN `tradeskill_classes` BIGINT(20) UNSIGNED DEFAULT '0' NOT NULL AFTER `adventure_classes`,
|
||||||
|
ADD COLUMN `adventure_default_level` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `tradeskill_classes`,
|
||||||
|
ADD COLUMN `tradeskill_default_level` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `adventure_default_level`;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_item_details_skill`;
|
||||||
|
CREATE TABLE `raw_item_details_skill` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`item_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_tier` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex1` (`item_id`,`language_type`,`spell_id`,`spell_tier`)
|
||||||
|
) ENGINE=MYISAM;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_spawn_info` DROP COLUMN `populate_spawn_id`, DROP COLUMN `processed`;
|
||||||
|
ALTER TABLE `raw_spawns` ADD COLUMN `populate_spawn_id` INT(10) UNSIGNED DEFAULT '0' NOT NULL AFTER `language_type`;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE `opcodes` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_collections` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_conversations` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_dialog_choices` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_dialogs` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_entity_commands` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_factions` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_appearances` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_descriptions` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_armor` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_armorset` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_bag` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_bauble` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_book` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_food` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_house` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_house_container` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_pattern` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_range` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_recipe` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_recipe_items` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_shield` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_skill` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_skills` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_thrown` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_details_weapon` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_effects` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_sets` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_sets_effects` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_sets_stats` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_item_stats` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_items` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_map_data` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_merchant_items` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_quest_reward_factions` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_quest_reward_items` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_quest_taskgroup_tasks` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_quest_taskgroup_taskupdates` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_quest_taskgroups` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_quests` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_sounds` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spawn_appearance` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spawn_appearance_equip` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spawn_groups` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spawn_info` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spawn_signs` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spawn_unknowns` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spawn_widgets` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spawns` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spell_details` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spell_effects` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spell_levels` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_spells` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_zone_points` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
ALTER TABLE `raw_zones` ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_spell_details` ADD COLUMN `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT FIRST,CHANGE `spell_id` `spell_id` INT(10) UNSIGNED DEFAULT '0' NOT NULL, CHANGE `tier` `tier` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL, DROP PRIMARY KEY, ADD PRIMARY KEY(`id`);
|
||||||
|
ALTER TABLE `raw_spell_details` ADD UNIQUE `NewIndex1` (`spell_id`, `tier`);
|
||||||
|
|
||||||
|
ALTER TABLE `raw_spell_effects` ADD COLUMN `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT FIRST,CHANGE `spell_id` `spell_id` INT(10) UNSIGNED DEFAULT '0' NOT NULL, CHANGE `tier` `tier` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL, CHANGE `index` `index` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL, DROP PRIMARY KEY, ADD PRIMARY KEY(`id`);
|
||||||
|
ALTER TABLE `raw_spell_effects` ADD UNIQUE `NewIndex1` (`spell_id`, `tier`, `index`);
|
||||||
|
|
||||||
|
ALTER TABLE `raw_spell_levels` ADD COLUMN `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT FIRST,CHANGE `spell_id` `spell_id` INT(10) UNSIGNED NOT NULL, CHANGE `tier` `tier` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL, CHANGE `adventure_class_id` `adventure_class_id` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL, CHANGE `tradeskill_class_id` `tradeskill_class_id` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL, DROP PRIMARY KEY, ADD PRIMARY KEY(`id`);
|
||||||
|
ALTER TABLE `raw_spell_levels` ADD UNIQUE `NewIndex1` (`spell_id`, `tier`, `adventure_class_id`, `tradeskill_class_id`);
|
28
EQ2/devtools/PacketParser/sql_updates/parser_db_20130102.sql
Normal file
28
EQ2/devtools/PacketParser/sql_updates/parser_db_20130102.sql
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
ALTER TABLE `raw_item_descriptions` DROP KEY `NewIndex`, ADD UNIQUE `NewIndex` (`language_type`, `item_id`);
|
||||||
|
ALTER TABLE `raw_item_descriptions` ADD COLUMN `item_crc` INT(10) DEFAULT '0' NOT NULL AFTER `item_id`, CHANGE `item_id` `item_id` INT(10) DEFAULT '0' NOT NULL;
|
||||||
|
-- adding item type 20, 21, and 22
|
||||||
|
ALTER TABLE `raw_items` CHANGE `item_type` `item_type` ENUM('Normal','Armor','Food','Bag','Weapon','Ranged','Shield','Spell Scroll','Recipe','Book','House','Thrown','Bauble','House Container','Adornment','Pattern Set','Armor Set','Item Set','Decoration','Marketplace','Dungeon Maker') CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT 'Normal' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_appearances` CHANGE `item_crc` `item_crc` INT(10) DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_marketplace_rewards` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`reward_item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`reward_item_crc` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`reward_item_icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`reward_item_name` VARCHAR(250) COLLATE latin1_general_ci DEFAULT '',
|
||||||
|
`language_type` TINYINT(3) NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex1` (`item_id`,`reward_item_id`,`language_type`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_decorations` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`item_id` INT(11) NOT NULL DEFAULT '0',
|
||||||
|
`decoration_name` VARCHAR(64) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex` (`item_id`,`language_type`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
56
EQ2/devtools/PacketParser/sql_updates/parser_db_20130110.sql
Normal file
56
EQ2/devtools/PacketParser/sql_updates/parser_db_20130110.sql
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_item_details_marketplace`;
|
||||||
|
CREATE TABLE `raw_item_details_marketplace` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`marketplace_item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`item_icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex1` (`marketplace_item_id`,`item_id`,`language_type`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_descriptions`
|
||||||
|
CHANGE `flags1` `flags1` SMALLINT (5) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
CHANGE `flags2` `flags2` SMALLINT (5) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
CHANGE `item_type` `item_type` TINYINT (3) UNSIGNED DEFAULT '0' NOT NULL ;
|
||||||
|
|
||||||
|
DROP TABLE `raw_item_details_armorset`;
|
||||||
|
DROP TABLE `raw_item_sets`;
|
||||||
|
DROP TABLE `raw_item_sets_effects`;
|
||||||
|
DROP TABLE `raw_item_sets_stats`;
|
||||||
|
DROP TABLE `raw_item_set_effects`;
|
||||||
|
DROP TABLE `raw_item_set_items`;
|
||||||
|
DROP TABLE `raw_item_set_stats`;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE `raw_items`
|
||||||
|
ADD COLUMN `attuned` TINYINT (3) UNSIGNED DEFAULT '0' NOT NULL AFTER `show_name`,
|
||||||
|
ADD COLUMN `stacklore` TINYINT (3) UNSIGNED DEFAULT '0' NOT NULL AFTER `evil_only`,
|
||||||
|
ADD COLUMN `flags_16384` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL AFTER `lore_equip`,
|
||||||
|
ADD COLUMN `flags_32768` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL AFTER `flags_16384`,
|
||||||
|
ADD COLUMN `unlocked` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL AFTER `appearance_only`,
|
||||||
|
ADD COLUMN `norepair` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL AFTER `unlocked`,
|
||||||
|
ADD COLUMN `flags2_64` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL AFTER `norepair`,
|
||||||
|
ADD COLUMN `flags2_256` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL AFTER `flags2_64`,
|
||||||
|
ADD COLUMN `item_crc` INT(10) NOT NULL DEFAULT '0' AFTER `item_id`,
|
||||||
|
CHANGE `item_id` `item_id` INT(10) DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_itemset_items` ADD COLUMN `item_order` TINYINT(3) UNSIGNED DEFAULT '0' NOT NULL AFTER `item_name`, ADD COLUMN `master_item_id` INT(10) DEFAULT '0' NOT NULL AFTER `item_name`;
|
||||||
|
ALTER TABLE `raw_item_itemset_items` DROP KEY `SetItemIDX`, ADD UNIQUE `SetItemIDX` (`set_id`, `master_item_id`, `item_name`, `item_order`, `language_type`);
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_itemset_bonus_stats` ADD COLUMN `master_item_id` INT(10) DEFAULT '0' NOT NULL AFTER `set_id`;
|
||||||
|
ALTER TABLE `raw_item_itemset_bonus_stats` DROP KEY `SetStatsIDX`, ADD UNIQUE `SetStatsIDX` (`set_id`, `master_item_id`, `items_needed`, `type`, `subtype`, `value`, `value2`, `stats_order`, `language_type`, `name`);
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_itemset_bonus_effects` ADD COLUMN `master_item_id` INT(10) DEFAULT '0' NOT NULL AFTER `set_id`;
|
||||||
|
ALTER TABLE `raw_item_itemset_bonus_effects` DROP KEY `SetEffectsIDX`, ADD UNIQUE `SetEffectsIDX` (`set_id`, `master_item_id`, `items_needed`, `subbulletflag`, `description`, `language_type`);
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_stats` DROP COLUMN `value2`, CHANGE `value` `value` FLOAT DEFAULT '0' NOT NULL;
|
||||||
|
ALTER TABLE `raw_item_itemset_bonus_stats` DROP COLUMN `value2`, CHANGE `value` `value` FLOAT DEFAULT '0' NOT NULL;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_items`
|
||||||
|
ADD COLUMN `adornment_slot1` TINYINT (3) UNSIGNED DEFAULT '255' NOT NULL AFTER `collectable`,
|
||||||
|
ADD COLUMN `adornment_slot2` TINYINT (3) UNSIGNED DEFAULT '255' NOT NULL AFTER `adornment_slot1`,
|
||||||
|
ADD COLUMN `adornment_slot3` TINYINT (3) UNSIGNED DEFAULT '255' NOT NULL AFTER `adornment_slot2`,
|
||||||
|
ADD COLUMN `adornment_slot4` TINYINT (3) UNSIGNED DEFAULT '255' NOT NULL AFTER `adornment_slot3`,
|
||||||
|
ADD COLUMN `adornment_slot5` TINYINT (3) UNSIGNED DEFAULT '255' NOT NULL AFTER `adornment_slot4`,
|
||||||
|
ADD COLUMN `adornment_slot6` TINYINT (3) UNSIGNED DEFAULT '255' NOT NULL AFTER `adornment_slot5`;
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- raw_spawn_info.populate_spawn_id is new field, replacing processed
|
||||||
|
alter table `raw_spawn_info` change `processed` `populate_spawn_id` int(10) UNSIGNED default '0' NOT NULL;
|
||||||
|
|
||||||
|
-- raw_item_effects.name truncates
|
||||||
|
alter table `raw_item_effects` change `name` `name` varchar(255) character set latin1 collate latin1_swedish_ci default 'Unknown' NOT NULL;
|
64
EQ2/devtools/PacketParser/sql_updates/parser_stats.sql
Normal file
64
EQ2/devtools/PacketParser/sql_updates/parser_stats.sql
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
DROP TABLE IF EXISTS `parser_stats`;
|
||||||
|
CREATE TABLE `parser_stats` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) NOT NULL DEFAULT '',
|
||||||
|
`total_items` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_items` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_items` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_spawns` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_spawns` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_spawns` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_spells` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_spells` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_spells` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_specials` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_specials` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_specials` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_achievements` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_achievements` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_achievements` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_advancements` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_advancements` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_advancements` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_abilities` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_abilities` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_abilities` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_traditions` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_traditions` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_traditions` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_trainings` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_trainings` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_trainings` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_poi` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_poi` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_poi` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_locations` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_locations` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_locations` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_quests` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_quests` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_quests` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_factions` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_factions` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_factions` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_collections` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_collections` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_collections` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_aa_class` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_aa_class` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_aa_class` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_aa_subclass` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_aa_subclass` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_aa_subclass` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_aa_tso` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_aa_tso` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_aa_tso` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_titles` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_titles` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_titles` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`total_books` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unique_books` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`new_books` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MYISAM;
|
8
EQ2/devtools/PacketParser/sql_updates/raw db updates.sql
Normal file
8
EQ2/devtools/PacketParser/sql_updates/raw db updates.sql
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
ALTER TABLE `raw_items` CHANGE COLUMN `item_type` `item_type` ENUM('Normal','Armor','Food','Bag','Weapon','Ranged','Shield','Spell Scroll','Recipe','Book','House','Thrown','Bauble','House Container','Adornment','Pattern','Armor Set') NOT NULL DEFAULT 'Normal' AFTER `name`;
|
||||||
|
ALTER TABLE `raw_items` ADD `lore_equip` tinyint(3) unsigned DEFAULT '0' NOT NULL AFTER `evil_only`;
|
||||||
|
ALTER TABLE `raw_items` ADD `ornate` tinyint(3) unsigned DEFAULT '0' NOT NULL AFTER `lore_equip`;
|
||||||
|
ALTER TABLE `raw_items` ADD `heirloom` tinyint(3) unsigned DEFAULT '0' NOT NULL AFTER `ornate`;
|
||||||
|
ALTER TABLE `raw_items` ADD `appearance_only` tinyint(3) unsigned DEFAULT '0' NOT NULL AFTER `heirloom`;
|
||||||
|
ALTER TABLE `raw_item_descriptions` DROP COLUMN `flags`;
|
||||||
|
ALTER TABLE `raw_item_descriptions` ADD `flags1` tinyint(3) unsigned DEFAULT '0' NOT NULL AFTER `tier`;
|
||||||
|
ALTER TABLE `raw_item_descriptions` ADD `flags2` tinyint(3) unsigned DEFAULT '0' NOT NULL AFTER `flags1`;
|
|
@ -0,0 +1,39 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_achievements`;
|
||||||
|
CREATE TABLE `raw_achievements` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`achievement_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`title` VARCHAR(50) COLLATE latin1_general_ci NOT NULL,
|
||||||
|
`uncompleted_text` VARCHAR(255) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`completed_text` VARCHAR(255) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`category` VARCHAR(50) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`expansion` VARCHAR(50) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`point_value` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`qty_req` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`hide_achievement` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown3a` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown3b` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) COLLATE latin1_general_ci NOT NULL,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `id` (`achievement_id`,`title`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_achievements_requirements`;
|
||||||
|
CREATE TABLE `raw_achievements_requirements` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`achievement_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(250) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`qty_req` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex` (`name`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_achievements_rewards`;
|
||||||
|
CREATE TABLE `raw_achievements_rewards` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`achievement_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`reward` VARCHAR(250) COLLATE latin1_general_ci DEFAULT '"',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `id` (`achievement_id`,`reward`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE `raw_achievements` DROP KEY `id`, ADD UNIQUE `id` (`achievement_id`, `title`, `data_version`);
|
44
EQ2/devtools/PacketParser/sql_updates/raw_adventure_list.sql
Normal file
44
EQ2/devtools/PacketParser/sql_updates/raw_adventure_list.sql
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
ALTER TABLE `parser_stats`
|
||||||
|
DROP COLUMN `total_aa_subclass`,
|
||||||
|
DROP COLUMN `new_aa_tso`,
|
||||||
|
DROP COLUMN `unique_aa_tso`,
|
||||||
|
DROP COLUMN `total_aa_tso`,
|
||||||
|
DROP COLUMN `new_aa_subclass`,
|
||||||
|
DROP COLUMN `unique_aa_subclass`,
|
||||||
|
CHANGE `total_aa_class` `total_aa` SMALLINT (5) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
CHANGE `unique_aa_class` `unique_aa` SMALLINT (5) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
CHANGE `new_aa_class` `new_aa` SMALLINT (5) UNSIGNED DEFAULT '0' NOT NULL ;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_aa_class`;
|
||||||
|
DROP TABLE IF EXISTS `raw_aa_subclass`;
|
||||||
|
DROP TABLE IF EXISTS `raw_aa_tso`;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_adventure_list` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown6` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown7` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown10` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(250) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`description` VARCHAR(250) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`icon` MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2` MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`current_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`max_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`rank_cost` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown11` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`class_name` VARCHAR(50) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`points_req` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`subclass_name` VARCHAR(50) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`icon_col` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon_row` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`line_title` VARCHAR(50) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`unknown20` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`global_req` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`aa_type` VARCHAR(32) COLLATE latin1_general_ci DEFAULT NULL,
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `AdventureListIDX` (`spell_id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
80
EQ2/devtools/PacketParser/sql_updates/raw_arenas.sql
Normal file
80
EQ2/devtools/PacketParser/sql_updates/raw_arenas.sql
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_arena_levels`;
|
||||||
|
CREATE TABLE `raw_arena_levels` (
|
||||||
|
`id` INT (10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`level_name` VARCHAR (32) NOT NULL DEFAULT '',
|
||||||
|
`level_value` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT (5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR (250) NOT NULL DEFAULT '',
|
||||||
|
UNIQUE `ArenaLevelIDX` (`level_name`, `level_value`),
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE = 'Default' COMMENT = '' ROW_FORMAT = DEFAULT ;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_arena_timers`;
|
||||||
|
CREATE TABLE `raw_arena_timers` (
|
||||||
|
`id` INT (10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`time_type` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`time_name` VARCHAR (32) NOT NULL DEFAULT '',
|
||||||
|
`time_value` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT (5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR (250) NOT NULL DEFAULT '',
|
||||||
|
UNIQUE `ArenaTimerIDX` (`time_type`, `time_name`, `time_value`),
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE = 'Default' COMMENT = '' ROW_FORMAT = DEFAULT ;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_arena_types`;
|
||||||
|
CREATE TABLE `raw_arena_types` (
|
||||||
|
`id` INT (10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown2a` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown2b` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown2c` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`type_name` VARCHAR (32) NOT NULL DEFAULT '',
|
||||||
|
`unknown3a` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown3b` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT (5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR (250) NOT NULL DEFAULT '',
|
||||||
|
UNIQUE `ArenaTypesIDX` (`type_name`),
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE = 'Default' COMMENT = '' ROW_FORMAT = DEFAULT ;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_arena_challenges`;
|
||||||
|
CREATE TABLE `raw_arena_challenges` (
|
||||||
|
`id` INT (10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`challenge_name` VARCHAR (32) NOT NULL DEFAULT '',
|
||||||
|
`challenge_value` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT (5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR (250) NOT NULL DEFAULT '',
|
||||||
|
UNIQUE `ArenaChallengeIDX` (`challenge_name`, `challenge_value`),
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE = 'Default' COMMENT = '' ROW_FORMAT = DEFAULT ;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_arena_zones`;
|
||||||
|
CREATE TABLE `raw_arena_zones` (
|
||||||
|
`id` INT (10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`type1` VARCHAR (32) NOT NULL DEFAULT '',
|
||||||
|
`unknown4a` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown4b` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`file` VARCHAR (64) NOT NULL DEFAULT '',
|
||||||
|
`type2` VARCHAR (32) NOT NULL DEFAULT '',
|
||||||
|
`name` VARCHAR (32) NOT NULL DEFAULT '',
|
||||||
|
`description` TEXT,
|
||||||
|
`data_version` SMALLINT (5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR (250) NOT NULL DEFAULT '',
|
||||||
|
UNIQUE `ArenaZonesIDX` (`type1`, `file`, `name`),
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE = 'Default' COMMENT = '' ROW_FORMAT = DEFAULT ;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_arena_images`;
|
||||||
|
CREATE TABLE `raw_arena_images` (
|
||||||
|
`id` INT (10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`arena_zone_id` TINYINT(3) NOT NULL DEFAULT '0',
|
||||||
|
`image_path` VARCHAR (250) NOT NULL DEFAULT '',
|
||||||
|
`x` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`y` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`x2` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`y2` TINYINT (3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT (5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR (250) NOT NULL DEFAULT '',
|
||||||
|
UNIQUE `ArenaImagesIDX` (`arena_zone_id`, `image_path`),
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE = 'Default' COMMENT = '' ROW_FORMAT = DEFAULT ;
|
||||||
|
|
49
EQ2/devtools/PacketParser/sql_updates/raw_collections.sql
Normal file
49
EQ2/devtools/PacketParser/sql_updates/raw_collections.sql
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# HeidiSQL Dump
|
||||||
|
#
|
||||||
|
# --------------------------------------------------------
|
||||||
|
# Host: 127.0.0.1
|
||||||
|
# Database: parser
|
||||||
|
# Server version: 5.1.31-community
|
||||||
|
# Server OS: Win32
|
||||||
|
# Target-Compatibility: MySQL 5.0
|
||||||
|
# max_allowed_packet: 1048576
|
||||||
|
# HeidiSQL version: 3.2 Revision: 1129
|
||||||
|
# --------------------------------------------------------
|
||||||
|
|
||||||
|
/*!40100 SET CHARACTER SET latin1*/;
|
||||||
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0*/;
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Table structure for table 'raw_collections'
|
||||||
|
#
|
||||||
|
|
||||||
|
CREATE TABLE /*!32312 IF NOT EXISTS*/ `raw_collections` (
|
||||||
|
`unknown` tinyint(3) unsigned NOT NULL,
|
||||||
|
`collection_name` varchar(512) NOT NULL,
|
||||||
|
`collection_category` varchar(512) NOT NULL,
|
||||||
|
`unknown2` tinyint(3) unsigned NOT NULL,
|
||||||
|
`unknown6` tinyint(3) unsigned NOT NULL,
|
||||||
|
`unknown7` tinyint(3) unsigned NOT NULL,
|
||||||
|
`unknown8` tinyint(3) unsigned NOT NULL,
|
||||||
|
`unknown9` tinyint(3) unsigned NOT NULL,
|
||||||
|
`unknown10` tinyint(3) unsigned NOT NULL,
|
||||||
|
`level` tinyint(3) unsigned NOT NULL,
|
||||||
|
`num_items` tinyint(3) unsigned NOT NULL,
|
||||||
|
`item_icon` smallint(5) unsigned NOT NULL,
|
||||||
|
`item_name` varchar(512) DEFAULT NULL,
|
||||||
|
`unknown4` tinyint(3) unsigned DEFAULT NULL,
|
||||||
|
`item_id` int(11) DEFAULT NULL,
|
||||||
|
`item_crc` int(11) DEFAULT NULL,
|
||||||
|
`log_file` varchar(255) DEFAULT ''
|
||||||
|
) ENGINE=InnoDB /*!40100 DEFAULT CHARSET=latin1*/;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Dumping data for table 'raw_collections'
|
||||||
|
#
|
||||||
|
|
||||||
|
# (No data found.)
|
||||||
|
|
||||||
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS*/;
|
23
EQ2/devtools/PacketParser/sql_updates/raw_collections1.sql
Normal file
23
EQ2/devtools/PacketParser/sql_updates/raw_collections1.sql
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_collections`;
|
||||||
|
CREATE TABLE `raw_collections` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`unknown` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`collection_name` VARCHAR(512) NOT NULL,
|
||||||
|
`collection_category` VARCHAR(512) NOT NULL,
|
||||||
|
`unknown2` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`unknown6` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`unknown7` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`unknown8` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`unknown9` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`unknown10` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`level` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`num_items` TINYINT(3) UNSIGNED NOT NULL,
|
||||||
|
`item_icon` SMALLINT(5) UNSIGNED NOT NULL,
|
||||||
|
`item_name` VARCHAR(512) DEFAULT NULL,
|
||||||
|
`unknown4` TINYINT(3) UNSIGNED DEFAULT NULL,
|
||||||
|
`item_id` INT(11) DEFAULT NULL,
|
||||||
|
`item_crc` INT(11) DEFAULT NULL,
|
||||||
|
`log_file` VARCHAR(255) DEFAULT '',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC;
|
14
EQ2/devtools/PacketParser/sql_updates/raw_commands.sql
Normal file
14
EQ2/devtools/PacketParser/sql_updates/raw_commands.sql
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
CREATE TABLE `raw_commands` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`type` tinyint(3) unsigned default '1',
|
||||||
|
`command` varchar(64) collate latin1_general_ci NOT NULL,
|
||||||
|
`subcommand` varchar(64) collate latin1_general_ci NOT NULL,
|
||||||
|
`handler` int(10) unsigned NOT NULL default '0',
|
||||||
|
`required_status` smallint(5) NOT NULL default '0',
|
||||||
|
`data_version` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`log_file` varchar(250) collate latin1_general_ci NOT NULL default '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `CommandIDX` (`command`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
ALTER TABLE `parser_stats` ADD COLUMN `total_commands` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `new_recipes_list`, ADD COLUMN `unique_commands` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `total_commands`, ADD COLUMN `new_commands` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `unique_commands`;
|
23
EQ2/devtools/PacketParser/sql_updates/raw_factions.sql
Normal file
23
EQ2/devtools/PacketParser/sql_updates/raw_factions.sql
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# HeidiSQL Dump
|
||||||
|
#
|
||||||
|
# --------------------------------------------------------
|
||||||
|
# Host: 192.168.0.2
|
||||||
|
# Database: parser
|
||||||
|
# Server version: 5.0.60-log
|
||||||
|
# Server OS: pc-linux-gnu
|
||||||
|
# Target-Compatibility: Same as source server (MySQL 5.0.60-log)
|
||||||
|
# max_allowed_packet: 16777216
|
||||||
|
# HeidiSQL version: 3.1 RC1 Revision: 1064
|
||||||
|
# --------------------------------------------------------
|
||||||
|
|
||||||
|
/*!40100 SET CHARACTER SET latin1*/;
|
||||||
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0*/;
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Dumping data for table 'raw_factions'
|
||||||
|
#
|
||||||
|
|
||||||
|
# (No data found.)
|
||||||
|
|
||||||
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS*/;
|
15
EQ2/devtools/PacketParser/sql_updates/raw_factions1.sql
Normal file
15
EQ2/devtools/PacketParser/sql_updates/raw_factions1.sql
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_factions`;
|
||||||
|
CREATE TABLE `raw_factions` (
|
||||||
|
`faction_id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` VARCHAR(512) DEFAULT NULL,
|
||||||
|
`category` VARCHAR(512) DEFAULT NULL,
|
||||||
|
`description` VARCHAR(512) DEFAULT NULL,
|
||||||
|
`unknown` VARCHAR(512) DEFAULT NULL,
|
||||||
|
`con` TINYINT(3) NOT NULL DEFAULT '0',
|
||||||
|
`percentage` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown2` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`value` MEDIUMINT(5) NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(255) DEFAULT '',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`faction_id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC;
|
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE `raw_item_appearances`
|
||||||
|
ADD COLUMN `item_crc` BIGINT (20) DEFAULT '0' NOT NULL AFTER `item_id`,
|
||||||
|
CHANGE `item_id` `item_id` INT (10) DEFAULT '0' NOT NULL ;
|
|
@ -0,0 +1,16 @@
|
||||||
|
/* New Item Type 18 (Armor Set) table structure */
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_armorset` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`armorset_item_id` int(10) NOT NULL default '0',
|
||||||
|
`item_id` int(10) NOT NULL default '0',
|
||||||
|
`item_crc` int(10) NOT NULL default '0',
|
||||||
|
`item_icon` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`item_name` varchar(250) collate latin1_general_ci default '',
|
||||||
|
`unknown_piece` int(10) unsigned NOT NULL default '0',
|
||||||
|
`language_type` tinyint(3) NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM;
|
||||||
|
|
||||||
|
|
||||||
|
alter table `raw_items` change `item_type` `item_type` enum('Normal','Armor','Food','Bag','Weapon','Ranged','Shield','Spell','Recipe','Book','House','Thrown','Bauble','House Container','Adornment','Pattern','Armor Set') default 'Normal' NOT NULL;
|
|
@ -0,0 +1,39 @@
|
||||||
|
# HeidiSQL Dump
|
||||||
|
#
|
||||||
|
# --------------------------------------------------------
|
||||||
|
# Host: 127.0.0.1
|
||||||
|
# Database: parser
|
||||||
|
# Server version: 5.1.31-community
|
||||||
|
# Server OS: Win32
|
||||||
|
# Target-Compatibility: MySQL 5.0
|
||||||
|
# max_allowed_packet: 1048576
|
||||||
|
# HeidiSQL version: 3.2 Revision: 1129
|
||||||
|
# --------------------------------------------------------
|
||||||
|
|
||||||
|
/*!40100 SET CHARACTER SET latin1*/;
|
||||||
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0*/;
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Table structure for table 'raw_item_details_book'
|
||||||
|
#
|
||||||
|
|
||||||
|
CREATE TABLE /*!32312 IF NOT EXISTS*/ `raw_item_details_book` (
|
||||||
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
|
`item_id` int(11) NOT NULL DEFAULT '0',
|
||||||
|
`unknown1` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`unknown2` int(10) unsigned NOT NULL DEFAULT '0',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `ItemLanguageIDX` (`item_id`,`language_type`)
|
||||||
|
) ENGINE=MyISAM /*!40100 DEFAULT CHARSET=latin1*/;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Dumping data for table 'raw_item_details_book'
|
||||||
|
#
|
||||||
|
|
||||||
|
# (No data found.)
|
||||||
|
|
||||||
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS*/;
|
|
@ -0,0 +1,12 @@
|
||||||
|
DROP TABLE `raw_item_details_house`;
|
||||||
|
CREATE TABLE `raw_item_details_house` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`item_id` int(11) NOT NULL default '0',
|
||||||
|
`status_rent_reduction` int(10) unsigned NOT NULL default '0',
|
||||||
|
`coin_rent_reduction` float unsigned default '0' NOT NULL,
|
||||||
|
`house_unknown2` smallint(6) unsigned default '0' NOT NULL,
|
||||||
|
`house_only` tinyint(3) unsigned default '0' NOT NULL,
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `ItemLanguageIDX` (`item_id`,`language_type`)
|
||||||
|
) ENGINE=MyISAM;
|
|
@ -0,0 +1,16 @@
|
||||||
|
CREATE TABLE `raw_item_details_itemset` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`itemset_item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`item_crc` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`item_icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`item_unknown1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`item_unknown2` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`item_name` VARCHAR(250) NULL DEFAULT '' COLLATE 'latin1_general_ci',
|
||||||
|
`language_type` TINYINT(3) NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
)
|
||||||
|
COLLATE='latin1_general_ci'
|
||||||
|
ENGINE=MyISAM;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_items` CHANGE COLUMN `item_type` `item_type` ENUM('Normal','Armor','Food','Bag','Weapon','Ranged','Shield','Spell Scroll','Recipe','Book','House','Thrown','Bauble','House Container','Adornment','Pattern Set','Armor Set','Item Set') NOT NULL DEFAULT 'Normal' COLLATE 'latin1_general_ci' AFTER `name`;
|
|
@ -0,0 +1,16 @@
|
||||||
|
|
||||||
|
/* New Item Type 17 (Pattern) table structure */
|
||||||
|
|
||||||
|
CREATE TABLE `raw_item_details_pattern` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`pattern_item_id` int(10) NOT NULL default '0',
|
||||||
|
`item_id` int(10) NOT NULL default '0',
|
||||||
|
`item_crc` int(10) NOT NULL default '0',
|
||||||
|
`item_icon` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`item_name` varchar(250) collate latin1_general_ci default '',
|
||||||
|
`language_type` tinyint(3) NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM;
|
||||||
|
|
||||||
|
|
||||||
|
alter table `raw_items` change `item_type` `item_type` enum('Normal','Armor','Food','Bag','Weapon','Ranged','Shield','Spell','Recipe','Book','House','Thrown','Bauble','House Container','Adornment','Pattern') default 'Normal' NOT NULL;
|
|
@ -0,0 +1 @@
|
||||||
|
alter table `raw_item_effects` change `name` `name` varchar(512) character set latin1 collate latin1_swedish_ci default 'Unknown' NOT NULL;
|
56
EQ2/devtools/PacketParser/sql_updates/raw_item_itemsets.sql
Normal file
56
EQ2/devtools/PacketParser/sql_updates/raw_item_itemsets.sql
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
-- Item Type 16 - Profile Items
|
||||||
|
ALTER TABLE `raw_items` CHANGE `item_type` `item_type` ENUM('Normal','Armor','Food','Bag','Weapon','Ranged','Shield','Spell Scroll','Recipe','Book','House','Thrown','Bauble','House Container','Adornment','Pattern Set','Armor Set','Item Set','Decoration','Marketplace','Dungeon Maker','Profile') CHARACTER SET latin1 COLLATE latin1_general_ci DEFAULT 'Normal' NOT NULL;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_item_itemsets`;
|
||||||
|
CREATE TABLE `raw_item_itemsets` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`set_name` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT 'Unknown',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `ItemSetIDX` (`set_name`, `language_type`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_item_itemset_items`;
|
||||||
|
CREATE TABLE `raw_item_itemset_items` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`set_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`unknown1` TINYINT(3) NOT NULL DEFAULT '0',
|
||||||
|
`unknown2` TINYINT(3) NOT NULL DEFAULT '0',
|
||||||
|
`item_name` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT 'Unknown',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `SetItemIDX` (`set_id`, `item_name`, `language_type`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_item_itemset_bonus_stats`;
|
||||||
|
CREATE TABLE `raw_item_itemset_bonus_stats` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`set_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`items_needed` TINYINT(3) NOT NULL DEFAULT '0',
|
||||||
|
`type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`subtype` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`value` SMALLINT(5) NOT NULL DEFAULT '0',
|
||||||
|
`value2` FLOAT DEFAULT '0',
|
||||||
|
`name` VARCHAR(512) COLLATE latin1_general_ci DEFAULT '',
|
||||||
|
`unknown` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`stats_order` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `SetStatsIDX` (`set_id`,`items_needed`,`type`,`subtype`,`value`,`value2`,`stats_order`,`language_type`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_item_itemset_bonus_effects`;
|
||||||
|
CREATE TABLE `raw_item_itemset_bonus_effects` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`set_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`items_needed` TINYINT(3) NOT NULL DEFAULT '0',
|
||||||
|
`subbulletflag` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`description` VARCHAR(512) COLLATE latin1_general_ci DEFAULT '',
|
||||||
|
`percentage` TINYINT(3) UNSIGNED NOT NULL DEFAULT '100',
|
||||||
|
`effect_order` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `SetEffectsIDX` (`set_id`, `description`, `effect_order`, `language_type`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_item_itemsets` ADD COLUMN `data_version` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `language_type`, ADD COLUMN `log_file` VARCHAR(250) DEFAULT '' NOT NULL AFTER `data_version`;
|
3
EQ2/devtools/PacketParser/sql_updates/raw_items-fix.sql
Normal file
3
EQ2/devtools/PacketParser/sql_updates/raw_items-fix.sql
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
-- getting items.name truncated, setting description to `text`
|
||||||
|
alter table `raw_items` change `name` `name` varchar(512), change `description` `description` text NOT NULL;
|
||||||
|
alter table `raw_items` add column `processed` tinyint(3) UNSIGNED DEFAULT '0' NOT NULL;
|
22
EQ2/devtools/PacketParser/sql_updates/raw_map_data.sql
Normal file
22
EQ2/devtools/PacketParser/sql_updates/raw_map_data.sql
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_map_data`;
|
||||||
|
CREATE TABLE `raw_map_data` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`map_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`zone_name` varchar(128) NOT NULL,
|
||||||
|
`highest` float NOT NULL default '0',
|
||||||
|
`lowest` float NOT NULL default '0',
|
||||||
|
`explored_map_name` varchar(255) NOT NULL,
|
||||||
|
`unexplored_map_name` varchar(255) NOT NULL,
|
||||||
|
`bounds1_x` float NOT NULL default '0',
|
||||||
|
`bounds1_z` float NOT NULL default '0',
|
||||||
|
`bounds2_x` float NOT NULL default '0',
|
||||||
|
`bounds2_z` float NOT NULL default '0',
|
||||||
|
`bounds3_x` float NOT NULL default '0',
|
||||||
|
`bounds3_z` float NOT NULL default '0',
|
||||||
|
`bounds4_x` float NOT NULL default '0',
|
||||||
|
`bounds4_z` float NOT NULL default '0',
|
||||||
|
`explored_key` bigint(20) unsigned NOT NULL default '0',
|
||||||
|
`unexplored_key` bigint(20) unsigned NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `MapIDX` (`map_id`,`zone_name`,`unexplored_map_name`,`explored_map_name`)
|
||||||
|
) ENGINE=InnoDB;
|
58
EQ2/devtools/PacketParser/sql_updates/raw_merchants.sql
Normal file
58
EQ2/devtools/PacketParser/sql_updates/raw_merchants.sql
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_merchant_items`;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_merchants`;
|
||||||
|
CREATE TABLE `raw_merchants` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`spawn_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`description` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `MerchantsIDX` (`spawn_id`,`language_type`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_merchant_inventory`;
|
||||||
|
CREATE TABLE `raw_merchant_inventory` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`inventory_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`item_name` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
`price` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`unique_item_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`stack_size` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`item_difficulty` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`level` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown4a` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown4b` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`quantity` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown5` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`tier` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`status` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`item_id2` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`stack_size2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`status2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`station_cash` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown7a` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown7b` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`num_tokens` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`description` TEXT COLLATE latin1_general_ci,
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `InventoryIDX` (`inventory_id`,`item_id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_merchant_inventory_tokens`;
|
||||||
|
CREATE TABLE `raw_merchant_inventory_tokens` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`inventory_item_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`token_icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`token_quantity` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`token_id` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`token_id2` INT(10) NOT NULL DEFAULT '0',
|
||||||
|
`token_name` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
KEY `TokenIDX` (`inventory_item_id`,`token_id`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
21
EQ2/devtools/PacketParser/sql_updates/raw_mercs_pets.sql
Normal file
21
EQ2/devtools/PacketParser/sql_updates/raw_mercs_pets.sql
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_spawn_mercs`;
|
||||||
|
CREATE TABLE `raw_spawn_mercs` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`spawn_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`mercenary_name` VARCHAR(64) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex1` (`mercenary_name`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `raw_spawn_pets`;
|
||||||
|
CREATE TABLE `raw_spawn_pets` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`spawn_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`pet_name` VARCHAR(64) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) COLLATE latin1_general_ci NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex1` (`pet_name`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
11
EQ2/devtools/PacketParser/sql_updates/raw_poi_locations.sql
Normal file
11
EQ2/devtools/PacketParser/sql_updates/raw_poi_locations.sql
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
CREATE TABLE `raw_poi_locations`(
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT ,
|
||||||
|
`unknown` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' ,
|
||||||
|
`x` FLOAT NOT NULL DEFAULT '0' ,
|
||||||
|
`y` FLOAT NOT NULL DEFAULT '0' ,
|
||||||
|
`z` FLOAT NOT NULL DEFAULT '0' ,
|
||||||
|
`num_locations` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' ,
|
||||||
|
`data_version` INT(10) UNSIGNED NOT NULL DEFAULT '0' ,
|
||||||
|
`log_file` VARCHAR(250) NOT NULL DEFAULT '' ,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM;
|
|
@ -0,0 +1,2 @@
|
||||||
|
ALTER TABLE `raw_spawn_appearance_equip` ADD COLUMN `data_version` SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL AFTER `highlight_blue`;
|
||||||
|
ALTER TABLE `raw_spawn_appearance_equip` DROP KEY `NewIndex`, ADD UNIQUE `EquipIDX` (`spawn_id`, `slot_id`, `data_version`, `language_type`);
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE `raw_spawn_info` ADD COLUMN `populate_spawn_id` INT(10) UNSIGNED DEFAULT '0' NOT NULL AFTER `randomize`;
|
|
@ -0,0 +1,6 @@
|
||||||
|
ALTER TABLE `raw_spawn_info`
|
||||||
|
CHANGE `level` `min_level` TINYINT (3) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
|
ADD COLUMN `max_level` TINYINT (3) UNSIGNED DEFAULT '0' NOT NULL AFTER `min_level`,
|
||||||
|
ADD COLUMN `min_size` SMALLINT (5) UNSIGNED DEFAULT '0' NOT NULL AFTER `pos_size`,
|
||||||
|
ADD COLUMN `max_size` SMALLINT (5) UNSIGNED DEFAULT '0' NOT NULL AFTER `min_size`,
|
||||||
|
ADD COLUMN `randomize` INT (10) UNSIGNED DEFAULT '0' NOT NULL AFTER `title`;
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE `raw_spawns` ADD COLUMN `spawn_group_id` INT(10) DEFAULT '0' NOT NULL AFTER `spawn_id`;
|
15
EQ2/devtools/PacketParser/sql_updates/raw_spell_visuals.sql
Normal file
15
EQ2/devtools/PacketParser/sql_updates/raw_spell_visuals.sql
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_spell_visuals`;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_spell_visuals` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`num_targets` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_visual1` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_visual2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`cast_time` FLOAT NOT NULL DEFAULT '0',
|
||||||
|
`spell_level` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_tier` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MYISAM;
|
|
@ -0,0 +1,4 @@
|
||||||
|
-- changes to spell_visuals
|
||||||
|
ALTER TABLE `raw_spell_visuals` CHANGE `id` `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||||
|
ALTER TABLE `raw_spell_visuals` DROP KEY `id_2`;
|
||||||
|
ALTER TABLE `raw_spell_visuals` DROP KEY `id`, ADD UNIQUE `VisIDX` (`spell_id`, `spell_visual1`, `spell_visual2`);
|
|
@ -0,0 +1,60 @@
|
||||||
|
TRUNCATE `raw_item_appearances`;
|
||||||
|
TRUNCATE `raw_item_classes`;
|
||||||
|
TRUNCATE `raw_item_descriptions`;
|
||||||
|
TRUNCATE `raw_item_details_armor`;
|
||||||
|
TRUNCATE `raw_item_details_armorset`;
|
||||||
|
TRUNCATE `raw_item_details_bag`;
|
||||||
|
TRUNCATE `raw_item_details_bauble`;
|
||||||
|
TRUNCATE `raw_item_details_book`;
|
||||||
|
TRUNCATE `raw_item_details_food`;
|
||||||
|
TRUNCATE `raw_item_details_house`;
|
||||||
|
TRUNCATE `raw_item_details_house_container`;
|
||||||
|
TRUNCATE `raw_item_details_pattern`;
|
||||||
|
TRUNCATE `raw_item_details_range`;
|
||||||
|
TRUNCATE `raw_item_details_recipe`;
|
||||||
|
TRUNCATE `raw_item_details_recipe_items`;
|
||||||
|
TRUNCATE `raw_item_details_shield`;
|
||||||
|
TRUNCATE `raw_item_details_skills`;
|
||||||
|
TRUNCATE `raw_item_details_thrown`;
|
||||||
|
TRUNCATE `raw_item_details_weapon`;
|
||||||
|
TRUNCATE `raw_item_effects`;
|
||||||
|
TRUNCATE `raw_item_sets`;
|
||||||
|
TRUNCATE `raw_item_sets_effects`;
|
||||||
|
TRUNCATE `raw_item_sets_stats`;
|
||||||
|
TRUNCATE `raw_item_skill_classes`;
|
||||||
|
TRUNCATE `raw_item_stats`;
|
||||||
|
TRUNCATE `raw_items`;
|
||||||
|
ALTER TABLE `raw_items` ADD `item_id` INT DEFAULT '0' NOT NULL AFTER `id`;
|
||||||
|
ALTER TABLE `raw_items` CHANGE `id` `id` INT(10) UNSIGNED NOT NULL;
|
||||||
|
ALTER TABLE `raw_items` DROP PRIMARY KEY;
|
||||||
|
ALTER TABLE `raw_items` ADD PRIMARY KEY (`id`);
|
||||||
|
ALTER TABLE `raw_items` CHANGE `id` `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||||
|
ALTER TABLE `raw_items` AUTO_INCREMENT = 1;
|
||||||
|
ALTER TABLE `raw_items` ADD UNIQUE `ItemIDLanguageTypeIDX` (`item_id`, `language_type`);
|
||||||
|
ALTER TABLE `raw_items` CHANGE `menu_type` `menu_type` SMALLINT UNSIGNED DEFAULT '3' NOT NULL;
|
||||||
|
ALTER TABLE `raw_items` DROP `sub_type`;
|
||||||
|
|
||||||
|
TRUNCATE `raw_spell_details`;
|
||||||
|
TRUNCATE `raw_spell_effects`;
|
||||||
|
TRUNCATE `raw_spell_levels`;
|
||||||
|
TRUNCATE `raw_spells`;
|
||||||
|
ALTER TABLE `raw_spells` ADD `spell_id` INT UNSIGNED DEFAULT '0' NOT NULL AFTER `id`;
|
||||||
|
ALTER TABLE `raw_spells` CHANGE `id` `id` INT(10) UNSIGNED NOT NULL;
|
||||||
|
ALTER TABLE `raw_spells` DROP PRIMARY KEY;
|
||||||
|
ALTER TABLE `raw_spells` ADD PRIMARY KEY (`id`);
|
||||||
|
ALTER TABLE `raw_spells` CHANGE `id` `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||||
|
ALTER TABLE `raw_spells` AUTO_INCREMENT = 1;
|
||||||
|
ALTER TABLE `raw_spells` ADD UNIQUE `SpellLanguageTypeIDX` (`spell_id`, `tier`, `language_type`);
|
||||||
|
|
||||||
|
DELETE FROM `raw_collections`;
|
||||||
|
ALTER TABLE `raw_collections` ADD `id` INT UNSIGNED DEFAULT '0' NOT NULL FIRST;
|
||||||
|
ALTER TABLE `raw_collections` ADD PRIMARY KEY (`id`);
|
||||||
|
ALTER TABLE `raw_collections` CHANGE `id` `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE `raw_items` ADD `data_version` SMALLINT(5) UNSIGNED NOT NULL AFTER `log_file`;
|
||||||
|
ALTER TABLE `raw_spells` ADD `data_version` SMALLINT(5) UNSIGNED NOT NULL AFTER `log_file`;
|
||||||
|
ALTER TABLE `raw_quests` ADD `data_version` SMALLINT(5) UNSIGNED NOT NULL AFTER `log_file`;
|
||||||
|
ALTER TABLE `raw_spawns` ADD `data_version` SMALLINT(5) UNSIGNED NOT NULL AFTER `log_file`;
|
||||||
|
|
||||||
|
ALTER TABLE `raw_items` ADD COLUMN `populate_item_id` INT(10) UNSIGNED DEFAULT '0' NOT NULL AFTER `processed`;
|
71
EQ2/devtools/PacketParser/sql_updates/raw_spells.sql
Normal file
71
EQ2/devtools/PacketParser/sql_updates/raw_spells.sql
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
CREATE TABLE `raw_spells` (
|
||||||
|
`id` int(10) unsigned NOT NULL,
|
||||||
|
`tier` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`name` varchar(128) NOT NULL default ' ',
|
||||||
|
`description` varchar(512) NOT NULL default ' ',
|
||||||
|
`icon` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`icon2` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`icontype` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`type` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`class_skill` int(10) unsigned NOT NULL default '0',
|
||||||
|
`mastery_skill` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown2` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`spell_text_color` int(10) unsigned NOT NULL default '0',
|
||||||
|
`friendly_spell` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`display_spell_tier` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`duration_flag` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`target` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`group_spell` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`log_file` varchar(64) default NULL,
|
||||||
|
`processed` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
PRIMARY KEY (`id`,`tier`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE `raw_spell_details` (
|
||||||
|
`spell_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`tier` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`health_req` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`health_upkeep` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`power_req` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`power_upkeep` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`req_concentration` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`cast_time` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`recovery` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`recast` float unsigned NOT NULL default '0',
|
||||||
|
`radius` float unsigned NOT NULL default '0',
|
||||||
|
`max_aoe_targets` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`unknown8` int(10) unsigned NOT NULL default '0',
|
||||||
|
`range` float unsigned NOT NULL default '0',
|
||||||
|
`duration1` int(10) unsigned NOT NULL default '0',
|
||||||
|
`duration2` int(10) unsigned NOT NULL default '0',
|
||||||
|
`unknown9` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`unknown10` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`resistibility` float NOT NULL default '0',
|
||||||
|
`hit_bonus` float NOT NULL default '0',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`log_file` varchar(64) default NULL,
|
||||||
|
PRIMARY KEY (`spell_id`,`tier`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_spell_effects` (
|
||||||
|
`spell_id` int(10) unsigned NOT NULL default '0',
|
||||||
|
`tier` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`subbulletflag` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`effect` varchar(512) NOT NULL,
|
||||||
|
`percentage` tinyint(3) unsigned NOT NULL default '100',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`log_file` varchar(64) default NULL,
|
||||||
|
PRIMARY KEY (`spell_id`,`tier`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
CREATE TABLE `raw_spell_levels` (
|
||||||
|
`spell_id` int(10) unsigned NOT NULL,
|
||||||
|
`tier` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`class_id` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`spell_level` smallint(5) unsigned NOT NULL default '0',
|
||||||
|
`language_type` tinyint(3) unsigned NOT NULL default '0',
|
||||||
|
`log_file` varchar(64) default NULL,
|
||||||
|
PRIMARY KEY (`spell_id`,`tier`,`class_id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
5
EQ2/devtools/PacketParser/sql_updates/raw_spells2.sql
Normal file
5
EQ2/devtools/PacketParser/sql_updates/raw_spells2.sql
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
ALTER TABLE `raw_spell_effects` ADD `index` TINYINT UNSIGNED DEFAULT '0' NOT NULL AFTER `tier`;
|
||||||
|
ALTER TABLE `raw_spell_effects` DROP PRIMARY KEY, ADD PRIMARY KEY (`spell_id`, `tier`, `index`);
|
||||||
|
ALTER TABLE `raw_spells` ADD `spell_visual` INT UNSIGNED DEFAULT '0' NOT NULL AFTER `group_spell`;
|
||||||
|
ALTER TABLE `raw_spells` ADD `success_message` VARCHAR(512) NULL AFTER `spell_visual`;
|
||||||
|
ALTER TABLE `raw_spells` ADD `effect_message` VARCHAR(512) NULL AFTER `success_message`;
|
5
EQ2/devtools/PacketParser/sql_updates/raw_spells3.sql
Normal file
5
EQ2/devtools/PacketParser/sql_updates/raw_spells3.sql
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
ALTER TABLE `raw_spell_details` CHANGE `unknown8` `min_range` int(10) unsigned NOT NULL DEFAULT '0';
|
||||||
|
ALTER TABLE `raw_spells` CHANGE `unknown2` `min_class_skill_req` mediumint(0) unsigned NOT NULL DEFAULT '0';
|
||||||
|
ALTER TABLE `raw_spells` ADD `unknown1` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `effect_message`;
|
||||||
|
ALTER TABLE `raw_spells` ADD `can_effect_raid` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `unknown1`;
|
||||||
|
ALTER TABLE `raw_spells` ADD `affect_only_group_members` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `can_effect_raid`;
|
4
EQ2/devtools/PacketParser/sql_updates/raw_spells4.sql
Normal file
4
EQ2/devtools/PacketParser/sql_updates/raw_spells4.sql
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
ALTER TABLE `raw_spells` ADD `aa_spell_id` int(10) unsigned NOT NULL DEFAULT '0' AFTER `spell_id`;
|
||||||
|
ALTER TABLE `raw_spells` ADD `aa_unknown` smallint(5) unsigned NOT NULL DEFAULT '0' AFTER `affect_only_group_members`;
|
||||||
|
ALTER TABLE `raw_spells` ADD `aa_unknown2` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `aa_unknown`;
|
||||||
|
ALTER TABLE `raw_spells` DROP INDEX `SpellLanguageTypeIDX`, ADD UNIQUE `SpellLanguageTypeIDX` (`spell_id`, `tier`, `aa_spell_id`);
|
40
EQ2/devtools/PacketParser/sql_updates/raw_spells5.sql
Normal file
40
EQ2/devtools/PacketParser/sql_updates/raw_spells5.sql
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_spells`;
|
||||||
|
CREATE TABLE `raw_spells` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`aa_spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`tier` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`name` VARCHAR(128) DEFAULT '',
|
||||||
|
`description` VARCHAR(512) DEFAULT '',
|
||||||
|
`icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icontype` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`class_skill` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`mastery_skill` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`min_class_skill_req` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_text_color` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`friendly_spell` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`display_spell_tier` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`duration_flag` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`target` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`group_spell` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_visual` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`success_message` VARCHAR(512) DEFAULT NULL,
|
||||||
|
`effect_message` VARCHAR(512) DEFAULT NULL,
|
||||||
|
`unknown1` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`can_effect_raid` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`affect_only_group_members` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`aa_unknown` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`aa_unknown2` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`uses_remaining` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`damage_remaining` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown3` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown4` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(255) DEFAULT NULL,
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL,
|
||||||
|
`processed` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `SpellLanguageTypeIDX` (`spell_id`,`tier`)
|
||||||
|
) ENGINE=MYISAM DEFAULT CHARSET=latin1 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC;
|
18
EQ2/devtools/PacketParser/sql_updates/raw_spells_aa.sql
Normal file
18
EQ2/devtools/PacketParser/sql_updates/raw_spells_aa.sql
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_spells_aa`;
|
||||||
|
CREATE TABLE `raw_spells_aa` (
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`aa_spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`spell_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`tier` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`icon2` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`current_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`max_rank` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`rank_cost` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`unknown2` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`language_type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(255) DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex1` (`aa_spell_id`,`language_type`)
|
||||||
|
) ENGINE=MYISAM CHECKSUM=1 AUTO_INCREMENT=1 COMMENT='' DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC CHARSET=latin1 COLLATE=latin1_swedish_ci;
|
10
EQ2/devtools/PacketParser/sql_updates/raw_titles.sql
Normal file
10
EQ2/devtools/PacketParser/sql_updates/raw_titles.sql
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
DROP TABLE IF EXISTS `raw_titles`;
|
||||||
|
CREATE TABLE `raw_titles`(
|
||||||
|
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
|
`title_name` VARCHAR(250) NOT NULL DEFAULT '',
|
||||||
|
`prefix` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`data_version` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0',
|
||||||
|
`log_file` VARCHAR(250) NOT NULL DEFAULT '',
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE KEY `NewIndex` (`title_name`)
|
||||||
|
) ENGINE=MYISAM;
|
1
EQ2/devtools/PacketParser/sql_updates/raw_traditions.sql
Normal file
1
EQ2/devtools/PacketParser/sql_updates/raw_traditions.sql
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE `raw_traditions` ADD COLUMN `section_name` VARCHAR(250) DEFAULT '' NOT NULL AFTER `name`;
|
114
EQ2/distrib/DISTRIB.bat
Normal file
114
EQ2/distrib/DISTRIB.bat
Normal file
|
@ -0,0 +1,114 @@
|
||||||
|
@echo off
|
||||||
|
REM ############################################################################
|
||||||
|
REM #
|
||||||
|
REM # B A S I C C O N F I G U R A T I O N
|
||||||
|
REM #
|
||||||
|
REM ############################################################################
|
||||||
|
|
||||||
|
REM Set the following value to the full drive\path location of your EQ2Emu server
|
||||||
|
REM Or, leave as .\ to copy into the distrib folder (recommended)
|
||||||
|
|
||||||
|
set serverpath=.\
|
||||||
|
|
||||||
|
REM ############################################################################
|
||||||
|
REM #
|
||||||
|
REM # D O N O T M O D I F Y B E Y O N D T H I S P O I N T
|
||||||
|
REM #
|
||||||
|
REM ############################################################################
|
||||||
|
if not exist %serverpath%\nul GOTO badpath
|
||||||
|
|
||||||
|
:menu
|
||||||
|
cls
|
||||||
|
ECHO.
|
||||||
|
ECHO ############################################################################
|
||||||
|
ECHO #
|
||||||
|
ECHO # S E R V E R D I S T R I B U T I O N B U I L D E R
|
||||||
|
ECHO #
|
||||||
|
ECHO ############################################################################
|
||||||
|
ECHO.
|
||||||
|
ECHO Choose from the following options:
|
||||||
|
ECHO.
|
||||||
|
ECHO 1. Copy Required Server Files
|
||||||
|
ECHO 2. Copy Latest LUA Scripts
|
||||||
|
ECHO 3. Show SQL Patches
|
||||||
|
ECHO.
|
||||||
|
ECHO [S]ettings / [E]xit
|
||||||
|
ECHO.
|
||||||
|
set /p l= Choice:
|
||||||
|
if %l%==* goto error
|
||||||
|
if %l%==1 goto copyserver
|
||||||
|
if %l%==2 goto copylua
|
||||||
|
if %l%==3 goto showpatch
|
||||||
|
if %l%==s goto settings
|
||||||
|
if %l%==S goto settings
|
||||||
|
if %l%==e goto quit
|
||||||
|
if %l%==E goto quit
|
||||||
|
if %l%==q goto quit
|
||||||
|
if %l%==Q goto quit
|
||||||
|
if %l%==x goto quit
|
||||||
|
if %l%==X goto quit
|
||||||
|
if %l%==0 goto quit
|
||||||
|
goto error
|
||||||
|
|
||||||
|
|
||||||
|
:copyserver
|
||||||
|
xcopy ..\structs\*.xml %serverpath% /y /d
|
||||||
|
xcopy ..\bin\eq2emu-world.exe %serverpath% /y /d
|
||||||
|
xcopy ..\configs\*.ini %serverpath% /y /d
|
||||||
|
xcopy ..\utils\zlib.dll %serverpath% /y /d
|
||||||
|
xcopy ..\docs\changelog.txt %serverpath% /y /d
|
||||||
|
set copydone=1
|
||||||
|
PAUSE
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:copylua
|
||||||
|
echo Not Yet.
|
||||||
|
PAUSE
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
:showpatch
|
||||||
|
echo Not Yet.
|
||||||
|
PAUSE
|
||||||
|
goto menu
|
||||||
|
|
||||||
|
|
||||||
|
:settings
|
||||||
|
cls
|
||||||
|
ECHO.
|
||||||
|
ECHO ############################################################################
|
||||||
|
ECHO #
|
||||||
|
ECHO # S E T T I N G S
|
||||||
|
ECHO #
|
||||||
|
ECHO ############################################################################
|
||||||
|
ECHO.
|
||||||
|
ECHO Server Path = %serverpath%
|
||||||
|
ECHO.
|
||||||
|
PAUSE
|
||||||
|
GOTO menu
|
||||||
|
|
||||||
|
|
||||||
|
:error
|
||||||
|
CLS
|
||||||
|
ECHO.
|
||||||
|
ECHO.
|
||||||
|
ECHO [ERROR] An error has occured, you will be directed back to the
|
||||||
|
ECHO [ERROR] main menu.
|
||||||
|
PAUSE
|
||||||
|
GOTO menu
|
||||||
|
|
||||||
|
:badpath
|
||||||
|
ECHO.
|
||||||
|
ECHO.
|
||||||
|
ECHO [ERROR] An error has occured; Bad Path Set: %serverpath%
|
||||||
|
ECHO [ERROR] You will be directed back to the main menu.
|
||||||
|
PAUSE
|
||||||
|
GOTO menu
|
||||||
|
|
||||||
|
|
||||||
|
:quit
|
||||||
|
ECHO.
|
||||||
|
if .%copydone%==.1 echo Don't forget to edit your LoginServer.ini and world_db.ini!
|
||||||
|
ECHO.
|
||||||
|
set copydone=
|
||||||
|
|
4
EQ2/distrib/readme.txt
Normal file
4
EQ2/distrib/readme.txt
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
DISTRIB.bat is a tool that will automatically build a folder containing the latest SVN files needed to run EQ2Emulator.
|
||||||
|
|
||||||
|
Just run the batch file, then copy the ./trunk/distrib folder anywhere you want to run your world,
|
||||||
|
or run it from distrib! We don't mind!
|
674
EQ2/docs/COPYING.txt
Normal file
674
EQ2/docs/COPYING.txt
Normal file
|
@ -0,0 +1,674 @@
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
<program> Copyright (C) <year> <name of author>
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
|
may consider it more useful to permit linking proprietary applications with
|
||||||
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License. But first, please read
|
||||||
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
1862
EQ2/docs/ChangeLog.txt
Normal file
1862
EQ2/docs/ChangeLog.txt
Normal file
File diff suppressed because it is too large
Load diff
BIN
EQ2/docs/Client_Versions.xlsx
Normal file
BIN
EQ2/docs/Client_Versions.xlsx
Normal file
Binary file not shown.
14
EQ2/docs/Notes about World.sln.txt
Normal file
14
EQ2/docs/Notes about World.sln.txt
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
2010-03-20:
|
||||||
|
==========
|
||||||
|
JohnAdams:
|
||||||
|
|
||||||
|
World.sln now writes all it's intermediate build information to a sub-folder of ./World
|
||||||
|
|
||||||
|
The $(OutDir) is configured for ./trunk/bin/(build type)
|
||||||
|
|
||||||
|
There is a Post-Build event that copies the output exe back to ./Trunk/bin for easy access
|
||||||
|
|
||||||
|
There is a Pre-Compile event that deletes that copied EXE before building again, to avoid confusion on bad compiles
|
||||||
|
|
||||||
|
|
||||||
|
Please be sure you use an ignore-on-commmit for any of the intermediary or output files, we do not want build junk on SVN
|
474
EQ2/docs/Opcodes_List_2005.txt
Normal file
474
EQ2/docs/Opcodes_List_2005.txt
Normal file
|
@ -0,0 +1,474 @@
|
||||||
|
Xinux found this post on redguides - http://www.redguides.com/forums/showthread.php/5141-eq2-current-offsets
|
||||||
|
|
||||||
|
In case it ever comes in handy :)
|
||||||
|
|
||||||
|
|
||||||
|
#opcode 0 is actually Login Request, hack because of dynamic opcode lists
|
||||||
|
OP_Unknown=0x0000
|
||||||
|
#Login opcodes
|
||||||
|
OP_LoginRequestMsg=0xF001
|
||||||
|
OP_LoginByNumRequestMsg=0x0001
|
||||||
|
OP_WSLoginRequestMsg=0x0002
|
||||||
|
OP_ESLoginRequestMsg=0x0003
|
||||||
|
OP_LoginReplyMsg=0x0004
|
||||||
|
OP_WSStatusReplyMsg=0x0005
|
||||||
|
OP_WorldStatusChangeMsg=0x0006
|
||||||
|
OP_AllWSDescRequestMsg=0x0007
|
||||||
|
OP_WorldListMsg=0x0008
|
||||||
|
OP_AllCharactersDescRequestMsg=0x0009
|
||||||
|
OP_AllCharactersDescReplyMsg=0x000A
|
||||||
|
OP_CreateCharacterRequestMsg=0x000B
|
||||||
|
OP_CreateCharacterReplyMsg=0x000C
|
||||||
|
OP_WSCreateCharacterRequestMsg=0x000D
|
||||||
|
OP_WSCreateCharacterReplyMsg=0x000E
|
||||||
|
OP_ReskinCharacterRequestMsg=0x000F
|
||||||
|
OP_DeleteCharacterRequestMsg=0x0010
|
||||||
|
OP_DeleteCharacterReplyMsg=0x0011
|
||||||
|
OP_PlayCharacterRequestMsg=0x0012
|
||||||
|
OP_PlayCharacterReplyMsg=0x0013
|
||||||
|
OP_ServerPlayCharacterRequestMsg=0x0014
|
||||||
|
OP_ServerPlayCharacterReplyMsg=0x0015
|
||||||
|
OP_ESInitMsg=0x0016
|
||||||
|
OP_ESReadyForClientsMsg=0x0017
|
||||||
|
OP_CreateZoneInstanceMsg=0x0018
|
||||||
|
OP_ZoneInstanceCreateReplyMsg=0x0019
|
||||||
|
OP_ZoneInstanceDestroyedMsg=0x001A
|
||||||
|
OP_ExpectClientAsCharacterRequest=0x001B
|
||||||
|
OP_ExpectClientAsCharacterReplyMs=0x001C
|
||||||
|
OP_ZoneInfoMsg=0x001D
|
||||||
|
OP_DoneLoadingZoneResourcesMsg=0x001E
|
||||||
|
OP_DoneSendingInitialEntitiesMsg=0x001F
|
||||||
|
OP_DoneLoadingEntityResourcesMsg=0x0020
|
||||||
|
OP_PredictionUpdateMsg=0x0021
|
||||||
|
OP_SetRemoteCmdsMsg=0x0022
|
||||||
|
OP_RemoteCmdMsg=0x0023
|
||||||
|
OP_GameWorldTimeMsg=0x0024
|
||||||
|
OP_MOTDMsg=0x0025
|
||||||
|
OP_ZoneMOTDMsg=0x0026
|
||||||
|
OP_AvatarCreatedMsg=0x0027
|
||||||
|
OP_AvatarDestroyedMsg=0x0028
|
||||||
|
OP_RequestCampMsg=0x0029
|
||||||
|
OP_CampStartedMsg=0x002A
|
||||||
|
OP_CampAbortedMsg=0x002B
|
||||||
|
OP_WhoQueryRequestMsg=0x002C
|
||||||
|
OP_WhoQueryReplyMsg=0x002D
|
||||||
|
OP_MonitorReplyMsg=0x002E
|
||||||
|
OP_MonitorCharacterListMsg=0x002F
|
||||||
|
OP_MonitorCharacterListRequestMsg=0x0030
|
||||||
|
OP_ClientCmdMsg=0x0031
|
||||||
|
OP_DispatchClientCmdMsg=0x0032
|
||||||
|
OP_DispatchESMsg=0x0033
|
||||||
|
OP_UpdateTargetMsg=0x0034
|
||||||
|
OP_UpdateTargetLocMsg=0x0035
|
||||||
|
OP_UpdateCharacterSheetMsg=0x0036
|
||||||
|
OP_UpdateSpellBookMsg=0x0037
|
||||||
|
OP_UpdateInventoryMsg=0x0039
|
||||||
|
OP_UpdateRecipeBookMsg=0x003A
|
||||||
|
OP_RequestRecipeDetailsMsg=0x003B
|
||||||
|
OP_RecipeDetailsMsg=0x003C
|
||||||
|
OP_UpdateSkillBookMsg=0x003D
|
||||||
|
OP_UpdateSkillsMsg=0x003E
|
||||||
|
OP_UpdateOpportunityMsg=0x003F
|
||||||
|
OP_ChangeZoneMsg=0x0041
|
||||||
|
OP_ClientTeleportRequestMsg=0x0042
|
||||||
|
OP_TeleportWithinZoneMsg=0x0043
|
||||||
|
OP_TeleportWithinZoneNoReloadMsg=0x0044
|
||||||
|
OP_MigrateClientToZoneRequestMsg=0x0045
|
||||||
|
OP_MigrateClientToZoneReplyMsg=0x0046
|
||||||
|
OP_ReadyToZoneMsg=0x0047
|
||||||
|
OP_AddClientToGroupMsg=0x0048
|
||||||
|
OP_AddGroupToGroupMsg=0x0049
|
||||||
|
OP_RemoveClientFromGroupMsg=0x004A
|
||||||
|
OP_RemoveGroupFromGroupMsg=0x004B
|
||||||
|
OP_MakeGroupLeaderMsg=0x004C
|
||||||
|
OP_GroupCreatedMsg=0x004D
|
||||||
|
OP_GroupDestroyedMsg=0x004E
|
||||||
|
OP_GroupMemberAddedMsg=0x004F
|
||||||
|
OP_GroupMemberRemovedMsg=0x0050
|
||||||
|
OP_GroupRemovedFromGroupMsg=0x0051
|
||||||
|
OP_GroupLeaderChangedMsg=0x0052
|
||||||
|
OP_GroupResendOOZDataMsg=0x0053
|
||||||
|
OP_GroupSettingsChangedMsg=0x0054
|
||||||
|
OP_OutOfZoneMemberDataMsg=0x0055
|
||||||
|
OP_SendLatestRequestMsg=0x0056
|
||||||
|
OP_ClearDataMsg=0x0057
|
||||||
|
OP_SetSocialMsg=0x0058
|
||||||
|
OP_ESStatusMsg=0x0059
|
||||||
|
OP_ESZoneInstanceStatusMsg=0x005A
|
||||||
|
OP_ZonesStatusRequestMsg=0x005B
|
||||||
|
OP_ZonesStatusMsg=0x005C
|
||||||
|
OP_ESWeatherRequestMsg=0x005D
|
||||||
|
OP_ESWeatherRequestEndMsg=0x005E
|
||||||
|
OP_WSWeatherUpdateMsg=0x005F
|
||||||
|
OP_DialogSelectMsg=0x0060
|
||||||
|
OP_DialogCloseMsg=0x0061
|
||||||
|
OP_RemoveSpellEffectMsg=0x0062
|
||||||
|
OP_RemoveConcentrationMsg=0x0063
|
||||||
|
OP_QuestJournalOpenMsg=0x0064
|
||||||
|
OP_QuestJournalInspectMsg=0x0065
|
||||||
|
OP_QuestJournalSetVisibleMsg=0x0066
|
||||||
|
OP_QuestJournalWaypointMsg=0x0067
|
||||||
|
OP_CreateGuildRequestMsg=0x0068
|
||||||
|
OP_CreateGuildReplyMsg=0x0069
|
||||||
|
OP_GuildsayMsg=0x006A
|
||||||
|
OP_GuildKickMsg=0x006B
|
||||||
|
OP_GuildUpdateMsg=0x006C
|
||||||
|
OP_DeleteGuildMsg=0x006D
|
||||||
|
OP_FellowshipExpMsg=0x006E
|
||||||
|
OP_ConsignmentCloseStoreMsg=0x006F
|
||||||
|
OP_ConsignItemRequestMsg=0x0070
|
||||||
|
OP_ConsignItemResponseMsg=0x0071
|
||||||
|
OP_PurchaseConsignmentRequestMsg=0x0072
|
||||||
|
OP_PurchaseConsignmentResponseMsg=0x0073
|
||||||
|
OP_ProcessScriptMsg=0x0074
|
||||||
|
OP_ProcessWorkspaceMsg=0x0075
|
||||||
|
OP_HouseDeletedRemotelyMsg=0x0076
|
||||||
|
OP_UpdateHouseDataMsg=0x0077
|
||||||
|
OP_UpdateHouseAccessDataMsg=0x0078
|
||||||
|
OP_PlayerHouseBaseScreenMsg=0x0079
|
||||||
|
OP_PlayerHousePurchaseScreenMsg=0x007A
|
||||||
|
OP_PlayerHouseAccessUpdateMsg=0x007B
|
||||||
|
OP_PlayerHouseDisplayStatusMsg=0x007C
|
||||||
|
OP_PlayerHouseCloseUIMsg=0x007D
|
||||||
|
OP_BuyPlayerHouseMsg=0x007E
|
||||||
|
OP_BuyPlayerHouseTintMsg=0x007F
|
||||||
|
OP_CollectAllHouseItemsMsg=0x0080
|
||||||
|
OP_RelinquishHouseMsg=0x0081
|
||||||
|
OP_EnterHouseMsg=0x0082
|
||||||
|
OP_ExitHouseMsg=0x0083
|
||||||
|
OP_HouseDefaultAccessSetMsg=0x0084
|
||||||
|
OP_HouseAccessSetMsg=0x0085
|
||||||
|
OP_HouseAccessRemoveMsg=0x0086
|
||||||
|
OP_PayHouseUpkeepMsg=0x0087
|
||||||
|
OP_MoveableObjectPlacementCriteri=0x0088
|
||||||
|
OP_EnterMoveObjectModeMsg=0x0089
|
||||||
|
OP_PositionMoveableObject=0x008A
|
||||||
|
OP_CancelMoveObjectModeMsg=0x008B
|
||||||
|
OP_ShaderCustomizationMsg=0x008C
|
||||||
|
OP_ReplaceableSubMeshesMsg=0x008D
|
||||||
|
OP_HouseCustomizationScreenMsg=0x008E
|
||||||
|
OP_CustomizationPurchaseRequestMs=0x008F
|
||||||
|
OP_CustomizationSetRequestMsg=0x0090
|
||||||
|
OP_CustomizationReplyMsg=0x0091
|
||||||
|
OP_TintWidgetsMsg=0x0092
|
||||||
|
OP_ExamineConsignmentRequestMsg=0x0093
|
||||||
|
OP_ExamineConsignmentResponseMsg=0x0094
|
||||||
|
OP_UISettingsResponseMsg=0x0095
|
||||||
|
OP_UIResetMsg=0x0096
|
||||||
|
OP_KeymapLoadMsg=0x0097
|
||||||
|
OP_KeymapNoneMsg=0x0098
|
||||||
|
OP_KeymapDataMsg=0x0099
|
||||||
|
OP_KeymapSaveMsg=0x009A
|
||||||
|
OP_DispatchSpellCmdMsg=0x009B
|
||||||
|
OP_EntityVerbsRequestMsg=0x009D
|
||||||
|
OP_EntityVerbsReplyMsg=0x009E
|
||||||
|
OP_EntityVerbsVerbMsg=0x009F
|
||||||
|
OP_ChatRelationshipUpdateMsg=0x00A0
|
||||||
|
OP_LootItemsRequestMsg=0x00A1
|
||||||
|
OP_StoppedLootingMsg=0x00A2
|
||||||
|
OP_SitMsg=0x00A3
|
||||||
|
OP_StandMsg=0x00A4
|
||||||
|
OP_SatMsg=0x00A5
|
||||||
|
OP_StoodMsg=0x00A6
|
||||||
|
OP_ExamineItemRequestMsg=0x00A7
|
||||||
|
OP_DefaultGroupOptionsRequestMsg=0x00A8
|
||||||
|
OP_DefaultGroupOptionsMsg=0x00A9
|
||||||
|
OP_GroupOptionsMsg=0x00AA
|
||||||
|
OP_DisplayGroupOptionsScreenMsg=0x00AB
|
||||||
|
OP_DisplayInnVisitScreenMsg=0x00AC
|
||||||
|
OP_DumpSchedulerMsg=0x00AD
|
||||||
|
OP_LSRequestPlayerDescMsg=0x00AE
|
||||||
|
OP_LSCheckAcctLockMsg=0x00AF
|
||||||
|
OP_WSAcctLockStatusMsg=0x00B0
|
||||||
|
OP_RequestHelpRepathMsg=0x00B1
|
||||||
|
OP_RequestTargetLocMsg=0x00B2
|
||||||
|
OP_UpdateMotdMsg=0x00B3
|
||||||
|
OP_PerformPlayerKnockbackMsg=0x00B4
|
||||||
|
OP_PerformCameraShakeMsg=0x00B5
|
||||||
|
OP_PopulateSkillMapsMsg=0x00B6
|
||||||
|
OP_CancelledFeignMsg=0x00B7
|
||||||
|
OP_SignalMsg=0x00B8
|
||||||
|
OP_ShowCreateFromRecipeUIMsg=0x00B9
|
||||||
|
OP_CancelCreateFromRecipeMsg=0x00BA
|
||||||
|
OP_BeginItemCreationMsg=0x00BB
|
||||||
|
OP_StopItemCreationMsg=0x00BC
|
||||||
|
OP_ShowItemCreationProcessUIMsg=0x00BD
|
||||||
|
OP_UpdateItemCreationProcessUIMsg=0x00BE
|
||||||
|
OP_DisplayTSEventReactionMsg=0x00BF
|
||||||
|
OP_ShowRecipeBookMsg=0x00C0
|
||||||
|
OP_KnowledgebaseRequestMsg=0x00C1
|
||||||
|
OP_KnowledgebaseResponseMsg=0x00C2
|
||||||
|
OP_CSTicketHeaderRequestMsg=0x00C3
|
||||||
|
OP_CSTicketInfoMsg=0x00C4
|
||||||
|
OP_CSTicketCommentRequestMsg=0x00C5
|
||||||
|
OP_CSTicketCommentResponseMsg=0x00C6
|
||||||
|
OP_CSTicketCreateMsg=0x00C7
|
||||||
|
OP_CSTicketAddCommentMsg=0x00C8
|
||||||
|
OP_CSTicketDeleteMsg=0x00C9
|
||||||
|
OP_CSTicketChangeNotificationMsg=0x00CA
|
||||||
|
OP_WorldDataUpdateMsg=0x00CB
|
||||||
|
OP_KnownLanguagesMsg=0x00CC
|
||||||
|
OP_LsRequestClientCrashLogMsg=0x00CD
|
||||||
|
OP_LsClientBaselogReplyMsg=0x00CE
|
||||||
|
OP_LsClientCrashlogReplyMsg=0x00CF
|
||||||
|
OP_LsClientAlertlogReplyMsg=0x00D0
|
||||||
|
OP_LsClientVerifylogReplyMsg=0x00D1
|
||||||
|
OP_ClientTeleportToLocationMsg=0x00D2
|
||||||
|
OP_UpdateClientPredFlagsMsg=0x00D3
|
||||||
|
OP_ChangeServerControlFlagMsg=0x00D4
|
||||||
|
OP_CSToolsRequestMsg=0x00D5
|
||||||
|
OP_CSToolsResponseMsg=0x00D6
|
||||||
|
OP_AddSocialStructureStandingMsg=0x00D7
|
||||||
|
OP_CreateBoatTransportsMsg=0x00D8
|
||||||
|
OP_PositionBoatTransportMsg=0x00D9
|
||||||
|
OP_MigrateBoatTransportMsg=0x00DA
|
||||||
|
OP_MigrateBoatTransportReplyMsg=0x00DB
|
||||||
|
OP_DisplayDebugNLLPointsMsg=0x00DC
|
||||||
|
OP_ExamineInfoRequestMsg=0x00DD
|
||||||
|
OP_QuickbarInitMsg=0x00DE
|
||||||
|
OP_QuickbarUpdateMsg=0x00DF
|
||||||
|
OP_MacroInitMsg=0x00E0
|
||||||
|
OP_MacroUpdateMsg=0x00E1
|
||||||
|
OP_QuestionnaireMsg=0x00E2
|
||||||
|
OP_LevelChangedMsg=0x00E3
|
||||||
|
OP_SpellGainedMsg=0x00E4
|
||||||
|
OP_EncounterBrokenMsg=0x00E5
|
||||||
|
OP_OnscreenMsgMsg=0x00E6
|
||||||
|
OP_DisplayWarningMsg=0x00E7
|
||||||
|
OP_ModifyGuildMsg=0x00E8
|
||||||
|
OP_GuildEventMsg=0x00E9
|
||||||
|
OP_GuildEventAddMsg=0x00EA
|
||||||
|
OP_GuildEventActionMsg=0x00EB
|
||||||
|
OP_GuildEventListMsg=0x00EC
|
||||||
|
OP_RequestGuildEventDetailsMsg=0x00ED
|
||||||
|
OP_GuildEventDetailsMsg=0x00EE
|
||||||
|
OP_RequestGuildInfoMsg=0x00EF
|
||||||
|
OP_RewardPackMsg=0x00F0
|
||||||
|
OP_RenameGuildMsg=0x00F1
|
||||||
|
OP_ZoneToFriendRequestMsg=0x00F2
|
||||||
|
OP_ZoneToFriendReplyMsg=0x00F3
|
||||||
|
OP_ChatCreateChannelMsg=0x00F4
|
||||||
|
OP_ChatJoinChannelMsg=0x00F5
|
||||||
|
OP_ChatWhoChannelMsg=0x00F6
|
||||||
|
OP_ChatLeaveChannelMsg=0x00F7
|
||||||
|
OP_ChatTellChannelMsg=0x00F8
|
||||||
|
OP_ChatTellUserMsg=0x00F9
|
||||||
|
OP_ChatToggleFriendMsg=0x00FA
|
||||||
|
OP_ChatToggleIgnoreMsg=0x00FB
|
||||||
|
OP_ChatSendFriendsMsg=0x00FC
|
||||||
|
OP_ChatSendIgnoresMsg=0x00FD
|
||||||
|
OP_ChatFiltersMsg=0x00FE
|
||||||
|
OP_MailGetHeadersMsg=0x00FF
|
||||||
|
OP_MailGetMessageMsg=0x0100
|
||||||
|
OP_MailSendMessageMsg=0x0101
|
||||||
|
OP_MailDeleteMessageMsg=0x0102
|
||||||
|
OP_MailGetHeadersReplyMsg=0x0103
|
||||||
|
OP_MailGetMessageReplyMsg=0x0104
|
||||||
|
OP_MailSendMessageReplyMsg=0x0105
|
||||||
|
OP_MailCommitSendMessageMsg=0x0106
|
||||||
|
OP_MailSendSystemMessageMsg=0x0107
|
||||||
|
OP_MailRemoveAttachFromMailMsg=0x0108
|
||||||
|
OP_WaypointRequestMsg=0x0109
|
||||||
|
OP_WaypointReplyMsg=0x010A
|
||||||
|
OP_WaypointSelectMsg=0x010B
|
||||||
|
OP_WaypointUpdateMsg=0x010C
|
||||||
|
OP_CharNameChangedMsg=0x010D
|
||||||
|
OP_ShowZoneTeleporterDestinations=0x010E
|
||||||
|
OP_SelectZoneTeleporterDestinatio=0x010F
|
||||||
|
OP_ReloadLocalizedTxtMsg=0x0110
|
||||||
|
OP_RequestGuildMembershipMsg=0x0111
|
||||||
|
OP_GuildMembershipResponseMsg=0x0112
|
||||||
|
OP_LeaveGuildNotifyMsg=0x0113
|
||||||
|
OP_JoinGuildNotifyMsg=0x0114
|
||||||
|
OP_AvatarUpdateMsg=0x0115
|
||||||
|
OP_BioUpdateMsg=0x0116
|
||||||
|
OP_InspectPlayerMsg=0x0117
|
||||||
|
OP_WSServerLockMsg=0x0118
|
||||||
|
OP_LSServerLockMsg=0x0119
|
||||||
|
OP_WSServerHideMsg=0x011A
|
||||||
|
OP_CsCategoryRequestMsg=0x011B
|
||||||
|
OP_CsCategoryResponseMsg=0x011C
|
||||||
|
OP_KnowledgeWindowSlotMappingMsg=0x011D
|
||||||
|
OP_LFGUpdateMsg=0x011E
|
||||||
|
OP_AFKUpdateMsg=0x011F
|
||||||
|
OP_AnonUpdateMsg=0x0120
|
||||||
|
OP_UpdateActivePublicZonesMsg=0x0121
|
||||||
|
OP_UnknownNpcMsg=0x0122
|
||||||
|
OP_PromoFlagsDetailsMsg=0x0123
|
||||||
|
OP_ConsignViewCreateMsg=0x0124
|
||||||
|
OP_ConsignViewGetPageMsg=0x0125
|
||||||
|
OP_ConsignViewReleaseMsg=0x0126
|
||||||
|
OP_ConsignRemoveItemsMsg=0x0127
|
||||||
|
OP_UpdateDebugRadiiMsg=0x0128
|
||||||
|
OP_SnoopMsg=0x0129
|
||||||
|
OP_ReportMsg=0x012A
|
||||||
|
OP_UpdateRaidMsg=0x012B
|
||||||
|
OP_UpdateArenaMsg=0x012C
|
||||||
|
OP_ConsignViewSortMsg=0x012D
|
||||||
|
OP_TitleUpdateMsg=0x012E
|
||||||
|
OP_ClientFellMsg=0x012F
|
||||||
|
OP_ClientInDeathRegionMsg=0x0130
|
||||||
|
OP_CampClientMsg=0x0131
|
||||||
|
OP_CSToolAccessResponseMsg=0x0132
|
||||||
|
OP_GetAvatarAccessRequestForCSToo=0x0133
|
||||||
|
OP_TrackingUpdateMsg=0x0134
|
||||||
|
OP_BeginTrackingMsg=0x0135
|
||||||
|
OP_StopTrackingMsg=0x0136
|
||||||
|
OP_AdvancementRequestMsg=0x0137
|
||||||
|
OP_UpdateAvgFrameTimeMsg=0x0138
|
||||||
|
OP_MapFogDataInitMsg=0x0139
|
||||||
|
OP_MapFogDataUpdateMsg=0x013A
|
||||||
|
OP_CloseGroupInviteWindowMsg=0x013B
|
||||||
|
OP_UpdateGroupMemberDataMsg=0x013C
|
||||||
|
OP_WorldPingMsg=0x013D
|
||||||
|
OP_MoveLogUpdateMsg=0x013E
|
||||||
|
OP_OfferQuestMsg=0x013F
|
||||||
|
OP_WorldShutdownUpdateMsg=0x0140
|
||||||
|
OP_DisplayMailScreenMsg=0x0141
|
||||||
|
OP_ClientIdleBeginMsg=0x0142
|
||||||
|
OP_ClientIdleEndMsg=0x0143
|
||||||
|
OP_PurchaseConsignmentLoreCheckRe=0x0144
|
||||||
|
OP_NotifyApprenticeStoppedMentori=0x0145
|
||||||
|
OP_CorruptedClientMsg=0x0146
|
||||||
|
OP_WorldDataChangeMsg=0x0147
|
||||||
|
OP_MailEventNotificationMsg=0x0148
|
||||||
|
OP_RestartZoneMsg=0x0149
|
||||||
|
OP_FlightPathsMsg=0x014A
|
||||||
|
OP_CharacterLinkdeadMsg=0x014B
|
||||||
|
OP_CharTransferStartRequestMsg=0x014C
|
||||||
|
OP_CharTransferStartReplyMsg=0x014D
|
||||||
|
OP_CharTransferRequestMsg=0x014E
|
||||||
|
OP_CharTransferReplyMsg=0x014F
|
||||||
|
OP_CharTransferRollbackRequestMsg=0x0150
|
||||||
|
OP_CharTransferCommitRequestMsg=0x0151
|
||||||
|
OP_CharTransferRollbackReplyMsg=0x0152
|
||||||
|
OP_CharTransferCommitReplyMsg=0x0153
|
||||||
|
OP_GetCharacterSerializedRequestM=0x0154
|
||||||
|
OP_GetCharacterSerializedReplyMsg=0x0155
|
||||||
|
OP_CreateCharFromCBBRequestMsg=0x0156
|
||||||
|
OP_CreateCharFromCBBReplyMsg=0x0157
|
||||||
|
OP_HousingDataChangedMsg=0x0158
|
||||||
|
OP_HousingRestoreMsg=0x0159
|
||||||
|
OP_AuctionItem=0x015A
|
||||||
|
OP_AuctionItemReply=0x015B
|
||||||
|
OP_AuctionCoin=0x015C
|
||||||
|
OP_AuctionCoinReply=0x015D
|
||||||
|
OP_AuctionCharacter=0x015E
|
||||||
|
OP_AuctionCharacterReply=0x015F
|
||||||
|
OP_AuctionCommitMsg=0x0160
|
||||||
|
OP_AuctionAbortMsg=0x0161
|
||||||
|
OP_CharTransferValidateRequestMsg=0x0162
|
||||||
|
OP_CharTransferValidateReplyMsg=0x0163
|
||||||
|
OP_RaceRestrictionMsg=0x0164
|
||||||
|
OP_SetInstanceDisplayNameMsg=0x0165
|
||||||
|
OP_GetAuctionAssetIDMsg=0x0166
|
||||||
|
OP_GetAuctionAssetIDReplyMsg=0x0167
|
||||||
|
OP_ResendWorldChannelsMsg=0x0168
|
||||||
|
OP_DisplayExchangeScreenMsg=0x0169
|
||||||
|
OP_AuditAuctionEventMsg=0x016A
|
||||||
|
OP_ArenaGameTypesMsg=0x016B
|
||||||
|
OP_ArenaListMsg=0x016C
|
||||||
|
OP_ArenaSettingsMsg=0x016D
|
||||||
|
OP_ArenaZoneListMsg=0x016E
|
||||||
|
OP_ArenaResponseMsg=0x016F
|
||||||
|
OP_ArenaActionMsg=0x0170
|
||||||
|
OP_ArenaParamsMsg=0x0171
|
||||||
|
OP_ArenaInstanceReadyMsg=0x0172
|
||||||
|
OP_ArenaCreateMsg=0x0173
|
||||||
|
OP_ArenaJoinRequestMsg=0x0174
|
||||||
|
OP_ArenaMatchStateMsg=0x0175
|
||||||
|
OP_ArenaMatchStateUpdateMsg=0x0176
|
||||||
|
OP_ArenaJoinTeamRequestMsg=0x0177
|
||||||
|
OP_ArenaChampionDetailsMsg=0x0178
|
||||||
|
OP_ArenaChampionListMsg=0x0179
|
||||||
|
OP_ArenaSetChampionRequestMsg=0x017A
|
||||||
|
OP_ArenaPlayerReadyMsg=0x017B
|
||||||
|
OP_ArenaLeaveRequestMsg=0x017C
|
||||||
|
OP_ArenaZoneRequestMsg=0x017D
|
||||||
|
OP_ArenaOpenArenaRequestMsg=0x017E
|
||||||
|
OP_ArenaCloseArenaRequestMsg=0x017F
|
||||||
|
OP_InviteRequestMsg=0x0180
|
||||||
|
OP_InviteResponseMsg=0x0181
|
||||||
|
OP_InviteTargetResponseMsg=0x0182
|
||||||
|
OP_InspectPlayerRequestMsg=0x0183
|
||||||
|
OP_DispatchMsg=0x0184
|
||||||
|
|
||||||
|
OP_EqHearChatCmd=0x0185
|
||||||
|
OP_EqDisplayTextCmd=0x0186
|
||||||
|
OP_EqCreateGhostCmd=0x0187
|
||||||
|
OP_EqCreateWidgetCmd=0x0188
|
||||||
|
OP_EqCreateSignWidgetCmd=0x0189
|
||||||
|
OP_EqDestroyGhostCmd=0x018A
|
||||||
|
OP_EqUpdateGhostCmd=0x018B
|
||||||
|
OP_EqSetControlGhostCmd=0x018C
|
||||||
|
OP_EqSetPOVGhostCmd=0x018D
|
||||||
|
OP_EqHearCombatCmd=0x018E
|
||||||
|
OP_EqHearSpellCastCmd=0x018F
|
||||||
|
OP_EqHearSpellInterruptCmd=0x0190
|
||||||
|
OP_EqHearSpellFizzleCmd=0x0191
|
||||||
|
OP_EqHearConsiderCmd=0x0192
|
||||||
|
OP_EqUpdateSubClassesCmd=0x0193
|
||||||
|
OP_EqCreateListBoxCmd=0x0194
|
||||||
|
OP_EqSetDebugPathPointsCmd=0x0195
|
||||||
|
OP_EqCannedEmoteCmd=0x0196
|
||||||
|
OP_EqStateCmd=0x0197
|
||||||
|
OP_EqPlaySoundCmd=0x0198
|
||||||
|
OP_EqPlaySound3DCmd=0x0199
|
||||||
|
OP_EqPlayVoiceCmd=0x019A
|
||||||
|
OP_EqHearDrowningCmd=0x019B
|
||||||
|
OP_EqHearDeathCmd=0x019C
|
||||||
|
OP_EqGroupMemberRemovedCmd=0x019D
|
||||||
|
OP_EqHearChainEffectCmd=0x019E
|
||||||
|
OP_EqReceiveOfferCmd=0x019F
|
||||||
|
OP_EqInspectPCResultsCmd=0x01A0
|
||||||
|
OP_EqDrawablePathGraphCmd=0x01A1
|
||||||
|
OP_EqDialogOpenCmd=0x01A2
|
||||||
|
OP_EqDialogCloseCmd=0x01A3
|
||||||
|
OP_EqCollectionUpdateCmd=0x01A4
|
||||||
|
OP_EqCollectionFilterCmd=0x01A5
|
||||||
|
OP_EqCollectionItemCmd=0x01A6
|
||||||
|
OP_EqQuestJournalUpdateCmd=0x01A7
|
||||||
|
OP_EqQuestJournalReplyCmd=0x01A8
|
||||||
|
OP_EqQuestGroupCmd=0x01A9
|
||||||
|
OP_EqUpdateMerchantCmd=0x01AA
|
||||||
|
OP_EqUpdateStoreCmd=0x01AB
|
||||||
|
OP_EqUpdatePlayerTradeCmd=0x01AC
|
||||||
|
OP_EqHelpPathCmd=0x01AD
|
||||||
|
OP_EqHelpPathClearCmd=0x01AE
|
||||||
|
OP_EqUpdateBankCmd=0x01AF
|
||||||
|
OP_EqExamineInfoCmd=0x01B0
|
||||||
|
OP_EqUpdateLootCmd=0x01B1
|
||||||
|
OP_EqJunctionListCmd=0x01B2
|
||||||
|
OP_EqShowDeathWindowCmd=0x01B3
|
||||||
|
OP_EqDisplaySpellFailCmd=0x01B4
|
||||||
|
OP_EqSpellCastStartCmd=0x01B5
|
||||||
|
OP_EqSpellCastEndCmd=0x01B6
|
||||||
|
OP_EqResurrectedCmd=0x01B7
|
||||||
|
OP_EqChoiceWinCmd=0x01B8
|
||||||
|
OP_EqSetDefaultVerbCmd=0x01B9
|
||||||
|
OP_EqInstructionWindowCmd=0x01BA
|
||||||
|
OP_EqInstructionWindowCloseCmd=0x01BB
|
||||||
|
OP_EqInstructionWindowGoalCmd=0x01BC
|
||||||
|
OP_EqInstructionWindowTaskCmd=0x01BD
|
||||||
|
OP_EqEnableGameEventCmd=0x01BE
|
||||||
|
OP_EqShowWindowCmd=0x01BF
|
||||||
|
OP_EqEnableWindowCmd=0x01C0
|
||||||
|
OP_EqFlashWindowCmd=0x01C1
|
||||||
|
OP_EqHearPlayFlavorCmd=0x01C2
|
||||||
|
OP_EqUpdateSignWidgetCmd=0x01C3
|
||||||
|
OP_EqDebugPVDCmd=0x01C4
|
||||||
|
OP_EqShowBookCmd=0x01C5
|
||||||
|
OP_EqQuestionnaireCmd=0x01C6
|
||||||
|
OP_EqGetProbsCmd=0x01C7
|
||||||
|
OP_EqHearHealCmd=0x01C8
|
||||||
|
OP_EqChatChannelUpdateCmd=0x01C9
|
||||||
|
OP_EqWhoChannelQueryReplyCmd=0x01CA
|
||||||
|
OP_EqAvailWorldChannelsCmd=0x01CB
|
||||||
|
OP_EqUpdateTargetCmd=0x01CC
|
||||||
|
OP_EqConsignmentItemsCmd=0x01CD
|
||||||
|
OP_EqStartBrokerCmd=0x01CE
|
||||||
|
OP_EqMapExplorationCmd=0x01CF
|
||||||
|
OP_EqStoreLogCmd=0x01D0
|
||||||
|
OP_EqSpellMoveToRangeAndRetryCmd=0x01D1
|
||||||
|
OP_EqUpdatePlayerMailCmd=0x01D2
|
||||||
|
OP_EqArenaResultsCmd=0x01D3
|
18
EQ2/docs/ToDo.txt
Normal file
18
EQ2/docs/ToDo.txt
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
Quest Enhancements/Fixes
|
||||||
|
Collection Quests
|
||||||
|
Item enhancement/Fixes
|
||||||
|
Spells (More options/types)
|
||||||
|
Pets
|
||||||
|
AI Enhancements
|
||||||
|
Combat revisit
|
||||||
|
In-game Maps/Fog data
|
||||||
|
Groups
|
||||||
|
Instancing
|
||||||
|
Mounts
|
||||||
|
Guilds
|
||||||
|
Tradeskills
|
||||||
|
In-game email
|
||||||
|
Zone access flags
|
||||||
|
AA/Achievements
|
||||||
|
Create a better way of implementing commands.
|
||||||
|
Recompile commands into DLL file that can be replaced and reloaded without shutting down server.
|
89
EQ2/docs/bonus table.html
Normal file
89
EQ2/docs/bonus table.html
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
<html><head><title>EQ2 Harvesting Bonus Table</title>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function twodecimal(n)
|
||||||
|
{
|
||||||
|
var s = n + "";
|
||||||
|
var d = s.indexOf(".");
|
||||||
|
return(s.substr(0,d+3));
|
||||||
|
}
|
||||||
|
|
||||||
|
// Tier 1 2 3 4 5 6 7 8 9
|
||||||
|
var base = [ 0, 20, 90, 140, 190, 240, 290, 340, 390]; // min skill for harvseting this node
|
||||||
|
var bonus = [ 19, 89, 139, 189, 239, 289, 339, 389, 439]; // skill lvl at which you get chance at bonus table
|
||||||
|
var skill = [ 45, 95, 145, 195, 245, 295, 345, 395, 445]; // some harvester's skills
|
||||||
|
|
||||||
|
function bonusPull()
|
||||||
|
{
|
||||||
|
document.write("<P><table border=1 cellpadding=5>");
|
||||||
|
|
||||||
|
document.write("<tr>");
|
||||||
|
document.write("<td rowspan=2>Tier</td><td rowspan=2>Base</td><td rowspan=2>Bonus</td>");
|
||||||
|
document.write("<td colspan=9 align=left>Your Harvesting Skills (maxed for that tier) / Chance at Bonus Table</td>");
|
||||||
|
document.write("</tr>");
|
||||||
|
|
||||||
|
document.write("<tr>");
|
||||||
|
for(var y=0; y<9; ++y)
|
||||||
|
document.write("<td align=right>" + skill[y] + "</td>");
|
||||||
|
document.write("</tr>");
|
||||||
|
|
||||||
|
for(var t=0; t<9; ++t)
|
||||||
|
{
|
||||||
|
document.write("<tr>");
|
||||||
|
document.write("<td align=right>" + (t+1) + "</td>");
|
||||||
|
document.write("<td align=right>" + base[t] + "</td>");
|
||||||
|
document.write("<td align=right>" + bonus[t] + "</td>");
|
||||||
|
|
||||||
|
for(var y=0; y<9; ++y)
|
||||||
|
{
|
||||||
|
if(skill[y] < base[t])
|
||||||
|
document.write("<td><hr></td>");
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var lowroll = base[t];
|
||||||
|
var highroll = (skill[y] >= bonus[t]) ? skill[y] : bonus[t];
|
||||||
|
var range = highroll - lowroll + 1;
|
||||||
|
var rarechance = (skill[y] >= bonus[t]) ? (skill[y]-bonus[t]) : 0;
|
||||||
|
|
||||||
|
document.write("<td align=right>");
|
||||||
|
document.write(lowroll + "-" + highroll);
|
||||||
|
document.write("<BR>" + rarechance + "/" + range);
|
||||||
|
document.write("<BR>" + twodecimal(rarechance/range*100) + "%");
|
||||||
|
document.write("</td>");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
document.write("</tr>");
|
||||||
|
}
|
||||||
|
|
||||||
|
document.write("</table>");
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<h2>EQ2 Harvesting Bonus Table</h2>
|
||||||
|
|
||||||
|
<h3>Chance at the Bonus Table</h3>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.write("<P>This is your chance to get a roll in the bonus table. It's based on how high over the lvl x8 skill for that tier Your harvesting skills are. Note that your harvesting skills must be maxed out (ie: x/x) to even get this calculation made.");
|
||||||
|
document.write("<P>Table information (line):");
|
||||||
|
document.write("<ol>");
|
||||||
|
document.write("<LI>random range");
|
||||||
|
document.write("<LI>chance of you getting a high enough roll to get a chance at bonus table roll");
|
||||||
|
document.write("<LI>2 decimal percent of above");
|
||||||
|
document.write("</ol>");
|
||||||
|
|
||||||
|
bonusPull();
|
||||||
|
|
||||||
|
document.write("<P> ");
|
||||||
|
base[1] = 40;
|
||||||
|
bonus[0] = 39;
|
||||||
|
bonusPull();
|
||||||
|
|
||||||
|
</script></body></html>
|
73
EQ2/docs/charactersheet_struct.txt
Normal file
73
EQ2/docs/charactersheet_struct.txt
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
<Struct Name="WS_CharacterSheet" ClientVersion="1" OpcodeName="OP_UpdateCharacterSheetMsg">
|
||||||
|
<Data ElementName="character_name" Type="int8" Size="32" /> // 0 - 31
|
||||||
|
<Data ElementName="unknown0" Type="int8" Size="11" /> // 31 - 42
|
||||||
|
<Data ElementName="unknown1" Type="int8" Size="1" /> // 43 ( 0x10)
|
||||||
|
<Data ElementName="unknown2" Type="int8" Size="1" /> // 44 ( 0x01)
|
||||||
|
<Data ElementName="unknown3" Type="int8" Size="1" /> // 45 ( 0x00)
|
||||||
|
<Data ElementName="unknown4" Type="int8" Size="1" /> // 46 ( 0x1F)
|
||||||
|
<Data ElementName="unknown5" Type="int32" Size="1" /> // 47-50 (26) (race/class?)
|
||||||
|
<Data ElementName="unknown6" Type="int32" Size="1" /> // 51-54 (27) (race/class?)
|
||||||
|
<Data ElementName="unknown7" Type="int8" Size="14" /> // 55-68
|
||||||
|
<Data ElementName="unknown8" Type="int16" Size="1" /> // 69-70 (0x01)
|
||||||
|
<Data ElementName="unknown9" Type="int16" Size="1" /> // 71-72 (0x01)
|
||||||
|
<Data ElementName="unknown10" Type="int16" Size="1" /> // 73-74 (0x01)
|
||||||
|
<Data ElementName="unknown11" Type="int32" Size="1" /> // 75-78
|
||||||
|
<Data ElementName="unknown12" Type="int16" Size="1" /> // 79-80 (0xDE)
|
||||||
|
<Data ElementName="unknown13" Type="int8" Size="1" /> // 81 ( 0x03)
|
||||||
|
<Data ElementName="unknown14" Type="int8" Size="9" /> // 82-90
|
||||||
|
<Data ElementName="unknown15" Type="int16" Size="1" /> // 91-92 ( 0x5A )
|
||||||
|
<Data ElementName="unknown16" Type="int8" Size="8" /> // 93-100
|
||||||
|
<Data ElementName="unknown17" Type="int16" Size="1" /> // 101-102 ( 0x5A )
|
||||||
|
<Data ElementName="unknown18" Type="int16" Size="1" /> // 103-104 ( 0x5A )
|
||||||
|
<Data ElementName="unknown19" Type="int8" Size="14" /> // 105-118
|
||||||
|
<Data ElementName="unknown20" Type="int16" Size="1" /> // 119-120 ( 0x4E00 )
|
||||||
|
<Data ElementName="unknown21" Type="int8" Size="1" /> // 121 ( 0x6F )
|
||||||
|
<Data ElementName="unknown22" Type="int8" Size="1" /> // 122 ( 0x6E )
|
||||||
|
<Data ElementName="unknown23" Type="int8" Size="1" /> // 123 ( 0x65 )
|
||||||
|
<Data ElementName="unknown24" Type="int8" Size="46" /> // 124-169
|
||||||
|
<Data ElementName="unknown25" Type="int32" Size="1" /> // 170-173 ( 0x01 )
|
||||||
|
<Data ElementName="unknown26" Type="int32" Size="1" /> // 174-177 ( 0x14 )
|
||||||
|
<Data ElementName="unknown27" Type="int32" Size="1" /> // 178-181 ( 0x14 )
|
||||||
|
<Data ElementName="unknown28" Type="int32" Size="1" /> // 182-185 ( 0x01 )
|
||||||
|
<Data ElementName="unknown29" Type="int32" Size="1" /> // 186-189 ( 0x76 )
|
||||||
|
<Data ElementName="unknown30" Type="int32" Size="1" /> // 190-193 ( 0x76 )
|
||||||
|
<Data ElementName="unknown31" Type="int32" Size="1" /> // 194-197
|
||||||
|
<Data ElementName="unknown32" Type="int8" Size="4876" /> // 198-5074
|
||||||
|
</Struct>
|
||||||
|
|
||||||
|
<Struct Name="WS_CharacterSheet" ClientVersion="1" OpcodeName="OP_UpdateCharacterSheetMsg">
|
||||||
|
<Data ElementName="character_name" Type="int8" Size="32" />
|
||||||
|
<Data ElementName="unknown0" Type="int8" Size="11" />
|
||||||
|
<Data ElementName="unknown1" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown2" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown3" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown4" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown5" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown6" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown7" Type="int8" Size="14" />
|
||||||
|
<Data ElementName="unknown8" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown9" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown10" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown11" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown12" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown13" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown14" Type="int8" Size="9" />
|
||||||
|
<Data ElementName="unknown15" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown16" Type="int8" Size="8" />
|
||||||
|
<Data ElementName="unknown17" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown18" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown19" Type="int8" Size="14" />
|
||||||
|
<Data ElementName="unknown20" Type="int16" Size="1" />
|
||||||
|
<Data ElementName="unknown21" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown22" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown23" Type="int8" Size="1" />
|
||||||
|
<Data ElementName="unknown24" Type="int8" Size="46" />
|
||||||
|
<Data ElementName="unknown25" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown26" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown27" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown28" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown29" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown30" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown31" Type="int32" Size="1" />
|
||||||
|
<Data ElementName="unknown32" Type="int8" Size="4876" />
|
||||||
|
</Struct>
|
10792
EQ2/docs/opcodes.sql
Normal file
10792
EQ2/docs/opcodes.sql
Normal file
File diff suppressed because it is too large
Load diff
175
EQ2/docs/pull type chance.html
Normal file
175
EQ2/docs/pull type chance.html
Normal file
|
@ -0,0 +1,175 @@
|
||||||
|
<html><head><title>Extending Pull Type</title>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function decimal(n, places)
|
||||||
|
{
|
||||||
|
n += 0.000001; // for the case of 100 not displaying as 100.0
|
||||||
|
|
||||||
|
var s = n + "";
|
||||||
|
var d = s.indexOf(".");
|
||||||
|
return(s.substr(0,d+1+places));
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<h1>Extending Pull Type</h1>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function _Pull(isRare, chance)
|
||||||
|
{
|
||||||
|
this.isRare = isRare;
|
||||||
|
this.chance = chance;
|
||||||
|
}
|
||||||
|
|
||||||
|
var pullType = [ "1 common", "3 common", "5 common", "1 imbue", "1 rare", "10 common<BR>1 rare" ];
|
||||||
|
|
||||||
|
var baseTable =
|
||||||
|
[
|
||||||
|
new _Pull(0, 70 ), // 1 common
|
||||||
|
new _Pull(0, 20 ), // 3 common
|
||||||
|
new _Pull(0, 8 ), // 5 common
|
||||||
|
new _Pull(0, 1 ), // 1 imbue
|
||||||
|
new _Pull(1, 0.7 ), // 1 rare
|
||||||
|
new _Pull(1, 0.3 ) // 10 common and 1 rare
|
||||||
|
];
|
||||||
|
|
||||||
|
function copyTable(oldTable)
|
||||||
|
{
|
||||||
|
var newTable = [];
|
||||||
|
|
||||||
|
for(var x=0, xl=oldTable.length; x<xl; ++x)
|
||||||
|
newTable[x] = new _Pull(oldTable[x].isRare, oldTable[x].chance);
|
||||||
|
|
||||||
|
return(newTable);
|
||||||
|
}
|
||||||
|
|
||||||
|
function mkBonus(table)
|
||||||
|
{
|
||||||
|
var bonus = copyTable(table);
|
||||||
|
var increase = 0;
|
||||||
|
|
||||||
|
/* mult chances by 1.5 (round up) except "1 common" */
|
||||||
|
for(var x=1, xl=bonus.length; x<xl; ++x)
|
||||||
|
{
|
||||||
|
bonus[x].chance = decimal(table[x].chance * 1.5 + 0.05, 1) - 0;
|
||||||
|
increase += bonus[x].chance - table[x].chance;
|
||||||
|
}
|
||||||
|
bonus[0].chance -= increase;
|
||||||
|
|
||||||
|
return(bonus);
|
||||||
|
}
|
||||||
|
|
||||||
|
function header()
|
||||||
|
{
|
||||||
|
document.write("<tr>");
|
||||||
|
document.write("<td># Rares</td><td>Table Type</td><td>Total</td>");
|
||||||
|
|
||||||
|
for(var x=0, xl=pullType.length; x<xl; ++x)
|
||||||
|
document.write("<td>" + pullType[x] + "</td>");
|
||||||
|
|
||||||
|
document.write("<td>Checked<BR>Total</td>");
|
||||||
|
document.write("</tr>");
|
||||||
|
}
|
||||||
|
|
||||||
|
function row(nRares, tableType, table)
|
||||||
|
{
|
||||||
|
var oldTotal = newTotal = 0;
|
||||||
|
|
||||||
|
for(var x=0, xl=table.length; x<xl; ++x)
|
||||||
|
oldTotal += table[x].chance;
|
||||||
|
|
||||||
|
document.write("<tr>");
|
||||||
|
document.write("<td align=right>" + nRares + "</td>");
|
||||||
|
document.write("<td>" + tableType + "</td>");
|
||||||
|
document.write("<td align=right>" + decimal(oldTotal, 2) + "</td>");
|
||||||
|
|
||||||
|
for(var x=0, xl=table.length; x<xl; ++x)
|
||||||
|
{
|
||||||
|
var chance = table[x].chance / oldTotal * 100 + 0.05;
|
||||||
|
var s = decimal(chance, 1);
|
||||||
|
newTotal += (s - 0);
|
||||||
|
if(s == "0.0")
|
||||||
|
document.write("<td align=right>----</td>");
|
||||||
|
else
|
||||||
|
document.write("<td align=right>" + s + "</td>");
|
||||||
|
}
|
||||||
|
|
||||||
|
document.write("<td align=right>" + decimal(newTotal, 2) + "</td>");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*----------------*/
|
||||||
|
document.write("<P>Starting with the numbers Domino gave for T4 root node base table:");
|
||||||
|
|
||||||
|
document.write("<table border=1 cellpadding=5>");
|
||||||
|
header();
|
||||||
|
row(1, "Base", baseTable);
|
||||||
|
document.write("</table>");
|
||||||
|
|
||||||
|
/*----------------*/
|
||||||
|
document.write("<P>I made the T4 root node bonus table such that everything except \"1 common\" was 1.5 better chance and took the extra off \"1 common\".");
|
||||||
|
|
||||||
|
var bonusTable = mkBonus(baseTable);
|
||||||
|
document.write("<table border=1 cellpadding=5>");
|
||||||
|
header();
|
||||||
|
row(1, "Bonus", bonusTable);
|
||||||
|
document.write("</table>");
|
||||||
|
|
||||||
|
/*----------------*/
|
||||||
|
document.write("<P>Fish nodes have 0 rares and are a special case. I simply recalculated the table with no rares.");
|
||||||
|
var noRares = copyTable(baseTable);
|
||||||
|
for(var x=0, xl=noRares.length; x<xl; ++x)
|
||||||
|
{
|
||||||
|
if(noRares[x].isRare)
|
||||||
|
noRares[x].chance = 0;
|
||||||
|
}
|
||||||
|
var noRaresBonus = mkBonus(noRares);
|
||||||
|
|
||||||
|
document.write("<table border=1 cellpadding=5>");
|
||||||
|
header();
|
||||||
|
row(0, "Base", noRares);
|
||||||
|
row(0, "Bonus", noRaresBonus);
|
||||||
|
document.write("</table>");
|
||||||
|
|
||||||
|
/*----------------*/
|
||||||
|
document.write("<P>Ore (except T9) and Rocks are also special cases - they have 2 rares. Rare drop rates for these nodes have been doubled, again the excess is just taken off \"1 common\".");
|
||||||
|
|
||||||
|
var twoRares = copyTable(baseTable);
|
||||||
|
var increase = 0;
|
||||||
|
for(var x=1, xl=noRares.length; x<xl; ++x)
|
||||||
|
{
|
||||||
|
if(twoRares[x].isRare)
|
||||||
|
{
|
||||||
|
increase += twoRares[x].chance;
|
||||||
|
twoRares[x].chance *= 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
twoRares[0].chance -= increase;
|
||||||
|
var twoRaresBonus = mkBonus(twoRares);
|
||||||
|
|
||||||
|
document.write("<table border=1 cellpadding=5>");
|
||||||
|
header();
|
||||||
|
row(2, "Base", twoRares);
|
||||||
|
row(2, "Bonus", twoRaresBonus);
|
||||||
|
document.write("</table>");
|
||||||
|
|
||||||
|
/*----------------*/
|
||||||
|
document.write("<h2>Summary of Pull type chances</h2>");
|
||||||
|
|
||||||
|
document.write("<table border=1 cellpadding=5>");
|
||||||
|
header();
|
||||||
|
row(0, "Base", noRares);
|
||||||
|
row(0, "Bonus", noRaresBonus);
|
||||||
|
row(1, "Base", baseTable);
|
||||||
|
row(1, "Bonus", bonusTable);
|
||||||
|
row(2, "Base", twoRares);
|
||||||
|
row(2, "Bonus", twoRaresBonus);
|
||||||
|
document.write("</table>");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</script></body></html>
|
174
EQ2/source/LUA/include/lauxlib.h
Normal file
174
EQ2/source/LUA/include/lauxlib.h
Normal file
|
@ -0,0 +1,174 @@
|
||||||
|
/*
|
||||||
|
** $Id: lauxlib.h,v 1.88.1.1 2007/12/27 13:02:25 roberto Exp $
|
||||||
|
** Auxiliary functions for building Lua libraries
|
||||||
|
** See Copyright Notice in lua.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef lauxlib_h
|
||||||
|
#define lauxlib_h
|
||||||
|
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "lua.h"
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(LUA_COMPAT_GETN)
|
||||||
|
LUALIB_API int (luaL_getn) (lua_State *L, int t);
|
||||||
|
LUALIB_API void (luaL_setn) (lua_State *L, int t, int n);
|
||||||
|
#else
|
||||||
|
#define luaL_getn(L,i) ((int)lua_objlen(L, i))
|
||||||
|
#define luaL_setn(L,i,j) ((void)0) /* no op! */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LUA_COMPAT_OPENLIB)
|
||||||
|
#define luaI_openlib luaL_openlib
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* extra error code for `luaL_load' */
|
||||||
|
#define LUA_ERRFILE (LUA_ERRERR+1)
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct luaL_Reg {
|
||||||
|
const char *name;
|
||||||
|
lua_CFunction func;
|
||||||
|
} luaL_Reg;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
LUALIB_API void (luaI_openlib) (lua_State *L, const char *libname,
|
||||||
|
const luaL_Reg *l, int nup);
|
||||||
|
LUALIB_API void (luaL_register) (lua_State *L, const char *libname,
|
||||||
|
const luaL_Reg *l);
|
||||||
|
LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e);
|
||||||
|
LUALIB_API int (luaL_callmeta) (lua_State *L, int obj, const char *e);
|
||||||
|
LUALIB_API int (luaL_typerror) (lua_State *L, int narg, const char *tname);
|
||||||
|
LUALIB_API int (luaL_argerror) (lua_State *L, int numarg, const char *extramsg);
|
||||||
|
LUALIB_API const char *(luaL_checklstring) (lua_State *L, int numArg,
|
||||||
|
size_t *l);
|
||||||
|
LUALIB_API const char *(luaL_optlstring) (lua_State *L, int numArg,
|
||||||
|
const char *def, size_t *l);
|
||||||
|
LUALIB_API lua_Number (luaL_checknumber) (lua_State *L, int numArg);
|
||||||
|
LUALIB_API lua_Number (luaL_optnumber) (lua_State *L, int nArg, lua_Number def);
|
||||||
|
|
||||||
|
LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int numArg);
|
||||||
|
LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int nArg,
|
||||||
|
lua_Integer def);
|
||||||
|
|
||||||
|
LUALIB_API void (luaL_checkstack) (lua_State *L, int sz, const char *msg);
|
||||||
|
LUALIB_API void (luaL_checktype) (lua_State *L, int narg, int t);
|
||||||
|
LUALIB_API void (luaL_checkany) (lua_State *L, int narg);
|
||||||
|
|
||||||
|
LUALIB_API int (luaL_newmetatable) (lua_State *L, const char *tname);
|
||||||
|
LUALIB_API void *(luaL_checkudata) (lua_State *L, int ud, const char *tname);
|
||||||
|
|
||||||
|
LUALIB_API void (luaL_where) (lua_State *L, int lvl);
|
||||||
|
LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...);
|
||||||
|
|
||||||
|
LUALIB_API int (luaL_checkoption) (lua_State *L, int narg, const char *def,
|
||||||
|
const char *const lst[]);
|
||||||
|
|
||||||
|
LUALIB_API int (luaL_ref) (lua_State *L, int t);
|
||||||
|
LUALIB_API void (luaL_unref) (lua_State *L, int t, int ref);
|
||||||
|
|
||||||
|
LUALIB_API int (luaL_loadfile) (lua_State *L, const char *filename);
|
||||||
|
LUALIB_API int (luaL_loadbuffer) (lua_State *L, const char *buff, size_t sz,
|
||||||
|
const char *name);
|
||||||
|
LUALIB_API int (luaL_loadstring) (lua_State *L, const char *s);
|
||||||
|
|
||||||
|
LUALIB_API lua_State *(luaL_newstate) (void);
|
||||||
|
|
||||||
|
|
||||||
|
LUALIB_API const char *(luaL_gsub) (lua_State *L, const char *s, const char *p,
|
||||||
|
const char *r);
|
||||||
|
|
||||||
|
LUALIB_API const char *(luaL_findtable) (lua_State *L, int idx,
|
||||||
|
const char *fname, int szhint);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** ===============================================================
|
||||||
|
** some useful macros
|
||||||
|
** ===============================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define luaL_argcheck(L, cond,numarg,extramsg) \
|
||||||
|
((void)((cond) || luaL_argerror(L, (numarg), (extramsg))))
|
||||||
|
#define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL))
|
||||||
|
#define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL))
|
||||||
|
#define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n)))
|
||||||
|
#define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d)))
|
||||||
|
#define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n)))
|
||||||
|
#define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
|
||||||
|
|
||||||
|
#define luaL_typename(L,i) lua_typename(L, lua_type(L,(i)))
|
||||||
|
|
||||||
|
#define luaL_dofile(L, fn) \
|
||||||
|
(luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0))
|
||||||
|
|
||||||
|
#define luaL_dostring(L, s) \
|
||||||
|
(luaL_loadstring(L, s) || lua_pcall(L, 0, LUA_MULTRET, 0))
|
||||||
|
|
||||||
|
#define luaL_getmetatable(L,n) (lua_getfield(L, LUA_REGISTRYINDEX, (n)))
|
||||||
|
|
||||||
|
#define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
|
||||||
|
|
||||||
|
/*
|
||||||
|
** {======================================================
|
||||||
|
** Generic Buffer manipulation
|
||||||
|
** =======================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct luaL_Buffer {
|
||||||
|
char *p; /* current position in buffer */
|
||||||
|
int lvl; /* number of strings in the stack (level) */
|
||||||
|
lua_State *L;
|
||||||
|
char buffer[LUAL_BUFFERSIZE];
|
||||||
|
} luaL_Buffer;
|
||||||
|
|
||||||
|
#define luaL_addchar(B,c) \
|
||||||
|
((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \
|
||||||
|
(*(B)->p++ = (char)(c)))
|
||||||
|
|
||||||
|
/* compatibility only */
|
||||||
|
#define luaL_putchar(B,c) luaL_addchar(B,c)
|
||||||
|
|
||||||
|
#define luaL_addsize(B,n) ((B)->p += (n))
|
||||||
|
|
||||||
|
LUALIB_API void (luaL_buffinit) (lua_State *L, luaL_Buffer *B);
|
||||||
|
LUALIB_API char *(luaL_prepbuffer) (luaL_Buffer *B);
|
||||||
|
LUALIB_API void (luaL_addlstring) (luaL_Buffer *B, const char *s, size_t l);
|
||||||
|
LUALIB_API void (luaL_addstring) (luaL_Buffer *B, const char *s);
|
||||||
|
LUALIB_API void (luaL_addvalue) (luaL_Buffer *B);
|
||||||
|
LUALIB_API void (luaL_pushresult) (luaL_Buffer *B);
|
||||||
|
|
||||||
|
|
||||||
|
/* }====================================================== */
|
||||||
|
|
||||||
|
|
||||||
|
/* compatibility with ref system */
|
||||||
|
|
||||||
|
/* pre-defined references */
|
||||||
|
#define LUA_NOREF (-2)
|
||||||
|
#define LUA_REFNIL (-1)
|
||||||
|
|
||||||
|
#define lua_ref(L,lock) ((lock) ? luaL_ref(L, LUA_REGISTRYINDEX) : \
|
||||||
|
(lua_pushstring(L, "unlocked references are obsolete"), lua_error(L), 0))
|
||||||
|
|
||||||
|
#define lua_unref(L,ref) luaL_unref(L, LUA_REGISTRYINDEX, (ref))
|
||||||
|
|
||||||
|
#define lua_getref(L,ref) lua_rawgeti(L, LUA_REGISTRYINDEX, (ref))
|
||||||
|
|
||||||
|
|
||||||
|
#define luaL_reg luaL_Reg
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
388
EQ2/source/LUA/include/lua.h
Normal file
388
EQ2/source/LUA/include/lua.h
Normal file
|
@ -0,0 +1,388 @@
|
||||||
|
/*
|
||||||
|
** $Id: lua.h,v 1.218.1.4 2008/01/03 15:41:15 roberto Exp $
|
||||||
|
** Lua - An Extensible Extension Language
|
||||||
|
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
|
||||||
|
** See Copyright Notice at the end of this file
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef lua_h
|
||||||
|
#define lua_h
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
||||||
|
#include "luaconf.h"
|
||||||
|
|
||||||
|
|
||||||
|
#define LUA_VERSION "Lua 5.1"
|
||||||
|
#define LUA_RELEASE "Lua 5.1.3"
|
||||||
|
#define LUA_VERSION_NUM 501
|
||||||
|
#define LUA_COPYRIGHT "Copyright (C) 1994-2008 Lua.org, PUC-Rio"
|
||||||
|
#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Celes"
|
||||||
|
|
||||||
|
|
||||||
|
/* mark for precompiled code (`<esc>Lua') */
|
||||||
|
#define LUA_SIGNATURE "\033Lua"
|
||||||
|
|
||||||
|
/* option for multiple returns in `lua_pcall' and `lua_call' */
|
||||||
|
#define LUA_MULTRET (-1)
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** pseudo-indices
|
||||||
|
*/
|
||||||
|
#define LUA_REGISTRYINDEX (-10000)
|
||||||
|
#define LUA_ENVIRONINDEX (-10001)
|
||||||
|
#define LUA_GLOBALSINDEX (-10002)
|
||||||
|
#define lua_upvalueindex(i) (LUA_GLOBALSINDEX-(i))
|
||||||
|
|
||||||
|
|
||||||
|
/* thread status; 0 is OK */
|
||||||
|
#define LUA_YIELD 1
|
||||||
|
#define LUA_ERRRUN 2
|
||||||
|
#define LUA_ERRSYNTAX 3
|
||||||
|
#define LUA_ERRMEM 4
|
||||||
|
#define LUA_ERRERR 5
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct lua_State lua_State;
|
||||||
|
|
||||||
|
typedef int (*lua_CFunction) (lua_State *L);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** functions that read/write blocks when loading/dumping Lua chunks
|
||||||
|
*/
|
||||||
|
typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz);
|
||||||
|
|
||||||
|
typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** prototype for memory-allocation functions
|
||||||
|
*/
|
||||||
|
typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** basic types
|
||||||
|
*/
|
||||||
|
#define LUA_TNONE (-1)
|
||||||
|
|
||||||
|
#define LUA_TNIL 0
|
||||||
|
#define LUA_TBOOLEAN 1
|
||||||
|
#define LUA_TLIGHTUSERDATA 2
|
||||||
|
#define LUA_TNUMBER 3
|
||||||
|
#define LUA_TSTRING 4
|
||||||
|
#define LUA_TTABLE 5
|
||||||
|
#define LUA_TFUNCTION 6
|
||||||
|
#define LUA_TUSERDATA 7
|
||||||
|
#define LUA_TTHREAD 8
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* minimum Lua stack available to a C function */
|
||||||
|
#define LUA_MINSTACK 20
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** generic extra include file
|
||||||
|
*/
|
||||||
|
#if defined(LUA_USER_H)
|
||||||
|
#include LUA_USER_H
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* type of numbers in Lua */
|
||||||
|
typedef LUA_NUMBER lua_Number;
|
||||||
|
|
||||||
|
|
||||||
|
/* type for integer functions */
|
||||||
|
typedef LUA_INTEGER lua_Integer;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** state manipulation
|
||||||
|
*/
|
||||||
|
LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
|
||||||
|
LUA_API void (lua_close) (lua_State *L);
|
||||||
|
LUA_API lua_State *(lua_newthread) (lua_State *L);
|
||||||
|
|
||||||
|
LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** basic stack manipulation
|
||||||
|
*/
|
||||||
|
LUA_API int (lua_gettop) (lua_State *L);
|
||||||
|
LUA_API void (lua_settop) (lua_State *L, int idx);
|
||||||
|
LUA_API void (lua_pushvalue) (lua_State *L, int idx);
|
||||||
|
LUA_API void (lua_remove) (lua_State *L, int idx);
|
||||||
|
LUA_API void (lua_insert) (lua_State *L, int idx);
|
||||||
|
LUA_API void (lua_replace) (lua_State *L, int idx);
|
||||||
|
LUA_API int (lua_checkstack) (lua_State *L, int sz);
|
||||||
|
|
||||||
|
LUA_API void (lua_xmove) (lua_State *from, lua_State *to, int n);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** access functions (stack -> C)
|
||||||
|
*/
|
||||||
|
|
||||||
|
LUA_API int (lua_isnumber) (lua_State *L, int idx);
|
||||||
|
LUA_API int (lua_isstring) (lua_State *L, int idx);
|
||||||
|
LUA_API int (lua_iscfunction) (lua_State *L, int idx);
|
||||||
|
LUA_API int (lua_isuserdata) (lua_State *L, int idx);
|
||||||
|
LUA_API int (lua_type) (lua_State *L, int idx);
|
||||||
|
LUA_API const char *(lua_typename) (lua_State *L, int tp);
|
||||||
|
|
||||||
|
LUA_API int (lua_equal) (lua_State *L, int idx1, int idx2);
|
||||||
|
LUA_API int (lua_rawequal) (lua_State *L, int idx1, int idx2);
|
||||||
|
LUA_API int (lua_lessthan) (lua_State *L, int idx1, int idx2);
|
||||||
|
|
||||||
|
LUA_API lua_Number (lua_tonumber) (lua_State *L, int idx);
|
||||||
|
LUA_API lua_Integer (lua_tointeger) (lua_State *L, int idx);
|
||||||
|
LUA_API int (lua_toboolean) (lua_State *L, int idx);
|
||||||
|
LUA_API const char *(lua_tolstring) (lua_State *L, int idx, size_t *len);
|
||||||
|
LUA_API size_t (lua_objlen) (lua_State *L, int idx);
|
||||||
|
LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx);
|
||||||
|
LUA_API void *(lua_touserdata) (lua_State *L, int idx);
|
||||||
|
LUA_API lua_State *(lua_tothread) (lua_State *L, int idx);
|
||||||
|
LUA_API const void *(lua_topointer) (lua_State *L, int idx);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** push functions (C -> stack)
|
||||||
|
*/
|
||||||
|
LUA_API void (lua_pushnil) (lua_State *L);
|
||||||
|
LUA_API void (lua_pushnumber) (lua_State *L, lua_Number n);
|
||||||
|
LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n);
|
||||||
|
LUA_API void (lua_pushlstring) (lua_State *L, const char *s, size_t l);
|
||||||
|
LUA_API void (lua_pushstring) (lua_State *L, const char *s);
|
||||||
|
LUA_API const char *(lua_pushvfstring) (lua_State *L, const char *fmt,
|
||||||
|
va_list argp);
|
||||||
|
LUA_API const char *(lua_pushfstring) (lua_State *L, const char *fmt, ...);
|
||||||
|
LUA_API void (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n);
|
||||||
|
LUA_API void (lua_pushboolean) (lua_State *L, int b);
|
||||||
|
LUA_API void (lua_pushlightuserdata) (lua_State *L, void *p);
|
||||||
|
LUA_API int (lua_pushthread) (lua_State *L);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** get functions (Lua -> stack)
|
||||||
|
*/
|
||||||
|
LUA_API void (lua_gettable) (lua_State *L, int idx);
|
||||||
|
LUA_API void (lua_getfield) (lua_State *L, int idx, const char *k);
|
||||||
|
LUA_API void (lua_rawget) (lua_State *L, int idx);
|
||||||
|
LUA_API void (lua_rawgeti) (lua_State *L, int idx, int n);
|
||||||
|
LUA_API void (lua_createtable) (lua_State *L, int narr, int nrec);
|
||||||
|
LUA_API void *(lua_newuserdata) (lua_State *L, size_t sz);
|
||||||
|
LUA_API int (lua_getmetatable) (lua_State *L, int objindex);
|
||||||
|
LUA_API void (lua_getfenv) (lua_State *L, int idx);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** set functions (stack -> Lua)
|
||||||
|
*/
|
||||||
|
LUA_API void (lua_settable) (lua_State *L, int idx);
|
||||||
|
LUA_API void (lua_setfield) (lua_State *L, int idx, const char *k);
|
||||||
|
LUA_API void (lua_rawset) (lua_State *L, int idx);
|
||||||
|
LUA_API void (lua_rawseti) (lua_State *L, int idx, int n);
|
||||||
|
LUA_API int (lua_setmetatable) (lua_State *L, int objindex);
|
||||||
|
LUA_API int (lua_setfenv) (lua_State *L, int idx);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** `load' and `call' functions (load and run Lua code)
|
||||||
|
*/
|
||||||
|
LUA_API void (lua_call) (lua_State *L, int nargs, int nresults);
|
||||||
|
LUA_API int (lua_pcall) (lua_State *L, int nargs, int nresults, int errfunc);
|
||||||
|
LUA_API int (lua_cpcall) (lua_State *L, lua_CFunction func, void *ud);
|
||||||
|
LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
|
||||||
|
const char *chunkname);
|
||||||
|
|
||||||
|
LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** coroutine functions
|
||||||
|
*/
|
||||||
|
LUA_API int (lua_yield) (lua_State *L, int nresults);
|
||||||
|
LUA_API int (lua_resume) (lua_State *L, int narg);
|
||||||
|
LUA_API int (lua_status) (lua_State *L);
|
||||||
|
|
||||||
|
/*
|
||||||
|
** garbage-collection function and options
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define LUA_GCSTOP 0
|
||||||
|
#define LUA_GCRESTART 1
|
||||||
|
#define LUA_GCCOLLECT 2
|
||||||
|
#define LUA_GCCOUNT 3
|
||||||
|
#define LUA_GCCOUNTB 4
|
||||||
|
#define LUA_GCSTEP 5
|
||||||
|
#define LUA_GCSETPAUSE 6
|
||||||
|
#define LUA_GCSETSTEPMUL 7
|
||||||
|
|
||||||
|
LUA_API int (lua_gc) (lua_State *L, int what, int data);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** miscellaneous functions
|
||||||
|
*/
|
||||||
|
|
||||||
|
LUA_API int (lua_error) (lua_State *L);
|
||||||
|
|
||||||
|
LUA_API int (lua_next) (lua_State *L, int idx);
|
||||||
|
|
||||||
|
LUA_API void (lua_concat) (lua_State *L, int n);
|
||||||
|
|
||||||
|
LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
|
||||||
|
LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** ===============================================================
|
||||||
|
** some useful macros
|
||||||
|
** ===============================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define lua_pop(L,n) lua_settop(L, -(n)-1)
|
||||||
|
|
||||||
|
#define lua_newtable(L) lua_createtable(L, 0, 0)
|
||||||
|
|
||||||
|
#define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
|
||||||
|
|
||||||
|
#define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0)
|
||||||
|
|
||||||
|
#define lua_strlen(L,i) lua_objlen(L, (i))
|
||||||
|
|
||||||
|
#define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION)
|
||||||
|
#define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE)
|
||||||
|
#define lua_islightuserdata(L,n) (lua_type(L, (n)) == LUA_TLIGHTUSERDATA)
|
||||||
|
#define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL)
|
||||||
|
#define lua_isboolean(L,n) (lua_type(L, (n)) == LUA_TBOOLEAN)
|
||||||
|
#define lua_isthread(L,n) (lua_type(L, (n)) == LUA_TTHREAD)
|
||||||
|
#define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE)
|
||||||
|
#define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0)
|
||||||
|
|
||||||
|
#define lua_pushliteral(L, s) \
|
||||||
|
lua_pushlstring(L, "" s, (sizeof(s)/sizeof(char))-1)
|
||||||
|
|
||||||
|
#define lua_setglobal(L,s) lua_setfield(L, LUA_GLOBALSINDEX, (s))
|
||||||
|
#define lua_getglobal(L,s) lua_getfield(L, LUA_GLOBALSINDEX, (s))
|
||||||
|
|
||||||
|
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** compatibility macros and functions
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define lua_open() luaL_newstate()
|
||||||
|
|
||||||
|
#define lua_getregistry(L) lua_pushvalue(L, LUA_REGISTRYINDEX)
|
||||||
|
|
||||||
|
#define lua_getgccount(L) lua_gc(L, LUA_GCCOUNT, 0)
|
||||||
|
|
||||||
|
#define lua_Chunkreader lua_Reader
|
||||||
|
#define lua_Chunkwriter lua_Writer
|
||||||
|
|
||||||
|
|
||||||
|
/* hack */
|
||||||
|
LUA_API void lua_setlevel (lua_State *from, lua_State *to);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** {======================================================================
|
||||||
|
** Debug API
|
||||||
|
** =======================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Event codes
|
||||||
|
*/
|
||||||
|
#define LUA_HOOKCALL 0
|
||||||
|
#define LUA_HOOKRET 1
|
||||||
|
#define LUA_HOOKLINE 2
|
||||||
|
#define LUA_HOOKCOUNT 3
|
||||||
|
#define LUA_HOOKTAILRET 4
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Event masks
|
||||||
|
*/
|
||||||
|
#define LUA_MASKCALL (1 << LUA_HOOKCALL)
|
||||||
|
#define LUA_MASKRET (1 << LUA_HOOKRET)
|
||||||
|
#define LUA_MASKLINE (1 << LUA_HOOKLINE)
|
||||||
|
#define LUA_MASKCOUNT (1 << LUA_HOOKCOUNT)
|
||||||
|
|
||||||
|
typedef struct lua_Debug lua_Debug; /* activation record */
|
||||||
|
|
||||||
|
|
||||||
|
/* Functions to be called by the debuger in specific events */
|
||||||
|
typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);
|
||||||
|
|
||||||
|
|
||||||
|
LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar);
|
||||||
|
LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar);
|
||||||
|
LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n);
|
||||||
|
LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n);
|
||||||
|
LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n);
|
||||||
|
LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n);
|
||||||
|
|
||||||
|
LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count);
|
||||||
|
LUA_API lua_Hook lua_gethook (lua_State *L);
|
||||||
|
LUA_API int lua_gethookmask (lua_State *L);
|
||||||
|
LUA_API int lua_gethookcount (lua_State *L);
|
||||||
|
|
||||||
|
|
||||||
|
struct lua_Debug {
|
||||||
|
int event;
|
||||||
|
const char *name; /* (n) */
|
||||||
|
const char *namewhat; /* (n) `global', `local', `field', `method' */
|
||||||
|
const char *what; /* (S) `Lua', `C', `main', `tail' */
|
||||||
|
const char *source; /* (S) */
|
||||||
|
int currentline; /* (l) */
|
||||||
|
int nups; /* (u) number of upvalues */
|
||||||
|
int linedefined; /* (S) */
|
||||||
|
int lastlinedefined; /* (S) */
|
||||||
|
char short_src[LUA_IDSIZE]; /* (S) */
|
||||||
|
/* private part */
|
||||||
|
int i_ci; /* active function */
|
||||||
|
};
|
||||||
|
|
||||||
|
/* }====================================================================== */
|
||||||
|
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* Copyright (C) 1994-2008 Lua.org, PUC-Rio. All rights reserved.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
* a copy of this software and associated documentation files (the
|
||||||
|
* "Software"), to deal in the Software without restriction, including
|
||||||
|
* without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
* permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
* the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be
|
||||||
|
* included in all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
9
EQ2/source/LUA/include/lua.hpp
Normal file
9
EQ2/source/LUA/include/lua.hpp
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
// lua.hpp
|
||||||
|
// Lua header files for C++
|
||||||
|
// <<extern "C">> not supplied automatically because Lua also compiles as C++
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
#include "lua.h"
|
||||||
|
#include "lualib.h"
|
||||||
|
#include "lauxlib.h"
|
||||||
|
}
|
763
EQ2/source/LUA/include/luaconf.h
Normal file
763
EQ2/source/LUA/include/luaconf.h
Normal file
|
@ -0,0 +1,763 @@
|
||||||
|
/*
|
||||||
|
** $Id: luaconf.h,v 1.82.1.6 2008/01/18 17:07:48 roberto Exp $
|
||||||
|
** Configuration file for Lua
|
||||||
|
** See Copyright Notice in lua.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef lconfig_h
|
||||||
|
#define lconfig_h
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** ==================================================================
|
||||||
|
** Search for "@@" to find all configurable definitions.
|
||||||
|
** ===================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_ANSI controls the use of non-ansi features.
|
||||||
|
** CHANGE it (define it) if you want Lua to avoid the use of any
|
||||||
|
** non-ansi feature or library.
|
||||||
|
*/
|
||||||
|
#if defined(__STRICT_ANSI__)
|
||||||
|
#define LUA_ANSI
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(LUA_ANSI) && defined(_WIN32)
|
||||||
|
#define LUA_WIN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LUA_USE_LINUX)
|
||||||
|
#define LUA_USE_POSIX
|
||||||
|
#define LUA_USE_DLOPEN /* needs an extra library: -ldl */
|
||||||
|
#define LUA_USE_READLINE /* needs some extra libraries */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LUA_USE_MACOSX)
|
||||||
|
#define LUA_USE_POSIX
|
||||||
|
#define LUA_DL_DYLD /* does not need extra library */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_USE_POSIX includes all functionallity listed as X/Open System
|
||||||
|
@* Interfaces Extension (XSI).
|
||||||
|
** CHANGE it (define it) if your system is XSI compatible.
|
||||||
|
*/
|
||||||
|
#if defined(LUA_USE_POSIX)
|
||||||
|
#define LUA_USE_MKSTEMP
|
||||||
|
#define LUA_USE_ISATTY
|
||||||
|
#define LUA_USE_POPEN
|
||||||
|
#define LUA_USE_ULONGJMP
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_PATH and LUA_CPATH are the names of the environment variables that
|
||||||
|
@* Lua check to set its paths.
|
||||||
|
@@ LUA_INIT is the name of the environment variable that Lua
|
||||||
|
@* checks for initialization code.
|
||||||
|
** CHANGE them if you want different names.
|
||||||
|
*/
|
||||||
|
#define LUA_PATH "LUA_PATH"
|
||||||
|
#define LUA_CPATH "LUA_CPATH"
|
||||||
|
#define LUA_INIT "LUA_INIT"
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_PATH_DEFAULT is the default path that Lua uses to look for
|
||||||
|
@* Lua libraries.
|
||||||
|
@@ LUA_CPATH_DEFAULT is the default path that Lua uses to look for
|
||||||
|
@* C libraries.
|
||||||
|
** CHANGE them if your machine has a non-conventional directory
|
||||||
|
** hierarchy or if you want to install your libraries in
|
||||||
|
** non-conventional directories.
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32)
|
||||||
|
/*
|
||||||
|
** In Windows, any exclamation mark ('!') in the path is replaced by the
|
||||||
|
** path of the directory of the executable file of the current process.
|
||||||
|
*/
|
||||||
|
#define LUA_LDIR "!\\lua\\"
|
||||||
|
#define LUA_CDIR "!\\"
|
||||||
|
#define LUA_PATH_DEFAULT \
|
||||||
|
".\\?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \
|
||||||
|
LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua"
|
||||||
|
#define LUA_CPATH_DEFAULT \
|
||||||
|
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
|
||||||
|
|
||||||
|
#else
|
||||||
|
#define LUA_ROOT "/usr/local/"
|
||||||
|
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||||
|
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||||
|
#define LUA_PATH_DEFAULT \
|
||||||
|
"./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
|
||||||
|
LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"
|
||||||
|
#define LUA_CPATH_DEFAULT \
|
||||||
|
"./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_DIRSEP is the directory separator (for submodules).
|
||||||
|
** CHANGE it if your machine does not use "/" as the directory separator
|
||||||
|
** and is not Windows. (On Windows Lua automatically uses "\".)
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32)
|
||||||
|
#define LUA_DIRSEP "\\"
|
||||||
|
#else
|
||||||
|
#define LUA_DIRSEP "/"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_PATHSEP is the character that separates templates in a path.
|
||||||
|
@@ LUA_PATH_MARK is the string that marks the substitution points in a
|
||||||
|
@* template.
|
||||||
|
@@ LUA_EXECDIR in a Windows path is replaced by the executable's
|
||||||
|
@* directory.
|
||||||
|
@@ LUA_IGMARK is a mark to ignore all before it when bulding the
|
||||||
|
@* luaopen_ function name.
|
||||||
|
** CHANGE them if for some reason your system cannot use those
|
||||||
|
** characters. (E.g., if one of those characters is a common character
|
||||||
|
** in file/directory names.) Probably you do not need to change them.
|
||||||
|
*/
|
||||||
|
#define LUA_PATHSEP ";"
|
||||||
|
#define LUA_PATH_MARK "?"
|
||||||
|
#define LUA_EXECDIR "!"
|
||||||
|
#define LUA_IGMARK "-"
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_INTEGER is the integral type used by lua_pushinteger/lua_tointeger.
|
||||||
|
** CHANGE that if ptrdiff_t is not adequate on your machine. (On most
|
||||||
|
** machines, ptrdiff_t gives a good choice between int or long.)
|
||||||
|
*/
|
||||||
|
#define LUA_INTEGER ptrdiff_t
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_API is a mark for all core API functions.
|
||||||
|
@@ LUALIB_API is a mark for all standard library functions.
|
||||||
|
** CHANGE them if you need to define those functions in some special way.
|
||||||
|
** For instance, if you want to create one Windows DLL with the core and
|
||||||
|
** the libraries, you may want to use the following definition (define
|
||||||
|
** LUA_BUILD_AS_DLL to get it).
|
||||||
|
*/
|
||||||
|
#if defined(LUA_BUILD_AS_DLL)
|
||||||
|
|
||||||
|
#if defined(LUA_CORE) || defined(LUA_LIB)
|
||||||
|
#define LUA_API __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define LUA_API __declspec(dllimport)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define LUA_API extern
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* more often than not the libs go together with the core */
|
||||||
|
#define LUALIB_API LUA_API
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_FUNC is a mark for all extern functions that are not to be
|
||||||
|
@* exported to outside modules.
|
||||||
|
@@ LUAI_DATA is a mark for all extern (const) variables that are not to
|
||||||
|
@* be exported to outside modules.
|
||||||
|
** CHANGE them if you need to mark them in some special way. Elf/gcc
|
||||||
|
** (versions 3.2 and later) mark them as "hidden" to optimize access
|
||||||
|
** when Lua is compiled as a shared library.
|
||||||
|
*/
|
||||||
|
#if defined(luaall_c)
|
||||||
|
#define LUAI_FUNC static
|
||||||
|
#define LUAI_DATA /* empty */
|
||||||
|
|
||||||
|
#elif defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) && \
|
||||||
|
defined(__ELF__)
|
||||||
|
#define LUAI_FUNC __attribute__((visibility("hidden"))) extern
|
||||||
|
#define LUAI_DATA LUAI_FUNC
|
||||||
|
|
||||||
|
#else
|
||||||
|
#define LUAI_FUNC extern
|
||||||
|
#define LUAI_DATA extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_QL describes how error messages quote program elements.
|
||||||
|
** CHANGE it if you want a different appearance.
|
||||||
|
*/
|
||||||
|
#define LUA_QL(x) "'" x "'"
|
||||||
|
#define LUA_QS LUA_QL("%s")
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_IDSIZE gives the maximum size for the description of the source
|
||||||
|
@* of a function in debug information.
|
||||||
|
** CHANGE it if you want a different size.
|
||||||
|
*/
|
||||||
|
#define LUA_IDSIZE 60
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** {==================================================================
|
||||||
|
** Stand-alone configuration
|
||||||
|
** ===================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if defined(lua_c) || defined(luaall_c)
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ lua_stdin_is_tty detects whether the standard input is a 'tty' (that
|
||||||
|
@* is, whether we're running lua interactively).
|
||||||
|
** CHANGE it if you have a better definition for non-POSIX/non-Windows
|
||||||
|
** systems.
|
||||||
|
*/
|
||||||
|
#if defined(LUA_USE_ISATTY)
|
||||||
|
#include <unistd.h>
|
||||||
|
#define lua_stdin_is_tty() isatty(0)
|
||||||
|
#elif defined(LUA_WIN)
|
||||||
|
#include <io.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#define lua_stdin_is_tty() _isatty(_fileno(stdin))
|
||||||
|
#else
|
||||||
|
#define lua_stdin_is_tty() 1 /* assume stdin is a tty */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_PROMPT is the default prompt used by stand-alone Lua.
|
||||||
|
@@ LUA_PROMPT2 is the default continuation prompt used by stand-alone Lua.
|
||||||
|
** CHANGE them if you want different prompts. (You can also change the
|
||||||
|
** prompts dynamically, assigning to globals _PROMPT/_PROMPT2.)
|
||||||
|
*/
|
||||||
|
#define LUA_PROMPT "> "
|
||||||
|
#define LUA_PROMPT2 ">> "
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_PROGNAME is the default name for the stand-alone Lua program.
|
||||||
|
** CHANGE it if your stand-alone interpreter has a different name and
|
||||||
|
** your system is not able to detect that name automatically.
|
||||||
|
*/
|
||||||
|
#define LUA_PROGNAME "lua"
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_MAXINPUT is the maximum length for an input line in the
|
||||||
|
@* stand-alone interpreter.
|
||||||
|
** CHANGE it if you need longer lines.
|
||||||
|
*/
|
||||||
|
#define LUA_MAXINPUT 512
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ lua_readline defines how to show a prompt and then read a line from
|
||||||
|
@* the standard input.
|
||||||
|
@@ lua_saveline defines how to "save" a read line in a "history".
|
||||||
|
@@ lua_freeline defines how to free a line read by lua_readline.
|
||||||
|
** CHANGE them if you want to improve this functionality (e.g., by using
|
||||||
|
** GNU readline and history facilities).
|
||||||
|
*/
|
||||||
|
#if defined(LUA_USE_READLINE)
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <readline/readline.h>
|
||||||
|
#include <readline/history.h>
|
||||||
|
#define lua_readline(L,b,p) ((void)L, ((b)=readline(p)) != NULL)
|
||||||
|
#define lua_saveline(L,idx) \
|
||||||
|
if (lua_strlen(L,idx) > 0) /* non-empty line? */ \
|
||||||
|
add_history(lua_tostring(L, idx)); /* add it to history */
|
||||||
|
#define lua_freeline(L,b) ((void)L, free(b))
|
||||||
|
#else
|
||||||
|
#define lua_readline(L,b,p) \
|
||||||
|
((void)L, fputs(p, stdout), fflush(stdout), /* show prompt */ \
|
||||||
|
fgets(b, LUA_MAXINPUT, stdin) != NULL) /* get line */
|
||||||
|
#define lua_saveline(L,idx) { (void)L; (void)idx; }
|
||||||
|
#define lua_freeline(L,b) { (void)L; (void)b; }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* }================================================================== */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_GCPAUSE defines the default pause between garbage-collector cycles
|
||||||
|
@* as a percentage.
|
||||||
|
** CHANGE it if you want the GC to run faster or slower (higher values
|
||||||
|
** mean larger pauses which mean slower collection.) You can also change
|
||||||
|
** this value dynamically.
|
||||||
|
*/
|
||||||
|
#define LUAI_GCPAUSE 200 /* 200% (wait memory to double before next GC) */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_GCMUL defines the default speed of garbage collection relative to
|
||||||
|
@* memory allocation as a percentage.
|
||||||
|
** CHANGE it if you want to change the granularity of the garbage
|
||||||
|
** collection. (Higher values mean coarser collections. 0 represents
|
||||||
|
** infinity, where each step performs a full collection.) You can also
|
||||||
|
** change this value dynamically.
|
||||||
|
*/
|
||||||
|
#define LUAI_GCMUL 200 /* GC runs 'twice the speed' of memory allocation */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_COMPAT_GETN controls compatibility with old getn behavior.
|
||||||
|
** CHANGE it (define it) if you want exact compatibility with the
|
||||||
|
** behavior of setn/getn in Lua 5.0.
|
||||||
|
*/
|
||||||
|
#undef LUA_COMPAT_GETN
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_COMPAT_LOADLIB controls compatibility about global loadlib.
|
||||||
|
** CHANGE it to undefined as soon as you do not need a global 'loadlib'
|
||||||
|
** function (the function is still available as 'package.loadlib').
|
||||||
|
*/
|
||||||
|
#undef LUA_COMPAT_LOADLIB
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_COMPAT_VARARG controls compatibility with old vararg feature.
|
||||||
|
** CHANGE it to undefined as soon as your programs use only '...' to
|
||||||
|
** access vararg parameters (instead of the old 'arg' table).
|
||||||
|
*/
|
||||||
|
#define LUA_COMPAT_VARARG
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_COMPAT_MOD controls compatibility with old math.mod function.
|
||||||
|
** CHANGE it to undefined as soon as your programs use 'math.fmod' or
|
||||||
|
** the new '%' operator instead of 'math.mod'.
|
||||||
|
*/
|
||||||
|
#define LUA_COMPAT_MOD
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_COMPAT_LSTR controls compatibility with old long string nesting
|
||||||
|
@* facility.
|
||||||
|
** CHANGE it to 2 if you want the old behaviour, or undefine it to turn
|
||||||
|
** off the advisory error when nesting [[...]].
|
||||||
|
*/
|
||||||
|
#define LUA_COMPAT_LSTR 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_COMPAT_GFIND controls compatibility with old 'string.gfind' name.
|
||||||
|
** CHANGE it to undefined as soon as you rename 'string.gfind' to
|
||||||
|
** 'string.gmatch'.
|
||||||
|
*/
|
||||||
|
#define LUA_COMPAT_GFIND
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_COMPAT_OPENLIB controls compatibility with old 'luaL_openlib'
|
||||||
|
@* behavior.
|
||||||
|
** CHANGE it to undefined as soon as you replace to 'luaL_register'
|
||||||
|
** your uses of 'luaL_openlib'
|
||||||
|
*/
|
||||||
|
#define LUA_COMPAT_OPENLIB
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ luai_apicheck is the assert macro used by the Lua-C API.
|
||||||
|
** CHANGE luai_apicheck if you want Lua to perform some checks in the
|
||||||
|
** parameters it gets from API calls. This may slow down the interpreter
|
||||||
|
** a bit, but may be quite useful when debugging C code that interfaces
|
||||||
|
** with Lua. A useful redefinition is to use assert.h.
|
||||||
|
*/
|
||||||
|
#if defined(LUA_USE_APICHECK)
|
||||||
|
#include <assert.h>
|
||||||
|
#define luai_apicheck(L,o) { (void)L; assert(o); }
|
||||||
|
#else
|
||||||
|
#define luai_apicheck(L,o) { (void)L; }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_BITSINT defines the number of bits in an int.
|
||||||
|
** CHANGE here if Lua cannot automatically detect the number of bits of
|
||||||
|
** your machine. Probably you do not need to change this.
|
||||||
|
*/
|
||||||
|
/* avoid overflows in comparison */
|
||||||
|
#if INT_MAX-20 < 32760
|
||||||
|
#define LUAI_BITSINT 16
|
||||||
|
#elif INT_MAX > 2147483640L
|
||||||
|
/* int has at least 32 bits */
|
||||||
|
#define LUAI_BITSINT 32
|
||||||
|
#else
|
||||||
|
#error "you must define LUA_BITSINT with number of bits in an integer"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_UINT32 is an unsigned integer with at least 32 bits.
|
||||||
|
@@ LUAI_INT32 is an signed integer with at least 32 bits.
|
||||||
|
@@ LUAI_UMEM is an unsigned integer big enough to count the total
|
||||||
|
@* memory used by Lua.
|
||||||
|
@@ LUAI_MEM is a signed integer big enough to count the total memory
|
||||||
|
@* used by Lua.
|
||||||
|
** CHANGE here if for some weird reason the default definitions are not
|
||||||
|
** good enough for your machine. (The definitions in the 'else'
|
||||||
|
** part always works, but may waste space on machines with 64-bit
|
||||||
|
** longs.) Probably you do not need to change this.
|
||||||
|
*/
|
||||||
|
#if LUAI_BITSINT >= 32
|
||||||
|
#define LUAI_UINT32 unsigned int
|
||||||
|
#define LUAI_INT32 int
|
||||||
|
#define LUAI_MAXINT32 INT_MAX
|
||||||
|
#define LUAI_UMEM size_t
|
||||||
|
#define LUAI_MEM ptrdiff_t
|
||||||
|
#else
|
||||||
|
/* 16-bit ints */
|
||||||
|
#define LUAI_UINT32 unsigned long
|
||||||
|
#define LUAI_INT32 long
|
||||||
|
#define LUAI_MAXINT32 LONG_MAX
|
||||||
|
#define LUAI_UMEM unsigned long
|
||||||
|
#define LUAI_MEM long
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_MAXCALLS limits the number of nested calls.
|
||||||
|
** CHANGE it if you need really deep recursive calls. This limit is
|
||||||
|
** arbitrary; its only purpose is to stop infinite recursion before
|
||||||
|
** exhausting memory.
|
||||||
|
*/
|
||||||
|
#define LUAI_MAXCALLS 20000
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_MAXCSTACK limits the number of Lua stack slots that a C function
|
||||||
|
@* can use.
|
||||||
|
** CHANGE it if you need lots of (Lua) stack space for your C
|
||||||
|
** functions. This limit is arbitrary; its only purpose is to stop C
|
||||||
|
** functions to consume unlimited stack space.
|
||||||
|
*/
|
||||||
|
#define LUAI_MCS_AUX ((int)(INT_MAX / (4*sizeof(LUA_NUMBER))))
|
||||||
|
#define LUAI_MAXCSTACK (LUAI_MCS_AUX > SHRT_MAX ? SHRT_MAX : LUAI_MCS_AUX)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** {==================================================================
|
||||||
|
** CHANGE (to smaller values) the following definitions if your system
|
||||||
|
** has a small C stack. (Or you may want to change them to larger
|
||||||
|
** values if your system has a large C stack and these limits are
|
||||||
|
** too rigid for you.) Some of these constants control the size of
|
||||||
|
** stack-allocated arrays used by the compiler or the interpreter, while
|
||||||
|
** others limit the maximum number of recursive calls that the compiler
|
||||||
|
** or the interpreter can perform. Values too large may cause a C stack
|
||||||
|
** overflow for some forms of deep constructs.
|
||||||
|
** ===================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_MAXCCALLS is the maximum depth for nested C calls (short) and
|
||||||
|
@* syntactical nested non-terminals in a program.
|
||||||
|
*/
|
||||||
|
#define LUAI_MAXCCALLS 200
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_MAXVARS is the maximum number of local variables per function
|
||||||
|
@* (must be smaller than 250).
|
||||||
|
*/
|
||||||
|
#define LUAI_MAXVARS 200
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_MAXUPVALUES is the maximum number of upvalues per function
|
||||||
|
@* (must be smaller than 250).
|
||||||
|
*/
|
||||||
|
#define LUAI_MAXUPVALUES 60
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAL_BUFFERSIZE is the buffer size used by the lauxlib buffer system.
|
||||||
|
*/
|
||||||
|
#define LUAL_BUFFERSIZE BUFSIZ
|
||||||
|
|
||||||
|
/* }================================================================== */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
** {==================================================================
|
||||||
|
@@ LUA_NUMBER is the type of numbers in Lua.
|
||||||
|
** CHANGE the following definitions only if you want to build Lua
|
||||||
|
** with a number type different from double. You may also need to
|
||||||
|
** change lua_number2int & lua_number2integer.
|
||||||
|
** ===================================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define LUA_NUMBER_DOUBLE
|
||||||
|
#define LUA_NUMBER double
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_UACNUMBER is the result of an 'usual argument conversion'
|
||||||
|
@* over a number.
|
||||||
|
*/
|
||||||
|
#define LUAI_UACNUMBER double
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_NUMBER_SCAN is the format for reading numbers.
|
||||||
|
@@ LUA_NUMBER_FMT is the format for writing numbers.
|
||||||
|
@@ lua_number2str converts a number to a string.
|
||||||
|
@@ LUAI_MAXNUMBER2STR is maximum size of previous conversion.
|
||||||
|
@@ lua_str2number converts a string to a number.
|
||||||
|
*/
|
||||||
|
#define LUA_NUMBER_SCAN "%lf"
|
||||||
|
#define LUA_NUMBER_FMT "%.14g"
|
||||||
|
#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n))
|
||||||
|
#define LUAI_MAXNUMBER2STR 32 /* 16 digits, sign, point, and \0 */
|
||||||
|
#define lua_str2number(s,p) strtod((s), (p))
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ The luai_num* macros define the primitive operations over numbers.
|
||||||
|
*/
|
||||||
|
#if defined(LUA_CORE)
|
||||||
|
#include <math.h>
|
||||||
|
#define luai_numadd(a,b) ((a)+(b))
|
||||||
|
#define luai_numsub(a,b) ((a)-(b))
|
||||||
|
#define luai_nummul(a,b) ((a)*(b))
|
||||||
|
#define luai_numdiv(a,b) ((a)/(b))
|
||||||
|
#define luai_nummod(a,b) ((a) - floor((a)/(b))*(b))
|
||||||
|
#define luai_numpow(a,b) (pow(a,b))
|
||||||
|
#define luai_numunm(a) (-(a))
|
||||||
|
#define luai_numeq(a,b) ((a)==(b))
|
||||||
|
#define luai_numlt(a,b) ((a)<(b))
|
||||||
|
#define luai_numle(a,b) ((a)<=(b))
|
||||||
|
#define luai_numisnan(a) (!luai_numeq((a), (a)))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ lua_number2int is a macro to convert lua_Number to int.
|
||||||
|
@@ lua_number2integer is a macro to convert lua_Number to lua_Integer.
|
||||||
|
** CHANGE them if you know a faster way to convert a lua_Number to
|
||||||
|
** int (with any rounding method and without throwing errors) in your
|
||||||
|
** system. In Pentium machines, a naive typecast from double to int
|
||||||
|
** in C is extremely slow, so any alternative is worth trying.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* On a Pentium, resort to a trick */
|
||||||
|
#if defined(LUA_NUMBER_DOUBLE) && !defined(LUA_ANSI) && !defined(__SSE2__) && \
|
||||||
|
(defined(__i386) || defined (_M_IX86) || defined(__i386__))
|
||||||
|
|
||||||
|
/* On a Microsoft compiler, use assembler */
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
|
||||||
|
#define lua_number2int(i,d) __asm fld d __asm fistp i
|
||||||
|
#define lua_number2integer(i,n) lua_number2int(i, n)
|
||||||
|
|
||||||
|
/* the next trick should work on any Pentium, but sometimes clashes
|
||||||
|
with a DirectX idiosyncrasy */
|
||||||
|
#else
|
||||||
|
|
||||||
|
union luai_Cast { double l_d; long l_l; };
|
||||||
|
#define lua_number2int(i,d) \
|
||||||
|
{ volatile union luai_Cast u; u.l_d = (d) + 6755399441055744.0; (i) = u.l_l; }
|
||||||
|
#define lua_number2integer(i,n) lua_number2int(i, n)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/* this option always works, but may be slow */
|
||||||
|
#else
|
||||||
|
#define lua_number2int(i,d) ((i)=(int)(d))
|
||||||
|
#define lua_number2integer(i,d) ((i)=(lua_Integer)(d))
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* }================================================================== */
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_USER_ALIGNMENT_T is a type that requires maximum alignment.
|
||||||
|
** CHANGE it if your system requires alignments larger than double. (For
|
||||||
|
** instance, if your system supports long doubles and they must be
|
||||||
|
** aligned in 16-byte boundaries, then you should add long double in the
|
||||||
|
** union.) Probably you do not need to change this.
|
||||||
|
*/
|
||||||
|
#define LUAI_USER_ALIGNMENT_T union { double u; void *s; long l; }
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_THROW/LUAI_TRY define how Lua does exception handling.
|
||||||
|
** CHANGE them if you prefer to use longjmp/setjmp even with C++
|
||||||
|
** or if want/don't to use _longjmp/_setjmp instead of regular
|
||||||
|
** longjmp/setjmp. By default, Lua handles errors with exceptions when
|
||||||
|
** compiling as C++ code, with _longjmp/_setjmp when asked to use them,
|
||||||
|
** and with longjmp/setjmp otherwise.
|
||||||
|
*/
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
/* C++ exceptions */
|
||||||
|
#define LUAI_THROW(L,c) throw(c)
|
||||||
|
#define LUAI_TRY(L,c,a) try { a } catch(...) \
|
||||||
|
{ if ((c)->status == 0) (c)->status = -1; }
|
||||||
|
#define luai_jmpbuf int /* dummy variable */
|
||||||
|
|
||||||
|
#elif defined(LUA_USE_ULONGJMP)
|
||||||
|
/* in Unix, try _longjmp/_setjmp (more efficient) */
|
||||||
|
#define LUAI_THROW(L,c) _longjmp((c)->b, 1)
|
||||||
|
#define LUAI_TRY(L,c,a) if (_setjmp((c)->b) == 0) { a }
|
||||||
|
#define luai_jmpbuf jmp_buf
|
||||||
|
|
||||||
|
#else
|
||||||
|
/* default handling with long jumps */
|
||||||
|
#define LUAI_THROW(L,c) longjmp((c)->b, 1)
|
||||||
|
#define LUAI_TRY(L,c,a) if (setjmp((c)->b) == 0) { a }
|
||||||
|
#define luai_jmpbuf jmp_buf
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_MAXCAPTURES is the maximum number of captures that a pattern
|
||||||
|
@* can do during pattern-matching.
|
||||||
|
** CHANGE it if you need more captures. This limit is arbitrary.
|
||||||
|
*/
|
||||||
|
#define LUA_MAXCAPTURES 32
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ lua_tmpnam is the function that the OS library uses to create a
|
||||||
|
@* temporary name.
|
||||||
|
@@ LUA_TMPNAMBUFSIZE is the maximum size of a name created by lua_tmpnam.
|
||||||
|
** CHANGE them if you have an alternative to tmpnam (which is considered
|
||||||
|
** insecure) or if you want the original tmpnam anyway. By default, Lua
|
||||||
|
** uses tmpnam except when POSIX is available, where it uses mkstemp.
|
||||||
|
*/
|
||||||
|
#if defined(loslib_c) || defined(luaall_c)
|
||||||
|
|
||||||
|
#if defined(LUA_USE_MKSTEMP)
|
||||||
|
#include <unistd.h>
|
||||||
|
#define LUA_TMPNAMBUFSIZE 32
|
||||||
|
#define lua_tmpnam(b,e) { \
|
||||||
|
strcpy(b, "/tmp/lua_XXXXXX"); \
|
||||||
|
e = mkstemp(b); \
|
||||||
|
if (e != -1) close(e); \
|
||||||
|
e = (e == -1); }
|
||||||
|
|
||||||
|
#else
|
||||||
|
#define LUA_TMPNAMBUFSIZE L_tmpnam
|
||||||
|
#define lua_tmpnam(b,e) { e = (tmpnam(b) == NULL); }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ lua_popen spawns a new process connected to the current one through
|
||||||
|
@* the file streams.
|
||||||
|
** CHANGE it if you have a way to implement it in your system.
|
||||||
|
*/
|
||||||
|
#if defined(LUA_USE_POPEN)
|
||||||
|
|
||||||
|
#define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m))
|
||||||
|
#define lua_pclose(L,file) ((void)L, (pclose(file) != -1))
|
||||||
|
|
||||||
|
#elif defined(LUA_WIN)
|
||||||
|
|
||||||
|
#define lua_popen(L,c,m) ((void)L, _popen(c,m))
|
||||||
|
#define lua_pclose(L,file) ((void)L, (_pclose(file) != -1))
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define lua_popen(L,c,m) ((void)((void)c, m), \
|
||||||
|
luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
|
||||||
|
#define lua_pclose(L,file) ((void)((void)L, file), 0)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_DL_* define which dynamic-library system Lua should use.
|
||||||
|
** CHANGE here if Lua has problems choosing the appropriate
|
||||||
|
** dynamic-library system for your platform (either Windows' DLL, Mac's
|
||||||
|
** dyld, or Unix's dlopen). If your system is some kind of Unix, there
|
||||||
|
** is a good chance that it has dlopen, so LUA_DL_DLOPEN will work for
|
||||||
|
** it. To use dlopen you also need to adapt the src/Makefile (probably
|
||||||
|
** adding -ldl to the linker options), so Lua does not select it
|
||||||
|
** automatically. (When you change the makefile to add -ldl, you must
|
||||||
|
** also add -DLUA_USE_DLOPEN.)
|
||||||
|
** If you do not want any kind of dynamic library, undefine all these
|
||||||
|
** options.
|
||||||
|
** By default, _WIN32 gets LUA_DL_DLL and MAC OS X gets LUA_DL_DYLD.
|
||||||
|
*/
|
||||||
|
#if defined(LUA_USE_DLOPEN)
|
||||||
|
#define LUA_DL_DLOPEN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(LUA_WIN)
|
||||||
|
#define LUA_DL_DLL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUAI_EXTRASPACE allows you to add user-specific data in a lua_State
|
||||||
|
@* (the data goes just *before* the lua_State pointer).
|
||||||
|
** CHANGE (define) this if you really need that. This value must be
|
||||||
|
** a multiple of the maximum alignment required for your machine.
|
||||||
|
*/
|
||||||
|
#define LUAI_EXTRASPACE 0
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ luai_userstate* allow user-specific actions on threads.
|
||||||
|
** CHANGE them if you defined LUAI_EXTRASPACE and need to do something
|
||||||
|
** extra when a thread is created/deleted/resumed/yielded.
|
||||||
|
*/
|
||||||
|
#define luai_userstateopen(L) ((void)L)
|
||||||
|
#define luai_userstateclose(L) ((void)L)
|
||||||
|
#define luai_userstatethread(L,L1) ((void)L)
|
||||||
|
#define luai_userstatefree(L) ((void)L)
|
||||||
|
#define luai_userstateresume(L,n) ((void)L)
|
||||||
|
#define luai_userstateyield(L,n) ((void)L)
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
@@ LUA_INTFRMLEN is the length modifier for integer conversions
|
||||||
|
@* in 'string.format'.
|
||||||
|
@@ LUA_INTFRM_T is the integer type correspoding to the previous length
|
||||||
|
@* modifier.
|
||||||
|
** CHANGE them if your system supports long long or does not support long.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if defined(LUA_USELONGLONG)
|
||||||
|
|
||||||
|
#define LUA_INTFRMLEN "ll"
|
||||||
|
#define LUA_INTFRM_T long long
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#define LUA_INTFRMLEN "l"
|
||||||
|
#define LUA_INTFRM_T long
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* =================================================================== */
|
||||||
|
|
||||||
|
/*
|
||||||
|
** Local configuration. You can use this space to add your redefinitions
|
||||||
|
** without modifying the main part of the file.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
53
EQ2/source/LUA/include/lualib.h
Normal file
53
EQ2/source/LUA/include/lualib.h
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
/*
|
||||||
|
** $Id: lualib.h,v 1.36.1.1 2007/12/27 13:02:25 roberto Exp $
|
||||||
|
** Lua standard libraries
|
||||||
|
** See Copyright Notice in lua.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef lualib_h
|
||||||
|
#define lualib_h
|
||||||
|
|
||||||
|
#include "lua.h"
|
||||||
|
|
||||||
|
|
||||||
|
/* Key to file-handle type */
|
||||||
|
#define LUA_FILEHANDLE "FILE*"
|
||||||
|
|
||||||
|
|
||||||
|
#define LUA_COLIBNAME "coroutine"
|
||||||
|
LUALIB_API int (luaopen_base) (lua_State *L);
|
||||||
|
|
||||||
|
#define LUA_TABLIBNAME "table"
|
||||||
|
LUALIB_API int (luaopen_table) (lua_State *L);
|
||||||
|
|
||||||
|
#define LUA_IOLIBNAME "io"
|
||||||
|
LUALIB_API int (luaopen_io) (lua_State *L);
|
||||||
|
|
||||||
|
#define LUA_OSLIBNAME "os"
|
||||||
|
LUALIB_API int (luaopen_os) (lua_State *L);
|
||||||
|
|
||||||
|
#define LUA_STRLIBNAME "string"
|
||||||
|
LUALIB_API int (luaopen_string) (lua_State *L);
|
||||||
|
|
||||||
|
#define LUA_MATHLIBNAME "math"
|
||||||
|
LUALIB_API int (luaopen_math) (lua_State *L);
|
||||||
|
|
||||||
|
#define LUA_DBLIBNAME "debug"
|
||||||
|
LUALIB_API int (luaopen_debug) (lua_State *L);
|
||||||
|
|
||||||
|
#define LUA_LOADLIBNAME "package"
|
||||||
|
LUALIB_API int (luaopen_package) (lua_State *L);
|
||||||
|
|
||||||
|
|
||||||
|
/* open all previous libraries */
|
||||||
|
LUALIB_API void (luaL_openlibs) (lua_State *L);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef lua_assert
|
||||||
|
#define lua_assert(x) ((void)0)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
1298
EQ2/source/LUA/lapi.c
Normal file
1298
EQ2/source/LUA/lapi.c
Normal file
File diff suppressed because it is too large
Load diff
24
EQ2/source/LUA/lapi.h
Normal file
24
EQ2/source/LUA/lapi.h
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
** $Id: lapi.h,v 2.9 2015/03/06 19:49:50 roberto Exp $
|
||||||
|
** Auxiliary functions from Lua API
|
||||||
|
** See Copyright Notice in lua.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef lapi_h
|
||||||
|
#define lapi_h
|
||||||
|
|
||||||
|
|
||||||
|
#include "llimits.h"
|
||||||
|
#include "lstate.h"
|
||||||
|
|
||||||
|
#define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
|
||||||
|
"stack overflow");}
|
||||||
|
|
||||||
|
#define adjustresults(L,nres) \
|
||||||
|
{ if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
|
||||||
|
|
||||||
|
#define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
|
||||||
|
"not enough elements in the stack")
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
1043
EQ2/source/LUA/lauxlib.c
Normal file
1043
EQ2/source/LUA/lauxlib.c
Normal file
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue