Author Topic: [TUT] How to count your /sup (J>Support) hits  (Read 4762 times)

Offline Amman

  • The Institute Founder
  • Senior Community Member
  • ****
  • Posts: 105
  • Registered: 17/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: Amman
[TUT] How to count your /sup (J>Support) hits
« on: 24 08, 2017, 03:34:40 pm »
Planning to apply for supporter but no idea how to calculate your support hits? Don't worry, just follow my instructions.

Collecting logs of just one day:

Go here and download Notepad++.

Go to your MTA Directory for example; E:\MTA San Andreas 1.5 then go to MTA Folder and then open the logs folder and there you will find a bunch of .txt files. The file that contains your MTA in-game logs start with console.txt


The date on next column show when was the file created, for example. If you started playing on 18th of August from 11:15 PM to 1:00 AM then it will save it as 19th of August not as 18th August, so basically if you are trying to collect all the logs of 18, you will have to copy the logs of 18th August from the file, if you want to recognize the data in the logs then it will be like that;

[2017-08-24 15:15:27] [Output] : Ti|Amman logged in this is an MTA log, the red text in that line shows when did the log appeared, in following log it says 24th of August. You can recognize the data and time in that way.

Now let's get back to the main point, you want to collect the logs of 23rd August, follow my instructions.
Go to your logs folder, and look for the files that were created on 23rd August, in my case the last three files were created on 23rd of August.
Open any of the log files that were created on the 23rd of August, press CTRL + A to select all then press CTRL + C to copy all and after that, paste all of it in Notepad++. Do the same for the rest of the files that were created on the 23rd of August. After you have copied and pasted all the logs in Notepad++, press CTRL + F to open the find tab, type following text in that; (support) (Your Name): for myself, I will have to enter this (support) Ti|Amman: then click on "Count" and it will give you a number like this
After entering your name like the way I did, after that click on "Count" and it will give you the number of Support hits you have in following amount of time/logs.

A small video tutorial by @Shanu credits to him for the video.




If you want to collect logs of for example of 2 months then you must copy all the recent MTA logs found in the logs folder in a separate notepad file, when you want to apply, you can just count and see if you meet the requirements for the supporter rank or you don't.

NOTE: MTA doesn't save all the logs, it just can save 6 logins means can only create 6 log files. If you want to collect logs for long period then do as I said above.
« Last Edit: 23 10, 2022, 11:01:24 am by iFrank »

Offline MakO

  • Senior Community Member
  • ****
  • Posts: 288
  • Arabic in-game translator.
  • Registered: 17/06/2016
    YearsYearsYearsYearsYearsYearsYears
  • Group: Banlieue13
  • Ingame: MakO
Re: How to collect your Support hits(Line count)
« Reply #1 on: 24 08, 2017, 06:50:10 pm »
I Designed such script from 2 months using C++ but forgot to make guide, but of course not like yours, keep it up.
Edit: @Tetoo  I think you were searching for this.
« Last Edit: 24 08, 2017, 06:58:03 pm by MakO! »

Offline Amman

  • The Institute Founder
  • Senior Community Member
  • ****
  • Posts: 105
  • Registered: 17/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: Amman
Re: How to collect your Support hits(Line count)
« Reply #2 on: 24 08, 2017, 07:58:03 pm »
I Designed such script from 2 months using C++ but forgot to make guide, but of course not like yours, keep it up.
Edit: @Tetoo  I think you were searching for this.
Thank you :) I will try to record a video and post it here, I guess it will be much easier to understand.

Offline Shanu

  • Outstanding Community Member
  • *****
  • Posts: 648
  • Registered: 19/09/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Group: TSFr(s)
  • Squad: 4Point7
Re: How to collect your Support hits(Line count)
« Reply #3 on: 24 08, 2017, 10:04:32 pm »
😇
ShanuSharma:
~Era
~•🐺🐑🥋•
Haath failayega toh kaise likhega itihaas

Offline Amman

  • The Institute Founder
  • Senior Community Member
  • ****
  • Posts: 105
  • Registered: 17/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: Amman
Re: How to collect your Support hits(Line count)
« Reply #4 on: 24 08, 2017, 10:12:58 pm »
Show content

Added this to the main post, thank you. :)

Offline Dredd

  • The Pizzaboy
  • Honorable
  • *****
  • Posts: 676
  • You want a pizza or what?
  • Registered: 10/06/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Group: DoMinos Family
  • Ingame: Dredd
