YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
18 Pages123>»
Options
Go to last post Go to first unread
Sebrian  
#1 Posted : Friday, June 28, 2013 7:28:27 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
As AI debug mode is working fine in the full version (yey) i can continue to add fixes to ai, i'm posting here what i got so far, i will update this topic as soon as i get new fixes out. I didn’t fully test anything for bugs etc, and i would be glad to get some feedback, some fixes aren't 100% finished yet, but one day they will be :roll

Change log: version 1-10






Update 11:





Update 12:





Update 12,5:





Update 12,6:




(latest version of ygopro is required for this version to work):

http://www1.datafilehost.com/d/20a6be0b

Supported Decks: Kaiba's, Yami Yugi's, Pegasus, Dark World, Burning Knuckle,
Constellar, Chaos Dragon are inculded in rar, and will be updated with every new AI version from now on.

Edited by moderator Sunday, March 23, 2014 8:37:59 PM(UTC)  | Reason: Not specified

thanks 38 users thanked Sebrian for this useful post.
Bateriemann  
#2 Posted : Friday, June 28, 2013 7:39:04 PM(UTC)
Bateriemann

Rank: Advanced Member

Joined: 3/17/2013(UTC)
Posts: 131

Thanks: 10 times
Was thanked: 14 time(s) in 13 post(s)
Would it be possible to send you our ai codes odr adds, so that you can add them to your updates?

thank you for your update.
Bat
Sebrian  
#3 Posted : Friday, June 28, 2013 7:45:02 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Originally Posted by: Bateriemann Go to Quoted Post
Would it be possible to send you our ai codes odr adds, so that you can add them to your updates?

thank you for your update.


Of course, you can send your fixes or post bug reports so i will know what to fix next (i will make To do list soon)
Sebrian  
#4 Posted : Saturday, June 29, 2013 4:46:51 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Added some new fixes feel free to post any bug reports.
Bateriemann  
#5 Posted : Saturday, June 29, 2013 5:04:49 PM(UTC)
Bateriemann

Rank: Advanced Member

Joined: 3/17/2013(UTC)
Posts: 131

Thanks: 10 times
Was thanked: 14 time(s) in 13 post(s)
Thank you for updating,
why didnt you add my script, that ai always special summon shine ball by venus in open defense mode?
Bat
Sebrian  
#6 Posted : Saturday, June 29, 2013 5:07:42 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Originally Posted by: Bateriemann Go to Quoted Post
Thank you for updating,
why didnt you add my script, that ai always special summon shine ball by venus in open defense mode?


I didn't find it’s id by name to add it, you should give me id's of those cards.

Edit: Mystical shine ball, that's the right card ? If so you don't need to add those cards anymore, you should read my fix notes.

"Ai now is smarter about deciding in what position to summon monster, he won’t place monster with less attack points in attack position if player controls stronger ones, includes normal and special summoning."

Edited by user Saturday, June 29, 2013 5:13:38 PM(UTC)  | Reason: Not specified

Bateriemann  
#7 Posted : Saturday, June 29, 2013 5:18:39 PM(UTC)
Bateriemann

Rank: Advanced Member

Joined: 3/17/2013(UTC)
Posts: 131

Thanks: 10 times
Was thanked: 14 time(s) in 13 post(s)
Sry i made than a mistake last night while writing the pm.
Yes i mean Mystical shine Ball. His ATK is equal to his DEF, both are 500. I did not tested your update yet, so i do not know if your script summon him in defense or atk position.
His ID is 39552864
Bat
Sebrian  
#8 Posted : Saturday, June 29, 2013 5:23:12 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Originally Posted by: Bateriemann Go to Quoted Post
Sry i made than a mistake last night while writing the pm.
Yes i mean Mystical shine Ball. His ATK is equal to his DEF, both are 500. I did not tested your update yet, so i do not know if your script summon him in defense or atk position.
His ID is 39552864


Just to make it clear, Ai now will check if players strongest monsters attack points are higher than monster's witch ai is summoning, if players monster is stronger ai will set it in available defense position (face up or face down).

Edited by user Saturday, June 29, 2013 5:31:34 PM(UTC)  | Reason: Not specified

laithnimri123  
#9 Posted : Saturday, June 29, 2013 6:14:09 PM(UTC)
laithnimri123

Rank: Advanced Member

Joined: 12/12/2012(UTC)
Posts: 603

Thanks: 206 times
Was thanked: 48 time(s) in 41 post(s)
Can u make decks??? If yes start with yusei it is strong :) and it is easiest deck to make
Bateriemann  
#10 Posted : Saturday, June 29, 2013 6:29:10 PM(UTC)
Bateriemann

