Requests - AutoIt only

07/25/2016 11:02 MF-Rockstar#256
wie sage ich bei einem ControlSend, dass er die Taste nicht einmal drücken soll, sondern diese gedrückt lassen soll für einen Zeitraum x? Hab das jetzt einfach mit einer Schleife gemacht die alle paar millisekunden das ControlSend ausführt, aber finde das irgendwie unschön :/
07/25/2016 12:33 alpines#257
Du kannst probieren mal ein "down" anzuhängen, bei Send klappt das nämlich.
Code:
ControlSend(...., "{l down}")
Sleep(1000)
ControlSend(...., "{l up}")
08/01/2016 21:42 S7ZY#258
Hallo Entwickler,

ich brauche im Moment ganz dringend eine Art Batch-Script (oder halt vbscript etc) was eine Ordner und Dateien in einem Pfad umbenennt und das wieder später rückgängig machen kann.

Folgendes Problem:
Ich bin Video-Editor für CSGO-Gameplays. In CSGO gibt es Config-Dateien bzw. einen Config-Ordner (Spieleinstellungen). Neben dem normalen Spielen mit meiner "spiel-config" brauche ich auch eine "moviemaking-config" für das Videoediting: Also ich hab 2 CFG-Ordner im Pfad.
Das heißt, ich muss jedes mal vor dem normalen Spielen oder Moviemaking die CFG-Ordner umbennen, damit CSGO den CFG-Ordner durchsucht, den ich grade brauche.

Das Script müsste:
- Ordner namen austauschen / ändern > z.b. 2 Ordner ("cfg" und "cfg_mov") zu ("cfg_mov " = "cfg" und das alte "cfg" = "cfg_org")
- Später auf Wunsch alles wieder zum normal-zustand bringen ("cfg" und "cfg_mov")
- Das gleiche Prinzip mit den Ordnern auch für drei weitere Dateien in anderen Ordnern im selben Pfad
- Auch die Dateien wieder zum normal-zustand bringen

Bilder:
08/01/2016 23:22 °Incinerate#259
Bei mir funktioniert es Problemlos.
1x ausführen zum Umbenennen zbw. um die die Namen wiederherzustellen.

Code:
$path_cfg   = @ProgramFilesDir & "\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\"
$path_items = @ProgramFilesDir & "\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\scripts\items\"
$path_db    = @ProgramFilesDir & "\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\"
$path_steam_cfg = @ProgramFilesDir & "\Steam\userdata\154463003\730\local\"

If FileExists($path_cfg & "cfg.orginal") Then

	DirMove($path_cfg & "cfg", $path_cfg & "cfg_mov")
	DirMove($path_cfg & "cfg.orginal", $path_cfg & "cfg")

	FileMove($path_items & "items_game.txt", $path_items & "items_game_mod.txt")
	FileMove($path_items & "items_game.txt.orginal", $path_items & "items_game.txt")

	FileMove($path_db & "botprofile.db", $path_db & "botprofile_mod.db")
	FileMove($path_db & "botprofile.db.orginal", $path_db & "botprofile.db")

	DirMove($path_steam_cfg & "cfg", $path_steam_cfg & "cfg - Kopie")
	DirMove($path_steam_cfg & "cfg.orginal", $path_steam_cfg & "cfg")

Else
	DirMove($path_cfg & "cfg", $path_cfg & "cfg.orginal")
	DirMove($path_cfg & "cfg_mov", $path_cfg & "cfg")

	FileMove($path_items & "items_game.txt", $path_items & "items_game.txt.orginal")
	FileMove($path_items & "items_game_mod.txt", $path_items & "items_game.txt")

	FileMove($path_db & "botprofile.db", $path_db & "botprofile.db.orginal")
	FileMove($path_db & "botprofile_mod.db", $path_db & "botprofile.db")

	DirMove($path_steam_cfg & "cfg", $path_steam_cfg & "cfg.orginal")
	DirMove($path_steam_cfg & "cfg - Kopie", $path_steam_cfg & "cfg")

EndIf
08/03/2016 19:01 S7ZY#260
Quote:
Originally Posted by °Incinerate View Post
Bei mir funktioniert es Problemlos.
1x ausführen zum Umbenennen zbw. um die die Namen wiederherzustellen.

Code:
$path_cfg   = @ProgramFilesDir & "\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\"
$path_items = @ProgramFilesDir & "\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\scripts\items\"
$path_db    = @ProgramFilesDir & "\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\"
$path_steam_cfg = @ProgramFilesDir & "\Steam\userdata\154463003\730\local\"

If FileExists($path_cfg & "cfg.orginal") Then

	DirMove($path_cfg & "cfg", $path_cfg & "cfg_mov")
	DirMove($path_cfg & "cfg.orginal", $path_cfg & "cfg")

	FileMove($path_items & "items_game.txt", $path_items & "items_game_mod.txt")
	FileMove($path_items & "items_game.txt.orginal", $path_items & "items_game.txt")

	FileMove($path_db & "botprofile.db", $path_db & "botprofile_mod.db")
	FileMove($path_db & "botprofile.db.orginal", $path_db & "botprofile.db")

	DirMove($path_steam_cfg & "cfg", $path_steam_cfg & "cfg - Kopie")
	DirMove($path_steam_cfg & "cfg.orginal", $path_steam_cfg & "cfg")

