启发学习编码. [英] Inspired to learn coding..

查看:102
本文介绍了启发学习编码.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.除了一点点Lua和在这里和那里编辑一些东西之外,我从未真正进行过任何编码.我基本上想知道这是否有可能.

我想要此角色的最大统计数据,最大统计数据是右侧的绿色统计数据,左侧统计数据是您正在滚动的统计数据.红色是不完美的,黄色是完美的.该项目的目标是获得6个黄色统计或完美统计.正如您所看到的,我选择了一个班级,一个种族,所有这些好东西.

附件2或
[URL = http://imageshack.us/photo/my-images/51/38776256.png/] [IMG] http://img51.imageshack.us/img51/5980/38776256.th.png [/IMG] [/URL]


我想以为我只有6个左右的坐标,可以在显示数字的屏幕上设置,检查所有6个坐标,确定5个统计数据是否完美,然后保存.或重新滚动.但是这是曲线球.它们不只是黄色,每个像素都是不同的黄色阴影.整个重新滚动"矩形均已像素化.而且数字略有变动.

附件3

[URL = http://imageshack.us/photo/my-images/830/72109604.png/] [IMG] http://img830.imageshack.us/img830/2/72109604.th.png [/IMG] [/URL]


那么有可能做我要问的事情吗?能够做出可以检查多个区域的东西,并从最低的黄色数字到最高的黄色数字(与红色相同)确定该区域的颜色.

而且,它偶尔会弹出一个随机的简单数学方程式,您必须单击"该数字来求解.如果单击除正确数字区域以外的任何位置,则整个程序将关闭.

附件4

[URL = http://imageshack.us/photo/my-images/29/76471625.png/] [IMG] http://img29.imageshack.us/img29/933/76471625.th.png [/IMG] [/URL]


但是,这没有什么太大的问题,如果坐标颜色检查器"提供了6种黑色检查,那么它就知道它在方程式检查器中,只需单击并让它重新启动,然后重新启动程序.

在我看来,要完成所有这些操作,将需要您设置一些关键点并标记/存储坐标以使程序运行.就像打开菜单的位置一样,在关闭后可以单击要返回到重新滚动屏幕的选项,您想要的种族/类别也位于此处..

有人告诉我,对于没有C ++经验的人来说,这是否会使事情变得复杂.

我有一个正确的主意,我认为Checked Colors如果不是黄色,请检查下一个颜色,重复一次,重复一次,检查完成后,如果5个统计信息是黄色,然后保存. ELSE重新滚动.

非常感谢您的宝贵时间.

Hello. I have never really done any coding, besides a little Lua and editing some things here and there. I basically want to know if this is even possible.

I want Max stats on this character, the max stats are the green ones on the right, the stats on the left are the ones you are rolling. Red is unperfect, yellow is perfect. The goal of this project is to get 6 yellow stats, or, perfect stats. So as you can see, I''ve chosen a class, race, all of that good stuff.

ATTACHMENT 2 OR
[URL=http://imageshack.us/photo/my-images/51/38776256.png/][IMG]http://img51.imageshack.us/img51/5980/38776256.th.png[/IMG][/URL]


I would like to think that I could just have 6 or so coordinates that you could set on the screen where the numbers would appear, check all 6 coordinates, decide if it''s 5 stats perfect atleast, then save. Or reroll. But here''s the curveball. They not simply yellow, each pixel is a different shade of yellow. The whole ''reroll'' rectangle is pixelated. And the numbers move slightly around.

ATTACHMENT 3
OR
[URL=http://imageshack.us/photo/my-images/830/72109604.png/][IMG]http://img830.imageshack.us/img830/2/72109604.th.png[/IMG][/URL]


So would it be possible to do what I''m asking? Be able to make something that could check multi areas, determine the color there from a range of the lowest yellow color number to the highest yellow color number, same with red.

Also, every once in a while it pops up with a random easy math equation that you have to ''click'' on the number to solve. If you click anywhere but the area in the right number then the whole program closes.

ATTACHMENT 4
or
[URL=http://imageshack.us/photo/my-images/29/76471625.png/][IMG]http://img29.imageshack.us/img29/933/76471625.th.png[/IMG][/URL]


This, however, I don''t see as much of a problem, if the ''coordinate color checker'' comes up with 6 black color checks, then it knows it''s on the equation checker, simply click, let it restart, and reboot the program.

Doing this all, in my mind, would require you to set a few key points and marked/memorized coordinates for the program to run. Like where the menu''s open, where''s it''s options to click to get back to the reroll screen after closing, where the race/class you want is..

Someone tell me if this is going to be way to complicated for someone with no C++ experience.

I have the right idea, I think, Checked Colors IF not yellow, check next color, repeat, repeat, after the checks are done, IF 5 stats are yellow, then save. ELSE Reroll.

I appreciate your time, many thanks.

推荐答案

我认为,如果您缺乏编程经验,那么使用http://sikuli.org/ [ ^ ].它仅为此类GUI交互而设计.您仍然需要从逻辑上考虑问题,但是它处理的是图形的复杂性,这将使您花费很长的时间在没有编程背景的情况下进行工作.

我要补充一点,尽管我不认识该界面,但我怀疑出现一个数学问题的提示会打败您追求的自动化打字错误.您可能会发现使用自动化违反了该游戏的服务条款,因此您可能会被锁定.
I think that with little programming experience you would be much better off with a tool like http://sikuli.org/[^]. It is designed just for this sort of GUI interaction. You still need to think through your problem logically, but it deals with the complexities of graphics that would take you a very long time to work out with no programming background.

I''d add that though I don''t recognize the interface, I suspect that the prompt to do a math question is there to defeat the typo of automation that you are after. You may find that using automation is in violation of the terms of service for this game, and you may be locked out as a result.


这篇关于启发学习编码.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