Previous commit and this commit should finish #58
This commit is contained in:
parent
d237087718
commit
4ce9c921c1
|
@ -751,7 +751,7 @@ function Market.reset()
|
|||
categoryList:setCurrentOption(getMarketCategoryName(MarketCategory.First))
|
||||
searchEdit:setText('')
|
||||
clearFilters()
|
||||
if information and not table.empty(information) then
|
||||
if not table.empty(information) then
|
||||
Market.updateCurrentItems()
|
||||
end
|
||||
end
|
||||
|
|
|
@ -44,25 +44,25 @@ ChaseOpponent = 1
|
|||
GameProtocolChecksum = 1
|
||||
GameAccountNames = 2
|
||||
GameChallangeOnLogin = 3
|
||||
GamePenalityOnDeath = 5
|
||||
GameNameOnNpcTrade = 6
|
||||
GameDoubleFreeCapacity = 7
|
||||
GameDoubleExperience = 8
|
||||
GameTotalCapacity = 9
|
||||
GameSkillsBase = 10
|
||||
GamePlayerRegenerationTime = 11
|
||||
GameChannelPlayerList = 13
|
||||
GamePlayerMounts = 14
|
||||
GameEnvironmentEffect = 15
|
||||
GameCreatureEmblems = 17
|
||||
GameItemAnimationPhase = 19
|
||||
GameMagicEffectU16 = 22
|
||||
GamePlayerMarket = 23
|
||||
GameSpritesU32 = 24
|
||||
GameChargeableItems = 25
|
||||
GameOfflineTrainingTime = 26
|
||||
GamePurseSlot = 27
|
||||
GameFormatCreatureName = 28
|
||||
GamePenalityOnDeath = 4
|
||||
GameNameOnNpcTrade = 5
|
||||
GameDoubleFreeCapacity = 6
|
||||
GameDoubleExperience = 7
|
||||
GameTotalCapacity = 8
|
||||
GameSkillsBase = 9
|
||||
GamePlayerRegenerationTime = 10
|
||||
GameChannelPlayerList = 11
|
||||
GamePlayerMounts = 12
|
||||
GameEnvironmentEffect = 13
|
||||
GameCreatureEmblems = 14
|
||||
GameItemAnimationPhase = 15
|
||||
GameMagicEffectU16 = 16
|
||||
GamePlayerMarket = 17
|
||||
GameSpritesU32 = 18
|
||||
GameChargeableItems = 19
|
||||
GameOfflineTrainingTime = 20
|
||||
GamePurseSlot = 21
|
||||
GameFormatCreatureName = 22
|
||||
|
||||
TextColors = {
|
||||
red = '#f55e5e', --'#c83200'
|
||||
|
|
|
@ -315,25 +315,25 @@ namespace Otc
|
|||
GameProtocolChecksum = 1,
|
||||
GameAccountNames = 2,
|
||||
GameChallangeOnLogin = 3,
|
||||
GamePenalityOnDeath = 5,
|
||||
GameNameOnNpcTrade = 6,
|
||||
GameDoubleFreeCapacity = 7,
|
||||
GameDoubleExperience = 8,
|
||||
GameTotalCapacity = 9,
|
||||
GameSkillsBase = 10,
|
||||
GamePlayerRegenerationTime = 11,
|
||||
GameChannelPlayerList = 13,
|
||||
GamePlayerMounts = 14,
|
||||
GameEnvironmentEffect = 15,
|
||||
GameCreatureEmblems = 17,
|
||||
GameItemAnimationPhase = 19,
|
||||
GameMagicEffectU16 = 22,
|
||||
GamePlayerMarket = 23,
|
||||
GameSpritesU32 = 24,
|
||||
GameChargeableItems = 25,
|
||||
GameOfflineTrainingTime = 26,
|
||||
GamePurseSlot = 27,
|
||||
GameFormatCreatureName = 28,
|
||||
GamePenalityOnDeath = 4,
|
||||
GameNameOnNpcTrade = 5,
|
||||
GameDoubleFreeCapacity = 6,
|
||||
GameDoubleExperience = 7,
|
||||
GameTotalCapacity = 8,
|
||||
GameSkillsBase = 9,
|
||||
GamePlayerRegenerationTime = 10,
|
||||
GameChannelPlayerList = 11,
|
||||
GamePlayerMounts = 12,
|
||||
GameEnvironmentEffect = 13,
|
||||
GameCreatureEmblems = 14,
|
||||
GameItemAnimationPhase = 15,
|
||||
GameMagicEffectU16 = 16,
|
||||
GamePlayerMarket = 17,
|
||||
GameSpritesU32 = 18,
|
||||
GameChargeableItems = 19,
|
||||
GameOfflineTrainingTime = 20,
|
||||
GamePurseSlot = 21,
|
||||
GameFormatCreatureName = 22,
|
||||
// 23-50 unused yet
|
||||
// 51-100 reserved to be defined in lua
|
||||
LastGameFeature = 101
|
||||
|
|
Loading…
Reference in New Issue