PDA

View Full Version : [Divination] Master Xehanort Transmutation [Barebones]



MasterXehanort
03-03-2015, 07:40 AM
This script was created in response to the request made by aliensexist. This script is meant for more of a learning process for those wanting to start scripting!

The script in theory should work, I don't have high enough divination to test it out, though (where villavu comes in ;) ). I've included plentiful comments for beginners to understand what is actually going on in the script. I suggest reading this (https://villavu.com/forum/showthread.php?t=58935) if you've never coded before. Once you get the basics down, move onto this (https://villavu.com/forum/showthread.php?t=107757). After that you're ready to start making scripts of your own! All I can suggest after that is practice over and over again. You'll learn the commands, common errors, and better ways to implement what you want to do as you code more and more. As always, the community is here to help you along the way, all you need to do is ask.

Do note in my script that it requires the user to have some knowledge of creating DTM's. You can learn how to do this here (https://villavu.com/forum/showthread.php?t=77691) and here (https://villavu.com/forum/showthread.php?t=107757). The default item being transmuted in the script is mithril ore as per request. But technically this script can transmute ANYTHING, so long as you correctly choose the DTM for the item being transmuted.

Main Features of the script:

Antiban!
Can transmutate any item you can make a DTM of (The default is mithril ores to adamant ores)!
Unable to choose a specific product if the initial item can be transmuted into more than one thing (again barebones)
Progress report!
Failsafes!
Stops when out of supplies!
Ample comments for learning!


Things to note:

The script is far from perfect, but done enough for you to learn what's going on and how YOU can make your own perfect version
The script only works at Edgeville bank, can be expanded upon (again barebones)
You must enable bank presets and have preset one with the number of energies and intial items needed
Example: 25180
Game messages must be on
You must have the energies you are using bound to the first slot on the actionbar
For an accurate progress report, you have to input values. (Included in player setup area)
Hasn't really been tested.
Full version with a lot of support can be in the works if it's requested (though it'd be only for junior members) :stirthepot:


Expansion Ideas:

Create default DTM's for all transmutable items
Increase bank locations
More antiban?
Breaks
Six hour fix
Playerform and GUI
You tell me


Credits To:

The Mayor; for his tutorials
Coh3n; for his tutorials
Ashaman88; for his scripts helping me learn, also for being Ashaman

aliensexist
03-03-2015, 07:50 AM
This script was created in response to the request made by aliensexist. This script is meant for more of a learning process for those wanting to start scripting!

The script in theory should work, I don't have high enough divination to test it out, though (where villavu comes in ;) ). I've included plentiful comments for beginners to understand what is actually going on in the script. I suggest reading this (https://villavu.com/forum/showthread.php?t=58935) if you've never coded before. Once you get the basics down, move onto this (https://villavu.com/forum/showthread.php?t=107757). After that you're ready to start making scripts of your own! All I can suggest after that is practice over and over again. You'll learn the commands, common errors, and better ways to implement what you want to do as you code more and more. As always, the community is here to help you along the way, all you need to do is ask.

Do note in my script that it requires the user to have some knowledge of creating DTM's. You can learn how to do this here (https://villavu.com/forum/showthread.php?t=77691) and here (https://villavu.com/forum/showthread.php?t=107757). The default item being transmuted in the script is mithril ore as per request. But technically this script can transmute ANYTHING, so long as you correctly choose the DTM for the item being transmuted.

Main Features of the script:

Antiban!
Can transmutate any item you can make a DTM of!
Unable to choose a specific product if the initial item can be transmuted into more than one thing (again barebones)
Progress report!
Failsafes!
Stops when out of supplies!
Ample comments for learning!


Things to note:

The script is far from perfect, but done enough for you to learn what's going on and how YOU can make your own perfect version
The script only works at Edgeville bank, can be expanded upon (again barebones)
You must enable bank presets and have preset one with the number of energies and intial items needed
Example: 25180
Game messages must be on
You must have the energies you are using bound to the first slot on the actionbar
For an accurate progress report, you have to input values. (Included in player setup area)
Hasn't really been tested.
Full version with a lot of support can be in the works if it's requested (though it'd be only for junior members) :stirthepot:


Expansion Ideas:

Create default DTM's for all transmutable items
Increase bank locations
More antiban?
Breaks
Six hour fix
Playerform and GUI
You tell me


Credits To:

The Mayor; for his tutorials
Coh3n; for his tutorials
Ashaman88; for his scripts helping me learn, also for being Ashaman


hey man! thanks a bunch for going above and beyond my script request! It's awesome you took the time to help a fellow forum member become one step closer to get a handle on scripting. I've taken a look at the guides provided, and am learning slowly but surely :bart:

MasterXehanort
03-03-2015, 08:01 AM
hey man! thanks a bunch for going above and beyond my script request! It's awesome you took the time to help a fellow forum member become one step closer to get a handle on scripting. I've taken a look at the guides provided, and am learning slowly but surely :bart:

That's how it starts. I was in your shoes not too long ago :P It definitely helps typing out what the guides are presenting. As you begin to understand it, you can manipulate little things and make the procedures do what you specify them to do (this enforces learning). For example, The Mayor's tutorial is for mining clay near Port Sarim, as you go through his tutorial, try making your own script to mine ores at the Varrock East mine, or even the coal ores in Barbarian village.

MOST IMPORTANTLY, do not give up because you get compiling errors. Yes they can be frustrating, but everyone suffers through them. The more experience you get at scripting, the less compiling errors you'll get.

Sin
03-03-2015, 12:02 PM
I'm curious, how much xph is it transmuting mithril ores?

uhit
03-03-2015, 02:29 PM
I'm curious, how much xph is it transmuting mithril ores?

Around 40-50k

the bank
03-03-2015, 03:16 PM
...

Your name shall always be Alien Sexist.

DontForgetThis
05-02-2016, 08:50 PM
How do I change the bank opening process? I'm looking to complete this process in my port. More specifically how do I create my own bank object to insert into this class 27450