Hi there,
I migrated my Garry's Mod server between hosts yesterday and copied the addon folder for PermaProps to my new server - however the PermaProps are no longer spawning on my new server and the PermaProps tool is not shown in the Q menu.
I have tried: Copying over my sv.db, restarting etc.
If anyone knows how to fix this issue, please let me know.
Thanks a lot!
Mason
[QUOTE=Tratman;52597480]Hi there,
I migrated my Garry's Mod server between hosts yesterday and copied the addon folder for PermaProps to my new server - however the PermaProps are no longer spawning on my new server and the PermaProps tool is not shown in the Q menu.
I have tried: Copying over my sv.db, restarting etc.
If anyone knows how to fix this issue, please let me know.
Thanks a lot!
Mason[/QUOTE]
Total guess: PermaProps uses a file in the garrysmod/data/ folder to store information, check there?
[QUOTE=Apickx;52598091]Total guess: PermaProps uses a file in the garrysmod/data/ folder to store information, check there?[/QUOTE]
No, there is no folder for permaprops in there, thanks for trying though :)
[QUOTE=Tratman;52598128]No, there is no folder for permaprops in there, thanks for trying though :)[/QUOTE]
Just to make sure, you're using [URL="https://github.com/MalboroGmod/PermaProps/"]this[/URL] permaprops, right? It looks like moving sv.db /should/ have done it, but can you post the output of this console command?
[code]
lua_run PrintTable(sql.Query("SELECT * FROM permaprops;"))
[/code]
[url]https://pastebin.com/W9wKewSX[/url]
So it looks like they are in the DB...it just doesn't spawn them :/
Thanks for trying to trouble shoot this further with me :) -P.S. that is the correct version of permaprops which you linked :)
[QUOTE=Tratman;52598674][url]https://pastebin.com/W9wKewSX[/url]
So it looks like they are in the DB...it just doesn't spawn them :/
Thanks for trying to trouble shoot this further with me :) -P.S. that is the correct version of permaprops which you linked :)[/QUOTE]
Sure!
The last thing I can think of is maybe game.GetMap() is doing something with capitalization between your old and new server, if you do
[code]
lua_run print(game.GetMap())
[/code]
does it print anything other than "rp_downtown_v4c_v4" or "rp_eastcoast_v4b"?
[QUOTE=Apickx;52598742]Sure!
The last thing I can think of is maybe game.GetMap() is doing something with capitalization between your old and new server, if you do
[code]
lua_run print(game.GetMap())
[/code]
does it print anything other than "rp_downtown_v4c_v4" or "rp_eastcoast_v4b"?[/QUOTE]
It prints ] rcon lua_run print(game.GetMap())
> print ( game.GetMap ( ) )...
rp_eastcoast_v4b
So, this should not cause an issue...however, the command line which starts my server is this: [url]http://prntscr.com/gbtbjy[/url] I wonder if the "s could cause an issue?
Before I migrated my server, the commandline didn't include these, I will contact my host and see if they could get the "s removed. I'll let you know the outcome. :)
[editline]22nd August 2017[/editline]
[QUOTE=Tratman;52601782]It prints ] rcon lua_run print(game.GetMap())
> print ( game.GetMap ( ) )...
rp_eastcoast_v4b
So, this should not cause an issue...however, the command line which starts my server is this: [url]http://prntscr.com/gbtbjy[/url] I wonder if the "s could cause an issue?
Before I migrated my server, the commandline didn't include these, I will contact my host and see if they could get the "s removed. I'll let you know the outcome. :)[/QUOTE]
That doesn't seem to have fixed the issue :/ Any more ideas? Thanks again.
[QUOTE=Tratman;52601782]
That doesn't seem to have fixed the issue :/ Any more ideas? Thanks again.
[/QUOTE]
I'm afraid I'm out of ideas, maybe try submitting a bug report on github and see if you can get some help from the maintainer. [url]https://github.com/MalboroGmod/PermaProps/issues[/url]
[QUOTE=Apickx;52602018]I'm afraid I'm out of ideas, maybe try submitting a bug report on github and see if you can get some help from the maintainer. [url]https://github.com/MalboroGmod/PermaProps/issues[/url][/QUOTE]
Yo dude, I've looked into it further and I think there may have been a conflict between PermaProps and another addon which I think I have now solved...however it is giving this error on server start:
[ERROR] addons/tool_permaprops/lua/weapons/gmod_tool/stools/permaprops.lua:174: bad argument #1 to 'SetCollisionBounds' (Vector expected, got number)
1. SetCollisionBounds - [C]:-1
2. PPEntityFromTable - addons/tool_permaprops/lua/weapons/gmod_tool/stools/permaprops.lua:174
3. fn - addons/tool_permaprops/lua/weapons/gmod_tool/stools/permaprops.lua:297
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:109
Any idea what this is telling me?
:)
[QUOTE=Tratman;52605536]Yo dude, I've looked into it further and I think there may have been a conflict between PermaProps and another addon which I think I have now solved...however it is giving this error on server start:
[ERROR] addons/tool_permaprops/lua/weapons/gmod_tool/stools/permaprops.lua:174: bad argument #1 to 'SetCollisionBounds' (Vector expected, got number)
1. SetCollisionBounds - [C]:-1
2. PPEntityFromTable - addons/tool_permaprops/lua/weapons/gmod_tool/stools/permaprops.lua:174
3. fn - addons/tool_permaprops/lua/weapons/gmod_tool/stools/permaprops.lua:297
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:109
Any idea what this is telling me?
:)[/QUOTE]
It's telling you that in addons/tool_permaprops/lua/weapons/gmod_tool/stools/permaprops.lua on line 174, the call to SetCollisionBounds() is doing something incorrect.
Sorry, you need to Log In to post a reply to this thread.