FPtje / DarkRP

DarkRP, a non-serious roleplay gamemode for Garry's Mod.
https://darkrp.miraheze.org
MIT License
463 stars 710 forks source link

Suddenly an error while nothing has changed #1797

Closed MichaelSwag closed 9 years ago

MichaelSwag commented 9 years ago

[ERROR] gamemodes/darkrp/gamemode/modules/base/sv_data.lua:351: attempt to call field 'doorIndexToEnt' (a nil value)

  1. callback - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:351
  2. query - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:291
  3. setUpNonOwnableDoors - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:347
  4. callback - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:152
  5. tableExists - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:375
  6. onFinished - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:181
  7. commit - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:186
  8. initDatabase - gamemodes/darkrp/gamemode/modules/base/sv_data.lua:150
  9. Call - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:85
  10. unknown - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:156

Timer Failed! [Simple][@gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua (line 154)]

Bo98 commented 9 years ago

Do you have the doorsystem module disabled? Or do you have any additional errors on server start?

MichaelSwag commented 9 years ago

No i have only installed a reskin for the doorsystem and here are the console logs: http://pastebin.com/9nnGCmjp

FPtje commented 9 years ago

This error can't be DarkRP's fault. The function is defined.

MichaelSwag commented 9 years ago

How can i fix it then? or whats the problem i have no addons that connect with mysql or something

Shigbeard commented 9 years ago

perhaps you can try removing the reskin. On 21/2/2015 9:27 PM, MichaelSwag wrote:

How can i fix it then? or whats the problem i have no addons that connect with mysql or something

— Reply to this email directly or view it on GitHub https://github.com/FPtje/DarkRP/issues/1797#issuecomment-75365639.

FPtje commented 9 years ago

I honestly have no idea how you managed to remove that function. The best guess I can give you is that you disabled the doorsystem module in the disabled_defaults.

2015-02-21 11:27 GMT+01:00 MichaelSwag notifications@github.com:

How can i fix it then? or whats the problem i have no addons that connect with mysql or something

— Reply to this email directly or view it on GitHub https://github.com/FPtje/DarkRP/issues/1797#issuecomment-75365639.

MichaelSwag commented 9 years ago

But do poeple cant own doors then?

Shigbeard commented 9 years ago

what On 21/2/2015 9:28 PM, MichaelSwag wrote:

But do poeple cant own doors then?

— Reply to this email directly or view it on GitHub https://github.com/FPtje/DarkRP/issues/1797#issuecomment-75365681.

MichaelSwag commented 9 years ago

Thank you it will probably be the door system reskin I think because I've never seen a server that uses the i gonna test it right now

MichaelSwag commented 9 years ago

Thanks for ur help guys its working now!