|
You last visited: Today at 07:57
Advertisement
Requests - AutoIt only
Discussion on Requests - AutoIt only within the AutoIt forum part of the Coders Den category.
07/25/2016, 11:02
|
#256
|
elite*gold: 0
Join Date: Jul 2008
Posts: 218
Received Thanks: 25
|
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
|
#257
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
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
|
#258
|
elite*gold: 58
Join Date: Feb 2009
Posts: 5,719
Received Thanks: 3,058
|
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
|
#259
|
elite*gold: 400
Join Date: Jun 2011
Posts: 513
Received Thanks: 101
|
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
|
#260
|
elite*gold: 58
Join Date: Feb 2009
Posts: 5,719
Received Thanks: 3,058
|
Quote:
Originally Posted by °Incinerate
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
|
#261
|
elite*gold: 46
Join Date: Jul 2010
Posts: 382
Received Thanks: 50
|
Gibt es einen Code, mit dem man auf Seiten wie wg-gesucht eine Anzeige halbstündlich automatisch aktualisieren kann?
|
|
|
08/09/2016, 15:16
|
#262
|
elite*gold: 400
Join Date: Jun 2011
Posts: 513
Received Thanks: 101
|
@tingelboy3
Mit genug Informationen bekommt man alles hin.
|
|
|
09/28/2016, 22:13
|
#263
|
elite*gold: 1
Join Date: Mar 2015
Posts: 1,112
Received Thanks: 43
|
Abend ne frage bräuchte einen autoit bot mit imagesearch wäre sowas möglich?
|
|
|
09/28/2016, 23:14
|
#264
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
Quote:
Originally Posted by ♫Melodie♫
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
|
#265
|
elite*gold: 0
Join Date: Mar 2016
Posts: 104
Received Thanks: 34
|
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
|
#266
|
elite*gold: 1
Join Date: Mar 2015
Posts: 1,112
Received Thanks: 43
|
bräuchte sowas  .
|
|
|
11/09/2016, 14:09
|
#267
|
elite*gold: 0
Join Date: Jan 2016
Posts: 11
Received Thanks: 1
|
I got a game which provides the player position and camera angle (and more) over  .
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
|
#268
|
elite*gold: 58
Join Date: Feb 2009
Posts: 5,719
Received Thanks: 3,058
|
Hey leute,
weiß jemand, ob man sowas auch über AutoIt machen kann?
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
|
#269
|
elite*gold: 0
Join Date: Jan 2017
Posts: 6
Received Thanks: 0
|
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
|
#270
|
elite*gold: 2
Join Date: Jul 2009
Posts: 14,456
Received Thanks: 4,685
|
Schau mal dort vorbei:
|
|
|
Similar Threads
|
AutoIt Script Requests
07/31/2008 - Dekaron - 10 Replies
Meh...bored with my scripts atm (releasing another tomorrow...), so I'm gonna ask you all what you want in a script. Post your ideas here.
|
All times are GMT +1. The time now is 07:58.
|
|