Search

Search found 93 matches

by prandipadaro
30 Nov 2015, 22:23
Forum: AI
Topic: Shard 0.4/dev
Replies: 839
Views: 102860

Re: Shard 0.4/dev

i try to test this new logic ,on linux with portable installation of spring -downloaded from git and extract the shard. -copy a older version of shard that work on my spring. -delete the AI/Skirmish/Shard/dev folder -put the data folder downloaded from git in AI/Skirmish/shard -rename the folder and...
by prandipadaro
04 Oct 2015, 11:03
Forum: Art & Modelling
Topic: /luarules reload not working
Replies: 16
Views: 5329

Re: /luarules reload not working

ok but /editdefs what is?
by prandipadaro
04 Oct 2015, 10:48
Forum: Art & Modelling
Topic: /luarules reload not working
Replies: 16
Views: 5329

Re: /luarules reload not working

So sorry if i reopen this topic but i have a similar problem and dont want to open new question. I try to understand something about games, i use the springtutorialgame for test. Just rewrite a weapon and try to test some field like: reloadtime, weapontype, etc. In order to change ingame the paramet...
by prandipadaro
19 Aug 2015, 07:29
Forum: AI
Topic: Shard 0.4/dev
Replies: 839
Views: 102860

Re: Shard 0.35RC2 & 0.31.1 Not So Ballsey

the reclaim order is in the BA/taskqueues.lua
-- mobile construction units:
in the queue of

Code: Select all

local anyConUnit={
after

Code: Select all

BuildHeavyishAA,
by prandipadaro
18 Aug 2015, 13:19
Forum: AI
Topic: Shard 0.4/dev
Replies: 839
Views: 102860

Re: Shard 0.35RC2 & 0.31.1 Not So Ballsey

Hi i try to work on shard and i have a problem i try to give an reclaim order to a unit with function reclaim_test(self) order=CustomCommand(self.unit:Internal(), CMD_RECLAIM, {XXX}) return order end where XXX is obteined from another unit with: XXX=self.unit:Internal():ID() does not work, can you h...
by prandipadaro
20 Jul 2015, 22:13
Forum: Balanced Annihilation
Topic: BAR names
Replies: 41
Views: 6016

Re: BAR names

break all rules
rent a bike
brains after radiation
bad androids redone
by prandipadaro
30 Jun 2015, 20:26
Forum: AI
Topic: genetic algorithm on shard
Replies: 25
Views: 2992

Re: genetic algorithm on shard

for now i have used some constants in AI/Skirmish/Shard/dev/ai/BA/ in the file file: taskqueuebehaviour.lua for example in the formula at line 19: local enoughMetalReserves = math.min(ai.Metal.income, ai.Metal.capacity * var._enoughMetalReserves_) the variable var._enoughMetalReserves_ is in another...
by prandipadaro
30 Jun 2015, 12:32
Forum: AI
Topic: genetic algorithm on shard
Replies: 25
Views: 2992

Re: genetic algorithm on shard

Even if I did not say anything, the work continued. An unstable and sloppy versionof a script that looks like a genetic algorithm is almost ready. At this point I would need a pair of little help: The thing that interests me most now is the chance to re-start a battle through spring-headles path/to/...
by prandipadaro
08 Jun 2015, 13:31
Forum: Lua Scripts
Topic: lua script outside a game
Replies: 10
Views: 1199

Re: lua script outside a game

Forboding Angel wrote:Use relative paths :-)
what do you mean?
by prandipadaro
07 Jun 2015, 22:29
Forum: Lua Scripts
Topic: lua script outside a game
Replies: 10
Views: 1199

Re: lua script outside a game

now I understand
maybe
by prandipadaro
07 Jun 2015, 22:12
Forum: Lua Scripts
Topic: lua script outside a game
Replies: 10
Views: 1199

Re: lua script outside a game