Else
	DirMove($path_cfg & "cfg", $path_cfg & "cfg.orginal")
	DirMove($path_cfg & "cfg_mov", $path_cfg & "cfg")

	FileMove($path_items & "items_game.txt", $path_items & "items_game.txt.orginal")
	FileMove($path_items & "items_game_mod.txt", $path_items & "items_game.txt")

	FileMove($path_db & "botprofile.db", $path_db & "botprofile.db.orginal")
	FileMove($path_db & "botprofile_mod.db", $path_db & "botprofile.db")

	DirMove($path_steam_cfg & "cfg", $path_steam_cfg & "cfg.orginal")
	DirMove($path_steam_cfg & "cfg - Kopie", $path_steam_cfg & "cfg")

EndIf
vielen dank :)

hat funktioniert
08/09/2016 14:18 tingelboy3#261
Gibt es einen Code, mit dem man auf Seiten wie wg-gesucht eine Anzeige halbstündlich automatisch aktualisieren kann?
08/09/2016 15:16 °Incinerate#262
@tingelboy3

Mit genug Informationen bekommt man alles hin.
09/28/2016 22:13 ♫Melodie♫#263
Abend ne frage bräuchte einen autoit bot mit imagesearch wäre sowas möglich?
09/28/2016 23:14 alpines#264
Quote:
Originally Posted by ♫Melodie♫ View Post
Abend ne frage bräuchte einen autoit bot mit imagesearch wäre sowas möglich?
Niemand wird dir helfen wenn du sowas in den Raum wirfst, du bist im Requests Thread. Schreib doch was du wo und wie willst, welches Spiel, welche Tasten, welche Intervalle etc.
09/29/2016 05:14 M3mphizzt#265
hi kann mir wer helfen ich möchte in meinen bots auch sone statistik haben was der gesammelt hat geht um darkorbit bots und wollte auch so eine statistik wie der candybot hatte (ep,ehre,uri,...)
09/29/2016 20:10 ♫Melodie♫#266
[Only registered and activated users can see links. Click Here To Register...]


bräuchte sowas :).
11/09/2016 14:09 SturmGhost#267
I got a game which provides the player position and camera angle (and more) over [Only registered and activated users can see links. Click Here To Register...].

I want to read out the informations, store them in my own structure and run my AutoIt-Code but I don´t know how to implement or read out the mumble link structure and store the informations in my own structure.

Any hints to do this?

I found some C#-Code which does this and now I want to tranlaste the code to AutiIT Code.

Code:
public static void OpenMumbleLink()
        {
            // Open the mapped memory file
            mappedFile = MemoryMappedFile.CreateOrOpen("MumbleLink", Marshal.SizeOf(data));
            accessor = mappedFile.CreateViewAccessor(0, Marshal.SizeOf(data));
        }

        public static void GetData()
        {
            // Make sure the map memory file is loaded
            if (mappedFile == null) OpenMumbleLink();

            // Read mapped memory file
            accessor.Read(0, out data);

            unsafe
            {
                fixed (LinkedMem* _data = &data)
                {
                    // Parse info
                    playerInfo.x = (float)(_data->fAvatarPosition[0]) * InchesPerMeter;
                    playerInfo.y = (float)(_data->fAvatarPosition[1]) * InchesPerMeter;
                    playerInfo.z = (float)(_data->fAvatarPosition[2]) * InchesPerMeter;
                    playerInfo.map = (int)_data->context[28] + ((int)_data->context[29] * 256);
                }
            }
        }
12/12/2016 23:59 S7ZY#268
Hey leute,

weiß jemand, ob man sowas auch über AutoIt machen kann?
[Only registered and activated users can see links. Click Here To Register...]
Programm: Sony Vegas Pro 13/14
Aufgabe: Wie in der Gif sollen alle unteren Track-Envelopes (die roten Punkte) mit synchronisiert werden wie der erste Track.
Der Macher dieser Extension hält es für sich privat und ist ein ziemlich egoistischer Typ, der will mir keine Infos zu dem Programm geben, deswegen frage ich euch, ob jemand das hier hinschaffen könnte. Würde auch mit etwas Geld bezahlen.

Vielen Dank
01/10/2017 12:09 Mua2017#269
Hallo,

ich suche einen jemanden der mir einen Bot für das Spiel "Last Empire War Z" erstellen kann. Das Spiel soll später mit Bluestacks als Android Version auf einem Windows Server laufen, folgende Sachen sollte der Bot können:

- Automatisch die Farmen in der Basis anklicken
- Automatisch die Truppen zum Ernten schicken

Das ganze sollte nicht zu aufwendig sein hoffe ich und evtl. findet sich ja jemand der dafür Zeit hat :) Mehr Details gerne per PM.

Je nach Qualität des Bots dachte ich an 100€ aufwärts, einfach mal eine PM schreiben

English:

Hello,

i am looking for someone who is able to make me an AutoIT bot for the Game "Last Empire war Z". The Game would be running on Android in Bluestacks on a Windows Server.

Features that should be included are:

- Click automatical on the Farms inside the Base
- Send Troops out for gathering

I am willing to pay +100€ depends on the Quality of the Bot :)
01/10/2017 17:10 Lawliet#270
Schau mal dort vorbei: [Only registered and activated users can see links. Click Here To Register...]