Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ VBscript ➜ So, looking to make a stat rolling script.

So, looking to make a stat rolling script.

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


Posted by Solum   (4 posts)  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.

Top

Posted by Nick Gammon   Australia  (23,140 posts)  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
Top

Posted by Solum   (4 posts)  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.
Top

Posted by Fiendish   USA  (2,535 posts)  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
Top

Posted by Solum   (4 posts)  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.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  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
Top

Posted by Solum   (4 posts)  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.
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.


25,474 views.

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

Go to topic:           Search the forum


[Go to top] top

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