FPtje / DarkRP

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

Error when forcing tmysql4 #2041

Closed mleonhard38 closed 9 years ago

mleonhard38 commented 9 years ago

MySQLoo and tMySQL4 are running.

When now using the new config option to force tmysql4, the server outputs this as an Error;

[ERROR] gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:132: Couldn't load module library!
  1. require - [C]:-1
   2. loadMySQLModule - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:132
    3. unknown - gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua:140
     4. include - [C]:-1
      5. unknown - gamemodes/darkrp/gamemode/init.lua:35

[ERROR] gamemodes/darkrp/gamemode/modules/fadmin/fadmin/motd/sv_init.lua:13: attempt to index global 'MySQLite' (a nil value)
  1. unknown - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/motd/sv_init.lua:13
   2. include - [C]:-1
    3. AddCSLuaFolder - gamemodes/darkrp/gamemode/modules/fadmin/sv_fadmin.lua:35
     4. unknown - gamemodes/darkrp/gamemode/modules/fadmin/sv_fadmin.lua:44
      5. include - [C]:-1
       6. unknown - gamemodes/darkrp/gamemode/init.lua:62

[ERROR] gamemodes/darkrp/gamemode/init.lua:71: attempt to index global 'MySQLite' (a nil value)
  1. unknown - gamemodes/darkrp/gamemode/init.lua:71

Couldn't Load Init Script: 'darkrp/gamemode/init.lua'

When the exact same server is powered up with the forced config on mysqloo no errors will appear. tmysql4 is up to date and correctly installed.

Shigbeard commented 9 years ago

What in the fuck in tmysql4?

mleonhard38 commented 9 years ago

Sorry? Didnt get that.

Shigbeard commented 9 years ago

let me put it another way.

What the fuck is tmysql4

FPtje commented 9 years ago

It didn't complain when I used it yesterday. You have to set it to lowercase tmysql4, and the module must be installed.

mleonhard38 commented 9 years ago

It is lowercase, of course. And the module is installed and also used by other systems.

FPtje commented 9 years ago

It worked for me yesterday, and I have both modules installed.

mleonhard38 commented 9 years ago

Yeah, Im a dumbass. Seems the Version I had was outdated. Tried it with the latest and it works fine.