Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-06T09:55:17Z
Originally Posted by: Aztlan 

Originally Posted by: xyzombie89 

Replaced the file, tested AI using a Dragon Ruler Deck against my Rock Stun.

When I set a monster During the AI's turn as soon as the AI attempts to special summon a monster a crash occurs shortly after before the special summon is complete.

"AI activates say Tempest for example banishes two cards to meet the summoning requirement, Tempest is just shown in hand and then a crash occurs it never finishes the summon" Also happens when using any of the smaller incarnate dragons effect to summon as well.


I'm experiencing a similar crash problem. My crash occurred right after the AI used Monster Reborn and Snatch Steal.



Tested and fixed it.
flowoftime
2013-07-06T15:11:47Z
Fatal Errors within AI.lua:

1. AI chain the same card to the same target, example: AI chain MST follow by MST to the SAME SET spell/trap card.
2. the same goes to Compulsory Evacuation Device.
3. AI prioritize to Special Summon any monster(s) in Face-Up Defence Position even if i have lower ATK monster(s). this happened almost everytime, example: AI SS Red-Eyes Darkness Dragon in Face-Up Defence Position then SS Dragon monster with REDD's effect also in Face-Up Defence Position while i have lower ATK monster(s).
4. AI chain trap cards such as Torrential Tribute with Compulsory Evacuation Device or Bottomless Trap Hole or Dimensional Prison which is ridiculous.
5. AI activated Compulsory Evacuation Device to target his own monster when i don't have any monster in my field.
6. AI activated Gladiator Beast War Chariot to target his own monster.

more to come...
Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-07T10:06:51Z
Originally Posted by: flowoftime 

Fatal Errors within AI.lua:

1. AI chain the same card to the same target, example: AI chain MST follow by MST to the SAME SET spell/trap card.
2. the same goes to Compulsory Evacuation Device.
3. AI prioritize to Special Summon any monster(s) in Face-Up Defence Position even if i have lower ATK monster(s). this happened almost everytime, example: AI SS Red-Eyes Darkness Dragon in Face-Up Defence Position then SS Dragon monster with REDD's effect also in Face-Up Defence Position while i have lower ATK monster(s).
4. AI chain trap cards such as Torrential Tribute with Compulsory Evacuation Device or Bottomless Trap Hole or Dimensional Prison which is ridiculous.
5. AI activated Compulsory Evacuation Device to target his own monster when i don't have any monster in my field.
6. AI activated Gladiator Beast War Chariot to target his own monster.

more to come...



There is no way to fix chaining cards to the same target, just because we can't check id of card's that are already chained to a card, only thing that i can do is prevent chaining those cards at all.

3. Isn't an error, as ai will summon monsters in defence position as long as players strongest monster has more attack, i have no plans on changing it yet, as there are more important things to do.

flowoftime
2013-07-07T10:19:40Z
Originally Posted by: Sebrian 

There is no way to fix chaining cards to the same target, just because we can't check id of card's that are already chained to a card, only thing that i can do is prevent chaining those cards at all.

3. Isn't an error, as ai will summon monsters in defence position as long as players strongest monster has more attack, i have no plans on changing it yet, as there are more important things to do.



1. this SS in defence position is constant in every duels i ever had. i have less ATK monster(s) than AI... either if a monster was SS by REDD or Monster Reborn, Lumina, etc even Wulf.

2. AI Xyz summon Gagaga Cowboy while having 1 Gladiator Beast and Prisma who have copied Bestiari.

3. can you limit the AI so AI can only use 1 MST or 1 Compulsory per turn?
Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-07T10:26:39Z
Originally Posted by: flowoftime 

Originally Posted by: Sebrian 

There is no way to fix chaining cards to the same target, just because we can't check id of card's that are already chained to a card, only thing that i can do is prevent chaining those cards at all.

3. Isn't an error, as ai will summon monsters in defence position as long as players strongest monster has more attack, i have no plans on changing it yet, as there are more important things to do.



1. this SS in defence position is constant in every duels i ever had. i have less ATK monster(s) than AI... either if a monster was SS by REDD or Monster Reborn, Lumina, etc even Wulf.

2. AI Xyz summon Gagaga Cowboy while having 1 Gladiator Beast and Prisma who have copied Bestiari.

