Previous commit and this commit should finish #58

This commit is contained in:
BeniS 2012-08-19 13:40:04 +12:00
parent d237087718
commit 4ce9c921c1
3 changed files with 39 additions and 39 deletions

View File

@ -751,7 +751,7 @@ function Market.reset()
categoryList:setCurrentOption(getMarketCategoryName(MarketCategory.First)) categoryList:setCurrentOption(getMarketCategoryName(MarketCategory.First))
searchEdit:setText('') searchEdit:setText('')
clearFilters() clearFilters()
if information and not table.empty(information) then if not table.empty(information) then
Market.updateCurrentItems() Market.updateCurrentItems()
end end
end end

View File

@ -44,25 +44,25 @@ ChaseOpponent = 1
GameProtocolChecksum = 1 GameProtocolChecksum = 1
GameAccountNames = 2 GameAccountNames = 2
GameChallangeOnLogin = 3 GameChallangeOnLogin = 3
GamePenalityOnDeath = 5 GamePenalityOnDeath = 4
GameNameOnNpcTrade = 6 GameNameOnNpcTrade = 5
GameDoubleFreeCapacity = 7 GameDoubleFreeCapacity = 6
GameDoubleExperience = 8 GameDoubleExperience = 7
GameTotalCapacity = 9 GameTotalCapacity = 8
GameSkillsBase = 10 GameSkillsBase = 9
GamePlayerRegenerationTime = 11 GamePlayerRegenerationTime = 10
GameChannelPlayerList = 13 GameChannelPlayerList = 11
GamePlayerMounts = 14 GamePlayerMounts = 12
GameEnvironmentEffect = 15 GameEnvironmentEffect = 13
GameCreatureEmblems = 17 GameCreatureEmblems = 14
GameItemAnimationPhase = 19 GameItemAnimationPhase = 15
GameMagicEffectU16 = 22 GameMagicEffectU16 = 16
GamePlayerMarket = 23 GamePlayerMarket = 17
GameSpritesU32 = 24 GameSpritesU32 = 18
GameChargeableItems = 25 GameChargeableItems = 19
GameOfflineTrainingTime = 26 GameOfflineTrainingTime = 20
GamePurseSlot = 27 GamePurseSlot = 21
GameFormatCreatureName = 28 GameFormatCreatureName = 22
TextColors = { TextColors = {
red = '#f55e5e', --'#c83200' red = '#f55e5e', --'#c83200'

View File

@ -315,25 +315,25 @@ namespace Otc
GameProtocolChecksum = 1, GameProtocolChecksum = 1,
GameAccountNames = 2, GameAccountNames = 2,
GameChallangeOnLogin = 3, GameChallangeOnLogin = 3,
GamePenalityOnDeath = 5, GamePenalityOnDeath = 4,
GameNameOnNpcTrade = 6, GameNameOnNpcTrade = 5,
GameDoubleFreeCapacity = 7, GameDoubleFreeCapacity = 6,
GameDoubleExperience = 8, GameDoubleExperience = 7,
GameTotalCapacity = 9, GameTotalCapacity = 8,
GameSkillsBase = 10, GameSkillsBase = 9,
GamePlayerRegenerationTime = 11, GamePlayerRegenerationTime = 10,
GameChannelPlayerList = 13, GameChannelPlayerList = 11,
GamePlayerMounts = 14, GamePlayerMounts = 12,
GameEnvironmentEffect = 15, GameEnvironmentEffect = 13,
GameCreatureEmblems = 17, GameCreatureEmblems = 14,
GameItemAnimationPhase = 19, GameItemAnimationPhase = 15,
GameMagicEffectU16 = 22, GameMagicEffectU16 = 16,
GamePlayerMarket = 23, GamePlayerMarket = 17,
GameSpritesU32 = 24, GameSpritesU32 = 18,
GameChargeableItems = 25, GameChargeableItems = 19,
GameOfflineTrainingTime = 26, GameOfflineTrainingTime = 20,
GamePurseSlot = 27, GamePurseSlot = 21,
GameFormatCreatureName = 28, GameFormatCreatureName = 22,
// 23-50 unused yet // 23-50 unused yet
// 51-100 reserved to be defined in lua // 51-100 reserved to be defined in lua
LastGameFeature = 101 LastGameFeature = 101