You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.txt
+8-2
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,20 @@ Obviously.
20
20
21
21
22
22
Starting the application:
23
-
First thing's first. You must go through each of the python files(.py) and edit the import path at the top to wherever you have this folder located. I'm still trying to figure out a way to get the relative paths from Python.
23
+
First thing's first. I'm still trying to figure out a way to get the relative paths from Python.
24
24
25
+
You must go through each of the python files(.py) and edit the import path at the top to wherever you have this folder located.
25
26
*Technical
26
27
With Sikuli, there are no sys.argv variables, so I am unable to get the relative path of the script file that way.
27
28
29
+
*IMPORTANT
30
+
I have screencapture all the images while the Magic Online App was in it's default size. What this means is that you should not maximize the Magic Online or change it's size. I plan to add support for a maximized window in the future.
31
+
28
32
You should already be logged in to Magic Online. As soon as you are logged in, just start the bot and it will respond to a trade request.
29
33
For testing purposes I have have turned off signin feature. This is so the user doesn't need to exit Magic Online everytime they have to restart the bot.
30
34
35
+
After a successful transaction, the bot will open Notepad and write the transaction.
36
+
31
37
I have created a convenient start.bat for those who are not especially experienced in programming. This file will start the Sikuli application, and all you have to do to start the application is click "Run".
32
38
33
39
Structure:
@@ -36,7 +42,7 @@ The view folder contains all the class definitions for interaction with the appl
36
42
The model folder contains all classes that deal with storing or retrieving database information, like prices, images for pixel scans, transaction records, etc.
37
43
The controller folder contains the MainController, which will coordinate the entire application.
38
44
39
-
In the main folder you will find the main app file. It instantiates the controller and starts everything.
45
+
In the main folder you will find the main app file, "bot.sikuli". It instantiates the controller and starts everything.
0 commit comments