Open AI Championship

Local runner

Round 1: before start

Project

Sandbox

Round 1

Round 2

Finals

Recent comments

19 november 17:26: third112 wrote comment on post Language packages
19 november 15:41: GS wrote comment on post Language packages
19 november 14:13: MrMorozis wrote comment on post Language packages
19 november 13:54: third112 wrote comment on post Language packages
19 november 04:24: Jeners wrote comment on post Sandbox
19 november 02:00: MrMorozis wrote comment on post Repeater utility
19 november 01:52: dbf wrote comment on post Repeater utility
19 november 00:55: MrMorozis wrote comment on post Repeater utility
19 november 00:37: MrMorozis wrote comment on post Repeater utility
19 november 00:34: MrMorozis wrote comment on post Repeater utility

VK Group

Telegram chat

 

You have an option to run simple test games locally on your computer. To do so, download or clone the Local runner utility. Use of that utility will allow you to test your strategy in an environment similar to the environment of a testing game on the site, but without any restrictions on the number of games created.

Renderer for local games is much different from the renderer on the site. All game objects in it are shown schematically (no fancy models) according to their real size and form, which will probably allow you to better understand interactions between the objects. Creating of a local game is very simple: start Local runner with the corresponding script (for Windows or *nix system), then run your strategy from the development environment (or using any other method) and watch the game. You can debug your strategy using breakpoints during local games. But remember that Local runner waits for response no more than 30 minutes. By the end of this time it will consider your strategy “broken” and continue to work without it.



griboedov

griboedov

Севастополь

Powered by Yandex.Translate

Plugins not working? Collected plugin with the last Champ, no reaction, and compile.bat a suspicious line at the beginning: echo Not implemented. pause exit 0

Nov 7, 2017 1:03:55 PM
Ixanezis

Ixanezis

Яндекс

Powered by Yandex.Translate

link to github is not working?

Nov 7, 2017 3:21:23 PM
SladeThe

SladeThe

Russian AI Cup Team

Ixanezis

Ixanezis

Яндекс

Powered by Yandex.Translate

link to github is not working?

It’s in the post on the home page.

Nov 7, 2017 6:08:49 PM
udalov

udalov

JetBrains

Powered by Yandex.Translate

Please if it is possible to when using the launch of the strategy through pN-startup-command in settings local runner, stdout/stderr redirections in the System.out/err of the local runner! (If you use a ProcessBuilder, it is done in two lines.) Thanks in advance!

Nov 7, 2017 9:16:04 PM
holopsicon

holopsicon

KBTU

Powered by Yandex.Translate

Hello! if anyone noticed in the folder “local-runner-EN” is Fayt read.me, there is a paragraph on the topic of strategy Management KeyboardPlayer from the keyboard: Shift + LMB (hold) - to add units to the selection, RMB - move units, etc. Trying the control units with the mouse does not work, this opportunity is how to enable the developers were joking or forgot to remove?

Nov 7, 2017 11:34:43 PM
rschnz

rschnz

БФТ

Powered by Yandex.Translate

About a graphical interface local-runner:

  • Left mouse button something released. What?
  • Scroll the map with the middle button is horrible. And not just because my mouse is broken and it is not always the wheel is pressed, but also because it clicking requires more effort and you can still miss and spin the wheel. In General, it would be better for it left button answered. In an extreme case, right.
  • Zoom with the mouse wheel positioning is not clear where, but not exactly in the center of the screen and not the position of the mouse pointer.
  • It would be fun to display a legend with icons/colors. Although probably you get used to it.

Nov 7, 2017 11:35:45 PM
texasky

texasky

Одесса

Powered by Yandex.Translate

Only I did not work the allocation units bear? Keyboard mode does not work.

Nov 8, 2017 1:33:57 AM
karloid

karloid

City::?????-?????????

texasky

texasky

Одесса

Powered by Yandex.Translate

Only I did not work the allocation units bear? Keyboard mode does not work.

put p1 in the Keyboard

Nov 8, 2017 2:49:05 AM
vickingur

Powered by Yandex.Translate

The plugins still don’t work? It seems that the constructor is called, but the methods beforeDrawScene and afterDrawScene - no

Nov 8, 2017 3:09:11 AM
griboedov

griboedov

Севастополь

Powered by Yandex.Translate

The plugins still don’t work? It seems that the constructor is called, but the methods beforeDrawScene and afterDrawScene - no

It looks like it. I also wouldn’t start. Sorry.

Nov 8, 2017 6:54:02 PM
GreenTea

