Raised This Month: $12 Target: $400
 3% 

SourceBans doesn't save To database properly (after downgrade of newly cs-go release)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DanesGamers
Junior Member
Join Date: Feb 2015
Old 05-18-2015 , 13:39   SourceBans doesn't save To database properly (after downgrade of newly cs-go release)
Reply With Quote #1

Okay, first of all:

My servers were updated due to reinstall of dedicated server.

i've downgraded the servers using following files:

https://forums.alliedmods.net/showpo...1&postcount=12

Before the update nothing could connect to the database. (mysql extension were not working)

So i downgraded and made sourcebans Partially work.

Sourcebans is loaded on the server and if i, identify the player i can see they're logged in as the username of our website.

But, when i ban someone it doesn't show up in our ban list. I've build the ban list system on our website to set out every ban in our DB nomatter what.

This means if something missing (eg name) it'll just not write that on the site.

But !ban doesn't seems to insert the bans into the database (checked myself)

can somebody tell me what could be wrong?

Reason:
- We use our ban list for peoples to see the reason they've been banned.
- We keep an track on every player getting banned so we can make sure bans gets harder and harder eg (if they've been banned for the 5'th time)


I'm running:

MM version: 1.10.4

SourceMod Version: 1.7.0

Sourcebans Version: 1.4.11
DanesGamers is offline
DanesGamers
Junior Member
Join Date: Feb 2015
Old 05-20-2015 , 08:59   Re: SourceBans doesn't save To database properly (after downgrade of newly cs-go rele
Reply With Quote #2

So nobody got any ideas?

what if i gives my console.log?

