Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permaprops not working on 1 specific map and broken permissions #8

Open
Hexon-Boi opened this issue May 22, 2022 · 3 comments
Open

Comments

@Hexon-Boi
Copy link

Hexon-Boi commented May 22, 2022

Hi, on rp_jania_exile_v2 props disappear after permaproping them and cleaning the map, they also don't come back after respawning from the settings. I know that when we had this problem on original rp_jania_exile u have managed to fix it, but when v2 came out, we have this problem again on reworked version. When i try to respawn them or clean up the map i get this error in server console:

[permaprops] addons/permaprops/lua/permaprops/sv_main.lua:130: bad argument #2 to 'SetKeyValue' (string expected, got userdata)
  1. SetKeyValue - [C]:-1
   2. SpawnProp - addons/permaprops/lua/permaprops/sv_main.lua:130
    3. callback - addons/permaprops/lua/permaprops/sv_main.lua:212
     4. SQLQuery - addons/permaprops/lua/permaprops/sv_sql.lua:52
      5. SpawnAllProps - addons/permaprops/lua/permaprops/sv_main.lua:207
       6. unknown - addons/permaprops/lua/permaprops/sv_main.lua:370
Timer Failed! [Simple][@addons/permaprops/lua/permaprops/sv_main.lua (line 369)] 

Also i have a problem with the permissions, i have them set up so operator in the ULX can do stuff with the tool like permaproping and deleting permaprops, but they can't do that, i got chat msg that they don't have permissions
obraz
Awaiting your response :)

@Hexon-Boi
Copy link
Author

Hexon-Boi commented May 23, 2022

Now we have this problem on all maps and we can't build anything on the server

[permaprops] addons/permaprops/lua/permaprops/sv_main.lua:130: bad argument #2 to 'SetKeyValue' (string expected, got userdata)
  1. SetKeyValue - [C]:-1
   2. SpawnProp - addons/permaprops/lua/permaprops/sv_main.lua:130
    3. callback - addons/permaprops/lua/permaprops/sv_main.lua:212
     4. SQLQuery - addons/permaprops/lua/permaprops/sv_sql.lua:52
      5. SpawnAllProps - addons/permaprops/lua/permaprops/sv_main.lua:207
       6. fn - addons/permaprops/lua/permaprops/sv_main.lua:415
        7. unknown - lua/ulib/shared/hook.lua:109
         8. CleanUpMap - [C]:-1
          9. unknown - gamemodes/starwarsrp/gamemode/modules/fadmin/fadmin/cleanup/sv_init.lua:26
           10. unknown - lua/includes/modules/concommand.lua:54

@Hexon-Boi
Copy link
Author

When checking Permaprops overview i get this clientside error spam too

[permaprops] addons/permaprops/lua/permaprops/cl_main.lua:350: attempt to concatenate field 'steamName' (a nil value)
  1. unknown - addons/permaprops/lua/permaprops/cl_main.lua:350 (x3320)

@Hexon-Boi
Copy link
Author

I found out that removing Invalid permaprops from that map solved the problem with disappearing props, but i think only temporarily. New invalid props will be added over time because of this bug and this problem will repeat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant