Pivity

Pointshop 2 error

Last read Never
#1

So, upon me simply opening the menu for Pointshop 2 (It happens for anyone to join the server and open the menu):

[ERROR] lua/vgui/dimage.lua:120: attempt to index local 'Mat' (a nil value)

  1. FixVertexLitMaterial - lua/vgui/dimage.lua:120
  2. SetImage - lua/vgui/dimage.lua:101 3. SetItemClass - addons/pointshop2/lua/ps2/modules/pointshop2/hat/cl_dpointshophaticon.lua:20 4. DoPopulate - addons/pointshop2/lua/ps2/client/tabs/management_tab/manage_items/content/cl_pointshop2content.lua:118 5. PopulateWithExistingCategories - addons/pointshop2/lua/ps2/client/tabs/management_tab/manage_items/content/cl_pointshop2content.lua:222 6. fn - addons/pointshop2/lua/ps2/client/tabs/management_tab/manage_items/content/cl_pointshop2content.lua:310 7. Call - addons/ulib/lua/ulib/shared/hook.lua:110 8. CallPopulateHook - addons/pointshop2/lua/ps2/client/tabs/management_tab/manage_items/dpointshopcontentpanel.lua:27 9. Init - addons/pointshop2/lua/ps2/client/tabs/management_tab/cl_dpointshopmanagementtab_items.lua:15 10. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:37 11. Init - addons/pointshop2/lua/ps2/client/tabs/management_tab/cl_dpointshopmanagementtab.lua:19 12. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:37 13. Init - addons/pointshop2/lua/ps2/client/cl_dpointshopframe.lua:112 14. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:37 15. OpenMenu - addons/pointshop2/lua/ps2/client/cl_0_pointshop2.lua:8 16. ToggleMenu - addons/pointshop2/lua/ps2/client/cl_0_pointshop2.lua:70

The code: 111 - function PANEL:FixVertexLitMaterial() 112 - 113 - -- 114 - -- If it's a vertexlitgeneric material we need to change it to be 115 - -- UnlitGeneric so it doesn't go dark when we enter a dark room 116 - -- and flicker all about 117 - -- 118 - 119 - local Mat = self:GetMaterial() 120 - local strImage = Mat:GetName() 121 - 122 - if ( string.find( Mat:GetShader(), "VertexLitGeneric" ) || string.find( Mat:GetShader(), "Cable" ) ) then 123 - 124 - local t = Mat:GetString( "$basetexture" ) 125 - 126 - if ( t ) then 127 - 128 - local params = {} 129 - params[ "$basetexture" ] = t 130 - params[ "$vertexcolor" ] = 1 131 - params[ "$vertexalpha" ] = 1 132 - 133 - Mat = CreateMaterial( strImage .. "_DImage", "UnlitGeneric", params ) 134 - 135 - end 136 - 137 - end 138 - 139 - self:SetMaterial( Mat ) 140 - 141 - end

Proof I do actually own the bloody addon before you all complain about it

#2

Since you have manual access I'm taking it you bought from his site, well if he lives up to his word then make a ticket and he should reply within 24 hours (which won't happen most likely)

Agree x 1
#3
ByLunaversity.xyz 💮at 21st of February 2017 09:09:19
Since you have manual access I'm taking it you bought from his site, well if he lives up to his word then make a ticket and he should reply within 24 hours (which won't happen most likely)

Nope, over 48 hours now and nothing from him.

Funny x 1
Users viewing this thread
Nobody