Rank: Advanced Member

Joined: 3/17/2013(UTC)
Posts: 131

Thanks: 10 times
Was thanked: 14 time(s) in 13 post(s)
I tested your update a liitle bit:
The function that the ai should always summon a monster in defense mode if his atk is lower than the atk of most powerfull monster off the opponent works good but there should be a list of with exceptions: For Example: I have just neos alius open on the field in atk position and the ai just had agent agel venus in his hand. The AI could summon venus in ATK position special summon 2-3 Mystical shine balls for gachi and than to attack neos alius with 200 atk venus but he set her.
Bat
Sebrian  
#11 Posted : Saturday, June 29, 2013 6:29:22 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Originally Posted by: laithnimri123 Go to Quoted Post
Can u make decks??? If yes start with yusei it is strong :) and it is easiest deck to make


There is no point of making decks when basic ai makes noobish mistakes, and screws himself up with dumb moves.
I will make decks when basics of Ai will be at decent state (tributing ,positioning, spell and trap chains etc), if it will even be needed after fixing basics (you can just add exceptions for some specific cards in deck).
Sebrian  
#12 Posted : Saturday, June 29, 2013 6:46:57 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Originally Posted by: Bateriemann Go to Quoted Post
I tested your update a liitle bit:
The function that the ai should always summon a monster in defense mode if his atk is lower than the atk of most powerfull monster off the opponent works good but there should be a list of with exceptions: For Example: I have just neos alius open on the field in atk position and the ai just had agent agel venus in his hand. The AI could summon venus in ATK position special summon 2-3 Mystical shine balls for gachi and than to attack neos alius with 200 atk venus but he set her.


Just report me situations like this one, it can be fixed easily, you have to check if Ai has any monsters with stronger attack in hand, than strongest players monster, and if he will be able to summon shine balls after that.



I did not test this fix, try it out if you can.

Edited by user Saturday, June 29, 2013 7:17:54 PM(UTC)  | Reason: Not specified

Bateriemann  
#13 Posted : Saturday, June 29, 2013 7:12:04 PM(UTC)
Bateriemann

Rank: Advanced Member

Joined: 3/17/2013(UTC)
Posts: 131

Thanks: 10 times
Was thanked: 14 time(s) in 13 post(s)
Do i have to add this in SelectInitCommand?

Also, The monster of the list of monster which has to attack first should always been summond in ATK Position, like grand Mole. Exciled Forse should always be summond in atk position, too, to destroy a Monster.
Bat
Sebrian  
#14 Posted : Saturday, June 29, 2013 7:27:16 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Originally Posted by: Bateriemann Go to Quoted Post
Do i have to add this in SelectInitCommand?

Also, The monster of the list of monster which has to attack first should always been summond in ATK Position, like grand Mole. Exciled Forse should always be summond in atk position, too, to destroy a Monster.


Yes, you have to add it to SelectInitCommand, btw updated the old code, it should also check for level of monster with highest attack in hand, but i will add that later. I will add exceptions for monsters to always normal summon in next update.
FAD!  
#15 Posted : Saturday, June 29, 2013 9:02:48 PM(UTC)
FAD!

Rank: Advanced Member

Joined: 6/8/2013(UTC)
Posts: 40

Thanks: 4 times
Was thanked: 6 time(s) in 5 post(s)
Originally Posted by: laithnimri123 Go to Quoted Post
Can u make decks??? If yes start with yusei it is strong :) and it is easiest deck to make


If you mean Yusei Hime a.k.a. Quickdraw Dandywarrior, it's my favorite deck, but I doubt I could make the AI play it. Maybe under a certain 2011 list...

Originally Posted by: Sebrian Go to Quoted Post
Originally Posted by: laithnimri123 Go to Quoted Post
Can u make decks??? If yes start with yusei it is strong :) and it is easiest deck to make


There is no point of making decks when basic ai makes noobish mistakes, and screws himself up with dumb moves.
I will make decks when basics of Ai will be at decent state (tributing ,positioning, spell and trap chains etc), if it will even be needed after fixing basics (you can just add exceptions for some specific cards in deck).


Tributing works with indexes, not cardlists. Positioning already works in ytterbyte's. Chaining isn't generic enough to solve without referencing individual cards (best you can do is chain a card if it's about to be destroyed or under target). SSing and NSing should work according to ATK, anything else (e.g. extra deck su mmons for their effects) is too complex unless you use minmax.

It does make sense to work on individual cards (staples, extra deck staples).
Sebrian  
#16 Posted : Saturday, June 29, 2013 9:10:24 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Originally Posted by: FAD! Go to Quoted Post
Originally Posted by: laithnimri123 Go to Quoted Post
Can u make decks??? If yes start with yusei it is strong :) and it is easiest deck to make