Code:
#
#Console initialized.
#Using breakpad minidump system 740/13483.181.DC
#Loading VPK file hashes for pure server operation.
#Game.dll loaded for "Counter-Strike: Global Offensive"
#CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
#CGameEventManager::AddListener: event 'game_newmap' unknown.
#CGameEventManager::AddListener: event 'finale_start' unknown.
#CGameEventManager::AddListener: event 'round_start' unknown.
#CGameEventManager::AddListener: event 'round_end' unknown.
#CGameEventManager::AddListener: event 'difficulty_changed' unknown.
#CGameEventManager::AddListener: event 'player_connect' unknown.
#CGameEventManager::AddListener: event 'player_disconnect' unknown.
#GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.
--------------------------------------------------------
sv_pure value unchanged (current value is 1).
--------------------------------------------------------
Unknown command "sm_blockcommand"
Writing cfg/banned_user.cfg.
Couldn't open cfg/banned_user.cfg
Writing cfg/banned_ip.cfg.
Couldn't open cfg/banned_ip.cfg
Server logging enabled.
Server logging data to file logs/L000_000_000_000_0_201505201454_000.log
L 05/20/2015 - 14:54:34: Log file started (file "logs/L000_000_000_000_0_201505201454_000.log") (game "/home/tcagame/admin/1/csgo") (version "6016")
---- Host_NewGame ----
Server logging data to file logs/L151_080_020_227_27015_201505201454_000.log
Missing map material: CONCRETE/CONCRETEFLOOR038C
#######################################
Map hoejhus9_csgo missing stringtable dictionary, don't ship this way!!!
Run with -stringtables on the command line or convar
stringtable_alwaysrebuilddictionaries enabled to build the string table
#######################################
Host_NewGame on map hoejhus9_csgo
CGameEventManager::AddListener: event 'teamplay_win_panel' unknown.
CGameEventManager::AddListener: event 'teamplay_restart_round' unknown.
CGameEventManager::AddListener: event 'arena_win_panel' unknown.
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
ConVarRef room_type doesn't point to an existing ConVar
bot_autodifficulty_threshold_high - 5.0
bot_autodifficulty_threshold_low - -2.0
bot_chatter - normal
bot_defer_to_human_goals - 0
bot_defer_to_human_items - 1
bot_difficulty - 1
bot_quota - 10
bot_quota_mode - normal
bot_allow_grenades - 1
bot_allow_pistols - 1
bot_allow_sub_machine_guns - 1
bot_allow_shotguns - 1
bot_allow_rifles - 1
bot_allow_snipers - 1
bot_allow_machine_guns - 1
mp_playercashawards - 1
cash_player_bomb_defused - 300
cash_player_bomb_planted - 300
cash_player_damage_hostage - -30
cash_player_interact_with_hostage - 150
cash_player_killed_enemy_default - 300
cash_player_killed_enemy_factor - 1
cash_player_killed_hostage - -1000
cash_player_killed_teammate - -300
cash_player_rescued_hostage - 1000
cash_player_respawn_amount - 0
cash_player_get_killed - 0
mp_teamcashawards - 1
cash_team_elimination_bomb_map - 3250
cash_team_elimination_hostage_map_t - 1000
cash_team_elimination_hostage_map_ct - 2000
cash_team_hostage_alive - 0
cash_team_hostage_interaction - 500
cash_team_loser_bonus - 1400
cash_team_loser_bonus_consecutive_rounds - 500
cash_team_planted_bomb_but_defused - 800
cash_team_rescued_hostage - 0
cash_team_terrorist_win_bomb - 3500
cash_team_win_by_defusing_bomb - 3250
cash_team_win_by_hostage_rescue - 3500
cash_team_win_by_time_running_out_bomb - 3250
cash_team_win_by_time_running_out_hostage - 3250
mp_afterroundmoney - 0
mp_buytime - 90
mp_buy_anywhere - 0
mp_buy_during_immunity - 0
mp_startmoney - 800
mp_maxmoney - 16000
mp_death_drop_defuser - 1
mp_death_drop_grenade - 2
mp_death_drop_gun - 1
mp_deathcam_skippable - 1
mp_defuser_allocation - 0
mp_give_player_c4 - 1
mp_free_armor - 0
mp_molotovusedelay - 15.0
mp_weapons_allow_zeus - 1
mp_weapons_allow_map_placed - 0
mp_weapons_glow_on_ground - 0
mp_ct_default_melee - weapon_knife
mp_ct_default_secondary - weapon_hkp2000
mp_ct_default_primary - 
mp_ct_default_grenades - 
mp_t_default_melee - weapon_knife
mp_t_default_secondary - weapon_glock
mp_t_default_primary - 
mp_t_default_grenades - 
mp_buy_allow_grenades - 1
mp_freezetime - 6
mp_force_pick_time - 15
mp_halftime - 0
mp_match_can_clinch - 1
mp_maxrounds - 0
mp_roundtime - 5
mp_roundtime_defuse - 0
mp_roundtime_hostage - 0
mp_timelimit - 5
mp_warmuptime - 30
mp_warmup_pausetimer - 0
mp_halftime_pausetimer - 0
mp_default_team_winner_no_objective - -1
mp_hostagepenalty - 10
mp_solid_teammates - 1
sv_allow_votes - 1
sv_alltalk - 0
sv_deadtalk - 0
sv_ignoregrenaderadio - 0
mp_teammates_are_enemies - 0
mp_damage_scale_ct_body - 1.0
mp_damage_scale_ct_head - 1.0
mp_damage_scale_t_body - 1.0
mp_damage_scale_t_head - 1.0
mp_friendlyfire - 0
ff_damage_reduction_bullets - 0.1
ff_damage_reduction_grenade - 0.25
ff_damage_reduction_grenade_self - 1
ff_damage_reduction_other - 0.25
mp_limitteams - 2
spec_freeze_panel_extended_time - 0.0
spec_freeze_time - 5.0
mp_forcecamera - 1
mp_respawn_immunitytime - 4.0
mp_respawn_on_death_t - 0
mp_respawn_on_death_ct - 0
mp_display_kill_assists - 1
mp_use_respawn_waves - 0
mp_respawnwavetime_ct - 10.0
mp_respawnwavetime_t - 10.0
mp_randomspawn - 0
mp_randomspawn_los - 1
mp_radar_showall - 0
mp_force_assign_teams - 0
sv_gravity - 800
sv_accelerate - 5.5
sv_stopspeed - 80
sv_airaccelerate - 12
sv_wateraccelerate - 10
sv_waterfriction - 1
sv_friction - 5.2
sv_bounce - 0
sv_maxvelocity - 3500
sv_maxspeed - 320
mp_ggprogressive_round_restart_delay - 15.0
mp_ggtr_bomb_defuse_bonus - 1.0
mp_ggtr_bomb_detonation_bonus - 1.0
mp_ggtr_bomb_pts_for_flash - 4
mp_ggtr_bomb_pts_for_he - 3
mp_ggtr_bomb_pts_for_molotov - 5
mp_ggtr_bomb_pts_for_upgrade - 2.0
mp_ggtr_bomb_respawn_delay - 0.0
mp_ggtr_end_round_kill_bonus - 1
mp_ggtr_halftime_delay - 0.0
mp_ggtr_last_weapon_kill_ends_half - 0
sv_arms_race_vote_to_restart_disallowed_after - 0
Executing dedicated server config file
--------------------------------------------------------
sv_pure value unchanged (current value is 1).
--------------------------------------------------------
Unknown command "sm_blockcommand"
Writing cfg/banned_user.cfg.
Couldn't open cfg/banned_user.cfg
Writing cfg/banned_ip.cfg.
Couldn't open cfg/banned_ip.cfg
Server logging enabled.
Server logging data to file logs/L151_080_020_227_27015_201505201454_001.log
Unknown command "sv_rcon_log"
Unknown command "mp_logmessages"
exec: couldn't exec gamemode_casual_server.cfg
PrecacheScriptSound 'atv_impact_medium' failed, no such sound script entry
PlayerModelInfo: missing terrorist models for map hoejhus9_csgo. Adding the default model tm_phoenix.
PlayerModelInfo: missing counter-terrorist models for map hoejhus9_csgo. Adding the default model ctm_st6.
Commentary: Could not find commentary data file 'maps/hoejhus9_csgo_commentary.txt'. 
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
Error parsing BotProfile.db - unknown attribute 'Rank'
[SourceBans] Loading configs/sourcebans.cfg config file
Initializing Steam libraries for secure Internet server
Logging into anonymous gameserver account.
Invalid terrorist spawnpoint at (-116.8,-1552.0,536.0)
Connection to Steam servers successful.
   Public IP is **************.
Assigned anonymous gameserver Steam ID [****************].
VAC secure mode is activated.
GC Connection established for server version 181, instance idx 1

I've basically done anything possible. tried reinstall the sourcemod version / sourcebans version

Metamod has been reinstalled with the version running at that time.

I fear of updating those things to the latest versions.

Last edited by DanesGamers; 05-20-2015 at 09:01.
DanesGamers is offline
Cruckes
Member
Join Date: Jun 2014
Location: Finland
Old 05-22-2015 , 15:10   Re: SourceBans doesn't save To database properly (after downgrade of newly cs-go rele
Reply With Quote #3

Are you sure there is a connection between your CS:GO-server and your MySQL database?

Have you tried reload the MySQL-extension and SB?
Cruckes is offline
DanesGamers
Junior Member
Join Date: Feb 2015
Old 05-24-2015 , 08:01   Re: SourceBans doesn't save To database properly (after downgrade of newly cs-go rele
Reply With Quote #4

Yes i'm sure there's a connection,

My Admins is getting loaded from my mysql database.

But when it comes to ban, it doesn't write to the database.

Neither does Sourcemod/Sourcebans create a log.

My server is running: CentOS 6.6 64 bit
DanesGamers is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode