flowoftime
2017-04-01T12:22:09Z
@Snarky:
"Please Make AI_Blue-Eyes Great Again." [:thumbu:]
Snarky
  • Snarky
  • Advanced Member Topic Starter
2017-04-27T09:22:43Z
Originally Posted by: flowoftime 

@Snarky:
"Please Make AI_Blue-Eyes Great Again." [:thumbu:]



I'll think about it :)

I have been gone for a while, but I might have some more time now. Missed you guys 😘
flowoftime
2017-05-18T11:32:34Z
No AI Update whatsoever...

It seems Snarky is really busy.

Say do I need to major in Programming to script the AI Program?
neftalimich
2017-05-18T14:31:24Z
Originally Posted by: flowoftime 

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
  • Snarky
  • Advanced Member Topic Starter
2017-05-18T21:13:30Z
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
2017-05-19T03:54:57Z
Originally Posted by: neftalimich 



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
2017-05-19T04:09:14Z
Originally Posted by: Snarky 

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. [:tongue:]
Snarky
  • Snarky
  • Advanced Member Topic Starter
2017-05-19T06:06:31Z
Originally Posted by: flowoftime 


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 😃
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
2017-05-19T07:25:24Z
Originally Posted by: flowoftime 

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 !
2017-07-01T09:10:15Z
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 [email protected]

Snarky
  • Snarky
  • Advanced Member Topic Starter
2017-07-01T09:18:53Z
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
2017-11-03T15:48:39Z
Yo, Snarky. The new update is up. So what's the plan?
necrodraco
2017-11-03T17:49:10Z
Originally Posted by: flowoftime 

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...
Snarky
  • Snarky
  • Advanced Member Topic Starter
2017-11-03T18:42:40Z
Originally Posted by: necrodraco 



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.
neftalimich
2017-11-03T20:24:21Z
Originally Posted by: Snarky 

Originally Posted by: necrodraco 



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.

[:smile:]
flowoftime
2017-11-04T09:47:42Z
Originally Posted by: Snarky 

Originally Posted by: necrodraco 



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! [:thumbu:]
V-WARRIOR
2017-11-05T02:56:22Z
The AI in 1.033.D not working , for example, i can´t Synchro Summon. Is due the new update?
Snarky
  • Snarky
  • Advanced Member Topic Starter
2017-11-05T08:24:32Z
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
2017-11-13T20:26:44Z
This new ai properties does affect old scripts=??
neftalimich
2017-11-14T14:54:25Z
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 😛
Similar Topics
Users browsing this topic