YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
58 Pages«<565758
Options
Go to last post Go to first unread
flowoftime  
#1141 Posted : Saturday, April 01, 2017 12:22:09 PM(UTC)
flowoftime

Rank: Advanced Member

Joined: 5/17/2013(UTC)
Posts: 1,575
Indonesia

Thanks: 204 times
Was thanked: 116 time(s) in 102 post(s)
@Snarky:
"Please Make AI_Blue-Eyes Great Again." :thup
Snarky  
#1142 Posted : Thursday, April 27, 2017 9:22:43 AM(UTC)
Snarky

Rank: Advanced Member

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

Thanks: 11 times
Was thanked: 463 time(s) in 340 post(s)
Originally Posted by: flowoftime Go to Quoted Post
@Snarky:
"Please Make AI_Blue-Eyes Great Again." :thup


I'll think about it :)

I have been gone for a while, but I might have some more time now. Missed you guys :-*
flowoftime  
#1143 Posted : Thursday, May 18, 2017 11:32:34 AM(UTC)
flowoftime

Rank: Advanced Member

Joined: 5/17/2013(UTC)
Posts: 1,575
Indonesia

Thanks: 204 times
Was thanked: 116 time(s) in 102 post(s)
No AI Update whatsoever...

It seems Snarky is really busy.

Say do I need to major in Programming to script the AI Program?
neftalimich  
#1144 Posted : Thursday, May 18, 2017 2:31:24 PM(UTC)
neftalimich

Rank: Member

Joined: 2/21/2015(UTC)
Posts: 76

Thanks: 24 times
Was thanked: 13 time(s) in 11 post(s)
Originally Posted by: flowoftime Go to Quoted Post
No AI Update whatsoever...

It seems Snarky is really busy.

Say do I need to major in Programming to script the AI Program?


Hi, due to the new method of invocation: "Link Summon", Snarkie is waiting for the new update to be released, this is because it is wasted effort since many things will change.

Well, apparently the update is taking longer than we thought.

Snarky  
#1145 Posted : Thursday, May 18, 2017 9:13:30 PM(UTC)
Snarky

Rank: Advanced Member

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

Thanks: 11 times
Was thanked: 463 time(s) in 340 post(s)
Yeah, not much in terms of news.

Quote:

Say do I need to major in Programming to script the AI Program?


Well, I did not. Just some basic programming knowledge, Lua tutorials and a lot of time should get you a long way.
flowoftime  
#1146 Posted : Friday, May 19, 2017 3:54:57 AM(UTC)
flowoftime

Rank: Advanced Member

Joined: 5/17/2013(UTC)
Posts: 1,575
Indonesia

Thanks: 204 times
Was thanked: 116 time(s) in 102 post(s)
Originally Posted by: neftalimich Go to Quoted Post


Hi, due to the new method of invocation: "Link Summon", Snarkie is waiting for the new update to be released, this is because it is wasted effort since many things will change.

Well, apparently the update is taking longer than we thought.



Ah.. I see. Thanks for the info.
flowoftime  
#1147 Posted : Friday, May 19, 2017 4:09:14 AM(UTC)
flowoftime

Rank: Advanced Member

Joined: 5/17/2013(UTC)
Posts: 1,575
Indonesia

Thanks: 204 times
Was thanked: 116 time(s) in 102 post(s)
Originally Posted by: Snarky Go to Quoted Post
Yeah, not much in terms of news.

Quote:

Say do I need to major in Programming to script the AI Program?


Well, I did not. Just some basic programming knowledge, Lua tutorials and a lot of time should get you a long way.


By the word basic programming knowledge. How basic is it?

Unfortunately, I neglected my computer subject during my school days. :lol

You don't need to reply to this. I was just bored. :P
Snarky  
#1148 Posted : Friday, May 19, 2017 6:06:31 AM(UTC)
Snarky

Rank: Advanced Member

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

Thanks: 11 times
Was thanked: 463 time(s) in 340 post(s)
Originally Posted by: flowoftime Go to Quoted Post

By the word basic programming knowledge. How basic is it?


