Raised This Month: $32 Target: $400
 8% 

[CS:GO] PTaH - V1.0.8


Post New Thread Reply   
 
Thread Tools Display Modes
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 09-09-2017 , 11:16   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #81

Today i get error and crash server
Code:
DataTable warning: player: Out-of-range value (1600.000000) in SendPropFloat 'm_vecBaseVelocity', clamping.
L 09/09/2017 - 17:11:35: [SM] Blaming: FunMod.smx
L 09/09/2017 - 17:11:35: [SM] Call stack trace:
L 09/09/2017 - 17:11:35: [SM] [0] StrContains
L 09/09/2017 - 17:11:35: [SM] [1] Line 34297, C:\Users\gamer\Desktop\SourcePawn codes\FunMod.sp::ServerConsolePrint
PHP Code:
public Action ServerConsolePrint(const char[] sMessageLoggingSeverity severity)
{
    if(
StrContains(sMessage"DataTable warning") != -|| StrContains(sMessage"CSoundEmitterSystemBase") != -1)
        return 
Plugin_Handled;
    return 
Plugin_Continue;

https://crash.limetech.org/ckepmzwiqmn6
__________________

Last edited by _GamerX; 09-09-2017 at 11:19.
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
komashchenko
BANNED
Join Date: Nov 2013
Old 09-09-2017 , 12:13   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #82

Quote:
Originally Posted by _GamerX View Post
Today i get error and crash server
Code:
DataTable warning: player: Out-of-range value (1600.000000) in SendPropFloat 'm_vecBaseVelocity', clamping.
L 09/09/2017 - 17:11:35: [SM] Blaming: FunMod.smx
L 09/09/2017 - 17:11:35: [SM] Call stack trace:
L 09/09/2017 - 17:11:35: [SM] [0] StrContains
L 09/09/2017 - 17:11:35: [SM] [1] Line 34297, C:\Users\gamer\Desktop\SourcePawn codes\FunMod.sp::ServerConsolePrint
PHP Code:
public Action ServerConsolePrint(const char[] sMessageLoggingSeverity severity)
{
    if(
StrContains(sMessage"DataTable warning") != -|| StrContains(sMessage"CSoundEmitterSystemBase") != -1)
        return 
Plugin_Handled;
    return 
Plugin_Continue;

https://crash.limetech.org/ckepmzwiqmn6
I do not see any errors there from PTaH
komashchenko is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 09-09-2017 , 12:45   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #83

Quote:
Originally Posted by komashchenko View Post
I do not see any errors there from PTaH
lol I run this exnt and on first map server crash via this PTAH function ...
__________________

Last edited by _GamerX; 09-09-2017 at 12:46.
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
komashchenko
BANNED
Join Date: Nov 2013
Old 09-09-2017 , 13:36   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #84

Quote:
Originally Posted by _GamerX View Post
lol I run this exnt and on first map server crash via this PTAH function ...
But the error itself does not arise in the PTaH (as far as I can see), need help Developers
komashchenko is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 09-09-2017 , 19:39   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #85

Quote:
Originally Posted by _GamerX View Post
Today i get error and crash server
Code:
DataTable warning: player: Out-of-range value (1600.000000) in SendPropFloat 'm_vecBaseVelocity', clamping.
L 09/09/2017 - 17:11:35: [SM] Blaming: FunMod.smx
L 09/09/2017 - 17:11:35: [SM] Call stack trace:
L 09/09/2017 - 17:11:35: [SM] [0] StrContains
L 09/09/2017 - 17:11:35: [SM] [1] Line 34297, C:\Users\gamer\Desktop\SourcePawn codes\FunMod.sp::ServerConsolePrint
This is not a complete error log. The "blaming" line will always have a line right before it that states the exception. Source.
Fyren is offline
e54385991
AlliedModders Donor
Join Date: Aug 2013
Old 09-09-2017 , 19:42   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #86

random crashes on windows

V1.0.7-build9

https://crash.limetech.org/anp73ze7soga



PHP Code:
#pragma semicolon 1 
#include <PTaH> 
public void OnPluginStart(){
    
PTaH(PTaH_ServerConsolePrintHookServerConsolePrint); 
}
char ClearKeyWords[][] = {
    
"DataTable warning"
    
"CreateFragmentsFromFile"
    
"Teleport"
    
"SendNetMsg"
    
"UTIL_"
    
"func_"
    
"VScript"
    
"IP rate limiting client"
    
"that has parent",
    
"CSoundEmitterSystemBase"
    
"ResolveStuckSituation ERROR"
    
"Error parsing BotProfile.db"
};
public 
Action ServerConsolePrint(const char[] sMessageLoggingSeverity severity){
    
    for(
int i=0;i<sizeof(ClearKeyWords);i++){
        if (
StrContains(sMessageClearKeyWords[i],false) != -1){
            return 
Plugin_Handled
        }
    }
    return 
Plugin_Continue;

__________________
e54385991 is offline
Send a message via ICQ to e54385991
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 09-09-2017 , 20:14   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #87

Quote:
Originally Posted by Fyren View Post
This is not a complete error log. The "blaming" line will always have a line right before it that states the exception. Source.

Code:
mp_items_prohibited -
mp_limitteams - 2
mp_match_can_clinch - 1
mp_max_armor - 2
mp_maxmoney - 16000
mp_maxrounds - 0
mp_molotovusedelay - 15.0
mp_playercashawards - 1
mp_radar_showall - 0
mp_randomspawn - 0
mp_randomspawn_dist - 0
mp_randomspawn_los - 1
mp_respawn_immunitytime - 4.0
mp_respawn_on_death_ct - 0
mp_respawn_on_death_t - 0
mp_respawnwavetime_ct - 10.0
mp_respawnwavetime_t - 10.0
mp_round_restart_delay - 7.0
mp_roundtime - 5
mp_roundtime_defuse - 0
mp_roundtime_hostage - 0
mp_solid_teammates - 1
mp_starting_losses - 0
mp_startmoney - 800
mp_t_default_grenades -
mp_t_default_melee - weapon_knife
mp_t_default_primary -
mp_t_default_secondary - weapon_glock
mp_taser_recharge_time - -1
mp_teamcashawards - 1
mp_teammates_are_enemies - 0
mp_timelimit - 5
mp_use_respawn_waves - 0
mp_warmup_pausetimer - 0
mp_warmuptime - 30
mp_warmuptime_all_players_connected - 0
mp_weapon_self_inflict_amount - 0
mp_weapons_allow_heavy - -1
mp_weapons_allow_heavyassaultsuit - 0
mp_weapons_allow_map_placed - 0
mp_weapons_allow_pistols - -1
mp_weapons_allow_rifles - -1
mp_weapons_allow_smgs - -1
ConVarRef mp_weapons_allow_tagrenade doesn't point to an existing ConVar
mp_weapons_allow_typecount - 5
mp_weapons_allow_zeus - 1
mp_weapons_glow_on_ground - 0
mp_weapons_max_gun_purchases_per_weapon_per_match - -1
mp_win_panel_display_time - 3
Stopping 1 worker threads
0 threads. 340,536,527 ticks
occlusion_test_async - 0
spec_freeze_panel_extended_time - 0.0
spec_freeze_time - 3.0
spec_replay_enable - 0
sv_accelerate - 5.5
sv_airaccelerate - 12
sv_allow_votes - 1
sv_alltalk - 0
sv_arms_race_vote_to_restart_disallowed_after - 0
sv_auto_adjust_bot_difficulty - 1
sv_auto_full_alltalk_during_warmup_half_end - 1
sv_autobunnyhopping - 0
sv_autobuyammo - 0
sv_bot_buy_decoy_weight - 1
sv_bot_buy_flash_weight - 1
sv_bot_buy_grenade_chance - 33
sv_bot_buy_hegrenade_weight - 6
sv_bot_buy_molotov_weight - 1
sv_bot_buy_smoke_weight - 1
sv_bots_force_rebuy_every_round - 0
sv_bots_get_easier_each_win - 0
sv_bots_get_harder_after_each_wave - 0
sv_bounce - 0
sv_buy_status_override - -1
sv_deadtalk - 0
sv_disable_show_team_select_menu - 0
sv_duplicate_playernames_ok - 0
sv_enablebunnyhopping - 0
sv_friction - 5.2
sv_gravity - 800
sv_guardian_heavy_all - 0
sv_guardian_heavy_count - 0
sv_guardian_max_wave_for_heavy - 0
sv_guardian_min_wave_for_heavy - 0
sv_ignoregrenaderadio - 0
sv_infinite_ammo - 0
sv_maxspeed - 320
sv_maxvelocity - 3500
sv_occlude_players - 1
sv_staminajumpcost - .080
sv_staminalandcost - .050
sv_stopspeed - 80
sv_talk_enemy_dead - 0
sv_talk_enemy_living - 0
sv_vote_to_changelevel_before_match_point - 0
sv_wateraccelerate - 10
sv_waterfriction - 1
tv_delay - 10
weapon_accuracy_nospread - 0
weapon_air_spread_scale - 1.0
ConVarRef weapon_cleanup_on_round_restart doesn't point to an existing ConVar
weapon_max_before_cleanup - 0
weapon_recoil_scale - 2.0
weapon_reticle_knife_show - 0
ff_damage_reduction_grenade - 0.25
ff_damage_reduction_grenade_self - 1
ff_damage_reduction_other - 0.25
mp_friendlyfire - 0
mp_warmuptime - 30
mp_warmuptime_all_players_connected - 0
Executing dedicated server config file
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
Unknown command "allow_spectators"
Stopping 0 worker threads
Starting 1 worker threads
1 threads. 287,808 ticks
exec: couldn't exec gamemode_casual_server.cfg
Writing cfg/banned_user.cfg.
Writing cfg/banned_ip.cfg.
PlayerModelInfo: missing terrorist models for map awp_fun_jump. Adding the default model tm_phoenix.
PlayerModelInfo: missing counter-terrorist models for map awp_fun_jump. Adding the default model ctm_st6.
Commentary: Could not find commentary data file 'maps/awp_fun_jump_commentary.txt'.
Forcing client reconnect (2)
Invalid counterterrorist spawnpoint at (744.0,664.0,705.0)
PutClientInServer: no info_player_start on level
PutClientInServer: no info_player_start on level
PutClientInServer: no info_player_start on level
Game will not start until both teams have players.
PutClientInServer: no info_player_start on level
PutClientInServer: no info_player_start on level
PutClientInServer: no info_player_start on level
PutClientInServer: no info_player_start on level
"Snifter<STEAM_1:0:65814038><CT>" killed "Zambex<STEAM_1:1:81519586><T>" with "awp"
PutClientInServer: no info_player_start on level
"Snifter<STEAM_1:0:65814038><CT>" killed "Junkerz<STEAM_1:1:204240601><T>" with "awp"
"BloodKing ---)hellcase.com<STEAM_1:1:90271552><CT>" killed "VanTapCYKA<STEAM_1:0:93883098><T>" with "awp"
Client "greeny" connected (193.13.89.195:27005).
PutClientInServer: no info_player_start on level
"t o n™<STEAM_1:0:128815426><T>" killed "VanTapCYKA<STEAM_1:0:93883098><CT>" with "bayonet"
"Junkerz<STEAM_1:1:204240601><CT>" killed "t o n™<STEAM_1:0:128815426><T>" with "awp"
"Zambex<STEAM_1:1:81519586><CT>" killed "BloodKing ---)hellcase.com<STEAM_1:1:90271552><T>" with "awp"
"Snifter<STEAM_1:0:65814038><T>" killed "greeny<STEAM_1:1:211016873><CT>" with "knife_butterfly"
"Junkerz<STEAM_1:1:204240601><CT>" killed "Snifter<STEAM_1:0:65814038><T>" with "awp"
"JohnCarry1<STEAM_1:1:109746956><T>" killed "Junkerz<STEAM_1:1:204240601><CT>" with "knife_m9_bayonet"
"JohnCarry1<STEAM_1:1:109746956><T>" killed "Zambex<STEAM_1:1:81519586><CT>" with "awp"
"♛ EXVER ¯\_(ツ)_/¯♛<STEAM_1:1:94503582><CT>" killed "JohnCarry1<STEAM_1:1:109746956><T>" with "awp" (headshot)
L 09/09/2017 - 17:11:35: [SM] Exception reported: Stack leak detected: sp:2631668 should be 2631672!
DataTable warning: player: Out-of-range value (1600.000000) in SendPropFloat 'm_vecBaseVelocity', clamping.
L 09/09/2017 - 17:11:35: [SM] Exception reported: Stack leak detected: sp:2631640 should be 2631676!
L 09/09/2017 - 17:11:35: [SM] Blaming: FunMod.smx
L 09/09/2017 - 17:11:35: [SM] Call stack trace:
L 09/09/2017 - 17:11:35: [SM] [0] StrContains
L 09/09/2017 - 17:11:35: [SM] [1] Line 34297, C:\Users\gamer\Desktop\SourcePawn codes\FunMod.sp::ServerConsolePrint
Wrote minidump to: /hlserver/27408/csgo/addons/sourcemod/data/dumps/6560fc3e-2f92-2bd0-156c8ffa-3a3387fc.dmp
__________________

Last edited by _GamerX; 09-09-2017 at 20:17.
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 09-10-2017 , 05:24   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #88

Quote:
Originally Posted by komashchenko View Post
But the error itself does not arise in the PTaH (as far as I can see), need help Developers
You are calling into SourcePawn from off the main game thread, this is an API violation, and the cause of both _GamerX's and e54385991's crashes.

In SourceMod 1.9 there is a runtime assert to explicitly catch this, rather than the current memory corruption.
__________________

Last edited by asherkin; 09-10-2017 at 05:25.
asherkin is offline
komashchenko
BANNED
Join Date: Nov 2013
Old 09-10-2017 , 06:12   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #89

Quote:
Originally Posted by asherkin View Post
You are calling into SourcePawn from off the main game thread, this is an API violation
Can you help solve this problem?
komashchenko is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 09-10-2017 , 10:23   Re: [CS:GO] PTaH - V1.0.7
Reply With Quote #90

Quote:
Originally Posted by komashchenko View Post
Can you help solve this problem?
As a stop-gap, your best bet is probably to include amtl/am-thread-utils.h, store the return value of ke::GetCurrentThreadId() globally in CForwardManager::Init(), and just bail out of LoggingSeverity detour if the stored thread ID doesn't match the current one.

That'll at least stop the crashes, but will mean that the ServerConsolePrint forward misses off-main-thread messages. To fix that, you'd need to interlock with the main thread somehow, and I can't think of a clean (and performant) way to do it with your current implementation - keeping a queue of messages and pumping it off on the main thread would do the job, but won't play nice with where you're detouring.
__________________
asherkin 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 23:54.


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