Ressource existence

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 565

Ressource existence

Post#1 » 20 Sep 2017, 19:06

Why a ressource doesnt exist when she is carried? For me she still exist but cant be catch (as when you carry a ressource you cant attack)

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 565

Re: Ressource existence

Post#2 » 21 Sep 2017, 01:04

I say that cause when a tagged ressource is catch, then she diseapered but if the bot release it then she appear with the tag.

So there is the problem i got: i only tag 1 ressource A if there is not ressource tagged A but when i catch it my bot will see that there is no more ressource tagged A so they will tag 1 ressource but if the bot who carries the first ressource release it i got 2 A ressoutce in the map (which normally have not to happen for my AI)

So for me the ressource carried have not to doesnt exist, they still exist and can be tagged or untagged but cant be catch (because they are already catch)

User avatar
LuBeNo
Autonomous Entity
Autonomous Entity
Posts: 532

Re: Ressource existence

Post#3 » 21 Sep 2017, 07:12

Just don't tag if any bot carries a resource.
Image
My algorithm of life: if(self.tired) sleep(); else if(self.hungry) eat(); else follow(Jesus);

TheKidPunisher
Autonomous Entity
Autonomous Entity
Posts: 565

Re: Ressource existence

Post#4 » 21 Sep 2017, 13:48

So for you it is normal that when you carry something, it disappears?

I never tag ressource before i do not have encounter this, and it seems not logical to me. But maybe it is just me (cause nobody else make remarks about it)

User avatar
LuBeNo
Autonomous Entity
Autonomous Entity
Posts: 532

Re: Ressource existence

Post#5 » 21 Sep 2017, 14:30

It has the nice side effect, that a bot can simply pick up to the nearest (uncarried) resource.
Otherwise if 2 bots would gather the same nearest resources, one of them would escort the other one to the base.
Image
My algorithm of life: if(self.tired) sleep(); else if(self.hungry) eat(); else follow(Jesus);

User avatar
Kanishka
Skynet
Skynet
Posts: 1421
Contact:

Re: Ressource existence

Post#6 » 21 Sep 2017, 15:44

IMHO TKP is right... We'd have more filters like Carried, NotCarried to prevent escorting Bots... But hey that Resource didn't vanish.
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

Jeffrey Harpen
Automaton
Automaton
Posts: 122

Re: Ressource existence

Post#7 » 21 Sep 2017, 23:33

I had the same problem once, but right now I have another idea and it's not a problem anymore. However I agree with TheKidPunisher: it would be better if resources carried were also "visible" and keep tags.

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Ressource existence

Post#8 » 23 Sep 2017, 00:50

I must admit it was a bad / lazy design decision from the beginning.
It won't be trivial to change it but I'll try to find a solution with as less impact as possible on your AIs.

User avatar
Kanishka
Skynet
Skynet
Posts: 1421
Contact:

Re: Ressource existence

Post#9 » 23 Sep 2017, 04:02

GFX47 wrote:I must admit it was a bad / lazy design decision from the beginning.
It won't be trivial to change it but I'll try to find a solution with as less impact as possible on your AIs.


Why not the Carried/Not Carried filters and keeping Tags? Someday.
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

User avatar
LuBeNo
Autonomous Entity
Autonomous Entity
Posts: 532

Re: Ressource existence

Post#10 » 23 Sep 2017, 08:18

GFX47 wrote:...I'll try to find a solution with as less impact as possible on your AIs.

Perhaps you could add a review tag for affected nodes after an update changing game mechanic.
So you can implement the best solution without needing to consider less impact so much.
Image
My algorithm of life: if(self.tired) sleep(); else if(self.hungry) eat(); else follow(Jesus);

User avatar
GFX47
Dev
Dev
Posts: 2914

Re: Ressource existence

Post#11 » 23 Sep 2017, 10:59

I already have a solution for AI migration actually.

User avatar
Kanishka
Skynet
Skynet
Posts: 1421
Contact:

Re: Ressource existence

Post#12 » 23 Sep 2017, 11:34

GFX47 wrote:I already have a solution


What's the solvent?
That was a bad joke, sorry.
Fixes break an AI more than bugs do. :ugeek:

Gladiabots Off-Topic Chat


My Stats: Kanishka_RN3;Kanishka_MiPad

Return to “Questions”

Who is online

Users browsing this forum: No registered users and 1 guest