Hard to answer this question. I do not have a degree or formal education on programming of any kind, but I had some experience in other scripting languages before, notably vJass and Galaxy, the scripting languages from Warcraft 3 and Starcraft 2 respectively. Galaxy's syntax is fairly similar to C and Lua in some aspects, so the transition was not that bad.

Most of my Lua I learned from looking at the existing script, picking up on routines used to make the AI work. I am still fairly novice at using the language, regularly picking up very basic Lua features, that could have been helpful to know right from the start :D
Pairs, for example, one of the most basic Lua functions to loop through a table, I just started using very recently.

However, getting used to Lua was not the hard part. The way the AI script is integrated into the core program has its fair set of quirks and issues I mostly found out via trial&error. A lot of crashes or seemingly random malfunctions might have been involved.

You do have it a lot easier now. Since then, Percy did put some safeguards in place, to make sure, I cannot mess up the game that badly on my end. Definitely check out the AI scripting tutorial, it describes a lot of the routines I had to find out on my own, and touches on many of the issues you might encounter. Also, I implemented a bunch of custom functions for easier handling, most of which are mentioned in the tutorial. These should avoid many of the issues on their own.

Of course, if you are seriously considering getting into AI scripting, feel free to ask me about specific problems anytime.
itsm3  
#1149 Posted : Friday, May 19, 2017 7:25:24 AM(UTC)
itsm3

Rank: Newbie

Joined: 5/8/2017(UTC)
Posts: 16

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Originally Posted by: flowoftime Go to Quoted Post
No AI Update whatsoever...

It seems Snarky is really busy.

Say do I need to major in Programming to script the AI Program?


Even if Snarky wouldnt be so busy, any help will be good cause as you know Snarky is working solo for now on the AI.
So if you got the time and the knowledge dont hesitate, go on !
OhnkytaBlabdey  
#1150 Posted : Saturday, July 01, 2017 9:10:15 AM(UTC)
OhnkytaBlabdey

Rank: Newbie

Joined: 6/30/2017(UTC)
Posts: 1

I made a few changes to the file "SelectOption.lua" in order to force AI to use the search effect of [Gateway of the Six] , but if so the file "SelectOption.lua" does not work and the file has not been executed when tested in the AI mode ...

If possiple please reply me to 1263189143@qq.com

Snarky  
#1151 Posted : Saturday, July 01, 2017 9:18:53 AM(UTC)
Snarky

Rank: Advanced Member

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

Thanks: 11 times
Was thanked: 463 time(s) in 340 post(s)
I did answer your mail about an hour ago:

Quote:

Hey.

Would you mind sending me your modified SelectOption.lua, so I can look for the problem on my end?

If you want to start working on an AI, I recommend you take a look at the AI Scripting Tutorial on the YGOPro forums:

http://www.ygopro.co/For...61/AI-Scripting-Tutorial

It is a little all over the place, but covers most of the important topics, and touches on all the functions provided thy the AI interface.

The "SelectOption.lua" file specifically holds the "OnSelectOption" function only. It takes a list of possible options and expects a return matching one of these options.



Looking at Gateway of the Six, it doesn't seem to use SelectOption at all. It just shows up multiple times in the activatable cards list in OnSelectInitCommand, with different description values. Many cards, that have multiple effects are handled this way. Also, there seems to be an issue with the AI not removing any counters, allowing it to use each effect of the card indefinitely. But maybe you already solved that issue or don't experience it on your end.
flowoftime  
#1152 Posted : Friday, November 03, 2017 3:48:39 PM(UTC)
flowoftime

Rank: Advanced Member

Joined: 5/17/2013(UTC)
Posts: 1,575
Indonesia

Thanks: 204 times
Was thanked: 116 time(s) in 102 post(s)
Yo, Snarky. The new update is up. So what's the plan?
necrodraco  
#1153 Posted : Friday, November 03, 2017 5:49:10 PM(UTC)
necrodraco

Rank: Advanced Member

Joined: 1/27/2015(UTC)
Posts: 264
Germany

Thanks: 2 times
Was thanked: 56 time(s) in 36 post(s)
Originally Posted by: flowoftime Go to Quoted Post
Yo, Snarky. The new update is up. So what's the plan?


It seems, nothing at the moment. Offline AI was disabled until they fix the bigger Issues. So we will get another new update in the next months. And until these new update will be released, Snarky can only watch...
UserPostedImage
Snarky  
#1154 Posted : Friday, November 03, 2017 6:42:40 PM(UTC)
Snarky

Rank: Advanced Member

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

Thanks: 11 times
Was thanked: 463 time(s) in 340 post(s)
Originally Posted by: necrodraco Go to Quoted Post


It seems, nothing at the moment. Offline AI was disabled until they fix the bigger Issues. So we will get another new update in the next months. And until these new update will be released, Snarky can only watch...


All the contrary, now that the update is out, I can finally start working with Percy on preparing the AI. I'll assume, he will need some time to iron out the update, but I expect some progress on the AI front soon™.

Not sure, how much time I will be able to put into it in the near future, though... we will see.
thanks 3 users thanked Snarky for this useful post.
neftalimich  
#1155 Posted : Friday, November 03, 2017 8:24:21 PM(UTC)
neftalimich

Rank: Member

Joined: 2/21/2015(UTC)
Posts: 76

Thanks: 24 times
Was thanked: 13 time(s) in 11 post(s)
Originally Posted by: Snarky Go to Quoted Post
Originally Posted by: necrodraco Go to Quoted Post


It seems, nothing at the moment. Offline AI was disabled until they fix the bigger Issues. So we will get another new update in the next months. And until these new update will be released, Snarky can only watch...


All the contrary, now that the update is out, I can finally start working with Percy on preparing the AI. I'll assume, he will need some time to iron out the update, but I expect some progress on the AI front soon™.

Not sure, how much time I will be able to put into it in the near future, though... we will see.


Thank you so much Snarky, If you need some help, I also want to help as much as possible.

:)
flowoftime  
#1156 Posted : Saturday, November 04, 2017 9:47:42 AM(UTC)
flowoftime

Rank: Advanced Member

Joined: 5/17/2013(UTC)
Posts: 1,575
Indonesia

Thanks: 204 times
Was thanked: 116 time(s) in 102 post(s)
Originally Posted by: Snarky Go to Quoted Post
Originally Posted by: necrodraco Go to Quoted Post


It seems, nothing at the moment. Offline AI was disabled until they fix the bigger Issues. So we will get another new update in the next months. And until these new update will be released, Snarky can only watch...


All the contrary, now that the update is out, I can finally start working with Percy on preparing the AI. I'll assume, he will need some time to iron out the update, but I expect some progress on the AI front soon™.

Not sure, how much time I will be able to put into it in the near future, though... we will see.


Great news! Keep up the good job! :thup
V-WARRIOR  
#1157 Posted : Sunday, November 05, 2017 2:56:22 AM(UTC)
V-WARRIOR

Rank: Advanced Member

Joined: 7/8/2014(UTC)
Posts: 132

Thanks: 51 times
Was thanked: 36 time(s) in 27 post(s)
The AI in 1.033.D not working , for example, i can´t Synchro Summon. Is due the new update?
Snarky  
#1158 Posted : Sunday, November 05, 2017 8:24:32 AM(UTC)
Snarky

Rank: Advanced Member

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

Thanks: 11 times
Was thanked: 463 time(s) in 340 post(s)
The AI was temporarily disabled in the new release 1.034.0, due to the massive changes to the game we need more time to properly adapt the AI.

However, the AI in 1.033.D should be working just fine. I don't have any issues on my end.
salvadorc17  
#1159 Posted : Monday, November 13, 2017 8:26:44 PM(UTC)
salvadorc17

Rank: Advanced Member

Joined: 2/27/2013(UTC)
Posts: 530

Thanks: 6 times
Was thanked: 162 time(s) in 97 post(s)
This new ai properties does affect old scripts=??
neftalimich  
#1160 Posted : Tuesday, November 14, 2017 2:54:25 PM(UTC)
neftalimich

Rank: Member

Joined: 2/21/2015(UTC)
Posts: 76

Thanks: 24 times
Was thanked: 13 time(s) in 11 post(s)
Hi, somebody know how disable an specific Monster/ST zone?

I try this:
Duel.SelectDisableField(tp,1,0,LOCATION_MZONE,0)

but i dont want the user to choose.

It is for experimental purposes :P
Users browsing this topic
58 Pages«<565758
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