YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
58 Pages123>»
Options
Go to last post Go to first unread
Snarky  
#1 Posted : Sunday, March 23, 2014 8:19:22 PM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
Latest stable AI version (0.35):
(January 23rd, 2017)

Download
alternative

This version is identical to the AI included in YGOPro 1.033.D

Readme:

If you don't know, what to do



Decks:

A list of decks implemented so far



Experimental Version: v0.35
(January 23rd, 2017)

Experimental AI version with untested changes or unfinished additions

Download

Current state:

Notable additions:



Other stuff:

Edited by user Monday, January 23, 2017 4:22:20 PM(UTC)  | Reason: Not specified

thanks 39 users thanked Snarky for this useful post.
Snarky  
#2 Posted : Monday, March 24, 2014 1:37:08 PM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
Added a new Experimental version, testing the Bujin deck. Not finished, but can handle most cards already.

If you want to test it, you can download it here.

Edited by user Monday, March 24, 2014 3:05:32 PM(UTC)  | Reason: Not specified

thanks 1 user thanked Snarky for this useful post.
Order-Sol  
#3 Posted : Monday, March 24, 2014 3:28:47 PM(UTC)
Order-Sol

Rank: Advanced Member

Joined: 6/3/2013(UTC)
Posts: 109

Thanks: 6 times
Was thanked: 22 time(s) in 10 post(s)
AI_gadget summons Masked Chameleon, and the same active Solemn Warning denying his own call.

This needs to be corrected.
Snarky  
#4 Posted : Monday, March 24, 2014 4:05:07 PM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
Originally Posted by: Order-Sol Go to Quoted Post
AI_gadget summons Masked Chameleon, and the same active Solemn Warning denying his own call.

This needs to be corrected.


Done, this will be fixed in the next version (its fixed in the experimental version already).
Six  
#5 Posted : Monday, March 24, 2014 4:24:03 PM(UTC)
Six

Rank: Advanced Member

Joined: 5/28/2013(UTC)
Posts: 109

Thanks: 3 times
Nice Job..........
Snarky  
#6 Posted : Monday, March 24, 2014 5:52:43 PM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
Updated the OP for the new YGOPro version. You should not need to download the new stable version, as it is included in the most recent YGOPro update (version 1.033.0).

€ damn, just now the AI used Solemn Warning against itself again... will need to look into that.

Edited by user Monday, March 24, 2014 10:43:38 PM(UTC)  | Reason: Not specified

haurom15  
#7 Posted : Tuesday, March 25, 2014 8:08:30 AM(UTC)
haurom15

Rank: Member

Joined: 1/26/2013(UTC)
Posts: 12

Thanks: 23 times
Was thanked: 2 time(s) in 2 post(s)
Thank you very much. AI_Fire Fist playing very good... Thanks for script. If possible, you can fix error when AI summon 1 monster, then Ai activate Dark Hole destroy monster whose AI's summoned. Sorry, my English very bad. :(
Snarky  
#8 Posted : Tuesday, March 25, 2014 9:23:11 AM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
Originally Posted by: haurom15 Go to Quoted Post
Thank you very much. AI_Fire Fist playing very good... Thanks for script. If possible, you can fix error when AI summon 1 monster, then Ai activate Dark Hole destroy monster whose AI's summoned. Sorry, my English very bad. :(


I will look into it. I recently changed Dark Hole's script, it might not be working as intended.
thanks 1 user thanked Snarky for this useful post.
Order-Sol  
#9 Posted : Tuesday, March 25, 2014 9:26:08 AM(UTC)
Order-Sol

Rank: Advanced Member

Joined: 6/3/2013(UTC)
Posts: 109

Thanks: 6 times
Was thanked: 22 time(s) in 10 post(s)
Already enjoying his friend talking about AI_FireFist.
- When I'm with Noble Knight only monster on the field equipped with Noble Arms - Excaliburn, the AI_ active cards that target 1 monster on the field, even if my monster can not be targeted. AI_ targeting one of your monsters on the field.

Recommend that you make a correction in AI to avoid this in future deck.:thup