If you mean Yusei Hime a.k.a. Quickdraw Dandywarrior, it's my favorite deck, but I doubt I could make the AI play it. Maybe under a certain 2011 list...

Originally Posted by: Sebrian Go to Quoted Post
Originally Posted by: laithnimri123 Go to Quoted Post
Can u make decks??? If yes start with yusei it is strong :) and it is easiest deck to make


There is no point of making decks when basic ai makes noobish mistakes, and screws himself up with dumb moves.
I will make decks when basics of Ai will be at decent state (tributing ,positioning, spell and trap chains etc), if it will even be needed after fixing basics (you can just add exceptions for some specific cards in deck).


Tributing works with indexes, not cardlists. Positioning already works in ytterbyte's. Chaining isn't generic enough to solve without referencing individual cards (best you can do is chain a card if it's about to be destroyed or under target). SSing and NSing should work according to ATK, anything else (e.g. extra deck su mmons for their effects) is too complex unless you use minmax.

It does make sense to work on individual cards (staples, extra deck staples).


What are you talking about, ytterbyte's ai ignored players monsters when special summoning, and normal summoning was messed up, Tributing has no logic at all, it does not check monsters levels it is tributing or anything else,it's better to make global decisions for ai and add exceptions later.
Bateriemann  
#17 Posted : Saturday, June 29, 2013 11:35:18 PM(UTC)
Bateriemann

Rank: Advanced Member

Joined: 3/17/2013(UTC)
Posts: 131

Thanks: 10 times
Was thanked: 14 time(s) in 13 post(s)
Another Situation:

AI had 2 Zomby Master faceup ATK position on his field. I summond Zaborg the thunder monarch and destryoed one of the zombys. I ended my turn. The ai changed the last zomby to faceup defense mode. In my next turn i changed my zaborg to defense position, too, and ended my turn. The ai could changed the position of the last zomby to attack and destroy my zaborg but he didnt. He ended his turn.

I can give everyone who tests the ai to play in your deck: The eye of the truth. You can see the whole duel his hand.
You have to draw them, but then you see in real time what the ai is doing and you need no debug or the replay after the duel.

Edited by user Saturday, June 29, 2013 11:49:24 PM(UTC)  | Reason: Not specified

Bat
srex  
#18 Posted : Monday, July 01, 2013 1:09:24 PM(UTC)
srex

Rank: Advanced Member

Joined: 6/12/2013(UTC)
Posts: 87

Thanks: 19 times
Was thanked: 5 time(s) in 4 post(s)
Nice work man AI its kinda smarter now but i think you should make exception when monsters like Junk Synchron,Synchron Explorer,Goblindbergh and other are summoned.I mean he always summons monster in def mode when i have monster with highest attack even when he can use these monsters to call a Synchro or XYZ monster more powerful then mine.And probably the biggest problem is when AI use Solemn Judgement and Solemn Warning and other cards to negate his own effects and summons but i dont think that can be fixed but at least we now have opportunity to test our fun decks :D
Sebrian  
#19 Posted : Monday, July 01, 2013 4:16:46 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Originally Posted by: srex Go to Quoted Post
Nice work man AI its kinda smarter now but i think you should make exception when monsters like Junk Synchron,Synchron Explorer,Goblindbergh and other are summoned.I mean he always summons monster in def mode when i have monster with highest attack even when he can use these monsters to call a Synchro or XYZ monster more powerful then mine.And probably the biggest problem is when AI use Solemn Judgement and Solemn Warning and other cards to negate his own effects and summons but i dont think that can be fixed but at least we now have opportunity to test our fun decks :D


Solemn Judgement and Solemn Warning warning can be fixed, same as Synchro and XYZ monsters, but it will take time, maybe 2 or 3 more updates to get that far.
Sebrian  
#20 Posted : Monday, July 01, 2013 5:38:48 PM(UTC)
Sebrian

Rank: Advanced Member

Joined: 6/10/2013(UTC)
Posts: 446

Thanks: 28 times
Was thanked: 91 time(s) in 34 post(s)
Added new fixes, nothing big this time, as i spent like 3 hours yesterday trying to fix tributing logic, at which didn't succeed at all (Would be glad to hear any tips from decent coders like perci or fad about it). I won’t have time for yugioh in next 1-2 days, so i'm posting this update just for you to have something.
Users browsing this topic
18 Pages123>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error