| Yoko http://forum.yoko.com.ua/ |
|
| I would REALLY appreciate some help on this! http://forum.yoko.com.ua/viewtopic.php?f=20&t=2425 |
Page 1 of 1 |
| Author: | BHTrix [ 2004-12-31 14:04:34 ] |
| Post subject: | I would REALLY appreciate some help on this! |
Ok, so I used the script of DMagic, and I liked it, but encountered some problems. And since I can't read russian, I decided to just learn some scripting. So this is how far I got; I fixed the mining tile, you have to give the value after a ,infotile. but u can customise your own mining spot with this It's FULLY stealthed, except for recalling for smelt, and recalling back. (Am going to make it so, that AFTER you recalled back, it will FIRST hide/stealth instead of walking directly to your mining spot, this will posses no significant problem) It now recalls using rune ID (on my shard runebooks no work) It uses >BANK< instead of house box. I did this because the move system (which I couldn't script better btw) sometimes gets stuck. I removed the stuck part of the script. (I'm sry, I >think< it's now unnesacery, unless you mine in a really complicated mine, and make your locations criss-cross trough it. No more orex and orey, these are now minex, and miny. It no longer prints or says "Next", and by adding an extra journal condition in the main sub, it WILL move to the next LOC. Here are my problems: The Tinker new Shovels part, I have absolutely NO clue, how to script this. The eat food script I inserted before the smelting (currently removed from script) can't find the food in my bank. Here's a stand alone version. Code: sub Food Final question, I want it to check if it's already hidden / stealthing, how do I do that? Code: sub main() Thx in advance for every helpfull reply This script is currently working on an RUNUO shard btw (XUO) |
|
| Author: | BHTrix [ 2004-12-31 21:02:38 ] |
| Post subject: | Fixed |
Fixed the TINKER and added the script to take 2 of each recall reg from bank before u go back to mine. Code: sub main() |
|
| Author: | Yoko [ 2005-01-01 01:41:17 ] |
| Post subject: | |
i do not know, how about the rest, but i myself do not review scripts longer then 5 lines. if you have questions, describe them short way |
|
| Author: | BHTrix [ 2005-01-01 16:10:46 ] |
| Post subject: | Re: I would REALLY appreciate some help on this! |
The eat food script I inserted before the smelting (currently removed from script) can't find the food in my bank. (fish steaks). Here's a stand alone version. Code: sub Food And, I'd like to know if it's possible to make the script check if your player is hiding//stealthing already. Thx in advance for every helpfull reply |
|
| Author: | punkesito [ 2005-01-01 18:56:49 ] |
| Post subject: | Re: I would REALLY appreciate some help on this! |
Code: sub Food() for hiding: Code: while uo.hidden("self") <> 1
|
|
| Author: | BHTrix [ 2005-01-02 03:56:44 ] |
| Post subject: | |
Thx a BUNCH! I fixed the food otherwise though, I used Code: while FOOD < 1 Well, the cliloc wasnt in it before ofc, THX again Ill public the script when I added explanatory notes to it. |
|
| Author: | BHTrix [ 2005-01-02 04:54:02 ] |
| Post subject: | |
2 more question, occasionaly the banker moves out of range (this happens rarely) at the location I recall to, is there a way to check if bank box is open, and if not to repeat UO.Say('bank') ? And how do u close a gump besides to UO.Rclick command? Thx in advance |
|
| Author: | BHTrix [ 2005-01-02 05:32:15 ] |
| Post subject: | |
Mm, and where can I find a cliloc list? :/ N/m I found that "list":P |
|
| Author: | punkesito [ 2005-01-02 05:49:07 ] |
| Post subject: | |
BHTrix wrote: Mm, and where can I find a cliloc list? :/ N/m I found that "list":P ,set cliloc 1 BHTrix wrote: And how do u close a gump besides to UO.Rclick command? UO.exec("recall ^tool 0")#tool is a objecttype(hammer, tinkers tool, etc) BHTrix wrote: occasionaly the banker moves out of range (this happens rarely) at the location I recall to, is there a way to check if bank box is open, and if not to repeat UO.Say('bank') ?
mm try with uo.GetDistance example: if uo.GetDistance("banker") > 10 then moveto(uo.getx("banker"),uo.gety("banker")) end if |
|
| Author: | PrOfFeSsOr [ 2005-01-05 20:47:17 ] |
| Post subject: | |
Бля пиздец, вот вас амерекосов ХУЙ помешь.....скриптеры хреновы...... |
|
| Author: | I'm [ 2005-01-05 21:50:27 ] |
| Post subject: | |
Мил человек учите иностранный язык а лучше не 1 и все поймеш. |
|
| Author: | BETEPAH [ 2005-01-05 22:20:09 ] |
| Post subject: | |
PrOfFeSsOr wrote: Бля пиздец, вот вас амерекосов ХУЙ помешь.....скриптеры хреновы......
ПАНИКА на ФАНКОДРОМЕ )))) |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|