3. can you limit the AI so AI can only use 1 MST or 1 Compulsory per turn?



1. Did you download my Special summoning hotfix ? Because i tested it with Monster Reborn, and card effects such as
The Agent of Creation - Venus, it works as intended for me.

I will start fixing Xyz monsters only when basic aspects will be done (Monster tributing logic, equip and other spell cards, trap cards.)


Edit: I think i found an error, Ai only checked cards attack in his own graveyard, deck etc and ignored ones in player’s, tested it a bit, but i hope you can test these changes better and give me some feedback.

http://www.2shared.com/file/s1U1e8Ba/ai_SS.html 
Six
  • Six
  • Advanced Member
2013-07-07T13:18:14Z
First. Congratulations for the great job. I really like to test my decks offline. Errors within AI.lua: Ai.lua set normal spell cards on the field during the duel.

waiting for next uptade.
Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-07T13:31:11Z
Originally Posted by: Six 

First. Congratulations for the great job. I really like to test my decks offline. Errors within AI.lua: Ai.lua set normal spell cards on the field during the duel.

waiting for next uptade.



It's not really an error, ytterbite made AI to set normal spell cards as decoy, of course it can be changed, but i don't feel like it's a bad move for Ai.
flowoftime
2013-07-07T14:09:44Z
Originally Posted by: Sebrian 

1. Did you download my Special summoning hotfix ? Because i tested it with Monster Reborn, and card effects such as
The Agent of Creation - Venus, it works as intended for me.

I will start fixing Xyz monsters only when basic aspects will be done (Monster tributing logic, equip and other spell cards, trap cards.)


Edit: I think i found an error, Ai only checked cards attack in his own graveyard, deck etc and ignored ones in player’s, tested it a bit, but i hope you can test these changes better and give me some feedback.

http://www.2shared.com/file/s1U1e8Ba/ai_SS.html 



thanks for the new AI.lua. [:thumbu:]

Review:
Battle position fixed, tested with: [:dance:]
1. A Hero Lives.
2. Monster Reborn.
3. Gladiator Beast's SS effect.

Note:
1. if i have higher ATK monster(s), AI will SS in des pos with the cards above.
2. AI will NORMAL SET monster if i have higher ATK monster.
3. AI will attack lower ATK monster while i have another monster with the same ATK as AI's monster: i have Magical Exemplar 1700 ATK and High Priestess of Prophecy 2500 ATK, AI SS Gladiator Beast Essedarii 2500ATK in ATK POS and attack Magical Exemplar.

sadly, Save Replay was removed from AI Mode, so i can't attach .yrp files. [:sad:]

great job! [:thumbu:]


Troubleshoots:
1. AI prioritize to attack def pos monster while i have lower ATK monster.
2. AI activate Gagaga Cowboy's effect while i have monster in def pos.
3. AI still chain the same card in the same turn, tested with: Waboku - AI chain 2 Waboku(s) at the same turn and chain 3 Mirror Wall(s) at the same turn.
4. AI activated Forbidden Lance while there's no spell/trap card was being activated at the start of MP1.

more to come...
Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-07T14:34:17Z
Originally Posted by: flowoftime 

Originally Posted by: Sebrian 

1. Did you download my Special summoning hotfix ? Because i tested it with Monster Reborn, and card effects such as
The Agent of Creation - Venus, it works as intended for me.

I will start fixing Xyz monsters only when basic aspects will be done (Monster tributing logic, equip and other spell cards, trap cards.)


Edit: I think i found an error, Ai only checked cards attack in his own graveyard, deck etc and ignored ones in player’s, tested it a bit, but i hope you can test these changes better and give me some feedback.

http://www.2shared.com/file/s1U1e8Ba/ai_SS.html 



thanks for the new AI.lua. [:thumbu:]

Review:
Battle position fixed, tested with: [:dance:]
1. A Hero Lives.
2. Monster Reborn.
3. Gladiator Beast's SS effect.

Note:
1. if i have higher ATK monster(s), AI will SS in des pos with the cards above.
2. AI will NORMAL SET monster if i have higher ATK monster.
3. AI will attack lower ATK monster while i have another monster with the same ATK as AI's monster: i have Magical Exemplar 1700 ATK and High Priestess of Prophecy 2500 ATK, AI SS Gladiator Beast Essedarii 2500ATK in ATK POS and attack Magical Exemplar.

sadly, Save Replay was removed from AI Mode, so i can't attach .yrp files. [:sad:]

great job! [:thumbu:]


Troubleshoots:
1. AI prioritize to attack def pos monster while i have lower ATK monster.
2. AI activate Gagaga Cowboy's effect while i have monster in def pos.
3. AI still chain the same card in the same turn, tested with: Waboku - AI chain 2 Waboku(s) at the same turn and chain 3 Mirror Wall(s) at the same turn.
4. AI activated Forbidden Lance while there's no spell/trap card was being activated at the start of MP1.

more to come...



Thanks for testing, i will fix chaining same id cards as soon as i'm done with ai's tributing logic.

FAD!
  • FAD!
  • Advanced Member
2013-07-07T15:48:11Z
Just be careful when fixing chaining cards with the same ID, it's not always a bad thing. Extensive testing will be required.
srex
  • srex
  • Advanced Member
2013-07-08T13:11:56Z
Originally Posted by: FAD! 

Just be careful when fixing chaining cards with the same ID, it's not always a bad thing. Extensive testing will be required.



well its not a bad thing when he chain two MST on two different cards but i think its kinda hilarious when ai use 3 MST on my Hero Medal card [:laugh:] but i think chaining cards with same id is not that big problem.Biggest is probably when AI use OP cards like Solemns ,BoFF Bear and other cards on him self.I can play with ai who use same id cards but its kinda bad to see ai how destroys himself with these cards.Oh yea and other big problem is when ai spend 2 minute to summon neo galaxy eyes photon dragon then he use Reborn to call back Trasher and then sacrifice both for Galaxy-Eyes Photon Dragon,but i hope that can be fixed [:smile:]
Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-09T15:05:19Z
Just a quick note, i spent so much time trying to figure out why is my Ai tributing logic applying only to 1 tribute (it works for one monster, but the second will be selected randomly) that i got bored and sick of coding. So there will be no updates for 1-2 days including this one, so yeah, if anyone wants to help me with it send me pm or something, it would be appreciated, ok bye.
Adreth
2013-07-09T15:14:39Z
AI Dynames bug
Game crashes when AI has lvl 5 or higher monster in his hand
Please fix it
NOTE: i'm still using 0.3 AI
UserPostedImage
Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-09T16:14:18Z
Originally Posted by: Adreth 

AI Dynames bug
Game crashes when AI has lvl 5 or higher monster in his hand
Please fix it
NOTE: i'm still using 0.3 AI



Just download latest version.
leokearon
2013-07-11T06:04:49Z
Great ai it's nice to final duel with the game crashing when the ai tries to tribute summon. One little problem, the ai is a bit too happy now to tribute summon. I was duelling against my Yugi deck and the ai tribute summons for Buster Blader, only for on it's next turn to tribute Buster Blader for Jacl's Knight for no reason apart seemingly that it could
StoneColdET
2013-07-12T23:04:38Z
Originally Posted by: leokearon 

Great ai it's nice to final duel with the game crashing when the ai tries to tribute summon. One little problem, the ai is a bit too happy now to tribute summon. I was duelling against my Yugi deck and the ai tribute summons for Buster Blader, only for on it's next turn to tribute Buster Blader for Jacl's Knight for no reason apart seemingly that it could


Yeah, I noticed this as well. The AI will tribute summon Dark Magician, then next turn tribute that to summon Swift Gaia the Fierce Knight, then next turn tribute that to summon Jack's Knight. Like WTF? It's so retarded.

I also noticed a few issues that might've been brought up already.

- The AI will negate its own cards. For example, if I attack, it'll activate Mirror Force and then use Seven Tools to negate that. Um, OK, thanks for letting me attack and ridding the field of two useful cards for me?
- The AI continues to summon weak monsters in ATK mode, such as Big Shield Gardna.[:wall:]
- Instead of using Monster Reborn on something worthwhile, the AI will bring back something weak that'll just get destroyed right away.
- AI will activate Dust Tornado or MST in reaction to something like Soul Exchange, where my effect won't be negated. That's plain noobish.
- AI will activate Ultimate Offering to Normal Summon a monster when that's completely unnecessary. They can Normal Summon a monster for free. Lol.
- AI will use Exchange but take something completely stupid from my hand. For example: I'll have BEWD, Flute of Summoning Dragon, X-Head Cannon, Luster Dragon, and Ring of Destruction in my hand. The computer will have Dark Magician, Slifer, Thousand Knives, Kuriboh, and Gazelle in its hand...and it'll take my X-Head Cannon.[:laugh:]
2013-07-13T06:22:42Z
AI uses Forbidden Dress inappropriately. On the first turn of the duel, the AI summoned Red Gadget and used Forbidden Dress on it. This prevented Red Gadget's effect to be activated, and it also had no usage because it was the first turn of the duel.

The AI also activates Safe Zone for it's opponent.
Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-13T16:34:43Z
After some experiments with ai tributing logic i managed to make ai tribute only monsters with lower level and attack than one hes about to summon, but the big problem is that this restriction only works for 1 tribute, Ai will select the second one randomly, i thought i had it fixed but here it is again, why is it like this, i have no idea. Well, you can test my current state of ai (i'm not updating it because of tributing logic still being buggy) if someone can help me with tributing logic bug i posted above feel free to do so. bye.

Forgot to add, it's now set that ai will tribute summon only monsters who require 2 or more tributes, it's not a bug, i'm aware of it, it's done for testing purposes.


http://www.2shared.com/f...o/ai_Tributing_test.html 
Zasengan
2013-07-18T18:24:30Z
Originally Posted by: Sebrian 

Originally Posted by: flowoftime 

Fatal Errors within AI.lua:

1. AI chain the same card to the same target, example: AI chain MST follow by MST to the SAME SET spell/trap card.
2. the same goes to Compulsory Evacuation Device.
3. AI prioritize to Special Summon any monster(s) in Face-Up Defence Position even if i have lower ATK monster(s). this happened almost everytime, example: AI SS Red-Eyes Darkness Dragon in Face-Up Defence Position then SS Dragon monster with REDD's effect also in Face-Up Defence Position while i have lower ATK monster(s).
4. AI chain trap cards such as Torrential Tribute with Compulsory Evacuation Device or Bottomless Trap Hole or Dimensional Prison which is ridiculous.
5. AI activated Compulsory Evacuation Device to target his own monster when i don't have any monster in my field.
6. AI activated Gladiator Beast War Chariot to target his own monster.

more to come...



There is no way to fix chaining cards to the same target, just because we can't check id of card's that are already chained to a card, only thing that i can do is prevent chaining those cards at all.

3. Isn't an error, as ai will summon monsters in defence position as long as players strongest monster has more attack, i have no plans on changing it yet, as there are more important things to do.



i mange to get the AI to activate/chain TT when i summon the second monster or 3rd and mirror force when i have 2 monsters ready to attack on the field. Also he uses Compulsory on my monsters and also chain royal decree when ever i activate a spell or trap card to chain as well and trap stun also.. i found a few errors in ur ai so i use YGO to get to see the command promt and then test all i can to see if i find an error and attend to it and try fixing it.
My Channel
http://www.youtube.com/user/Dras3ngan
Sebrian
  • Sebrian
  • Advanced Member Topic Starter
2013-07-22T22:09:24Z
Updated first post, and here is a little Q and A incase someone might ask these questions:

Q: Why you no upload fixes so long, you no luv me ?
A: Because i'm busy trying to fix important basic elements of ai, i'm not dead, and still doing stuff (more in next question)

Q: Why did Ai just tribute my summoned skull for Curse Of Dragon, omg fix!!
http://www.ygopro.co/tab...5/Tributing-bug.aspx?p=2 
so i'm waiting for perci to fix it.

Q: Will you upload/make decks for Ai ?
A: Yes, after all basics are done (only tributing and chaining is left) i will fix all needed cards for specific deck, and upload it with my next update (if it will come so far)

Q: Can you fix X card asap ?
A: I can, but keep it simple like for example: Trap Hole: Ai does not use it on monsters below 2000 attack points. Commentary’s like "Ai no use this card right omg plox fix hes soo dumb and newb lul 420swag [:doh:] [:doh:] [:angry:] " do not help anyone.
Similar Topics
Users browsing this topic