Page 1 of 2

version v1.060

Posted: Thu Apr 05, 2018 6:17 pm
by Stratego (dev)
version v1.059 is published.

Re: version v1.060

Posted: Fri Apr 06, 2018 11:45 am
by Sunrise Samurai
Slightly embarrassing to just now realize this, but Wolf den isn't buildable. I never tried to build it because most of my games are with someone using the public version. Now that it's published, I realized I can't use it anyway.

Image

Edit: can't even find it in map editor. Guess this one really slipped through. Probably because there were any new mechanics necessary to test.

Re: version v1.060

Posted: Fri Apr 06, 2018 5:03 pm
by Stratego (dev)
bummer... sad it did not come out for this long
thx

Re: version v1.060

Posted: Thu Apr 12, 2018 6:52 pm
by Sunrise Samurai
Wolf den is finally in, and on server. It works.....well, exactly as you might expect. A druid you can build basically.

Re: version v1.060

Posted: Sat Apr 14, 2018 1:19 am
by Sunrise Samurai
New wolf den bug. It can summon wolves while under construction (meaning, right after laying the foundation)

Also, we might as well give them autocast. No sense in not summoning every turn.

Re: version v1.060

Posted: Sat Apr 14, 2018 1:28 am
by Sunrise Samurai
They also don't use the "occupied" image

Re: version v1.060

Posted: Sat Apr 14, 2018 4:43 am
by Stratego (dev)
good! in next will be in!

Re: version v1.060

Posted: Sat Apr 14, 2018 10:05 pm
by Sunrise Samurai
Since they are a simpler tower that doesn't require careful use of what unit gets protection from it, can the ai default to wolf dens instead of outposts? The ai is likely to perform better using the extra wolves than the extra range to one unit at a time.

While you're at it, perhaps you can change guard towers over to fortresses for the ai. Most players don't use guard towers except in extremely close matches where there isn't time to make fortresses.

Re: version v1.060

Posted: Sun Apr 15, 2018 3:21 am
by Stratego (dev)
Sunrise Samurai wrote:Since they are a simpler tower that doesn't require careful use of what unit gets protection from it, can the ai default to wolf dens instead of outposts? The ai is likely to perform better using the extra wolves than the extra range to one unit at a time.
ok, i have it in as 50-50% which to build.
Sunrise Samurai wrote:
While you're at it, perhaps you can change guard towers over to fortresses for the ai. Most players don't use guard towers except in extremely close matches where there isn't time to make fortresses.
same, 50-50%

wil be in in next. thanks!

Re: version v1.060

Posted: Sun Apr 15, 2018 7:44 am
by Stratego (dev)
Hamletbach uipgrades are in!

uos 20

Re: version v1.060

Posted: Sun Apr 15, 2018 11:32 am
by Sunrise Samurai
Stratego (dev) wrote:
Sunrise Samurai wrote:Since they are a simpler tower that doesn't require careful use of what unit gets protection from it, can the ai default to wolf dens instead of outposts? The ai is likely to perform better using the extra wolves than the extra range to one unit at a time.
ok, i have it in as 50-50% which to build.
Sunrise Samurai wrote:
While you're at it, perhaps you can change guard towers over to fortresses for the ai. Most players don't use guard towers except in extremely close matches where there isn't time to make fortresses.
same, 50-50%

wil be in in next. thanks!
Nice. Didn't know you could mix them.

Given that you can make a ratio, is it possible to do something a bit more complex with undead? 75% bone towers to 25% spirit towers, and the ai automatically transforms bone towers. Add to this bone and flesh golems actively attempt to stay within a location that has delayed vanishing aura, and only leave if they can attack as soon as the movement is finished. It's a bit harder to set up I know, but would result in the ai at least appearing to have a level of competence, rather than using bone towers like expensive gates.

Re: version v1.060

Posted: Sun Apr 15, 2018 2:21 pm
by Stratego (dev)
That would need heavy coding

Re: version v1.060

Posted: Sun Apr 15, 2018 2:48 pm
by Sunrise Samurai
Alright then. Might make undead just build spirit towers, to cooperate better with allied units. For example, allied elves can have wolves last longer if they end up nearby.

Can hamletbacks get matching images please. This looks rather odd to change skin color on upgrade.
Image

Re: version v1.060

Posted: Mon Apr 16, 2018 1:40 am
by Sunrise Samurai
Warning to everyone about version disparity. It appears hamletback drops upgraded spikers based on the player who's turn it is. This means if your opponent researched master goblins and puts out a hamletback, but doesn't have a version that includes upgraded spikers, then the act of damaging said hamletback will spawn game crashing units. This includes poison damage.

@General Brave: I sincerely hope you have the latest version. I just discovered this in our tournament match, including the poison damage part. Tried to kill them all, but the ones spawning from poison I didn't catch. Sorry if this messed the game up.

Re: version v1.060

Posted: Mon Apr 16, 2018 4:48 am
by General Brave
It was because I have the dev version.

Re: version v1.060

Posted: Wed Apr 25, 2018 5:19 am
by Stratego (dev)
Guess what!

We a new race in AOF! DWARVES!

Special thanks to General Brave for jsonizing them! It was an Act of Valor must be listed in Hall of fames ! :)

ATTENTION!: Do not make multiplayer game that can be joined by non-dev version users! you can kill all multiplayer lobby if you do so. thanks!


uos 10

Re: version v1.060

Posted: Wed Apr 25, 2018 5:37 am
by Typhoon
That was pretty fast :)

Re: version v1.060

Posted: Wed Apr 25, 2018 5:39 am
by General Brave
Who knew all you guys needed was me.

Re: version v1.060

Posted: Wed Apr 25, 2018 5:47 am
by General Brave
Still some problems.

Re: version v1.060

Posted: Wed Apr 25, 2018 6:19 am
by makazuwr32
Can't launch the latest dev version.
Crashes.

java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:309)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.zts.strategylibrary.AccountDataHandler.getAccountData(AccountDataHandler.java:769)
at com.zts.strategylibrary.SplashScreen$PrefetchData.doInBackground(SplashScreen.java:147)
at com.zts.strategylibrary.SplashScreen$PrefetchData.doInBackground(SplashScreen.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
... 3 more

Re: version v1.060

Posted: Wed Apr 25, 2018 10:37 am
by Sunrise Samurai
Best update ever. Still needs a lot of work, and not yet balanced, but awesome. I'll need to open a couple topics on unit balance, but some general problems with dwarves I'll post here.

Dwarf ai builds human buildings
Still need proper names
Buildings claim to be buildable by billman and warrior, but they can't lay foundation or mend.
They need a basic tower
Cleric should be an upgrade to priest, not a separate, superior unit

Can we make password protected games or will that still kill the lobby because they can be viewed and passwords can expire? We may need a separate multiplayer lobby only accessible via dev version.

Re: version v1.060

Posted: Fri Apr 27, 2018 8:57 pm
by Stratego (dev)
dwarver now build proper houses, and also train proper units. - uos 15

for this i made a new jsoning possibility in buildables.json, where all AI build strategy can be tuned.

here is a sample (only for dwarves - other races are still in code with similar settings:

Code: Select all

"buildTargets" : [
	{"productionRole":"BASIC_TASK_BUILD_FACTORY", "trnRace":"RACE_DWARF", "trnTerrain":"TERRAIN_WATER", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_BUILDING_DWARF_RUNE_MASON"]}}]},
	{"productionRole":"BASIC_TASK_BUILD_FACTORY", "trnRace":"RACE_DWARF", "trnTerrain":"TERRAIN_CLEARGROUND", 
		"buildPriors" : [
			{"weight":80, "unitList":{"unitTypes":["UNIT_BUILDING_DWARF_DWARVEN_BARRACK"]}},
			{"weight":20, "unitList":{"unitTypes":["UNIT_BUILDING_DWARF_SHOOTING_STAND","UNIT_BUILDING_DWARF_CRAFTSMANS_GUILD"]}}
			]
	},
	
	
	{"productionRole":"TASK_TC_BUILD_DEFENSE", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WORKER"]}}]},
	
	
	{"productionRole":"TASK_EXPLORING", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_BEAR_RIDER"]}}]},
	
	{"productionRole":"TASK_DO_WATER_CARRY", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_ZEPPELIN_CARRIER"]}}]},
	
	{"productionRole":"TASK_MEND_UNIT", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WORKER"]}}]},
	
	{"productionRole":"TASK_TC_OCCUPY_ENEMY", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_BEAR_RIDER"]}}]},
	
	{"productionRole":"TASK_SPELL_ON_ENEMY_UNIT_OR_CONVERT", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWAR_PRIEST", "UNIT_DWARF_DWARF_CLERIC", "UNIT_DWARF_DWARVEN_ALCHEMIST"]}}]},
	
	{"productionRole":"TASK_HEAL_UNIT", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWAR_PRIEST", "UNIT_DWARF_DWARF_CLERIC"]}}]},
	
	{"productionRole":"FIELD_ATTACKER_CHEAP", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WARRIOR", "UNIT_DWARF_DWARVEN_DEFENDER"]}}]},
	
	{"productionRole":"TASK_ATTACK_ENEMY_BUILDING", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WARRIOR"]}}]},
	
	
	
	
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_BEAR_RIDER"]}}]},
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_ORC", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_ORC_RAPTOR_RIDER"]}}]},
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_UNDEAD", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_UND_KNIGHT"]}}]},
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_HUMAN", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_KNIGHT"]}}]},
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_ELF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_ELF_UNICORN_RIDER"]}}]},
	
	
	{"productionRole":"DEFAULT_PRODUCTION", "trnRace":"RACE_DWARF", 
		"buildPriors" : [
			{"weight":50, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WARRIOR", "UNIT_DWARF_DWARVEN_DEFENDER", "UNIT_DWARF_DWARVEN_CROSSBOWS"]}},
			{"weight":20, "unitList":{"unitTypes":["UNIT_DWARF_MITHRIL_GUARD","UNIT_DWARF_BEAR_RIDER","UNIT_DWARF_BOAR_RIDER",  "UNIT_DWARF_DWARVEN_RIFLEMAN", "UNIT_DWARF_DWARVEN_RIFLEMAN_SHIELDED"]}}
			]
	}

Re: version v1.060

Posted: Fri Apr 27, 2018 9:07 pm
by Sunrise Samurai
[quote="Stratego (dev)"
for this i made a new jsoning possibility in buildables.json, where all AI build strategy can be tuned.

here is a sample (only for dwarves - other races are still in code with similar settings:

Code: Select all

"buildTargets" : [
	{"productionRole":"BASIC_TASK_BUILD_FACTORY", "trnRace":"RACE_DWARF", "trnTerrain":"TERRAIN_WATER", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_BUILDING_DWARF_RUNE_MASON"]}}]},
	{"productionRole":"BASIC_TASK_BUILD_FACTORY", "trnRace":"RACE_DWARF", "trnTerrain":"TERRAIN_CLEARGROUND", 
		"buildPriors" : [
			{"weight":80, "unitList":{"unitTypes":["UNIT_BUILDING_DWARF_DWARVEN_BARRACK"]}},
			{"weight":20, "unitList":{"unitTypes":["UNIT_BUILDING_DWARF_SHOOTING_STAND","UNIT_BUILDING_DWARF_CRAFTSMANS_GUILD"]}}
			]
	},
	
	
	{"productionRole":"TASK_TC_BUILD_DEFENSE", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WORKER"]}}]},
	
	
	{"productionRole":"TASK_EXPLORING", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_BEAR_RIDER"]}}]},
	
	{"productionRole":"TASK_DO_WATER_CARRY", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_ZEPPELIN_CARRIER"]}}]},
	
	{"productionRole":"TASK_MEND_UNIT", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WORKER"]}}]},
	
	{"productionRole":"TASK_TC_OCCUPY_ENEMY", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_BEAR_RIDER"]}}]},
	
	{"productionRole":"TASK_SPELL_ON_ENEMY_UNIT_OR_CONVERT", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWAR_PRIEST", "UNIT_DWARF_DWARF_CLERIC", "UNIT_DWARF_DWARVEN_ALCHEMIST"]}}]},
	
	{"productionRole":"TASK_HEAL_UNIT", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWAR_PRIEST", "UNIT_DWARF_DWARF_CLERIC"]}}]},
	
	{"productionRole":"FIELD_ATTACKER_CHEAP", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WARRIOR", "UNIT_DWARF_DWARVEN_DEFENDER"]}}]},
	
	{"productionRole":"TASK_ATTACK_ENEMY_BUILDING", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WARRIOR"]}}]},
	
	
	
	
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_DWARF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_DWARF_BEAR_RIDER"]}}]},
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_ORC", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_ORC_RAPTOR_RIDER"]}}]},
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_UNDEAD", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_UND_KNIGHT"]}}]},
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_HUMAN", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_KNIGHT"]}}]},
	{"productionRole":"FASTEST_UNIT_THAT_CAN_OCCUPY", "trnRace":"RACE_ELF", "buildPriors" : [{"weight":10, "unitList":{"unitTypes":["UNIT_ELF_UNICORN_RIDER"]}}]},
	
	
	{"productionRole":"DEFAULT_PRODUCTION", "trnRace":"RACE_DWARF", 
		"buildPriors" : [
			{"weight":50, "unitList":{"unitTypes":["UNIT_DWARF_DWARVEN_WARRIOR", "UNIT_DWARF_DWARVEN_DEFENDER", "UNIT_DWARF_DWARVEN_CROSSBOWS"]}},
			{"weight":20, "unitList":{"unitTypes":["UNIT_DWARF_MITHRIL_GUARD","UNIT_DWARF_BEAR_RIDER","UNIT_DWARF_BOAR_RIDER",  "UNIT_DWARF_DWARVEN_RIFLEMAN", "UNIT_DWARF_DWARVEN_RIFLEMAN_SHIELDED"]}}
			]
	}