Silentwings wrote:Iirc you only have access to the filesystem within your spring datadir, using relative paths.
ok but the path is in the spring datadir
there are a guide that explain how to move between the folders?
by prandipadaro
07 Jun 2015, 21:59
Forum: Lua Scripts
Topic: lua script outside a game
Replies: 10
Views: 1199

Re: lua script outside a game

so a new little question i have write a script in /.spring/LuaUI/widgets i need to create read and write some file in different paths so if i use simple: local f = io.open("example", 'w+') f:write('hello') f:close() all work fine and spring automatic create file in /.config/spring but if i...
by prandipadaro
05 Jun 2015, 22:41
Forum: Lua Scripts
Topic: lua script outside a game
Replies: 10
Views: 1199

lua script outside a game

i have write a little script function gadget:GetInfo() return { name = "AIinfo", desc = "get the performance of the ai's", author = "prandipadaro", date = "6/6/2015", license = "GPLv2", layer = -1, enabled = true -- loaded by default? } end function ...
by prandipadaro
05 Jun 2015, 18:56
Forum: SpringLobby Client
Topic: SpringLobby 0.271 released!
Replies: 289
Views: 66886

Re: SpringLobby 0.224 released!

oh!
if i change the edit/preference/spring and i modify the path of engine... it work!
thanks
by prandipadaro
05 Jun 2015, 18:50
Forum: SpringLobby Client
Topic: SpringLobby 0.271 released!
Replies: 289
Views: 66886

Re: SpringLobby 0.224 released!

sorry
here i have the 98.0 engine
if selected

engine is in /usr/games/spring

lib unitsync
/usr/lib/spring/libunitsync.so
by prandipadaro
05 Jun 2015, 18:16
Forum: SpringLobby Client
Topic: SpringLobby 0.271 released!
Replies: 289
Views: 66886

Re: SpringLobby 0.224 released!

help/system info SpringLobby 0.224 (unix x64) SpringLobby config file: /home/p/.springlobby/springlobby.conf ( writable) LobbyWriteDir (/home/p/.springlobby/) WX: yes POSIX: yes TRY: yes CachePath (/home/p/.springlobby/cache/) WX: yes POSIX: yes TRY: yes ExecutableFolder (/usr/local/bin/) WX: no POS...
by prandipadaro
05 Jun 2015, 13:13
Forum: SpringLobby Client
Topic: SpringLobby 0.271 released!
Replies: 289
Views: 66886

Re: SpringLobby 0.224 released!

just installed springlobby 0.224
but i cant see the map and the games
usually i put the maps and games folder in springlobby directory
there are bugs or i make something of wrong?
by prandipadaro
04 Jun 2015, 22:51
Forum: AI
Topic: genetic algorithm on shard
Replies: 25
Views: 2992

Re: genetic algorithm on shard

just reinstalled all, so spring and spring-headless works fine!!!!! thanks.
only some trouble with springlobby 217 but maibe is not very important.
abma great
I will continue tomorrow
by prandipadaro
04 Jun 2015, 21:58
Forum: AI
Topic: genetic algorithm on shard
Replies: 25
Views: 2992

Re: genetic algorithm on shard

sorry i have 2 engine installed 96 and 98 but if i launch with:
spring-headless /home/p/.spring/engine/98.0/script.txt
the problem is the same,

it is as if spring would use only the version 96, how can I tell it to use the 98?
by prandipadaro
04 Jun 2015, 21:45
Forum: AI
Topic: genetic algorithm on shard
Replies: 25
Views: 2992

Re: genetic algorithm on shard

script.txt [GAME] { HostIP=; HostPort=8452; IsHost=1; MyPlayerName=Player; ModHash=3746332742; MapHash=4141529267; Mapname=Altair_Crossing-V1; GameType=Balanced Annihilation V8.17; startpostype=3; [mapoptions] { } [modoptions] { relayhoststartpostype=3; disablemapdamage=0; fixedallies=1; mo_comgate=...

Go to advanced search