GreenTea

Organization::ISDDesign

Powered by Yandex.Translate

And I liked the lokal runner - all shows very clearly, without unnecessary 3d tinsel xD

Nov 8, 2017 11:09:08 PM
GreenTea

GreenTea

Organization::ISDDesign

Powered by Yandex.Translate

Hmm, something you can’t control the camera in lokal runner until the code of the bot is in debug at the breakpoint. This is a bug or a feature?

Nov 8, 2017 11:26:09 PM
GreenTea

GreenTea

Organization::ISDDesign

Powered by Yandex.Translate

The parameter render-to-screen-sync doesn’t affect it.

Nov 8, 2017 11:31:29 PM
VexfxjC

VexfxjC

БГТУ «Военмех»

GreenTea

GreenTea

Organization::ISDDesign

Powered by Yandex.Translate

Hmm, something you can’t control the camera in lokal runner until the code of the bot is in debug at the breakpoint. This is a bug or a feature?

it is buggy, but holding the “wheel” mouse you can move around the map

Nov 9, 2017 12:24:56 AM
vladrishe

vladrishe

Краснодар

griboedov

griboedov

Севастополь

Powered by Yandex.Translate

Plugins not working? Collected plugin with the last Champ, no reaction, and compile.bat a suspicious line at the beginning: echo Not implemented. pause exit 0

And how to use them at all? Here I compiler this LocalTestRendederListener.java indicated ./plugins configured in the file `local-runner-replay.default.properties’. Judging by the code this liner should be drawn a circle, after drawing the entire scene in the frame. However, nothing on the screen repeat, do not see, just the standard schedule. However, no error messages were not.

Nov 9, 2017 2:32:24 PM
vladrishe

vladrishe

Краснодар

vladrishe

vladrishe

Краснодар

Powered by Yandex.Translate

And how to use them at all? Here I compiler this LocalTestRendederListener.java indicated ./plugins configured in the file `local-runner-replay.default.properties’. Judging by the code this liner should be drawn a circle, after drawing the entire scene in the frame. However, nothing on the screen repeat, do not see, just the standard schedule. However, no error messages were not.

Didn’t notice the comment @vikingur. In this case everything is clear: you need to wait, can I fix it.

Nov 9, 2017 2:35:21 PM
leontibrechko

leontibrechko

Минск

Powered by Yandex.Translate

Trying to redraw the visualization using the plugin, but can’t due to the fact that the methods beforeDrawScene and afterDrawScene in file LocalTestRendererListener.java never invoked. I may be doing something wrong.

Does anyone have any ideas how to fix this?

Checked zaposlenosti plugin with text output to the console from the constructor of a class: displays the text without any problems

Nov 10, 2017 2:40:07 AM
leontibrechko

leontibrechko

Минск

leontibrechko

leontibrechko

Минск

Powered by Yandex.Translate

Trying to redraw the visualization using the plugin, but can’t due to the fact that the methods beforeDrawScene and afterDrawScene in file LocalTestRendererListener.java never invoked. I may be doing something wrong. Does anyone have any ideas how to fix this? Checked zaposlenosti plugin with text output to the console from the constructor of a class: displays the text without any problems

did not notice comments above) let’s wait!

Nov 10, 2017 5:07:25 AM
Morozko

Morozko

Ижевск

Powered by Yandex.Translate

And in keyboard mode to configure production of art in the occupied factory? In read.me not found.

Nov 10, 2017 9:58:42 AM
leontibrechko

leontibrechko

Минск

leontibrechko

leontibrechko

Минск

Powered by Yandex.Translate

did not notice comments above) let’s wait!

sort of fixed it. thank you!

Nov 10, 2017 6:55:43 PM
kirimedia

kirimedia

Moscow

Powered by Yandex.Translate

But there is a plugin for drawing? Kind of used to be like this?

Nov 10, 2017 9:13:18 PM
third112

Powered by Yandex.Translate

SURE! Need legend: color of the tank, helicopter, etc. of the player and the enemy each number - how much is left.

Nov 11, 2017 2:30:34 PM
baho1991

baho1991

МПЭК-РЭУ

Powered by Yandex.Translate

To be honest, a bit annoying coloring units. When they shlestyvayutsya in melee, it is not clear who is who) can Can be some other range to do?

Nov 11, 2017 5:53:27 PM
baho1991

baho1991

МПЭК-РЭУ

baho1991

baho1991

МПЭК-РЭУ

Powered by Yandex.Translate

To be honest, a bit annoying coloring units. When they shlestyvayutsya in melee, it is not clear who is who) can Can be some other range to do?

Apologies: did not notice the manual first

Nov 11, 2017 6:01:11 PM
alexdharma

alexdharma

МГТУ "Станкин"

Powered by Yandex.Translate

with the launch of a local runner is not entirely clear in win 10, make start local-runner.bat, a window appears saying “Waiting for game client to connect”, and then what needs to be done? in read.me nothing

there is a folder model with the main classes, but inside there is the file to compile, Main method class not(assume need to run the jar with these classes), the path to the plugins indicated, compiled

I don’t do raw or runner?

Nov 12, 2017 5:56:09 AM
GoodDalek

GoodDalek

АлтГУ

alexdharma

alexdharma

МГТУ "Станкин"

Powered by Yandex.Translate

with the launch of a local runner is not entirely clear in win 10, make start local-runner.bat, a window appears saying “Waiting for game client to connect”, and then what needs to be done? in read.me nothing there is a folder model with the main classes, but inside there is the file to compile, Main method class not(assume need to run the jar with these classes), the path to the plugins indicated, compiled …

Local-runner launched, now collect-run your strategy, it will cling

Nov 12, 2017 7:49:40 AM
Starcraft-m8

Starcraft-m8

Минск

Powered by Yandex.Translate

Nothing is clear, as this Local runner to run, how to fill in a strategy?

Nov 12, 2017 12:02:40 PM
Jeners
Starcraft-m8

Starcraft-m8

Минск

Powered by Yandex.Translate

Nothing is clear, as this Local runner to run, how to fill in a strategy?

Launch local-runner.bat (on a PC must be installed Java) then compile the language pack (runer.exe) he will be so to server local-runner

Nov 12, 2017 12:08:25 PM
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

I run local-runner.sh and get the error “A session ended very soon after starting. Check that the command in profile ”Default“ is correct.” And in the console pichet “Broken pipe”. How does that work?

Nov 12, 2017 1:17:43 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

I run local-runner.sh and get the error “A session ended very soon after starting. Check that the command in profile ”Default“ is correct.” And in the console pichet “Broken pipe”. How does that work?

The batch file run

Nov 12, 2017 1:20:42 PM
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

The batch file run

I have a MAC

Nov 12, 2017 1:24:12 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

I have a MAC

For MAC java -Xms512m -Xmx2G -server-jar “local-runner.jar” local-runner.local properties-runner.default.properties & For Win start "“ ”%JAVA_BIN:“=%javaw” -Xms512m -Xmx1G%JAVA_PARAMETERS% -jar “local-runner.jar” local-runner.local properties-runner.default.properties %* Try to play with the ponytail &

Nov 12, 2017 1:29:35 PM
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

For MAC java -Xms512m -Xmx2G -server-jar “local-runner.jar” local-runner.local properties-runner.default.properties & For Win start "“ ”%JAVA_BIN:“=%javaw” -Xms512m -Xmx1G%JAVA_PARAMETERS% -jar “local-runner.jar” local-runner.local properties-runner.default.properties %* Try to play with the ponytail &

All right, so the team and recorded in the sh file. But I get an error that what I wrote above.

Nov 12, 2017 1:38:19 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

All right, so the team and recorded in the sh file. But I get an error that what I wrote above.

try this java -Xms512m -Xmx1G -server-jar “local-runner.jar” local-runner-console.local properties-runner.default.properties

Nov 12, 2017 1:42:50 PM
Allpowerful

Allpowerful

Славянский Университет

try this java -Xms512m -Xmx1G -server-jar “local-runner.jar” local-runner-console.local properties-runner.default.properties

Error: Unable to access jarfile “local-runner.jar”

Nov 12, 2017 1:51:17 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Error: Unable to access jarfile “local-runner.jar”

если нет доступа к файлу, значит он у тебя где-то весит в процессах, либо что-то его читает, перезагрузись

Nov 12, 2017 2:01:16 PM
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

если нет доступа к файлу, значит он у тебя где-то весит в процессах, либо что-то его читает, перезагрузись

Rebooted, nothing has changed

Nov 12, 2017 2:15:59 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

Rebooted, nothing has changed

I kid messed up with the team in previous time, try this: java -Xms512m -Xmx2G -server-jar “local-runner.jar” local-runner.local properties-runner.default.properties but if will not help then I have XS, Macs do not rummage

Nov 12, 2017 2:20:07 PM
Jeners

Powered by Yandex.Translate

I kid messed up with the team in previous time, try this: java -Xms512m -Xmx2G -server-jar “local-runner.jar” local-runner.local properties-runner.default.properties but if will not help then I have XS, Macs do not rummage

well, according to the imprint, this option java -Xms512m -Xmx2G -server-jar “local-runner.jar” local-runner.default.properties

Nov 12, 2017 2:21:53 PM
Sanda

Sanda

JetBrains

Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

Error: Unable to access jarfile “local-runner.jar”

It is necessary to remove smart quotes around local-runner.jar in this command. And, of course, run from the directory in which lies this jar file.

Nov 12, 2017 2:22:25 PM
Allpowerful

Allpowerful

Славянский Университет

Sanda

Sanda

JetBrains

Powered by Yandex.Translate

It is necessary to remove smart quotes around local-runner.jar in this command. And, of course, run from the directory in which lies this jar file.

I double click click on local-runner.sh that unzipped from the downloaded archive. I think he should start, but he says Broken Pipe

Nov 12, 2017 2:26:13 PM
Allpowerful

Allpowerful

Славянский Университет

Sanda

Sanda

JetBrains

Powered by Yandex.Translate

It is necessary to remove smart quotes around local-runner.jar in this command. And, of course, run from the directory in which lies this jar file.

In the halyard has the name of the file with the quotes, I edited the file, removed the quotation marks, save, and run again, no, not working. Returned as it was.

Nov 12, 2017 2:27:52 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

In the halyard has the name of the file with the quotes, I edited the file, removed the quotation marks, save, and run again, no, not working. Returned as it was.

All about Broken Pipe, write the following “Broken pipe” means that you wrote data to a connection which has already been closed by a peer. Solution: don’t. It is, in fact, an error application Protocol. Anyways looks socket which uses the emulator is somehow blocked

Nov 12, 2017 2:35:32 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

In the halyard has the name of the file with the quotes, I edited the file, removed the quotation marks, save, and run again, no, not working. Returned as it was.

In General, the sample port 31001 in my car, little is that

Nov 12, 2017 2:40:51 PM
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

In General, the sample port 31001 in my car, little is that

I have in local-runner-console.default.properties written in base-adapter-port=31001

Nov 12, 2017 2:44:40 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

I have in local-runner-console.default.properties written in base-adapter-port=31001

Change port to default settings at random what

Nov 12, 2017 2:47:46 PM
Jeners

Powered by Yandex.Translate

Change port to default settings at random what

The point is that it seems that some piece of the app you have in the system uses the port 31001

Nov 12, 2017 2:48:46 PM
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

In short… sorry, nothing runs.

Nov 12, 2017 2:52:55 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

In short… sorry, nothing runs.

https://coderwall.com/p/8ag5aq/ssh-broken-pipe-fix-mac-os-x try this option of course instead of port 120 indicate 31001

Nov 12, 2017 2:58:32 PM
Jeners

Powered by Yandex.Translate

https://coderwall.com/p/8ag5aq/ssh-broken-pipe-fix-mac-os-x try this option of course instead of port 120 indicate 31001

eprst, where in General the question is not about the port but about a interval of time, so I don’t know what to do and what is the actual error.

Nov 12, 2017 3:03:46 PM
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

eprst, where in General the question is not about the port but about a interval of time, so I don’t know what to do and what is the actual error.

In my config file voobze didn’t enable serveraliveinterval lines. Nevertheless, I added it and set the port to 31001. The problem remained.

Nov 12, 2017 3:07:06 PM
Jeners
Allpowerful

Allpowerful

Славянский Университет

Powered by Yandex.Translate

In my config file voobze didn’t enable serveraliveinterval lines. Nevertheless, I added it and set the port to 31001. The problem remained.

Another option http://azaitsev.com/avt/adm/write-failed-broken-pipe-v-macos.html

Nov 12, 2017 3:14:23 PM
PlayerDark

Powered by Yandex.Translate

You have Local Runner no team Scale, just stupid not to have added, lol.

Nov 12, 2017 7:47:21 PM
rekcahd

rekcahd

Ingate.ru

Powered by Yandex.Translate

You have Local Runner no team Scale, just stupid not to have added, lol.

I have the same local runner and scale works. Look at the Assembly jar must be 12E Nov, may not be updated somehow

Nov 12, 2017 10:44:39 PM
third112

Powered by Yandex.Translate

And the casualty figures can be done in a larger font? Hard to follow the fight when the figure of the tree superimposed. It would be better to make a separate information window and the legend there to give what color what units and how many of them left.

Nov 13, 2017 11:24:54 AM
bearf

