Closed Teskocf closed 4 years ago
Well first, the issue is it was designed to work with players, not characters, it's based on steamID, not characters ID
I'll take a look at the error, but when reading the code it seems i did fuck something up
Okay is there a way that you could save it on character ID's ? Not SteamID's ? Would be very nice
I edited the code, can you give another try ?
For the identity thing i'll do something later
[ERROR] addons/ghomes/lua/ghomes_system/dlcs/dlc1/server/sv_test.lua:47: attempt to call method 'isCP' (a nil value)
[WCD] »» No hotfixes applied [WCD] »» Initiating player Teskocf [LOG] Teskocf loaded the character 'Dean Tesko2' 1 1 1 gurken
[ERROR] addons/ghomes/lua/ghomes_system/dlcs/dlc1/server/sv_test.lua:47: attempt to call method 'isCP' (a nil value)
Should i temp. remove the DLC ?
You can remove the DLC as you probably don't care about it, I forgot to implement isCP method to helix module
you can remove the whole dlcs
folder
[ERROR] addons/ghomes/lua/ghomes_system/sh_compatibility/darkrp.lua:98: attempt to call method 'setKeysNonOwnable' (a nil value)
When creating house
https://i.imgur.com/x50BFrs.png and is it correct that i cant select new property ?
in the server console do :
lua_run PrintTable(DarkRP)
PrintTable(DarkRP)... formatMoney = function: 0x2ec7ab60
Some shit ass addon developer is creating the darkrp table because he's a shit coder
okay now do
PrintTable(debug.getinfo(DarkRP.formatMoney))
currentline = -1 func = function: 0x2ec7ab60 isvararg = false lastlinedefined = 4 linedefined = 2 namewhat = nparams = 1 nups = 0 short_src = addons/wcd/lua/wcd/wrapper/wcd_helix.lua source = @addons/wcd/lua/wcd/wrapper/wcd_helix.lua what = Lua
Williams Car dealer uff
what a surprise
^^
To be honest i would do this in a config like you can select wrapper = "ix"
If you legally downloaded this addon, be sure you have the latest version (i doubt he ever fixed this shit code), if you already do, get rid of it and all of his addons, he can't code shit.
To be honest i would do this in a config like you can select wrapper = "ix"
The DarkRP table creation should not happen in the first place, you can code it yourself if you want or edit the code in here
So i just return ix like last time ?
just replace the func by
local function getCurGamemode()
return "ix"
end
that's dirty but whatever
https://i.imgur.com/x50BFrs.png and is it correct that i cant select new property ?
[ERROR] addons/ghomes/lua/ghomes_system/sh_compatibility/darkrp.lua:98: attempt to call method 'setKeysNonOwnable' (a nil value)
1. gHomeizeDoor - addons/ghomes/lua/ghomes_system/sh_compatibility/darkrp.lua:98 2. generatedoors - addons/ghomes/lua/ghomes_system/server/houses.lua:30 3. func - addons/ghomes/lua/ghomes_system/server/network.lua:332 4. unknown - lua/includes/extensions/net.lua:32
When creating house
Working !
you should be able to left click to create new property btw
Ah nevermind i thought is was an other feature or something
Thanks for the fast and good support
I get this [ERROR] addons/ghomes/lua/ghomes_system/client/dermabuddy.lua:67: attempt to concatenate a nil value
befor the error i did a change to sh_compatibility/main.lua and returned at getCurGamemode() "ix" because it everytime used the darkrp gamemode