• Print

Author Topic: Broken pointshop when ulib is installed  (Read 4876 times)

0 Members and 1 Guest are viewing this topic.

Offline Unknown Gamer

  • Jr. Member
  • **
  • Posts: 79
  • Karma: -2
    • TrueKnife TTT
Broken pointshop when ulib is installed
« on: April 14, 2015, 03:57:54 am »
I cant figure out how to fix this. My data is stored on MySQL
Code: Lua
  1. [ERROR] addons/pointshop-master/lua/pointshop/sv_player_extension.lua:287: attempt to index field 'PS_Items' (a nil value)
  2. 1. PS_HasItem - addons/pointshop-master/lua/pointshop/sv_player_extension.lua:287
  3. 2. PS_HasItemEquipped - addons/pointshop-master/lua/pointshop/sv_player_extension.lua:291
  4. 3. fn - addons/pointshop-master/lua/pointshop/sh_init.lua:145
  5. 4. unknown - addons/ulib/lua/ulib/shared/hook.lua:107
« Last Edit: April 14, 2015, 04:00:34 am by BuilderGaming »
Newb Coder. Soon to get better

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: Broken pointshop when ulib is installed
« Reply #1 on: April 14, 2015, 05:38:44 am »
For this to happen, your spawn hook would not have been run for some reason (to my understanding).  Is your mysql server returning some weird values or stalling out or something?  You could check if the hook is being run in the first place.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: Broken pointshop when ulib is installed
« Reply #2 on: April 14, 2015, 10:33:00 am »
This is the same issue that TomatoSoup is having here: /index.php/topic,8426.0.html

It's likely a hook in a separate addon that's causing the main issue.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

  • Print