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.
Sevastopol
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
Плагины не работают? Собрал плагин с прошлого чемпа - нет реакции, а в compile.bat подозрительные строки в самом начале: echo Not implemented. pause exit 0
Яндекс
link to github is not working?
ссылка на github не работает?
link to github is not working?
It’s in the post on the home page.
ссылка на github не работает?
Это есть в посте на главной странице.
JetBrains
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!
Сделайте, пожалуйста, если это возможно, чтобы при использовании запуска стратегии через pN-startup-command
в настройках local runner, stdout/stderr редиректились в System.out/err самого local runner! (Если вы используете ProcessBuilder, то это делается двумя строчками.) Заранее спасибо!
KBTU
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?
Всем привет! если кто не заметил в папке "local-runner-ru" есть файт read.me, там есть абзац на тему Управление стратегией KeyboardPlayer с клавиатуры: Shift + ЛКМ (удерж.) - добавить юнитов к выделению, ПКМ - переместить юнитов и т.д.
Пытаюсь контролит юнитов мышкой, не получается, эту возможность как то нужно включить, разработчики пошутили или забыли убрать?
БФТ
About a graphical interface local-runner:
Насчет графического интерфейса local-runner:
Odessa
Only I did not work the allocation units bear? Keyboard mode does not work.
Только у меня не работает выделение юнитов мишкой? Keyboard режим вообще не работает.
Only I did not work the allocation units bear? Keyboard mode does not work.
put p1 in the Keyboard
Только у меня не работает выделение юнитов мишкой? Keyboard режим вообще не работает.
ставь p1 в Keyboard
Лос-Анжелес
The plugins still don’t work? It seems that the constructor is called, but the methods beforeDrawScene and afterDrawScene - no
Плагины таки не работают? Похоже, что конструктор вызывается, но методы beforeDrawScene и afterDrawScene - нет
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.
Плагины таки не работают? Похоже, что конструктор вызывается, но методы beforeDrawScene и afterDrawScene - нет
Похоже на то. У меня тоже не завелось. Жаль.
Organization::ISDDesign
And I liked the lokal runner - all shows very clearly, without unnecessary 3d tinsel xD
А мне понравился локал раннер - очень наглядно все показывает, без лишней 3d мишуры xD
Organization::ISDDesign
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?
Хм, что-то не получается управлять камерой в локал раннере, пока код бота стоит в дебаге на брейкпоинте. Это баг или фича?
Organization::ISDDesign
The parameter render-to-screen-sync doesn’t affect it.
Параметр render-to-screen-sync , не влияет на это.
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
Хм, что-то не получается управлять камерой в локал раннере, пока код бота стоит в дебаге на брейкпоинте. Это баг или фича?
он глючит, но зажав “колесо” мышки можно перемещаться по карте
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.
Плагины не работают? Собрал плагин с прошлого чемпа - нет реакции, а в compile.bat подозрительные строки в самом начале: echo Not implemented. pause exit 0
А как ими вообще пользоваться? Вот скомпилил я этот LocalTestRendederListener.java, указал ./plugins в соответствующей настройке в файле `local-runner-replay.default.properties’. Судя по коду этого лиснера, должна отрисовываться окружность, после отрисовки всей сцены в кадре. Однако, ничего такого на экране с повтором не вижу: только стандартная графика. При этом никаких сообщений об ошибках не было.
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.
А как ими вообще пользоваться? Вот скомпилил я этот LocalTestRendederListener.java , указал ./plugins в соответствующей настройке в файле `local-runner-replay.default.properties’. Судя по коду этого лиснера, должна отрисовываться окружность, после отрисовки всей сцены в кадре. Однако, ничего такого на экране с повтором не вижу: только стандартная графика. При этом никаких сообщений об ошибках не было.
Не заметил комментарий @vikingur. В таком случае все ясно: нужно ждать, может, исправят.
Minsk
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
Пытаюсь прорисовать визуализацию с помощью плагина, но не получается это сделать из-за того, что методы beforeDrawScene
и afterDrawScene
в файле LocalTestRendererListener.java
никогда не вызываются. Возможно, я делаю что-то не так.
Есть у кого идеи, как исправить это?
Проверял запускаемость плагина с помощью вывода текста на консоль из конструктора класса: выводит текст без проблем
Minsk
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!
Пытаюсь прорисовать визуализацию с помощью плагина, но не получается это сделать из-за того, что методы beforeDrawScene и afterDrawScene в файле LocalTestRendererListener.java никогда не вызываются. Возможно, я делаю что-то не так. Есть у кого идеи, как исправить это? Проверял запускаемость плагина с помощью вывода текста на консоль из конструктора класса: выводит текст без проблем
не заметил комментарии выше) будем ждать!
Izhevsk
And in keyboard mode to configure production of art in the occupied factory? In read.me not found.
А как в режиме keyboard настроить производство техники на захваченном заводе? В read.me не нашел.
Minsk
did not notice comments above) let’s wait!
sort of fixed it. thank you!
не заметил комментарии выше) будем ждать!
вроде как починили. спасибо!
Moscow
But there is a plugin for drawing? Kind of used to be like this?
А есть плагин для рисования? Вроде раньше был такой?
SURE! Need legend: color of the tank, helicopter, etc. of the player and the enemy each number - how much is left.
ОБЯЗАТЕЛЬНО! Нужна легенда: цвет танка, вертолета и т.д. игрока и противника и у каждого число - сколько осталось.
МПЭК-РЭУ
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?
Честно говоря, немного напрягает раскраска юнитов. Когда они схлестываются в рукопашной, уже не понятно, кто есть кто) Может можно какой-то другой спектр сделать?
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
Честно говоря, немного напрягает раскраска юнитов. Когда они схлестываются в рукопашной, уже не понятно, кто есть кто) Может можно какой-то другой спектр сделать?
Приношу извинения: не заметил мануал сначала
МГТУ "Станкин"
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?
с запуском local runner не совсем ясно, в win 10 делаю запуск local-runner.bat, появляется окно со словами “Waiting for game client to connect”, а что дальше нужно сделать? в read.me про это ничего нет
есть папка model с основными классами, внутри есть but файл для компиляции, с Main методом класса нет(предполагаю, что нужен запускаемый jar с этими классами), путь к плагинам указал, скомпилировал
я что-то не так делаю или раннер сырой?
АлтГУ
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
с запуском local runner не совсем ясно, в win 10 делаю запуск local-runner.bat, появляется окно со словами “Waiting for game client to connect”, а что дальше нужно сделать? в read.me про это ничего нет есть папка model с основными классами, внутри есть but файл для компиляции, с Main методом класса нет(предполагаю, что нужен запускаемый jar с этими классами), путь к плагинам указал, скомпилировал …
Local-runner запустили, теперь собирайте-запускайте свою стратегию, она прицепится
Minsk
Nothing is clear, as this Local runner to run, how to fill in a strategy?
Ничего не понятно, как этот Local runner запустить, как залить в него стратегию?
Moscow
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
Ничего не понятно, как этот Local runner запустить, как залить в него стратегию?
Запускаешь local-runner.bat (на пк должна быть установлена Java) затем компилируешь языковой пакет (runer.exe) он конектится к серверу local-runner
Славянский Университет
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?
Я запускаю local-runner.sh и получаю ошибку “A session ended very soon after starting. Check that the command in profile ”Default“ is correct.” А в консоли пишеь “Broken pipe”. Как вообще это работает?
Moscow
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
Я запускаю local-runner.sh и получаю ошибку “A session ended very soon after starting. Check that the command in profile ”Default“ is correct.” А в консоли пишеь “Broken pipe”. Как вообще это работает?
Батник запускай
Славянский Университет
The batch file run
I have a MAC
Батник запускай
У меня MAC
Moscow
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 &
У меня MAC
Для MAC java -Xms512m -Xmx2G -server -jar “local-runner.jar” local-runner.properties local-runner.default.properties & Для Win start "“ ”%JAVA_BIN:“=%javaw” -Xms512m -Xmx1G%JAVA_PARAMETERS% -jar “local-runner.jar” local-runner.properties local-runner.default.properties %* Попробуй поиграться с хвостиком &
Славянский Университет
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.
Для MAC java -Xms512m -Xmx2G -server -jar “local-runner.jar” local-runner.properties local-runner.default.properties & Для Win start "“ ”%JAVA_BIN:“=%javaw” -Xms512m -Xmx1G%JAVA_PARAMETERS% -jar “local-runner.jar” local-runner.properties local-runner.default.properties %* Попробуй поиграться с хвостиком &
Всё верно, такая команда и записана в sh файле. Но появляется ошибка та, что я написал выше.
Moscow
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
Всё верно, такая команда и записана в sh файле. Но появляется ошибка та, что я написал выше.
попробуй так java -Xms512m -Xmx1G -server -jar “local-runner.jar” local-runner-console.properties local-runner.default.properties
Славянский Университет
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”
Moscow
Error: Unable to access jarfile “local-runner.jar”
если нет доступа к файлу, значит он у тебя где-то весит в процессах, либо что-то его читает, перезагрузись
Славянский Университет
если нет доступа к файлу, значит он у тебя где-то весит в процессах, либо что-то его читает, перезагрузись
Rebooted, nothing has changed
если нет доступа к файлу, значит он у тебя где-то весит в процессах, либо что-то его читает, перезагрузись
Перезагрузил, ничего не изменилось
Moscow
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
Перезагрузил, ничего не изменилось
Я мальца накосячил с командой в предыдущий, раз попробуй так: java -Xms512m -Xmx2G -server -jar “local-runner.jar” local-runner.properties local-runner.default.properties Ну а если не поможет то я уже хз, в маках не шарю
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
Я мальца накосячил с командой в предыдущий, раз попробуй так: java -Xms512m -Xmx2G -server -jar “local-runner.jar” local-runner.properties local-runner.default.properties Ну а если не поможет то я уже хз, в маках не шарю
ну и на по следок, такой вариант java -Xms512m -Xmx2G -server -jar “local-runner.jar” local-runner.default.properties
JetBrains
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.
Error: Unable to access jarfile “local-runner.jar”
Надо убрать кавычки-ёлочки вокруг local-runner.jar в этой команде. Ну и, разумеется, запускать из директории, в которой лежит этот 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.
I double click click on local-runner.sh that unzipped from the downloaded archive. I think he should start, but he says Broken Pipe
Надо убрать кавычки-ёлочки вокруг local-runner.jar в этой команде. Ну и, разумеется, запускать из директории, в которой лежит этот jar-файл.
Я двойным кликом жму на local-runner.sh, который распаковал из скаченного архива. Я думаю, что он должен запуститься, но пишет, что Broken Pipe
Славянский Университет
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.
Надо убрать кавычки-ёлочки вокруг local-runner.jar в этой команде. Ну и, разумеется, запускать из директории, в которой лежит этот jar-файл.
В самом фале написано название файла с кавычками, я редактировал файл, убирал кавычки, сохранял и снова запускал, нет, не работает. Вернул, как было.
Moscow
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
В самом фале написано название файла с кавычками, я редактировал файл, убирал кавычки, сохранял и снова запускал, нет, не работает. Вернул, как было.
Вообще про Broken Pipe пишут следующие «Сломанная труба» означает, что вы написали данные в соединение, которое уже было закрыто одноранговым узлом. Решение: не надо. Это, по сути, ошибка протокола приложения. Кароче видать соккет который использует эмулятор чем-то забит
Moscow
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
В самом фале написано название файла с кавычками, я редактировал файл, убирал кавычки, сохранял и снова запускал, нет, не работает. Вернул, как было.
В общем пробей порт 31001 на своей машине, мало-ли что
Славянский Университет
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
В общем пробей порт 31001 на своей машине, мало-ли что
У меня в local-runner-console.default.properties написано base-adapter-port=31001
Moscow
I have in local-runner-console.default.properties written in base-adapter-port=31001
Change port to default settings at random what
У меня в local-runner-console.default.properties написано base-adapter-port=31001
Поменяй порт в дефолт настройках на рандом какой
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
Поменяй порт в дефолт настройках на рандом какой
Суть в том что очень похоже что какоето приложение у тебя в системе использует порт 31001
Славянский Университет
In short… sorry, nothing runs.
Короче… очень жаль, ничего не запускается.
Moscow
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
Короче… очень жаль, ничего не запускается.
https://coderwall.com/p/8ag5aq/ssh-broken-pipe-fix-mac-os-x попробуй этот вариант, естественно вместо порта 120 укажи 31001
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.
https://coderwall.com/p/8ag5aq/ssh-broken-pipe-fix-mac-os-x попробуй этот вариант, естественно вместо порта 120 укажи 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.
In my config file voobze didn’t enable serveraliveinterval lines. Nevertheless, I added it and set the port to 31001. The problem remained.
епрст, там в общем вопрос не про порт а про интервал времени, кароче я хз че делать и в чем собственно ошибка.
В моём config файле вообзе не было строчки ServerAliveInterval. Тем не менее я её добавил и поставил порт 31001. Проблема осталась.
Moscow
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
В моём config файле вообзе не было строчки ServerAliveInterval. Тем не менее я её добавил и поставил порт 31001. Проблема осталась.
Еще вариант http://azaitsev.com/avt/adm/write-failed-broken-pipe-v-macos.html
Miass
You have Local Runner no team Scale, just stupid not to have added, lol.
У вас в Local Runner нет команды Scale, просто тупо не добавили, лол.
Ingate.ru
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
У вас в Local Runner нет команды Scale, просто тупо не добавили, лол.
У меня такой же локал ранер и скейл работает. Посмотри время сборки jar, должно быть 12е ноября, может не обновился почему-то
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.
А цифры потерь можно сделать более крупным шрифтом? Трудно следить за боем когда на цифру елочка накладывается. Было бы лучше сделать отдельно информационное окошко и легенду там дать - какого цвета какие юниты и сколько их осталось.
ООО "ГрадоСервис"
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).
У меня такое ощущение, что в Local-Runner используются другие версии классов model.*
Столкнулся с этим, когда попытался настроить Plugin. Моя версия ожидает, что в папке model в Local-Runner те же модели, что и в java-cgdk, но они отличаются. После залива моделей из java-cgdk в Local-Runner плагин начинает компилироваться, но не запускается (отрисовка не работает).
At start local-runner.bat in Windows you get the error “A Java Exception has occured”. This is my problem with the virtual machine?
При запуске local-runner.bat в Windows возникает ошибка “A Java Exception has occured”. Это у меня проблемы с виртуальной машиной?
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
При запуске local-runner.bat в Windows возникает ошибка “A Java Exception has occured”. Это у меня проблемы с виртуальной машиной?
жабу обнови
SCETER
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
Подскажите, пожалуйста, как запустить раннер на меньшее количество циклов, например 200 вместо 20000. Или как корректно завершить раннер, чтобы он заполнил файл game.log. Спасибо
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.
Подскажите, пожалуйста, как запустить раннер на меньшее количество циклов, например 200 вместо 20000. Или как корректно завершить раннер, чтобы он заполнил файл game.log. Спасибо
Крашнуть обе стратегии на 200 тике.
Krasoti both strategies on the 200 tick.
Thank you, helped, did not think to run two strategies simultaneously.
Крашнуть обе стратегии на 200 тике.
Благодарю, помогло, не догадался запустить две своих стратегии одновременно.
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?
Local-runner запустили, теперь собирайте-запускайте свою стратегию, она прицепится
А можно еще раз? У меня тоже не получается. Я запустил local-runner.bat, он ждет стратегию. Что запускать дальше, куда класть стратегию? У меня стратегия на Python, это на что то влияет?
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).
А можно еще раз? У меня тоже не получается. Я запустил local-runner.bat, он ждет стратегию. Что запускать дальше, куда класть стратегию? У меня стратегия на Python, это на что то влияет?
Дальше надо скомпилировать и запустить стратегию (например exe файл или прямо из IDE).
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.
А можно еще раз? У меня тоже не получается. Я запустил local-runner.bat, он ждет стратегию. Что запускать дальше, куда класть стратегию? У меня стратегия на Python, это на что то влияет?
Я запустил local-runner.bat, он ждет стратегию. Теперь Runner.py запусти.
>I’ve started a local runner.bat, he’s waiting strategy. Now Runner.py run.
Thank you, worked. Now I understand
Спасибо, заработало. Вот теперь я понял
Moscow
A nuclear attack works in the Local Runner?
Ядерный удар работает в Локал Ранере?
МГТУ им. Н.Э. Баумана
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?(
после обновы десятой винды до версии 1709, перестал запускаться локал раннер. пишет “не удается найти jawaw …”. данный файл в папке джавы присутствует, джава обновлена до последней версии, не подскажите что делать?(
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
после обновы десятой винды до версии 1709, перестал запускаться локал раннер. пишет “не удается найти jawaw …”. данный файл в папке джавы присутствует, джава обновлена до последней версии, не подскажите что делать?(
Вопрос решился, переменные среды не были установлены
Karachev
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.
Поигрался в localraner, нашёл такой глюк: KeyBoardPlayer за второго игрока не работает. Ещё очень мешает автоматическое движение камеры. Его можно как-то отключить? Так же есть ли возможность управлять строениями на карте и наносить ядерный удар управляя стратегией с клавиатуры? В инструкции ничего не сказано.
Saint Petersburg
good day to all and early local nuclear strike works? or am I doing something wrong ?.. allocate the unit, set the point of the explosion and wait 30 ticks/frame to the next movement/allocation but nothing happens =\
доброго дня всем а в локал раннее ядерный удар работает? или я что-то делаю не так ?.. выделяю юнита, задаю точку взрыва и жду 30 тиков/кадров до следующего движения/выделения но ничего не происходит =\
good day to all and early local nuclear strike works? or am I doing something wrong ?.. allocate the unit, set the point of the explosion and wait 30 ticks/frame to the next movement/allocation but nothing happens =\
Works. This orange circle
доброго дня всем а в локал раннее ядерный удар работает? или я что-то делаю не так ?.. выделяю юнита, задаю точку взрыва и жду 30 тиков/кадров до следующего движения/выделения но ничего не происходит =\
Работает. Такой оранжевый круг
Works. This orange circle
yeah, my bad… did not specify atrium/parameter user friendly technology )
Работает. Такой оранжевый круг
да, мой косяк… не указывал атриут/параметр дружественной техники )
Buy 'n' Large Megacorp.
me.remainingActionCooldownTicks() always returns 0. Looks like a bug.
me.remainingActionCooldownTicks() всегда возвращает 0. Похоже на баг.
me.remainingActionCooldownTicks() always returns 0. Looks like a bug.
variable me update every tick? • getPlayers public Player[] getPlayers( ) – Returns - Returns the list of players (in random order). Depending on the implementation, objects, giving players can be re-evaluated after each tick.
me.remainingActionCooldownTicks() всегда возвращает 0. Похоже на баг.
переменную me обновляете каждый тик? • getPlayers public Player[] getPlayers( ) – Returns - Возвращает список игроков (в случайном порядке). В зависимости от реализации, объекты, задающие игроков, могут пересоздаваться после каждого тика.
БФТ
Why world.getRandomSeed() (Java, if it matters) is different from the seed set in local-runner.properties? This is because it turns out that a local game with random led can’t be repeated.
А почему world.getRandomSeed() (Java, если это важно) отличается от seed, заданного в local-runner.properties? Это ведь получается, что локальную игру с рандомным сидом невозможно повторить.
Why world.getRandomSeed() (Java, if it matters) is different from the seed set in local-runner.properties? This is because it turns out that a local game with random led can’t be repeated.
In the log file (default game.log) contains the “right” seed.
А почему world.getRandomSeed() (Java, если это важно) отличается от seed, заданного в local-runner.properties? Это ведь получается, что локальную игру с рандомным сидом невозможно повторить.
В лог файле (по-умолчанию game.log) содержится “правильный” seed.
Jaypee University Noida
can any one explain in detail steps how can i run a simple sample on my local machine .
Russian AI Cup Team
can any one explain in detail steps how can i run a simple sample on my local machine .
Jaypee University Noida
Download and install Java 8. Add Java bin directory to PATH or create JAVA_HOME system variable (set it to Java install dir). Download and run Local runner (uses Java 8). Download any dev-kit and run it from IDE or compile and run it from command line. It automatically connects to the Local runner. ...
thanks !!
Minsk
In Local runner game but without the buildings?
В Local runner игры только без зданий?
JetBrains
In Local runner game but without the buildings?
local-runner.default.properties:
facilities=false
В Local runner игры только без зданий?
local-runner.default.properties:
facilities=false
Minsk
local-runner.default.properties: facilities=false
Thank you!
local-runner.default.properties: facilities=false
Спасибо!
Russia
And can anyone suggest how to start lokal-runner on Win10 display with a resolution of 3200 x 1800? If you run a local runner.bat, a window appears MIKROSKOPIChESKOE, disassemble, absolutely nothing is impossible.
А может кто-нибудь подсказать, как запустить локал-раннер на Win10 с разрешением дисплея 3200 х 1800? Если запускать local-runner.bat, окошко появляется микросопическое, разобрать абсолютно ничего нельзя.
Moscow
And can anyone suggest how to start lokal-runner on Win10 display with a resolution of 3200 x 1800? If you run a local runner.bat, a window appears MIKROSKOPIChESKOE, disassemble, absolutely nothing is impossible.
render-to-screen-size=3200x1800 In the file local-runner.default.properties
А может кто-нибудь подсказать, как запустить локал-раннер на Win10 с разрешением дисплея 3200 х 1800? Если запускать local-runner.bat, окошко появляется микросопическое, разобрать абсолютно ничего нельзя.
render-to-screen-size=3200x1800 В файле local-runner.default.properties
Russia
render-to-screen-size=3200x1800 In the file local-runner.default.properties
Thank you very much!
render-to-screen-size=3200x1800 В файле local-runner.default.properties
Спасибо большое!
Rostov-on-Don
Good Afternoon. In the file local-runner.default option facilities=true But after capturing the build and run actions (C++) _move->setAction(ActionType::SETUP_VEHICLE_PRODUCTION); _move->setVehicleType(VehicleType::BLACK); _move->setFacilityId(“id occupied buildings”); The production equipment will not start.
Although sending strategy and production equipment operates normally.
Добрый День. В файле local-runner.default параметр facilities=true Но после захвата построения и выполнения действия (с++) _move->setAction(ActionType::SETUP_VEHICLE_PRODUCTION); _move->setVehicleType(VehicleType::TANK); _move->setFacilityId(“id захваченного сооружения”); Производство техники не начинается.
Хотя отсылаю стратегию и производство техники нормально работает.
Good Afternoon. In the file local-runner.default option facilities=true But after capturing the build and run actions (C++) _move->setAction(ActionType::SETUP_VEHICLE_PRODUCTION); _move->setVehicleType(VehicleType::BLACK); _move->setFacilityId(“id occupied buildings”); The production equipment will not start. …
On the website it turns out doesn’t always work.
Добрый День. В файле local-runner.default параметр facilities=true Но после захвата построения и выполнения действия (с++) _move->setAction(ActionType::SETUP_VEHICLE_PRODUCTION); _move->setVehicleType(VehicleType::TANK); _move->setFacilityId(“id захваченного сооружения”); Производство техники не начинается. …
На сайте оказывается работает не всегда.
Good Afternoon. In the file local-runner.default option facilities=true But after capturing the build and run actions (C++) _move->setAction(ActionType::SETUP_VEHICLE_PRODUCTION); _move->setVehicleType(VehicleType::BLACK); _move->setFacilityId(“id occupied buildings”); The production equipment will not start. …
On the website it turns out doesn’t always work.
Добрый День. В файле local-runner.default параметр facilities=true Но после захвата построения и выполнения действия (с++) _move->setAction(ActionType::SETUP_VEHICLE_PRODUCTION); _move->setVehicleType(VehicleType::TANK); _move->setFacilityId(“id захваченного сооружения”); Производство техники не начинается. …
На сайте оказывается работает не всегда.
On the website it turns out doesn’t always work.
A limit on the number of actions taken into account?
На сайте оказывается работает не всегда.
Ограничение на количество действий учитываешь?
A limit on the number of actions taken into account?
Yes, of course.
_interval = floor(game.getActionDetectionInterval() / game.getBaseActionCount()) + 1; if (world.getTickIndex() % _interval == 0) { //Any action }
Ограничение на количество действий учитываешь?
Да конечно.
_interval = floor(game.getActionDetectionInterval() / game.getBaseActionCount()) + 1; if (world.getTickIndex() % _interval == 0) { //Любое действие }
Yes, of course. _interval = floor(game.getActionDetectionInterval() / game.getBaseActionCount()) + 1; if (world.getTickIndex() % _interval == 0) { //Any action }
Not sure there should be +1, it can influence it “over time.” Try to use me.getRemainingActionCooldownTicks() == 0
Да конечно. _interval = floor(game.getActionDetectionInterval() / game.getBaseActionCount()) + 1; if (world.getTickIndex() % _interval == 0) { //Любое действие }
Не уверен, что там нужно +1, оно может и влиять на это “через раз”. Попробуй использовать me.getRemainingActionCooldownTicks() == 0
Not sure there should be +1, it can influence it “over time.” Try to use me.getRemainingActionCooldownTicks() == 0
Thanks for the advice. Solved the problem in the following way. As in the case of NuclearStrike Added a ban on the use setAction for the time (inline) _game->getActionDetectionInterval();
after use (inline) _move->setAction(ActionType::SETUP_VEHICLE_PRODUCTION);
And technology is now created.
Не уверен, что там нужно +1, оно может и влиять на это “через раз”. Попробуй использовать me.getRemainingActionCooldownTicks() == 0
Спасибо за совет. Решил проблему следующим образом. Как и в случае с NuclearStrike Добавил запрет на использование setAction в течение времени (inline) _game->getActionDetectionInterval();
после использования (inline) _move->setAction(ActionType::SETUP_VEHICLE_PRODUCTION);
И техника теперь создается.
Moscow
Wanted to try to run several of their strategies. I heard it needs for the second of its strategy to register different port. Can you tell me where exactly this can be done?
Хотел попробовать запустить сразу несколько своих стратегий. Я слышал, для этого нужно для второй своей стратегии прописать другой порт. Не подскажите, где именно это можно сделать?
A
This file Runner (for example, Runner.java).
Это в файле Runner (например, Runner.java).
This file Runner (for example, Runner.java).
Thanks, helped!
Это в файле Runner (например, Runner.java).
Спасибо, помогло!