Search found 30 matches

by wanjia1
Yesterday, 19:59
Forum: Addon discussions
Topic: Research Path Plotter
Replies: 0
Views: 29

Research Path Plotter

research_schedule.zip
License:CC0
(20.39 KiB) Downloaded 1 time
A python program(3.7+) that draw all required research to specific targets,
have option that set initial tech level and whether delay non-critical researches.
show lab use in colored bar, available time is annotated below.
by wanjia1
03 May 2024, 08:42
Forum: Addon discussions
Topic: msh.js: multiplayer command line
Replies: 0
Views: 241

msh.js: multiplayer command line

multiplayer command line, It can add droid, structure and power without causing desync msh1.zip (input command below in chat box, only effective when is not spectator) preset program: give power, uplink center and remove most limits: /u1 --> /* power 100000 /* limit 10000 /* limit t 10000 /* sadd sa...
by wanjia1
28 Apr 2024, 11:09
Forum: Addon discussions
Topic: dumb.js: a simple PSO based AI that stronger than bonecrusher
Replies: 8
Views: 4295

Re: dumb.js: a simple PSO based AI that stronger than bonecrusher

dumb20: dumb with memory (removed recycle, AA and VTOL support, too complex and rarely used) only works in T1, 1v1, >24 oils It use schmitt trigger to control defence or attack. Input variable: Name Range Description enemyDistance (24, 36) to repair centre limitRatio (.5, .8) countDroid(DROID_ANY,me...
by wanjia1
31 Mar 2024, 23:36
Forum: Addon discussions
Topic: lobby python API
Replies: 0
Views: 436

lobby python API

A python(3.10+) program, print lobby info every 30 seconds. also write json records into lobby.txt
keep this program in background saves time of manual refreshing

white:autohoster game
cyan:normal game
green:full game
yellow:private game
by wanjia1
22 Mar 2024, 18:31
Forum: Addon discussions
Topic: dumb.js: a simple PSO based AI that stronger than bonecrusher
Replies: 8
Views: 4295

Re: dumb.js: a simple PSO based AI that stronger than bonecrusher

Units now move in patrol mode, compare to dumb10, it slight stronger against AIs, but weaker against humans. still weaker than dumb12a, because it still can't cover retreating units. Add chat commands: say "w" to show all droids say "r" to show `safeDest` say "r1" to re...
by wanjia1
17 Mar 2024, 12:23
Forum: Addon discussions
Topic: dumb.js: a simple PSO based AI that stronger than bonecrusher
Replies: 8
Views: 4295

Re: dumb.js: a simple PSO based AI that stronger than bonecrusher

dumb10b.zip: a plasma cannon variant made from dumb10. can beat all previous dumb bot (except dumb12a) and cobra.
by wanjia1
10 Mar 2024, 19:38
Forum: Addon discussions
Topic: dumb.js: a simple PSO based AI that stronger than bonecrusher
Replies: 8
Views: 4295

Re: dumb.js: a simple PSO based AI that stronger than bonecrusher

better verion, not completed: dumb-flamer: a full flamer made from dumb. have 120 lines of code, used to test bots. only works in NTW 1v1, can beat Insane Cobra in T1. dumb12: new version of dumb. Its ONLY WORKS IN RO-1v1(or SnowTiny) and MUST PLACED IN NORTH . It can beat Insane RatBot 0.9, Cobra, ...
by wanjia1
21 Jan 2024, 14:30
Forum: Addon discussions
Topic: script generated NTW 3v3 map with terrain
Replies: 4
Views: 1343

Re: script generated NTW 3v3 map with terrain

add random terrain generation and generate cliff by slope:
0c-type0.wz
license:CC0
(3.1 KiB) Downloaded 58 times
screenshot:
Screenshot_2024-01-21_20-15-50.jpg
by wanjia1
20 Jan 2024, 11:15
Forum: Addon discussions
Topic: script generated NTW 3v3 map with terrain
Replies: 4
Views: 1343

Re: script generated NTW 3v3 map with terrain

And what is the idea behind it now? What's new? There are hundreds of such maps. Have I misunderstood something here? the difference is that it can re-layout the map, like add clamp chamber, highlands, water; and move base; remove oils, add uplink centre or VTOL pads for every base, with only minor...
by wanjia1
20 Jan 2024, 00:27
Forum: Addon discussions
Topic: script generated NTW 3v3 map with terrain
Replies: 4
Views: 1343

script generated NTW 3v3 map with terrain

(although there is a dice icon,it not a random map) with small modification, like the height function, this script can generate different NTW map. relativeY=((y/mapHeight)-.5)*2 size: 96*96 oil: 40 per player scavenger: at relativeY==0 (1 cannon fortress per 4 tile) height: clip((abs(relativeY)-.3)*...
by wanjia1
06 Jan 2024, 07:47
Forum: Scripting
Topic: js function synchronizer
Replies: 3
Views: 1480

Re: js function synchronizer

when nested synchronized function is called, only the outer-most function call will product synchronized events, and will no return value.
the inner function call is short-circuited and will execute at local client, returns as normal.
this avoided duplicate event.
by wanjia1
06 Jan 2024, 05:00
Forum: Scripting
Topic: js function synchronizer
Replies: 3
Views: 1480

Re: js function synchronizer

its implement is inefficient. theoretically, a syncRequest can carry 24 bytes of data (req_id, x, y of type number in float64. object and object2 have constraints and unable to carry data), but the implement only use the req_id to carry data, the charcode of every character of the json serialized ar...
by wanjia1
06 Jan 2024, 04:38
Forum: Scripting
Topic: js function synchronizer
Replies: 3
Views: 1480

Re: js function synchronizer

screenshot: