Author Topic: UBan -- Global ban system. Ban users from all servers connected to a single DB!  (Read 99411 times)

0 Members and 3 Guests are viewing this topic.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
 I have reinstalled Uban about 6 times, and i'm still getting "attempt to index global 'UBan' (a nil value)" Anything im doing wrong

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Did you restart your server?
Experiencing God's grace one day at a time.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Yes

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
about 15h reinstall now, Still the same error

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
about 15th reinstall now, Still the same error

Ahh, This is a weird error, The file actually exists there because i check
ULib/modules/uban_ulx.lua:25: attempt to index global 'UBan' (a nil value)error loading module 'mysql' from file 'e:\udontneedtoknow\udontneedtoknow\udontneedtoknow\gameservers\udontneedtoknow\orangebox\garrysmod\lua\includes\modules\gmsv_mysql.dll':
   The specified module could not be found.


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Do you have the SQL dll in your srcds.exe folder as well? (NOT gmsv_mysql.dll, it's a different one)
Experiencing God's grace one day at a time.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Hmm, I'll try that now

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Works, Thanks so much

Offline LUADuck

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Hmm, slight problem here. Every time I try and connect to my MySQL server (@ 192.168.2.140) I get-
Code: [Select]
autorun/server/uban.lua:67: Can't connect to MySQL server on '192.168.2.140' <10061>
Any ideas? The server's running on linux, and I may roll this out to many, over-Internet gameservers.

EDIT:
Code: [Select]
--------------------
--     Config     --
--------------------
local host = "192.168.2.140"
local username = "root"
local password = "(fail)"
local database = "bantable"
local port = 3306
local table = "gbans"

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
You opened the port 3306? Are you sure that's the correct IP?

Offline LUADuck

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
You opened the port 3306? Are you sure that's the correct IP?


1. It's on the LAN, and I've opened the port. And I think I know where my server is :V

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Did you set up your MySQL to allow incoming connections from whatever IP you're coming from?
Experiencing God's grace one day at a time.

Offline LUADuck

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Did you set up your MySQL to allow incoming connections from whatever IP you're coming from?
Done, and still not working.

GBan @ ANYHOST has attributes : SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, FILE, INDEX, ALTER, CREATE TEMPORARY TABLES, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EXECUTE

root @ DuckyStudios has attributes : ALL PRIVILEGES

Neither work.
« Last Edit: June 18, 2008, 09:15:22 AM by leach139 »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Try connecting with a MySQL client.
Experiencing God's grace one day at a time.

Offline LUADuck

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Try connecting with a MySQL client.

1hour, 15 mins remaining (1.5 kbps)

WHAT!?!?!?!?!
« Last Edit: June 18, 2008, 11:07:27 AM by leach139 »