[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  VBscript
. . -> [Subject]  So, looking to make a stat rolling script.
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

So, looking to make a stat rolling script.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Solum   (4 posts)  [Biography] bio
Date Thu 26 May 2011 07:29 PM (UTC)
Message
I'm not exactly sure which language to use or start learning, but my gut feeling was that visual basic might be a good one.

I'm looking to make a script that re-rolls stats for me and does not accept them until they are 'high' enough. This basically means (pending on my class) I want it to roll up eighteens and 19's where applicable (19's can only be achieved through certain racial and class bonuses.)

I know I'm being very vague, but for anyone who would be kind enough to teach/point me in the right direction, here is the game: www.hiddenworld.com

The process of creating a character is incredibly simple. Doesn't even require an email. You can get to the stat rolling page to check things out in like 2 seconds. XD

Anyway, I'd appreciate any help and advice. I'm looking to learn this stuff. If anyone does create a script to suit my purposes, I hope they wouldn't mind explaining the lines of code to me in a nut shell. I have limited experience with c-code, and tend to be able to grasp things quickly.

[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Thu 26 May 2011 09:55 PM (UTC)
Message
Template:faq=18 Please read the MUSHclient FAQ - point 18.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Solum   (4 posts)  [Biography] bio
Date Reply #2 on Fri 27 May 2011 03:45 AM (UTC)
Message
Hmm. That's a very broad resource Nick. Appreciate it. Albeit I'm wondering how many of these scripts are made to run from the user end of a browser window and not the server side.

Game I'm playing runs inside a browser window if anyone checked the place out, and to roll stats you must 'click' a button. So I don't know if I'd be scripting mouse clicks, how to make them read the info on my browser window, and settle when it processes it. There's a lot to learn. I'll try and find relevant examples for myself. But if a few people could throw together some examples, even if very brief, and some explanations I'd appreciate it.
[Go to top] top

Posted by Fiendish   USA  (1,641 posts)  [Biography] bio   Global Moderator
Date Reply #3 on Fri 27 May 2011 04:13 AM (UTC)
Message
Quote:
how many of these scripts are made to run from the user end of a browser window

Uh...Probably none of them. This is a forum for users of MUSHclient, not users of Firefox. You might look into a program called AutoIt. I fail to see how MUSHclient is relevant to this scenario.

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Solum   (4 posts)  [Biography] bio
Date Reply #4 on Fri 27 May 2011 04:18 AM (UTC)

Amended on Fri 27 May 2011 05:12 AM (UTC) by Solum

Message
You may be right, Fiendish. I really just goggled scripting for stat rollers and this site came up. I know visual basic is a language that can interact with the browser (thus could be used to create a stat rolling script for a browser game by reading info on the screen and clicking re-roll or keep depending). There may be a more efficient way, too.

But I was not under the impression all visual basic information found here would be exclusive to Mush client. I'll have a look at your suggestion, and appreciate the input.

Edit: Also, since I figure you guys are familiar with code (and I won't ask how), would I be able to accomplish more towards this goal using a javascript, or c-code? Like is there a way to make my browser click and enter things without the mouse actually clicking anything? I'm only looking for a simple yes or no here.
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Fri 27 May 2011 05:11 AM (UTC)
Message
Sorry, you've taken me out of my area of expertise here. Maybe you can simulate mouse clicks with AutoIt or something similar. For that to be much use you would have to know what is on the screen.

You would also have to hope that the administrators of the game don't detect a single IP address trying thousands of stat rolls. Maybe they do, maybe they don't.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Solum   (4 posts)  [Biography] bio
Date Reply #6 on Fri 27 May 2011 05:13 AM (UTC)
Message
Appreciate it, Nick. I'll do some more sleuthing around the internet and see what comes up. Take care you guys.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


5,195 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]