Jump to content

sylvershark

Members
  • Posts

    6
  • Joined

  • Last visited

sylvershark's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I would probably understand a big part of the code as it is familiar to PHP. Counter-Strike:Source offers the ability to customize your game by using other models for weapons,floors,players etc. , What people do to wallhack is customizing their walls and use a glass texture for it.
  2. Hey there, I'm trying to make an anti-cheat for Counter-Strike:Source for my clan league. What it needs to do: -People enter their username and password from the league website and program will check if account exists in the MYSQL database. -Then it scans every 2 minutes or more, while playing, for some folders, if they exist it will remove them. -Send logs with time/date to FTP server everytime a scan has been made so I can check if people did run the program while in a match. (estimated match time is 30minutes so if program scans once per 2 minutes thats 15logs/guy) --- So people paste it in a folder (materials) and the script will scan for folders and delete them, example of this folder: C:\Program Files\Steam\SteamApps\sylvershark\counter-strike source\cstrike\materials Problem 1: People have different folder names (SteamApps\SYLVERSHARK\....) Solution: Let people enter their username Problem 2: People will enter fake names Solution ? heLge- helped me a bit on this project, here is what I made yet, it ain't much but I do my best as beginner: ; Splits the string with the maps at the "|"-separator and puts it in an array ; $array[0] contains the number of maps in the array, and the following contains the mapnames $array = StringSplit("de_dust|de_dust2|cs_office|de_prodigy", "|") ; Goes thru each element in the array, starting from 1 to the end For $i = 1 To $array[0] ; Skips path if the path's attributes doesn't contain a D (as in Directory) If NOT StringInStr(FileGetAttrib($array[$i]), "D") Then ContinueLoop ; Checks that the path exists, and if so deletes the directory If FileExists($array[$i]) Then DirRemove($array[$i]) Next Help would be more than welcome, Thanks in advance ! Greetz
  3. looks ace dude, does this work with cs:source?
  4. Can i try it?
  5. Thank you, I just found it in the documentation, but you were faster ^^
  6. Hi there, I started with autoit today and it looks wicked and i'm trying to make some "simple" scripts. I made something that deletes 2 folders wich works : $Folder1 = "badfolder" $Folder2 = "verybadfolder" DirRemove($Folder1) DirRemove($Folder2) But I would like the script to say when it didn't find these 2 folders: "You are clean!" And if it found the folders : "Oh ow, You have bad folders ! Press ok to delete them" How can I do that? I suppose it must be by using the "if" command but then what? Thx in advance
×
×
  • Create New...