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

Particles Fix - New Update 20/02/2021


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Rugal
Senior Member
Join Date: Jun 2020
Location: Brazil
Plugin ID:
7476
Plugin Version:
1.0.0
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 01-26-2021 , 22:26   Particles Fix - New Update 20/02/2021
    Reply With Quote #1

    Description:

    HTML Code:
    This plugin has the function of helping with the particle problem that CS: GO has. Where a player needs to reconnect to the server for the particles to actually work.
    
    This plugin records the player's steamID in a SQlite database, (if not already recorded) and automatically reconnects it when it finishes downloading the files.
    
    If the player already has his information saved in the database, nothing happens, the plugin will ignore this player.
    ChangeLog:

    HTML Code:
    UPDATE 1.0.2: 
    I managed to update the plugin by correcting some spam problems in the server logs.
    
    UPDATE 1.0.3:
    Fixed some database problems, and added the function of automatically deleting as tables from the plugin itself every 1st of every month.
    Attached Files
    File Type: zip Particles_Fix.zip (5.7 KB, 186 views)
    File Type: zip Particles_Fix 1.0.2.zip (5.7 KB, 133 views)
    File Type: zip Particles_Fix 1.0.3.zip (6.7 KB, 195 views)

    Last edited by Rugal; 02-20-2021 at 21:08.
    Rugal is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 01-27-2021 , 10:28   Re: Particles Fix
    Reply With Quote #2

    Good. But will this plugin reconnect people everytime a player download something new (like maps) or just everytime they connect to the server (including map changes)
    __________________

    Last edited by NanoC; 01-27-2021 at 10:35.
    NanoC is offline
    Send a message via Skype™ to NanoC
    Rugal
    Senior Member
    Join Date: Jun 2020
    Location: Brazil
    Old 01-27-2021 , 11:14   Re: Particles Fix
    Reply With Quote #3

    Quote:
    Originally Posted by NanoC View Post
    Good. But will this plugin reconnect people everytime a player download something new (like maps) or just everytime they connect to the server (including map changes)

    It will reconnect players when they download a new FastDL file, if the client already has all the files, the plugin will not do anything.
    Rugal is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 01-27-2021 , 11:22   Re: Particles Fix
    Reply With Quote #4

    So basically it's an auto-retry plugin just when they download a new map.
    I think the plugin will force players to reconnect everytime they download a single file too (eg: sound, materials, models, etc) ¿Am i wrong?
    __________________
    NanoC is offline
    Send a message via Skype™ to NanoC
    r3v
    Senior Member
    Join Date: Feb 2016
    Location: Lithuania, Vilnius
    Old 01-27-2021 , 11:36   Re: Particles Fix
    Reply With Quote #5

    Compiled myself plugin, but on Windows Server always reconnecting.
    And error log to:

    Quote:
    L 01/27/2021 - 18:32:52: SourceMod error session started
    L 01/27/2021 - 18:32:52: Info (map "workshop/1850211695/de_dust2_onlya") (file "D:\Servers\public_csgo\csgo\addons\sourcemod \logs\errors_20210127.log")
    L 01/27/2021 - 18:32:52: [SM] Exception reported: Invalid database Handle 0 (error: 4)
    L 01/27/2021 - 18:32:52: [SM] Blaming: particles_fix.smx
    L 01/27/2021 - 18:32:52: [SM] Call stack trace:
    L 01/27/2021 - 18:32:52: [SM] [0] SQL_Query
    L 01/27/2021 - 18:32:52: [SM] [1] Line 36, D:\Servers\public_csgo\csgo\addons\sourcemod\ scripting\particles_fix.sp::OnClientPostAdmin Check
    L 01/27/2021 - 18:32:59: Error log file session closed.
    r3v is offline
    Rugal
    Senior Member
    Join Date: Jun 2020
    Location: Brazil
    Old 01-27-2021 , 11:42   Re: Particles Fix
    Reply With Quote #6

    Quote:
    Originally Posted by NanoC View Post
    So basically it's an auto-retry plugin just when they download a new map.
    I think the plugin will force players to reconnect everytime they download a single file too (eg: sound, materials, models, etc) ¿Am i wrong?

    No, you are right, this is what the plugin does.
    Rugal is offline
    Rugal
    Senior Member
    Join Date: Jun 2020
    Location: Brazil
    Old 01-27-2021 , 11:43   Re: Particles Fix
    Reply With Quote #7

    Quote:
    Originally Posted by r3v View Post
    Compiled myself plugin, but on Windows Server always reconnecting.
    And error log to:

    It is not necessary to compile recompile this plugin, it was compiled yesterday with the latest version of Sourcemod, maybe that's why your problem, compile it again with the latest version.
    On my server I'm not getting any problems.
    Rugal is offline
    pribekerik
    AlliedModders Donor
    Join Date: Apr 2018
    Old 01-27-2021 , 19:08   Re: Particles Fix
    Reply With Quote #8

    Not working as intended, its reconnecting me after every map change.
    Edit: I checked the .sp and its not checking any download...

    Last edited by pribekerik; 01-27-2021 at 19:09.
    pribekerik is offline
    Rugal
    Senior Member
    Join Date: Jun 2020
    Location: Brazil
    Old 01-27-2021 , 19:30   Re: Particles Fix
    Reply With Quote #9

    Quote:
    Originally Posted by pribekerik View Post
    Not working as intended, its reconnecting me after every map change.
    Edit: I checked the .sp and its not checking any download...
    Hello, as I explained before, I didn't create this, it was just a private one that I decided to share, I did some tests on my server, and yes, it is reconnecting the players in the map change. I was wrong about this. But I believe that this will not generate any error.
    Rugal is offline
    Effeff
    AlliedModders Donor
    Join Date: Jan 2019
    Location: discord: ff#0533
    Old 01-28-2021 , 00:09   Re: Particles Fix
    Reply With Quote #10

    The plugin removes the steamid from the database if it already exists. This is not a good idea. A better idea is to have a command to clear the database of steamids if you've added a new particle to the server.

    The only way I can think of to automatically do this is, have your server save all .pcf files to the database. Whenever a new .pcf file is added to the database, then you can clear the client database.

    Last edited by Effeff; 01-28-2021 at 02:59.
    Effeff 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 01:59.


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