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

[CS:GO] WarMod [BFG] <22.09.26.1915, 26-Sept-2022>


Post New Thread Reply   
 
Thread Tools Display Modes
rodrigolaka
Junior Member
Join Date: Jun 2022
Location: SP, Brazil
Old 07-11-2022 , 10:45   Re: [CS:GO] WarMod [BFG] <Beta v0.5.6.1, 17-Aug-2015>
Reply With Quote #1761

Quote:
Originally Posted by versatile_bfg View Post
Beta 0.5.6.2 - 20-08-2015
- Added SQL Players table and upload
-- wm_table_name_players "wm_players" //The MySQL table name to store match players in
PHP Code:
Players Table
+-------------+---------------------+------+-----+---------+----------------+
Field       Type                Null Key | Default | Extra          |
+-------------+---------------------+------+-----+---------+----------------+
key_id      int(11unsigned    NO   PRI NULL    auto_increment |
match_id    int(11unsigned    NO   |     | NULL    |                |
steamid64   varchar(64)         | NO   |     | NULL    |                |
player_name varchar(64)         | NO   |     | NULL    |                |
team        tinyint(2unsigned NO   |     | NULL    |                |
+-------------+---------------------+------+-----+---------+----------------+ 
Hey guys!

I'm having problems with the MySQL column "player_name" on table "wm_round_stats".

Its not recording "special" characters, just only numbers and letters. I've set the column to utf8mb4_unicode_520_ci trying to solve this, without success.

But it's very weird, even common characters like a single dot "." is not being recorded to the table. My player name is ".RLK.". In the database it shows only "RLK".

Any idea how to solve this?

I'm using the most recent updated version of this plugin.

Thanks in advance for any help!
rodrigolaka is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 07-12-2022 , 20:51   Re: [CS:GO] WarMod [BFG] <Beta v0.5.6.1, 17-Aug-2015>
Reply With Quote #1762

Quote:
Originally Posted by rodrigolaka View Post
Hey guys!

I'm having problems with the MySQL column "player_name" on table "wm_round_stats".

Its not recording "special" characters, just only numbers and letters. I've set the column to utf8mb4_unicode_520_ci trying to solve this, without success.

But it's very weird, even common characters like a single dot "." is not being recorded to the table. My player name is ".RLK.". In the database it shows only "RLK".

Any idea how to solve this?

I'm using the most recent updated version of this plugin.

Thanks in advance for any help!
Names are striped of special characters by warmod for the SQL Query with IsCharAlpha and IsCharNumeric. You can change is in the Warmod include file under the stock "StripFilename".
__________________
versatile_bfg is offline
rodrigolaka
Junior Member
Join Date: Jun 2022
Location: SP, Brazil
Old 07-18-2022 , 11:30   Re: [CS:GO] WarMod [BFG] <Beta v0.5.6.1, 17-Aug-2015>
Reply With Quote #1763

Quote:
Originally Posted by versatile_bfg View Post
Names are striped of special characters by warmod for the SQL Query with IsCharAlpha and IsCharNumeric. You can change is in the Warmod include file under the stock "StripFilename".

Thanks @versatile_bfg!

By the way, got another doubt that maybe you can help. In CSGO MatchMaking when we press Tab it shows also the Enemies Blinded and Damage with Utilities information.

Is it possible to get this information to stored in wm_round_stats as well?
rodrigolaka is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 07-22-2022 , 19:08   Re: [CS:GO] WarMod [BFG] <Beta v0.5.6.1, 17-Aug-2015>
Reply With Quote #1764

Quote:
Originally Posted by rodrigolaka View Post
Thanks @versatile_bfg!

By the way, got another doubt that maybe you can help. In CSGO MatchMaking when we press Tab it shows also the Enemies Blinded and Damage with Utilities information.

Is it possible to get this information to stored in wm_round_stats as well?
I say it would be possible. But at this stage I'm not able to do it (no free time). When I have some free time in the future I'll try add it in.
__________________
versatile_bfg is offline
splinterz
Junior Member
Join Date: Sep 2011
Old 08-14-2022 , 05:27   Re: [CS:GO] WarMod [BFG] <20.06.24.1348, 24-Jun-2020>
Reply With Quote #1765

hi,

i remember there was an admin command to pause the match but i cant do it now.. i forgot which plugin i used with warmod..
does anyone here know?
splinterz is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 08-19-2022 , 22:04   Re: [CS:GO] WarMod [BFG] <20.06.24.1348, 24-Jun-2020>
Reply With Quote #1766

Quote:
Originally Posted by splinterz View Post
hi,

i remember there was an admin command to pause the match but i cant do it now.. i forgot which plugin i used with warmod..
does anyone here know?
Code:
/* Pause Convars */
	sv_pausable = FindConVar("sv_pausable");
	sv_matchpause_auto_5v5 = FindConVar("sv_matchpause_auto_5v5");
	wm_auto_pause = CreateConVar("wm_auto_pause", "0", "Will pause server if team players equals less than half of wm_max_players: 0 = off, 1 = on", FCVAR_NOTIFY, true, 0.0, true, 1.0);
	wm_pause_confirm = CreateConVar("wm_pause_confirm", "1", "Wait for other team to confirm pause: 0 = off, 1 = on", FCVAR_NOTIFY, true, 0.0, true, 1.0);
	wm_unpause_confirm = CreateConVar("wm_unpause_confirm", "1", "Wait for other team to confirm unpause: 0 = off, 1 = on", FCVAR_NOTIFY, true, 0.0, true, 1.0);
	wm_auto_unpause = CreateConVar("wm_auto_unpause", "1", "Sets auto unpause: 0 = off, 1 = on", FCVAR_NOTIFY, true, 0.0, true, 1.0);
	wm_auto_unpause_delay = CreateConVar("wm_auto_unpause_delay", "180", "Sets the seconds to wait before auto unpause", FCVAR_NOTIFY, true, 0.0);
	wm_pause_limit = CreateConVar("wm_pause_limit", "1", "Sets max pause count per team per half", FCVAR_NOTIFY, true, 0.0);
sm_pause or !pause

Just check that the server is able to pause Re: cvars above
__________________
versatile_bfg is offline
mavrickmaster
New Member
Join Date: Aug 2022
Old 08-22-2022 , 09:19   Re: [CS:GO] WarMod [BFG] <20.06.24.1348, 24-Jun-2020>
Reply With Quote #1767

Hey mate,

Can we add in bomb_exploded tracking from sourcemod? https://wiki.alliedmods.net/Counter-...#bomb_exploded

Also, is the codebase on github? I could submit a PR.

Cheers,

Mav
mavrickmaster is offline
captain shitface
New Member
Join Date: Sep 2022
Old 09-07-2022 , 16:49   Re: [CS:GO] WarMod [BFG] <20.06.24.1348, 24-Jun-2020>
Reply With Quote #1768

Great plugin!

I have used Splewis PUGsetup before, and what i really miss in this is the Team-management.

PUGsetup have Random Teams, captains pick and random captain. Is there anyway to add that?
captain shitface is offline
splinterz
Junior Member
Join Date: Sep 2011
Old 09-19-2022 , 07:41   Re: [CS:GO] WarMod [BFG] <20.06.24.1348, 24-Jun-2020>
Reply With Quote #1769

Quote:
Originally Posted by versatile_bfg View Post
Code:
/* Pause Convars */
	sv_pausable = FindConVar("sv_pausable");
	sv_matchpause_auto_5v5 = FindConVar("sv_matchpause_auto_5v5");
	wm_auto_pause = CreateConVar("wm_auto_pause", "0", "Will pause server if team players equals less than half of wm_max_players: 0 = off, 1 = on", FCVAR_NOTIFY, true, 0.0, true, 1.0);
	wm_pause_confirm = CreateConVar("wm_pause_confirm", "1", "Wait for other team to confirm pause: 0 = off, 1 = on", FCVAR_NOTIFY, true, 0.0, true, 1.0);
	wm_unpause_confirm = CreateConVar("wm_unpause_confirm", "1", "Wait for other team to confirm unpause: 0 = off, 1 = on", FCVAR_NOTIFY, true, 0.0, true, 1.0);
	wm_auto_unpause = CreateConVar("wm_auto_unpause", "1", "Sets auto unpause: 0 = off, 1 = on", FCVAR_NOTIFY, true, 0.0, true, 1.0);
	wm_auto_unpause_delay = CreateConVar("wm_auto_unpause_delay", "180", "Sets the seconds to wait before auto unpause", FCVAR_NOTIFY, true, 0.0);
	wm_pause_limit = CreateConVar("wm_pause_limit", "1", "Sets max pause count per team per half", FCVAR_NOTIFY, true, 0.0);
sm_pause or !pause

Just check that the server is able to pause Re: cvars above
hi,
i want to recompile the sourcecode and add this command to admin mp_pause_match
which sourcemod version should i use? because when im using latest sourcemod, many error showed up
splinterz is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 09-24-2022 , 10:52   Re: [CS:GO] WarMod [BFG] <20.06.24.1348, 24-Jun-2020>
Reply With Quote #1770

Quote:
Originally Posted by splinterz View Post
hi,
i want to recompile the sourcecode and add this command to admin mp_pause_match
which sourcemod version should i use? because when im using latest sourcemod, many error showed up
Updated to SM 1.11 just now. Fixed those errors
__________________
versatile_bfg is offline
Reply



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 05:57.


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