ULX

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

0 Members and 1 Guest are viewing this topic.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
7z is allowed :)
Experiencing God's grace one day at a time.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
If you ban somebody with gban, Will it also be displayed in the ULX Ban Menu?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Yes but I don't believe it will unban them globally from there (been a while, don't remember)
Experiencing God's grace one day at a time.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Great lol, error when trying to ban

ULib/modules/uban_ulx.lua:25: attempt to index global 'UBan' (a nil value)

Line 25 :

local b, e = pcall( UBan.BanUser, ply, target, time * 60, comment )

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Sounds like an improper install
Experiencing God's grace one day at a time.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Yes, You were correct, I just banned myself for 5 minutes and I'm hoping to see that my Ban page is working on my website, Thanks for all your help guys!

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Ok, Now, I banned myself for 15 minutes to test out my ban page, It never actually comes up, So i check the gbans table and notice the ban wasn't there, Yet I was still banned, Why wasn't it dumping it into the table, I have set up remote access and inputed my information

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
check your console when you ban someone (yourself)

You may be getting a database error. If this is the case.. you'll be banned from your server (because UBan writes it locally as well as adding it to the database) but it won't appear on the database because it isnt actually getting written there.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
What command did you use to ban?
Experiencing God's grace one day at a time.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Straight after I kicked myself in console

Disconnect: Kicked by Console :  Banned on global ban list.
Disconnect: Kicked by Console :  Banned on global ban list.

I used !gban scooby 10

I also tried earlier rcon ulx gban scooby 10

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
You have to ban before you kick or the user doesn't exist anymore.
Experiencing God's grace one day at a time.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
I didn't kick them and then ban, I just used !gban name time and that was it

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Bump ^

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Please dont bump a thread... especially one that is only like 2 or 3 from the top.

Are you absolutely sure that you are saving to the table that you are checking?

When you ban.. check your console. Does it say (BESIDES FOR THE KICKED PART) Global Ban sucessful. or something else?
If it says something else it'll be something like this... (Global Ban failed... <reason here>)

Try doing an ID ban to see this.

in game type (ulx gbanid STEAM_0:1:1234567 0 "Testing This Thing") obvioulsy without the parenthesis.

Offline Sc00by22

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 0
Ok, I get this

Global ban failed! See server console for error.

How can i see the server console?