Edited by user Tuesday, March 25, 2014 9:28:23 AM(UTC)  | Reason: Not specified

Snarky  
#10 Posted : Tuesday, March 25, 2014 1:58:41 PM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
Hopefully fixed Warning and Dark Hole this time, fixes are included in the new

Experimental Update 0.18b:

Download

Edited by user Tuesday, March 25, 2014 1:59:45 PM(UTC)  | Reason: Not specified

thanks 1 user thanked Snarky for this useful post.
Order-Sol  
#11 Posted : Tuesday, March 25, 2014 2:06:14 PM(UTC)
Order-Sol

Rank: Advanced Member

Joined: 6/3/2013(UTC)
Posts: 109

Thanks: 6 times
Was thanked: 22 time(s) in 10 post(s)
:thup
giga137  
#12 Posted : Tuesday, March 25, 2014 6:17:40 PM(UTC)
giga137

Rank: Advanced Member

Joined: 5/21/2013(UTC)
Posts: 60

Thanks: 40 times
Was thanked: 4 time(s) in 3 post(s)
Bug report. Playing against AI_Bujin
Randomly after the AI draws for his turn, the game crashes.
Tried removing Arasuda, since its the only card the AI haven't used against me. Still crashes.
Snarky  
#13 Posted : Tuesday, March 25, 2014 6:40:45 PM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
Originally Posted by: giga137 Go to Quoted Post
Bug report. Playing against AI_Bujin
Randomly after the AI draws for his turn, the game crashes.
Tried removing Arasuda, since its the only card the AI haven't used against me. Still crashes.


You mean always? Please describe the situation, maybe add a screenshot.

Edited by user Tuesday, March 25, 2014 11:16:47 PM(UTC)  | Reason: Not specified

francot514  
#14 Posted : Tuesday, March 25, 2014 10:03:44 PM(UTC)
francot514

Rank: Advanced Member

Joined: 12/14/2013(UTC)
Posts: 280

Thanks: 3 times
Was thanked: 62 time(s) in 49 post(s)
Thank you for using my ai script in the update, do you have improved it??? if not feel free to add modifications to it and make it better...
Snarky  
#15 Posted : Tuesday, March 25, 2014 11:16:11 PM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
I want the AI to be as challenging as possible without cheating, so I didn't want to go overboard with it. All I improved was that it will also work if the AI goes second (it doesn't do anything for the AI's first turn, though, because of how I set it up).
thanks 1 user thanked Snarky for this useful post.
haurom15  
#16 Posted : Wednesday, March 26, 2014 2:07:08 AM(UTC)
haurom15

Rank: Member

Joined: 1/26/2013(UTC)
Posts: 12

Thanks: 23 times
Was thanked: 2 time(s) in 2 post(s)
Thank you very much... It looks great. If I want to create a script for AI as the other deck, Can you please guide me how to create scripts for AI ?
if possible, i thank you again :)
giga137  
#17 Posted : Wednesday, March 26, 2014 6:00:07 AM(UTC)
giga137

Rank: Advanced Member

Joined: 5/21/2013(UTC)
Posts: 60

Thanks: 40 times
Was thanked: 4 time(s) in 3 post(s)
Originally Posted by: Snarky Go to Quoted Post


You mean always? Please describe the situation, maybe add a screenshot.


Not always, but random. Sometimes 1st turn, 5th, just ramdomly. But I do finish some duels with it.
I can't get a screenshot because the game closes (crashes) right after the drawing a card (Draw Phase) and I see no script error.

Maybe you can test it on your end, see if also crashes and if not, maybe its just my system.
horseoftroy  
#18 Posted : Wednesday, March 26, 2014 9:45:45 AM(UTC)
horseoftroy

Rank: Member

Joined: 5/24/2013(UTC)
Posts: 20

Thanks: 7 times
Was thanked: 3 time(s) in 3 post(s)
Bug :

First Bug :
I have found a bug with the Six Samurai (Enishi, Shien's Chanslor)

The AI does this :
1 - Banishs 2 Six Samurai monsters to sammun (Enishi, Shien's Chanslor)
2 - Activating the effect of (Enishi, Shien's Chanslor) even there's no monsters on the board
(The bug) 3 - Destroys (Enishi, Shien's Chanslor) by himself


Second Bug :

The AI uses (Field Spells) over each other , instead of saving them as a backup


Please fix this

Thanks for the great AI

Edited by user Wednesday, March 26, 2014 12:05:00 PM(UTC)  | Reason: Not specified

Snarky  
#19 Posted : Wednesday, March 26, 2014 1:11:55 PM(UTC)
Snarky

Rank: Advanced Member

Joined: 7/6/2013(UTC)
Posts: 2,170

Thanks: 10 times
Was thanked: 456 time(s) in 335 post(s)
Some personal issues on my end, I probably won't be able to provide updates very frequently for the next couple of weeks.

Originally Posted by: haurom15 Go to Quoted Post
Thank you very much... It looks great. If I want to create a script for AI as the other deck, Can you please guide me how to create scripts for AI ?
if possible, i thank you again :)


Best you can do to start with is to familiarize yourself with the ai_template.lua by Percival, he included most of the stuff we can do with the AI functions. Then take a look at our AI script and see, if you can make heads and tails of it. Then try to use the template as a starting point, add some simple cards to it and try to make the AI use them as you want to, thats how I started. Don't try to modify our script at first, since it does a huge amount of stuff on its own, which could interfere with your progress.

Once you get a few cards working, we can proceed of integrating stuff in our script. I can help you with specific issues you encounter, but explaining everthing is hardly possible, I think. Feel free to contact me, if you run into problems, though.



Originally Posted by: giga137 Go to Quoted Post
Originally Posted by: Snarky Go to Quoted Post


You mean always? Please describe the situation, maybe add a screenshot.


Not always, but random. Sometimes 1st turn, 5th, just ramdomly. But I do finish some duels with it.
I can't get a screenshot because the game closes (crashes) right after the drawing a card (Draw Phase) and I see no script error.

Maybe you can test it on your end, see if also crashes and if not, maybe its just my system.


I didn't experience it yet, but this helps me. Close without crash immediately after draw phase limits it to some specific issues I encounter regularly, most likely a simple oversight on my part.

Originally Posted by: horseoftroy Go to Quoted Post
Bug :

First Bug :
I have found a bug with the Six Samurai (Enishi, Shien's Chanslor)

The AI does this :
1 - Banishs 2 Six Samurai monsters to sammun (Enishi, Shien's Chanslor)
2 - Activating the effect of (Enishi, Shien's Chanslor) even there's no monsters on the board
(The bug) 3 - Destroys (Enishi, Shien's Chanslor) by himself


Second Bug :

The AI uses (Field Spells) over each other , instead of saving them as a backup


Please fix this

Thanks for the great AI


Sebrian started adding Sixsams script, frankly I am not sure, if he ever finished it. I didn't include the Sixsams deck in the stable update for that reason. I would recommend sticking to the other AI decks for now.

I could probably add a generic rule for field spells, shouldn't be too hard.

Thanks for the reports, guys.

Edited by user Wednesday, March 26, 2014 1:13:15 PM(UTC)  | Reason: Not specified

thanks 1 user thanked Snarky for this useful post.
Order-Sol  
#20 Posted : Wednesday, March 26, 2014 2:22:26 PM(UTC)
Order-Sol

Rank: Advanced Member

Joined: 6/3/2013(UTC)
Posts: 109

Thanks: 6 times
Was thanked: 22 time(s) in 10 post(s)
Snarky, I have here a script from former Six Samurai. That at the time of Gateway, then you can make some changes to fix some errors. On the causes of the new updates AI_.:thup

Edited by user Wednesday, March 26, 2014 2:26:35 PM(UTC)  | Reason: Not specified

File Attachment(s):
AI_sixsams.ydk (1kb) downloaded 168 time(s).
ai-sixsams.lua (59kb) downloaded 150 time(s).

You cannot view/download attachments. Try to login or register.
Users browsing this topic
58 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