SVN 395: Autosell with check for durability and stats
Re: SVN 395: Autosell with check for durability and stats
Thats exactly my problem xD
After the update my problems started, too.
After the update my problems started, too.
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN 395: Autosell with check for durability and stats
I think it's caused by the new item parser code. Turn the DEBUG_INV option on and post the results.
Code: Select all
<option name="DEBUG_INV" value="true" />
Re: SVN 395: Autosell with check for durability and stats
hi ok after implement :
I hawe agein:
seill still not work. thx for try help
Code: Select all
<option name="DEBUG_INV" value="true" />
Code: Select all
[DEBUG] Check item so sell: 520082 Vitality II
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 |cffEBDF904|r => X
[DEBUG] Check nosellstat line: 11 |cffEBDF9020|r => X
[DEBUG] Check nosellstat line: 12 |cffEBDF900.4|r => X
[DEBUG] Check nosellstat line: 13 |cffEBDF9012|r => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 222664 Blazing Armor
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability => 89
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 |cffFFFFFFDurability 89/89 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 |cffFFFFFFUpper Body => X
[DEBUG] Check nosellstat line: 6 |cffFFFFFFMagical Defense 400 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 |cffFFFFFFIntellect VII => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 |cffEBDF9017 ( |cffff0000- 63|r|cffEBDF90)|r =
> X
[DEBUG] Check nosellstat line: 14 |cffEBDF900 ( |cffff0000- 63|r|cffEBDF90)|r =>
X
[DEBUG] Check nosellstat line: 15 |cffEBDF900 ( |cffff0000- 10|r|cffEBDF90)|r =>
X
[DEBUG] Check item so sell: 203588 Rune Rubbing
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 205007 Order of Dark Glory Document
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 204445 Stomach
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 205535 Goldie
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 203544 Sheepskin Parchment Scroll
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 204610 Blessed Seed
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
Paused. (Delete) to continue, (CTRL+L) exit to shell, (CTRL+C) quit
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN 395: Autosell with check for durability and stats
When it's mapping your inventory, it should display all the information (name, quantity, etc.). Do you notice anything weird there (such as "|cxxxxxxxx")?
Re: SVN 395: Autosell with check for durability and stats
ok thats maping inventori:
...= full names of items
I didnt faund nothing wired man, any idea?
Code: Select all
Mapping inventory (bagslot 1 to 60)...
DEBUG item:update(): slot 1 bagId 61 Id 206399 name ... qty 36
DEBUG item:update(): slot 2 bagId 70 Id 520063 name ... qty 1
DEBUG item:update(): slot 3 bagId 69 Id 220366 name ... qty 1
DEBUG item:update(): slot 4 bagId 78 Id 520223 name ... qty 1
DEBUG item:update(): slot 5 bagId 82 Id 0 name qty 0
DEBUG item:update(): slot 6 bagId 72 Id 220482 name ... qty 1
DEBUG item:update(): slot 7 bagId 89 Id 520022 name ... qty 1
DEBUG item:update(): slot 8 bagId 67 Id 203588 name ... qty 1
DEBUG item:update(): slot 9 bagId 63 Id 0 name qty 0
DEBUG item:update(): slot 10 bagId 76 Id 220263 name ... qty 1
DEBUG item:update(): slot 11 bagId 65 Id 210298 name ... qty 1
DEBUG item:update(): slot 12 bagId 73 Id 0 name qty 0
DEBUG item:update(): slot 13 bagId 75 Id 0 name qty 0
DEBUG item:update(): slot 14 bagId 90 Id 205007 name ...
t qty 1
DEBUG item:update(): slot 15 bagId 86 Id 204445 name ... qty 1
DEBUG item:update(): slot 16 bagId 83 Id 205535 name ... qty 1
DEBUG item:update(): slot 17 bagId 84 Id 203544 name ...
qty 1
DEBUG item:update(): slot 18 bagId 68 Id 204610 name ... qty 1
DEBUG item:update(): slot 19 bagId 81 Id 223521 name ... qty 1
DEBUG item:update(): slot 20 bagId 62 Id 224636 name ... qt
y 1
DEBUG item:update(): slot 21 bagId 71 Id 211659 name ... qty 1
DEBUG item:update(): slot 22 bagId 74 Id 223907 name ... qty 1
DEBUG item:update(): slot 23 bagId 85 Id 224632 name ... qt
y 1
DEBUG item:update(): slot 24 bagId 79 Id 211647 name ...
qty 1
DEBUG item:update(): slot 25 bagId 64 Id 210038 name ... qty 1
DEBUG item:update(): slot 26 bagId 77 Id 203495 name ... qty
1
DEBUG item:update(): slot 27 bagId 87 Id 520043 name ... qty 1
DEBUG item:update(): slot 28 bagId 88 Id 203497 name ... qty
1
DEBUG item:update(): slot 29 bagId 80 Id 520123 name ... qty 1
DEBUG item:update(): slot 30 bagId 66 Id 225303 name ... qty 1
DEBUG item:update(): slot 31 bagId 94 Id 223332 name ... qty
1
DEBUG item:update(): slot 32 bagId 100 Id 223597 name ... qty 1
DEBUG item:update(): slot 33 bagId 92 Id 223502 name ... qty 1
DEBUG item:update(): slot 34 bagId 107 Id 211659 name ... qty 1
DEBUG item:update(): slot 35 bagId 101 Id 205663 name ... qty 1
DEBUG item:update(): slot 36 bagId 117 Id 205663 name ... qty 1
DEBUG item:update(): slot 37 bagId 114 Id 203676 name ... (Permanent)
qty 1
DEBUG item:update(): slot 38 bagId 93 Id 202903 name ... qty 1
DEBUG item:update(): slot 39 bagId 97 Id 202902 name ... qty 1
DEBUG item:update(): slot 40 bagId 102 Id 202435 name ... qty 1
DEBUG item:update(): slot 41 bagId 113 Id 202506 name ... qty 1
DEBUG item:update(): slot 42 bagId 104 Id 201967 name ... qty
1
DEBUG item:update(): slot 43 bagId 110 Id 204890 name ... qty
91
DEBUG item:update(): slot 44 bagId 119 Id 204890 name ... qty
99
DEBUG item:update(): slot 45 bagId 111 Id 204889 name ... qty 98
DEBUG item:update(): slot 46 bagId 91 Id 200114 name ... qty 24
DEBUG item:update(): slot 47 bagId 108 Id 205646 name ... qty 1
DEBUG item:update(): slot 48 bagId 96 Id 205426 name ... qty 1
DEBUG item:update(): slot 49 bagId 98 Id 203783 name ... qty 1
DEBUG item:update(): slot 50 bagId 120 Id 203627 name ... qty 1
DEBUG item:update(): slot 51 bagId 116 Id 202754 name ... qty 1
DEBUG item:update(): slot 52 bagId 95 Id 201437 name ... qty 1
DEBUG item:update(): slot 53 bagId 106 Id 201250 name ... qty 1
DEBUG item:update(): slot 54 bagId 115 Id 200923 name ... qty 1
DEBUG item:update(): slot 55 bagId 112 Id 200710 name ... qty 1
DEBUG item:update(): slot 56 bagId 109 Id 200017 name ... qty 1
DEBUG item:update(): slot 57 bagId 103 Id 204222 name ... qty 1
DEBUG item:update(): slot 58 bagId 118 Id 203038 name ... qty 100
0
DEBUG item:update(): slot 59 bagId 99 Id 203038 name ... qty 100
DEBUG item:update(): slot 60 bagId 105 Id 203038 name ... qty 100
0
I didnt faund nothing wired man, any idea?
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN 395: Autosell with check for durability and stats
Ok, it's not the item link parser. Might be caused by a change in the RoM API with the latest patch. Try this... open up ingamefunctions.lua (part of the addon you installed), and look for this (should be near the top):
Try changing it to this:
Then save it and (if you're in-game already) reload the addon by typing in /script ReloadUI();
There might still be problems after making this change. I'm not sure. Can you test it for me and report back?
Code: Select all
GameTooltip:SetBagItem(_bagid);
Code: Select all
GameTooltip:SetBagItem(GetBagItemInfo(_bagid));
There might still be problems after making this change. I'm not sure. Can you test it for me and report back?
Re: SVN 395: Autosell with check for durability and stats
Hi,
that does not work for selling but now i get a new message
Itemcolor not in option INV_AUTOSELL_QUALITY
EDIT: It is definitly the color! I changed something in the inventory.lua that the script dont cares about the colour and it worked again. I hope the information helps u to find this issue.
that does not work for selling but now i get a new message
Itemcolor not in option INV_AUTOSELL_QUALITY
EDIT: It is definitly the color! I changed something in the inventory.lua that the script dont cares about the colour and it worked again. I hope the information helps u to find this issue.
Re: SVN 395: Autosell with check for durability and stats
hi , ok i sed that and naw i hawe that mesages...
still dont seill
Code: Select all
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 220366 Sharpmoon Long Robe
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 520223 Shell III
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 220482 Soft Boots of Elegance
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 520022 Power II
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 203588 Rune Rubbing
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 220263 Belt of the Stars
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 210298 Improved Throwing Axe
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 205007 Order of Dark Glory Document
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 204445 Stomach
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 205535 Goldie
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 203544 Sheepskin Parchment Scroll
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
[DEBUG] Check item so sell: 204610 Blessed Seed
[DEBUG] Itemcolor not in option INV_AUTOSELL_QUALITY:
[DEBUG] Durability check, search for: Durability =>
[DEBUG] Check nosellstat line: 1 => X
[DEBUG] Check nosellstat line: 2 => X
[DEBUG] Check nosellstat line: 3 => X
[DEBUG] Check nosellstat line: 4 => X
[DEBUG] Check nosellstat line: 5 => X
[DEBUG] Check nosellstat line: 6 => X
[DEBUG] Check nosellstat line: 7 => X
[DEBUG] Check nosellstat line: 8 => X
[DEBUG] Check nosellstat line: 9 => X
[DEBUG] Check nosellstat line: 10 => X
[DEBUG] Check nosellstat line: 11 => X
[DEBUG] Check nosellstat line: 12 => X
[DEBUG] Check nosellstat line: 13 => X
[DEBUG] Check nosellstat line: 14 => X
[DEBUG] Check nosellstat line: 15 => X
[DEBUG] Check nosellstat line: 16 => X
[DEBUG] Check nosellstat line: 17 => X
[DEBUG] Check nosellstat line: 18 => X
[DEBUG] Check nosellstat line: 19 => X
[DEBUG] Check nosellstat line: 20 => X
Paused. (Delete) to continue, (CTRL+L) exit to shell, (CTRL+C) quit
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN 395: Autosell with check for durability and stats
No news as of yet. It's being worked on.
Re: SVN 395: Autosell with check for durability and stats
ok thx still waiting. If u will need moor tests just let me knou.
Re: SVN 395: Autosell with check for durability and stats
It's definitely related to the colours. I'm looking through the code myself to see if I can find something.
Re: SVN 395: Autosell with check for durability and stats
Perhaps the RoM API itemlink structure has changes? I would suggest you to take a look into item.lua and check the content from the color field within the function item:update and also for the field itemLink in the function itemLink parser.Guard wrote:It's definitely related to the colours. I'm looking through the code myself to see if I can find something.
The RoM Bot Online Wiki needs your help!
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN 395: Autosell with check for durability and stats
I just committed a change that should get item auto-selling working again. Please update off SVN and test it further for me.
Re: SVN 395: Autosell with check for durability and stats
Autosell is working again!
*bows before the almighty Admin*
Thankyouthankyouthankyou.![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
*bows before the almighty Admin*
Thankyouthankyouthankyou.
![Mr. Green :mrgreen:](./images/smilies/icon_mrgreen.gif)
Re: SVN 395: Autosell with check for durability and stats
hi, i tested and its work, but i thing that
its not work. It is selling all items and don sort them. Any idea? thx
Code: Select all
<option name="INV_AUTOSELL_NOSELL_DURA" value="110" />
<option name="INV_AUTOSELL_STATS_NOSELL" value="X" />
<option name="INV_AUTOSELL_STATS_SELL" value="IX" />
its not work. It is selling all items and don sort them. Any idea? thx
Re: SVN 395: Autosell with check for durability and stats
autosell won´t work
if fixed this by myself by editing the
item.lua
inventory.lua
i think something is wrong with the tonumber function
if fixed this by myself by editing the
item.lua
Code: Select all
-- itemquality -> color code
ITEMCOLOR = {
--WHITE = tonumber("0xFFFFFFFF"),
--GREEN = tonumber("0xFF00FF00"),
--BLUE = tonumber("0xFF0072BC"),
--PURPLE = tonumber("0xFFA864A8"),
--ORANGE = tonumber("0xFFF68E56"),
--GOLD = tonumber("0xFFA37D50"),
WHITE = "FFFFFF",
GREEN = "00FF00",
BLUE = "0072BC",
PURPLE = "A864A8",
ORANGE = "F68E56",
GOLD = "FFA37D50",
}
inventory.lua
Code: Select all
-- ITEMCOLORS table is defined in item.lua
local function sellColor(_itemcolor)
--debugMsg(settings.profile.options.DEBUG_AUTOSELL,"FARBTEST",string.upper(_itemcolor));
for i,v in pairs(hf_quality_table) do
-- debugMsg(settings.profile.options.DEBUG_AUTOSELL,ITEMCOLOR[string.upper(v)], string.upper(v), string.upper(_itemcolor));
if( ITEMCOLOR[string.upper(v)] == string.upper(_itemcolor) ) then
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN 395: Autosell with check for durability and stats
No, it works fine. You just have one or more files that weren't updated properly.
Re: SVN 395: Autosell with check for durability and stats
Hi,
I get sometimes this error when bot is selling items to a vendor
This will not happen everytime, have someone got this problem, too?
I get sometimes this error when bot is selling items to a vendor
Code: Select all
D:/bot/rom/scripts/classes/inventory.lua:474: attempt to compare number
with nil
- Administrator
- Site Admin
- Posts: 5307
- Joined: Sat Jan 05, 2008 4:21 pm
Re: SVN 395: Autosell with check for durability and stats
Try changing line 474 of inventory.lua to this:
That should fix it.
Code: Select all
if( slotitem and tonumber(slotitem.Id) > 0 ) then
Who is online
Users browsing this forum: Bing [Bot] and 3 guests