ULX

Author Topic: Help, Falcos Prop Protection crashes.  (Read 3142 times)

0 Members and 5 Guests are viewing this topic.

Offline Randos

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Help, Falcos Prop Protection crashes.
« on: April 01, 2016, 04:13:09 PM »
Btw, my english is very bad, because im a german. But i think ull understand me, thanks for your cooperation.

So,
i installed Falcos Prop Protection.
Then i wanted to go @ Admin Settings. I was an superadmin without changed rights etc. Then there's a script error and the admin settings are empty. When i leave the Q menĂ¼, and want to open it again, i see "Something is creating script errors". And the Q menĂ¼ doesnt open anymore. The Script Error everytime pops up at opentry.

So, i also tried some things to fix this:
  • I installed the Addon new, from different links, like GitHub, Workshop etc.
    I checked everything, its 100% compatible with all addons!
    I allready reinstalled it.

This is my log error:
[ERROR] lua/autorun/client/fpp_menu.lua:142: attempt to index field 'TextEntry' (a nil value)
  1. addsldr - lua/autorun/client/fpp_menu.lua:142
   2. AdminMenu - lua/autorun/client/fpp_menu.lua:155
    3. fn - lua/autorun/client/fpp_menu.lua:407
     4. Call - addons/ulib/lua/ulib/shared/hook.lua:179
      5. Call - gamemodes/sandbox/gamemode/spawnmenu/spawnmenu.lua:224
       6. unknown - gamemodes/base/gamemode/cl_spawnmenu.lua:56
        7. unknown - lua/includes/modules/concommand.lua:54


Please help me! I want block Tools etc. And another Prop Protection doesnt work!


Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Help, Falcos Prop Protection crashes.
« Reply #1 on: April 01, 2016, 05:31:04 PM »
Quote
This is my log error:
[ERROR] lua/autorun/client/fpp_menu.lua:142: attempt to index field 'TextEntry' (a nil value)
  1. addsldr - lua/autorun/client/fpp_menu.lua:142
   2. AdminMenu - lua/autorun/client/fpp_menu.lua:155
    3. fn - lua/autorun/client/fpp_menu.lua:407
     4. Call - addons/ulib/lua/ulib/shared/hook.lua:179
      5. Call - gamemodes/sandbox/gamemode/spawnmenu/spawnmenu.lua:224
       6. unknown - gamemodes/base/gamemode/cl_spawnmenu.lua:56
        7. unknown - lua/includes/modules/concommand.lua:54



lua/autorun/client/fpp_menu.lua is part of DarkRP (and an old version at that).  FPP is already part of DarkRP. So first, can you confirm what gamemode (and version, if it's DarkRP) that you're trying to run?


Offline Randos

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: Help, Falcos Prop Protection crashes.
« Reply #2 on: April 01, 2016, 06:44:12 PM »
@Buzzkill
Im running sandbox everytime.

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Help, Falcos Prop Protection crashes.
« Reply #3 on: April 02, 2016, 06:54:07 AM »
There simply isn't an fpp_menu.lua present anywhere in a current copy of FPP  (see https://github.com/FPtje/Falcos-Prop-protection).  This leaves me thinking ...


1) You installed an ancient copy of FPP (or still have one lurking)
2) You are somehow initializing parts of DarkRP

I would try to get back to zero here.  Review your sandbox startup script and your sandbox gamemode -- make sure something hasn't inadvertently been copied into it.  Then I would *completely* remove anything and everything related to FPP (from collections, from /addons, from resource.AddWorkshop, etc) and start again with code from Github.

Other than that, I'm at a loss.

Offline Randos

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: Help, Falcos Prop Protection crashes.
« Reply #4 on: April 02, 2016, 07:01:27 AM »
There is a FPP_Menu in the version ive downloaded.

Offline Randos

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: Help, Falcos Prop Protection crashes.
« Reply #5 on: April 02, 2016, 07:07:01 AM »
I've fixed the bugg,
i just took the menu in fpp/client and renamed it to fpp_menu.
Then i copied it to the lua/autorun too. Now it works perfect!

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Help, Falcos Prop Protection crashes.
« Reply #6 on: April 02, 2016, 07:44:20 AM »
There is a FPP_Menu in the version ive downloaded.

Where are you downloading it from?  This  https://github.com/FPtje/Falcos-Prop-protection   is the most current version from the author.

Offline Buzzkill

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 176
  • Karma: 59
    • The Hundred Acre Bloodbath
Re: Help, Falcos Prop Protection crashes.
« Reply #7 on: April 02, 2016, 07:46:17 AM »
I've fixed the bugg,
i just took the menu in fpp/client and renamed it to fpp_menu.
Then i copied it to the lua/autorun too. Now it works perfect!

I thought you said there was an fpp_menu in the version you downloaded.   Now you're saying you're changing the name of an existing file to fpp_menu.  Contradiction, so it's hard to understand what's going on.

This seems like a hack, and will probably cause you more grief down the road  (ie, you should never need to copy addon files to /lua/autorun outside of the /addons directory, so I suspect you did this before and had old bits of obsolete addons lurking in there) -- but if it works for you and you're happy, great.   
« Last Edit: April 02, 2016, 07:49:08 AM by Buzzkill »

Offline Randos

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: Help, Falcos Prop Protection crashes.
« Reply #8 on: April 10, 2016, 07:46:57 AM »
Jup im Happy :D