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

53
LINES

< > BotCompany Repo | #1033525 - Standalone November Gazelle [dev.]

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

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

// WELCOME!! This is THE PROGRAM YOU ARE LOOKING FOR.

!7

!include early #1033540 // include GazelleHost early for flags like PingV3

!include early #1033526 // November Gazelle

sS windowTitle = "November Gazelle";
sS progIDForDBAndAutoUpdate = #1033525;
sbool pingSourceStrictMode;

static GazelleHost host;
static GazelleV client;
static ThreadPool threadPool;

p {
  loadableUtils.utils.__setJavaX(x30.class);
  standaloneInit();
  
  ping_v3_setPingSourceMaker(-> {
    System.out.println("pingSourceMaker");
    if (pingSourceStrictMode)
      fail("Strict mode - make a ping source first!!");
    ret new PingSource(threadPool, "legacy");
  });
  
  threadPool = new ThreadPool(findIntArg cores(args, numberOfCores()));
  print(threadPool);
  //threadPool.verbose = true;
  PingSource ps = new(threadPool, print("Starting Gazelle"));
  ps.do(-> {
    System.out.println("Pinging");
    ping();
    //if (true) fail("error test");
  
    print("Pinged");
    
    programID = progIDForDBAndAutoUpdate;
    
    host = new GazelleHost(threadPool, -> {
      ret client = new GazelleV;
    });
    host.windowTitle = windowTitle;
    host.run(args);
    
    if (!cic(args, "console")) {
      print("Stopping System.out");
      printAlsoToSystemOut = false;
    }
  });
  print("aha.");
}

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 [dev.]
Eternal ID of this version: #1033525/62
Text MD5: da3733dce06dc6ecc78cc534a209ae14
Transpilation MD5: 79616e403154441109f099499107c517
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-11-05 02:10:23
Source code size: 1347 bytes / 53 lines
Pitched / IR pitched: No / No
Views / Downloads: 309 / 1718
Version history: 61 change(s)
Referenced in: [show references]