[/quote]

Please post the JSONs for all races. I'd like to examine them. I asked for this before and am quite happy you made it. Might be a while, but I'm going to see if I can make some improvements/alternative strategies.

Re: version v1.060

Posted: Sat Apr 28, 2018 4:33 am
by Stratego (dev)
i dont have them in json, but if u could help me turn the "coded" parts into this json form that would be cool - email me.
thanks!

Re: version v1.060

Posted: Tue May 01, 2018 7:38 am
by Stratego (dev)
ok, Sunrise Samurai:

i have all setting in json, we can now tune it:

Re: version v1.060

Posted: Tue May 01, 2018 11:37 am
by Sunrise Samurai
Emailed some questions on it. Though I forgot to ask, is it possible to create new categories and behaviors? For example, build x next to y? I want to be able to make the ai build things adjacent to factories (towers to defend the base)and objects such as siege adjacent to any worker it owns.

Re: version v1.060

Posted: Tue May 01, 2018 4:51 pm
by Stratego (dev)
Sunrise Samurai wrote:Emailed some questions on it. Though I forgot to ask, is it possible to create new categories and behaviors? For example, build x next to y? I want to be able to make the ai build things adjacent to factories (towers to defend the base)and objects such as siege adjacent to any worker it owns.

no, sorry this is not the way to configure detailed build strategies, these are only answers for questions of ai about what to build for a given "task"

Re: version v1.060

Posted: Fri May 04, 2018 1:50 pm
by Alpha
Damn I wish I have dev version, but my cursed phone will not let me download it!

Re: version v1.060

Posted: Fri May 04, 2018 3:02 pm
by Stratego (dev)
Alpha wrote:Damn I wish I have dev version, but my cursed phone will not let me download it!
Who gave u dev version?

Re: version v1.060

Posted: Fri May 04, 2018 3:04 pm
by Alpha
You did!