Libraryless. Click here for Pure Java version (4137L/29K/93K).
1 | !759 |
2 | |
3 | // Options for smaller heap |
4 | //static S vmArgs = "-XX:MaxHeapFreeRatio=20 -XX:MinHeapFreeRatio=10 -XX:+UseG1GC"; |
5 | |
6 | // Normal options for desktops |
7 | static S vmArgs = ""; |
8 | |
9 | // Prolog |
10 | static L<S> seedBots = litlist("#1002841", "#1002762"); |
11 | |
12 | !include #1002578 // Eleu Core |
13 | |
14 | p { |
15 | Android3 android = new Android3("Eleu 4 Desktop"); |
16 | android.responder = new Responder() { |
17 | public S answer(S s, L<S> history) { |
18 | s = dropPrefix("!", s.trim()).trim(); |
19 | |
20 | attn.set(true); |
21 | dedicated.set(true); |
22 | userName.set("stefanreich"); // for authing |
23 | //webAuthed.set(true); |
24 | S answer = callStaticAnswerMethod(mc(), s); |
25 | //print("> " + s + " > " + answer); |
26 | ret or(answer, "?"); |
27 | } |
28 | }; |
29 | |
30 | makeBot(android); |
31 | |
32 | becomeBotVMIfFirst(); // put helper bots in this VM |
33 | |
34 | coreInit(); |
35 | for (S id : seedBots) |
36 | call(getDispatcher(), "addSeedBot", id); |
37 | |
38 | print(); |
39 | print("Ready for ya!"); |
40 | print(); |
41 | } |
Began life as a copy of #1002591
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002767 |
Snippet name: | Eleu 4 Desktop |
Eternal ID of this version: | #1002767/1 |
Text MD5: | 11cab88c1e6b513fa469932a5bb0869f |
Transpilation MD5: | 2ec28a2812e1d002bf5e53989416b71d |
Author: | stefan |
Category: | |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-03-11 19:48:18 |
Source code size: | 981 bytes / 41 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 771 / 786 |
Referenced in: | [show references] |