Re: How to collect your Support hits(Line count)
« Reply #5 on: 13 09, 2017, 12:25:21 pm »
So we only have logs for the last 5 days ?


Offline Amman

  • The Institute Founder
  • Senior Community Member
  • ****
  • Posts: 105
  • Registered: 17/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: Amman
Re: How to collect your Support hits(Line count)
« Reply #6 on: 13 09, 2017, 01:23:05 pm »
So we only have logs for the last 5 days ?
MTA saves the .txt files according the number of times you opened your MTA for example, you opened your MTA played for a while and then closed MTA, it will create new console.txt file instead of storing the logs in previous console.txt file and so on, it only saves 5-6 files. It won't store more than 6 console.txt files.

Offline BabY

  • Senior Community Member
  • ****
  • Posts: 306
  • Registered: 08/02/2011
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: LiL_BabY
Re: How to collect your Support hits(Line count)
« Reply #7 on: 13 09, 2017, 01:40:00 pm »
I Designed such script from 2 months using C++ but forgot to make guide, but of course not like yours, keep it up.
Edit: @Tetoo  I think you were searching for this.
Great idea to program while bored xd
Will try doing something like this, with an additional idea in mind
Software Engineer
Ex. Staff (x2)
SO, Ex. SO
Wait for 2024

Offline iShadow

  • Senior Community Member
  • ****
  • Posts: 378
  • Registered: 28/01/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Group: 1337
  • Ingame: iShadow
Re: How to collect your Support hits(Line count)
« Reply #8 on: 17 09, 2017, 09:02:24 pm »
On of the most amazing programms for CIT that I ever seen. Thank you buddy, it will be really helpfull, especially for me  <_3

Offline Amman

  • The Institute Founder
  • Senior Community Member
  • ****
  • Posts: 105
  • Registered: 17/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: Amman
Re: How to collect your Support hits(Line count)
« Reply #9 on: 18 09, 2017, 04:29:09 pm »
Thank you, looking forward to add more guides that are not posted here. :)

Offline Madex.

  • **
  • Posts: 26
  • don't I deserve a 'THANKS'?
  • Registered: 13/12/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • Group: Divinity
  • Ingame: div.madex
  • Squad: Madex
Re: How to collect your Support hits(Line count)
« Reply #10 on: 13 10, 2017, 09:06:03 pm »
Thanks man, this guide helped me to get some logs. :)
Everything can be bought, but loyalty is something else, it cannot be bought.

Offline Amman

  • The Institute Founder
  • Senior Community Member
  • ****
  • Posts: 105
  • Registered: 17/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: Amman
Re: How to collect your Support hits(Line count)
« Reply #11 on: 15 10, 2017, 01:24:44 pm »
Thanks man, this guide helped me to get some logs. :)
Glad it helped.

Offline Amman

  • The Institute Founder
  • Senior Community Member
  • ****
  • Posts: 105
  • Registered: 17/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: Amman
Re: How to collect your Support hits(Line count)
« Reply #12 on: 17 10, 2017, 10:15:00 pm »
I was using Notepad++ for a long time and didn't see that 'count' feature once, I just tested it and it works fine, thanks for this guide once again Amman :)
Yeah, it's always better to count total lines. Glad it helped. :)
« Last Edit: 04 11, 2017, 08:57:13 pm by Amman »

Offline TheHacker

  • New Community Member
  • *
  • Posts: 2695
  • Registered: 08/12/2015
    YearsYearsYearsYearsYearsYearsYearsYears
  • Group: Outlaws MC
  • Ingame: 1337
  • Squad: Vainglory
Re: How to collect your Support hits(Line count)
« Reply #13 on: 10 11, 2017, 09:38:22 am »
The link you gave to download Notepad++ is not working, change it to this: https://notepad-plus-plus.org/download/v7.5.1.html
im going to get TheGaymer kicked too
sooo dont worry

Offline Amman

  • The Institute Founder
  • Senior Community Member
  • ****
  • Posts: 105
  • Registered: 17/05/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYears
  • Ingame: Amman
Re: How to collect your Support hits(Line count)
« Reply #14 on: 10 11, 2017, 05:16:56 pm »
The link you gave to download Notepad++ is not working, change it to this: https://notepad-plus-plus.org/download/v7.5.1.html
Updated, thanks for informing.