Giter Club home page Giter Club logo

easydmgreportgo's Introduction

EasyDMGReport

Easily report damage done in a round after you die with a set hotkey (currently defaults to semicolon [;]).

This script can be run (or compiled actually) from AutoHotKey. I am not going to release the compiled version because I do not want people thinking I hacked their computers... and I'm not sure what the rules are. If you do compile it then that means you don't need AHK installed to use the script.

Anyhow this script does not read memory or do anything with the actual client so no reason anyone would get banned for this of course. You can edit out what you like if you want. I commented stuff a bit so you can see what to remove.

Requirements:

  • AutoHotKey
  • Enable console in settings
  • Add "-condebug" (without quotes) to your launch options in steam under CS:GO properties. This just outputs console to a log file (as well as the console).
  • Create a autoexec.cfg file in csgo/cfg found in your Counter-Strike Global Offensive directory.
  • Add this line to the autoexec.cfg file bind "'" "exec scriptexec" (Note if you use the single quote (apostrophe) key for anything you will have to modify this and the script to match by changing SendInput ' to SendInput [key]. Choose a very remote key you will never use in game.)
  • Create a scriptexec.cfg file in csgo/cfg found in your Counter-Strike Global Offensive directory.
  • Change the PlayerName value in the top of the script to your in game name. Note: The characters \.*?+[{|()^$ must be preceded by a backslash to be seen as literal. For example, \. is a literal period and \\ is a literal backslash.
  • If you changed your steam directory you will need to edit the location of the console.log and the scriptexec.cfg location in the script as well. Its at the top and is called "ConsolePath" and "ExecPath" respectively.
  • To change the in game hotkey to display the report from SEMICOLON (;) to something else you will need to edit the script and change "SEMICOLON" to whatever in game hotkey you like.

Without further ado.

  1. It automatically reports the damage you did to a player in the last round (after death) with a simple hotkey. Currently this defaults to semicolon (;). The way this works is pretty simple. -condebug writes your console to a log in the cs:go directory. This script monitors that log and when it sees that you did damage after a round it updates the scriptexec.cfg file with a new bind to SEMICOLON and then reloads the scriptexec.cfg in game. The bind simply says something in team chat and looks like bind "SEMICOLON" "say_team Damage Given To: BOT Doraemon(68) ". Once you hit the semicolon key in game it will print the report in the form "Damage Given To: PlayerName(DMG)".

  2. The script will only print the damage done to people you did more than 50 damage and less than 100 damage too. This prevents spamming already dead people and not very lit people.

  3. The one caveat is that this script does not know if you killed someone by finishing them off so if you do greater than 50 damage and kill someone they will show up in the report.

Note: I hope this isn't too complicated and that you guys get some use out of it. I made this so that I can easily report and view myself the damage I did without having to read the console. Feel free to use it and improve on it as well.

Feel free to comment and let me know if you have any ways to improve it.

easydmgreportgo's People

Contributors

valleyman86 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

easydmgreportgo's Issues

Turning it off

Once I'm done with it, how do I turn off the script apart from using task manager to terminate it? Doesn't seem to be any code hinting towards turning the script off.
Also, a dialog box notifying me of the script starting would be nice.

Issue with In-Game

Every time I press K (which is my hotkey), the text that comes up in chat is "Damage Given To: Kyle(92)"

Always report an outdated report (Or not?)

**I think the code in the file is problematic **

Specifically, it always scans the damage from top to bottom, so it will report the old damage even after a new round (I have tried and produced the old results).

I think I need to add a reset commands.txt command in the scriptexec.cfg file

Always report an outdated report (?)

**I think the code in the file is problematic **

Specifically, it always scans the damage from top to bottom, so it will report the old damage even after a new round (I have tried and produced the old results).

I think I need to add a reset commands.txt command in the scriptexec.cfg file

CS_ReportDmg.ahk not starting

Error at line 15.

The following variable name contains an illegal character:
"File.Length"

The program will exit.

That's what shows up. I'm running autohotkey version 1.00.48.05.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.