Bug #403

sm_ban from console

Added by Lionel Goedvolk 88 days ago. Updated 86 days ago.

Status:Resolved Start:10/10/2008
Priority:High Due date:
Assigned to:- % Done:

100%

Category:Game Plugin
Target version:1.3.1

Description

When the console command sm_ban is used I get and error and the ban is not updated in the database.

L 10/09/2008 - 19:24:05: [sourcebans.smx] Verify Insert Query Failed: Column 'aid' cannot be null

Bans from the admin menu work fine.

History

Updated by Recon _ 87 days ago

What version of the plugin are you running?

Try updating to the one posted in #383.

Updated by Lionel Goedvolk 86 days ago

using the latest svn trunk.

It has nothing to do with #383. The console command to ban players: sm_ban <#userid|name> <time|0> [reason].

The player gets kicked but i get an error in my sourcebans.log on the server:

L 10/09/2008 - 19:24:05: [sourcebans.smx] Verify Insert Query Failed: Column 'aid' cannot be null

And then the ban never gets to my database. All other bans work fine.

Updated by Erik Minekus 86 days ago

Check your database. Is there an admin named CONSOLE with id 0? If not, you messed up your database.

Updated by Lionel Goedvolk 86 days ago

that fixed it. thanks.

Updated by Jannik Hartung 86 days ago

  • Status changed from New to Resolved
  • Target version set to 1.3.1
  • % Done changed from 0 to 100

just use sourcebans to modify your database!

Also available in: Atom PDF