I'm experiencing a bug where kore is trying to sell a new event item that Level Up Games implemented (18809#Bandana de 8º aniversário#). Kore is not obeying items_control parameters because of an error in regex when parsing items.txt and items_control.txt because of "8º". I'll fix this but there's also another way around this.
We can store this list and check what we are allowed to sell in addition to items_control keys, so the users should be able to override this default action.
Code: Select all
[Sep 18 08:10:15 2012.45] Ready to start selling items
[Sep 18 08:10:15 2012.47] You can sell:
[Sep 18 08:10:15 2012.48] [36 x Asa de Mosca de Iniciante] for 0 z each.
[Sep 18 08:10:15 2012.49] [38 x Asa de Borboleta de Iniciante] for 0 z each.
[Sep 18 08:10:15 2012.51] [6 x Vale-Teletransporte] for 0 z each.
[Sep 18 08:10:15 2012.53] [1 x Botas Valhalla Iniciantes] for 0 z each.
[Sep 18 08:10:15 2012.54] [1 x Uniforme Valhalla Iniciante] for 0 z each.
[Sep 18 08:10:15 2012.55] [2 x Poção do Despertar] for 750 z each.
[Sep 18 08:10:15 2012.55] [2 x Osso] for 116 z each.
[Sep 18 08:10:15 2012.56] [1 x Florzinha] for 10 z each.
[Sep 18 08:10:15 2012.58] [4 x Laranja] for 150 z each.
[Sep 18 08:10:15 2012.91] Conversa com Cozinheiro Auxiliar finalizada.
[Sep 18 08:10:15 2012.98] >>>>>Sell failed.<<<<< (Kore trying to sell 18809#Bandana de 8º aniversário#)
Code: Select all
[Sep 18 08:10:17 2012.10] ----------Inventário-----------
-- Equipamento (Equipado) --
14 Capa Valhalla -- Cape (4)
15 Botas Valhalla Intermediárias -- Foot Wear (64)
16 Uniforme Valhalla Intermediário -- Armor (16)
17 Adaga Valhalla Iniciante -- One-Handed Weapon (2)
18 Chapéu Valhalla -- Helmet (256)
-- Equipamento (Não equipado) --
10 Botas Valhalla Iniciantes (Weapon)
11 Uniforme Valhalla Iniciante (Weapon)
12 Bandana de 8º aniversário (Weapon) -- Não Identificado
13 Florzinha (Weapon) -- Não Identificado
-- Não utilizável --
2 Vale-Teletransporte x 6
3 Emblema do Grupo Valhalla x 1
8 Osso x 2
-- Utilizável --
0 Asa de Mosca de Iniciante x 36
1 Asa de Borboleta de Iniciante x 38
4 Biscoito da Sorte: Magnificat x 35
5 Biscoito da Sorte: Impositio Manus x 37
6 Biscoito da Sorte: Glória x 28
7 Poção do Despertar x 2
9 Laranja x 4