Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

53
LINES

< > BotCompany Repo | #1033525 // Standalone November Gazelle [OK]

JavaX source code (desktop) [tags: jar-with-libs no-compiler standalone use-pretranspiled]

Download Jar. Uses 2032K of libraries. Click here for Pure Java version (15766L/85K).

1  
// WELCOME!! This is THE PROGRAM YOU ARE LOOKING FOR.
2  
3  
!7
4  
5  
!include early #1033540 // include GazelleHost early for flags like PingV3
6  
7  
!include early #1033526 // November Gazelle
8  
9  
sS windowTitle = "November Gazelle";
10  
sS progIDForDBAndAutoUpdate = #1033525;
11  
sbool pingSourceStrictMode;
12  
13  
static GazelleHost host;
14  
static GazelleV client;
15  
static ThreadPool threadPool;
16  
17  
p {
18  
  loadableUtils.utils.__setJavaX(x30.class);
19  
  standaloneInit();
20  
  
21  
  ping_v3_setPingSourceMaker(-> {
22  
    System.out.println("pingSourceMaker");
23  
    if (pingSourceStrictMode)
24  
      fail("Strict mode - make a ping source first!!");
25  
    ret new PingSource(threadPool, "legacy");
26  
  });
27  
  
28  
  threadPool = new ThreadPool(findIntArg cores(args, numberOfCores()));
29  
  print(threadPool);
30  
  //threadPool.verbose = true;
31  
  PingSource ps = new(threadPool, print("Starting Gazelle"));
32  
  ps.do(-> {
33  
    System.out.println("Pinging");
34  
    ping();
35  
    //if (true) fail("error test");
36  
  
37  
    print("Pinged");
38  
    
39  
    programID = progIDForDBAndAutoUpdate;
40  
    
41  
    host = new GazelleHost(threadPool, -> {
42  
      ret client = new GazelleV;
43  
    });
44  
    host.windowTitle = windowTitle;
45  
    host.run(args);
46  
    
47  
    if (!cic(args, "console")) {
48  
      print("Stopping System.out");
49  
      printAlsoToSystemOut = false;
50  
    }
51  
  });
52  
  print("aha.");
53  
}

Author comment

Began life as a copy of #1033411

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033525
Snippet name: Standalone November Gazelle [OK]
Eternal ID of this version: #1033525/63
Text MD5: da3733dce06dc6ecc78cc534a209ae14
Transpilation MD5: 67867b631e834006bff06e5bbca81073
Author: stefan
Category: javax / screen recognition
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-12-23 21:34:53
Source code size: 1347 bytes / 53 lines
Pitched / IR pitched: No / No
Views / Downloads: 400 / 2219
Version history: 62 change(s)
Referenced in: [show references]