From The Mana World
(netcode notes) |
|||
Line 1: | Line 1: | ||
== Database == | |||
Layout for the SQL table to store customized equipment | Layout for the SQL table to store customized equipment | ||
{{beginsqltable|tmw_customitem}} | {{beginsqltable|tmw_customitem}} | ||
Line 28: | Line 29: | ||
{{sqltablerow | spell | INTEGER | | | spell of the rune }} | {{sqltablerow | spell | INTEGER | | | spell of the rune }} | ||
{{endsqltable}} | {{endsqltable}} | ||
== Netcode == | |||
* Item IDs are 32 bit unsigned integers | |||
* Item IDs 1 - 65.535 are non-customized generic items which may exist multiple times | |||
* Item IDs 65.536 - 4.294.967.296 are unique equipment items which may only exist once in the game. | |||
* When sending the inventory data to a character, every high id is followed by its archetype-id and colorization string. All other information about the item can be requested on demand with an additional message. | |||
* When sending look information about other characters the archetype-id and the colorisation are transfered |
Revision as of 16:09, 7 May 2009
Database
Layout for the SQL table to store customized equipment
|
Stat modifiers during item creation. Also includes elemental modifiers.
|
Spell runes engraved in the item.
|
Netcode
- Item IDs are 32 bit unsigned integers
- Item IDs 1 - 65.535 are non-customized generic items which may exist multiple times
- Item IDs 65.536 - 4.294.967.296 are unique equipment items which may only exist once in the game.
- When sending the inventory data to a character, every high id is followed by its archetype-id and colorization string. All other information about the item can be requested on demand with an additional message.
- When sending look information about other characters the archetype-id and the colorisation are transfered