bearf

ООО "ГрадоСервис"

Powered by Yandex.Translate

I have a feeling that in Local-Runner uses different version of the class model.*

Faced with this problem when tried to configure the Plugin. My version expects the model folder in Local-Runner the same models as in java cgdk, but they are different. After the Bay models from java cgdk in Local-Runner plugin starts to compile, but not run (rendering not working).

Nov 14, 2017 4:18:59 PM
NicNici

Powered by Yandex.Translate

At start local-runner.bat in Windows you get the error “A Java Exception has occured”. This is my problem with the virtual machine?

Nov 16, 2017 12:20:34 PM
AlexKol

Powered by Yandex.Translate

At start local-runner.bat in Windows you get the error “A Java Exception has occured”. This is my problem with the virtual machine?

toad update

Nov 16, 2017 12:23:53 PM
Savidiy

Savidiy

SCETER

Powered by Yandex.Translate

Please tell me how to run game on a smaller number of cycles, for example 200 instead of 20000. Or how to correctly complete the game to fill the game file.log. Thank you

Nov 16, 2017 3:33:19 PM
tyamgin

tyamgin

Симферополь

Savidiy

Savidiy

SCETER

Powered by Yandex.Translate

Please tell me how to run game on a smaller number of cycles, for example 200 instead of 20000. Or how to correctly complete the game to fill the game file.log. Thank you

Krasoti both strategies on the 200 tick.

Nov 16, 2017 3:35:02 PM
Savidiy

Savidiy

SCETER

tyamgin

tyamgin

Симферополь

Powered by Yandex.Translate

Krasoti both strategies on the 200 tick.

Thank you, helped, did not think to run two strategies simultaneously.

Nov 16, 2017 4:31:03 PM
belik

belik

МГУ

GoodDalek

GoodDalek

АлтГУ

Powered by Yandex.Translate

Local-runner launched, now collect-run your strategy, it will cling

Can we do that again? I have also not obtained. I launched a local-runner.bat, he’s waiting strategy. What to run next, where to put the strategy? I have a strategy in Python, it’s that it affects?

Nov 16, 2017 11:59:26 PM
mixei4

mixei4

КГУ

belik

belik

МГУ

Powered by Yandex.Translate

Can we do that again? I have also not obtained. I launched a local-runner.bat, he’s waiting strategy. What to run next, where to put the strategy? I have a strategy in Python, it’s that it affects?

Then it is necessary to compile and run strategy (for example,. exe file or directly from the IDE).

Nov 17, 2017 12:56:45 AM
griboedov

griboedov

Севастополь

belik

belik

МГУ

Powered by Yandex.Translate

Can we do that again? I have also not obtained. I launched a local-runner.bat, he’s waiting strategy. What to run next, where to put the strategy? I have a strategy in Python, it’s that it affects?

>I’ve started a local runner.bat, he’s waiting strategy. Now Runner.py run.

Nov 17, 2017 9:49:34 AM
belik

belik

МГУ

griboedov

griboedov

Севастополь

Powered by Yandex.Translate

>I’ve started a local runner.bat, he’s waiting strategy. Now Runner.py run.

Thank you, worked. Now I understand

Nov 17, 2017 10:30:25 PM
Jeners

Powered by Yandex.Translate

A nuclear attack works in the Local Runner?

Nov 18, 2017 7:45:40 PM
ArMax

ArMax

МГТУ им. Н.Э. Баумана

Powered by Yandex.Translate

after the tenth update of Windows to version 1709, ceased to run local runner. writes “cannot find jawaw …”. this file is in the folder where Java is present, Java updated to the latest version, do not tell me what to do?(

Nov 18, 2017 10:04:47 PM
ArMax

ArMax

МГТУ им. Н.Э. Баумана

ArMax

ArMax

МГТУ им. Н.Э. Баумана

Powered by Yandex.Translate

after the tenth update of Windows to version 1709, ceased to run local runner. writes “cannot find jawaw …”. this file is in the folder where Java is present, Java updated to the latest version, do not tell me what to do?(

The question was solved, the environment variables were not set

Nov 18, 2017 10:26:58 PM
BaR5uk

BaR5uk

Карачев

Powered by Yandex.Translate

Play localraner, found a glitch: KeyBoardPlayer for the second player is not working. Another very interfere with automatic movement of the camera. Is there any way to disable? Also is it possible to control the buildings on the map and launch a nuclear strike driving strategy with the keyboard? In the instruction it is told nothing.

Nov 18, 2017 10:28:44 PM