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

File Errors Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Plugin ID:
2960
Plugin Version:
1.0
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Information on how to fix file errors
    Old 05-19-2012 , 01:23   File Errors Fix
    Reply With Quote #1

    File Errors Fix

    Description:
    Information on how to fix file errors. I completely scrapped the old version of this. Now supports multilingual servers with a set of translations. Default chat trigger is error. Edit translation file to change the chat trigger.
    Instructions:
    • Delete any corrupted game files (Found in Program Files/Steam/SteamApps/common/game/)
    • Close out of all Steam games
    • Restart Steam (In some cases your computer)
    • Restart the previous game
    • Redownload files by rejoining the previous server
    Control Variables:
    • sm_errorfix_enabled (default: 1) Enable/Disable the plugin
    Installation:
    • fileerrors.smx to sourcemod/plugins
    • fileerrors.phrases.txt to sourcemod/translations
    Version Log:
    • Version 1.0
      • Initial Release
    My Plugins
    intox Gaming
    Attached Files
    File Type: sp Get Plugin or Get Source (fileerrors.sp - 1214 views - 3.1 KB)
    File Type: txt fileerrors.phrases.txt (647 Bytes, 353 views)

    Last edited by ReFlexPoison; 07-19-2013 at 04:20. Reason: 1.0
    ReFlexPoison is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 05-19-2012 , 01:24   Re: [ANY] Custom Files Errors | How to Fix
    Reply With Quote #2

    > Reserved

    Last edited by ReFlexPoison; 07-07-2013 at 20:49.
    ReFlexPoison is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 05-19-2012 , 01:30   Re: [ANY] Custom Files Errors | How to Fix
    Reply With Quote #3

    A way to add chat triggers would make this really useful for when people say Hale's an ERROR in VSH.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 05-23-2012 , 17:01   Re: [ANY] Custom File Errors | How to Fix
    Reply With Quote #4

    Suggestion:

    -As this plugin is to explain something, it would be quite useful add multilanguage support
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    loranger
    Senior Member
    Join Date: Jun 2011
    Old 06-16-2012 , 15:56   Re: [ANY] Custom Files Errors | How to Fix
    Reply With Quote #5

    Quote:
    Originally Posted by MasterOfTheXP View Post
    A way to add chat triggers would make this really useful for when people say Hale's an ERROR in VSH.

    Thats usualy a prechache issue. Restarting tf2 will fix this.
    loranger is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 07-05-2013 , 21:27   Re: [ANY] Custom File Errors | How to Fix
    Reply With Quote #6

    Quote:
    Originally Posted by ReFlexPoison View Post
    I can for console settings and menu title probably, but the config files would be on the user.
    I'll add that in sooner or later. But I'm bored of this plugin, I only made because of the constant "how to fix errors" question being asked everyday.
    You can edit a string according to a client's language. Just use VFormat.

    EDIT : Beside that, if the server (client 0) write the chat trigger, it produces an error in the console; hence I can't approve. If you are to edit your plugin you could also remove FCVAR_REPLICATED, as it can produce error in the client's console.

    Red
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 07-05-2013 at 21:33.
    RedSword is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 07-07-2013 , 20:49   Re: [ANY] Custom File Errors | How to Fix
    Reply With Quote #7

    Quote:
    Originally Posted by RedSword View Post
    You can edit a string according to a client's language. Just use VFormat.

    EDIT : Beside that, if the server (client 0) write the chat trigger, it produces an error in the console; hence I can't approve. If you are to edit your plugin you could also remove FCVAR_REPLICATED, as it can produce error in the client's console.

    Red
    I completely scrapped the older version of this. If you'd like to give the newer version a check that'd be great. I added support for multilingual servers with translations as well as removed the unnecessary commands. Now just uses a chat trigger.
    ReFlexPoison is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 07-07-2013 , 22:01   Re: [ANY] File Errors Fix
    Reply With Quote #8

    You're using %t for the Format function. This is wrong, as the first occurrence (line 55) could be written in another language.

    When using PrintToChat, you are setting a global variable where the client is stored. %t uses that client. The one on line 55 might be different.

    More info : http://wiki.alliedmods.net/Translati...ge_in_a_Plugin

    And same thing @ FCVAR_REPLICATED
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 07-07-2013 at 22:03.
    RedSword is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 07-08-2013 , 01:18   Re: [ANY] File Errors Fix
    Reply With Quote #9

    Quote:
    Originally Posted by RedSword View Post
    You're using %t for the Format function. This is wrong, as the first occurrence (line 55) could be written in another language.

    When using PrintToChat, you are setting a global variable where the client is stored. %t uses that client. The one on line 55 might be different.

    More info : http://wiki.alliedmods.net/Translati...ge_in_a_Plugin

    And same thing @ FCVAR_REPLICATED
    I use SetGlobalTransTarget() followed by %t formating for translations as I do in https://forums.alliedmods.net/showthread.php?p=1825772. I just simply forgot to use them. If that doesn't work then let me know, however I do believe Dr. McKay gave me the OK to do it this way.
    ReFlexPoison is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 07-08-2013 , 02:06   Re: [ANY] File Errors Fix
    Reply With Quote #10

    Yeah you just changed that. It wasn't the case before.

    Looks ok now; approved.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword 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 01:00.


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