14712 Posts in 2613 Topics - by 7960 Members - Latest Member: Sumthanbuub

Author Topic: Slight error regarding the VGUI in game  (Read 1840 times)

Sonic5039

  • This user has no personal avatar.
  • November 2012
  • 21 Posts
    • STEAM_0:0:7699489 STEAM_0:0:7699489
« September 09, 2013, 07:57:03 AM » #9478
Code: [Select]
[ERROR] addons/nondb-beta/lua/nondb/vgui/custom/invitem.lua:198: bad argument #1 to 'WriteUInt' (number expected, got nil)
  1. WriteUInt - [C]:-1
   2. DoClick - addons/nondb-beta/lua/nondb/vgui/custom/invitem.lua:198
    3. OnMouseReleased - lua/vgui/dlabel.lua:206
     4. unknown - lua/vgui/dmenuoption.lua:116

Edit: Seems the first error above was caused by the item being unselected in some way either sent to the bank from a filtered view and quickly clicking the action button again for that item, or any time the action menu is used and no item is selected. More likely to happen accidentally to a person if they were sending an item to the bank and it took a fraction longer than usual .

As well another minor bug would be sending an item from your inventory when using a filter to view specific items and sending one to the bank doesn't actually remove it immediately from that filtered view until you remove the item filter and re-click it.

Ex: Click gem filter, send 1st gem to bank, it still appears there until you remove the gem filter even though its already in the bank.


Neither seem at least to require immediate attention, may just confuse some users if they even notice.

« Last Edit: September 09, 2013, 08:39:15 AM by Sonic5039 »

Willdy

  • September 2011
  • 2276 Posts
    • STEAM_0:0:22970989 STEAM_0:0:22970989
« September 09, 2013, 12:40:05 PM » #9479
Quote
Ex: Click gem filter, send 1st gem to bank, it still appears there until you remove the gem filter even though its already in the bank
If you have a filter on and do anything which involves removing an item such as  deleting or crafting then it'll stay until you remove the filter. It is only graphical though, you can't do anything with it.

nonSENSE Online

  • September 2011
  • 1365 Posts
    • STEAM_0:0:11953676 STEAM_0:0:11953676
« September 09, 2013, 03:50:05 PM » #9486
Fixed. Filtered inventory views are now updated correctly when sending an item to the bank.

0 Members and 1 Guest are viewing this topic.