| Yoko http://forum.yoko.com.ua/ |
|
| spellbooks making script http://forum.yoko.com.ua/viewtopic.php?f=3&t=12805 |
Page 1 of 2 |
| Author: | utternoob [ 2007-11-23 22:56:52 ] |
| Post subject: | spellbooks making script |
hello, im making a script that will make full spellbooks. but i dont know how to make script repeat making a scroll if it fails? lets say im making flamestrike scroll, i fail. how do i make the script repeat until i succeed and then carry on to next scroll? |
|
| Author: | Scripts Writer [ 2007-11-23 23:09:02 ] |
| Post subject: | |
Look it in a journal. I think u have a msg when you make ur scroll || book like "you put" and "fail" when u failed |
|
| Author: | utternoob [ 2007-11-23 23:16:20 ] |
| Post subject: | |
Scripts Writer wrote: Look it in a journal. I think u have a msg when you make ur scroll || book like "you put" and "fail" when u failed
yeah i do, but im not expert scripter. i dont know what commands i should use :/ |
|
| Author: | Scripts Writer [ 2007-11-23 23:17:28 ] |
| Post subject: | |
Look help and other simply scripts |
|
| Author: | utternoob [ 2007-11-23 23:18:22 ] |
| Post subject: | |
is it something like... repeat ....... ....... blabla .............. until uo.injournal("you put") ? |
|
| Author: | Scripts Writer [ 2007-11-23 23:20:00 ] |
| Post subject: | |
Code: sub Scp() |
|
| Author: | utternoob [ 2007-11-24 13:24:18 ] |
| Post subject: | |
bah i cant get it to work.. Code: sub spellbook() now how do i make this script continue making clumsy scroll until it MAKES one and then proceeds to create food scroll? |
|
| Author: | Scripts Writer [ 2007-11-24 13:32:16 ] |
| Post subject: | |
Your script is wrong from begin to end. Start step by step: Code: 1. To create 1 scroll. Try to write this 5 scripts without errors. Start from first- i'll correct you if something is wrong |
|
| Author: | utternoob [ 2007-11-24 19:20:11 ] |
| Post subject: | |
ok doing step one... Code: sub spellbook() i get error "unhandled exception in parser". whats wrong? |
|
| Author: | Scripts Writer [ 2007-11-24 20:15:38 ] |
| Post subject: | |
Try to write from first function. Not copy/past. Look how to make repeat-until, how to make while-wend. Use uo.WaitMenu, look how to make all this in craft scripts and then try to write . |
|
| Author: | utternoob [ 2007-11-24 20:41:10 ] |
| Post subject: | |
Scripts Writer wrote: Try to write from first function. Not copy/past.
Look how to make repeat-until, how to make while-wend. Use uo.WaitMenu, look how to make all this in craft scripts and then try to write . im not scripter, im completely new to this. why cant you just edit my script a bit so it would do what i want please? ok now i got this Code: sub spellbook() but this script doesnt wait for scroll to be crafted, it just "eats" all my scrolls in a second and then stops... |
|
| Author: | Scripts Writer [ 2007-11-24 20:48:31 ] |
| Post subject: | |
When u write ur script, did u understand what should it do? Do u know how repeat/until is working? Test it: Code: sub Sc() and then look at ur script, and try to look for ur mistake. *me not english* |
|
| Author: | utternoob [ 2007-11-24 21:19:38 ] |
| Post subject: | |
Got it working. |
|
| Author: | Scripts Writer [ 2007-11-24 21:22:33 ] |
| Post subject: | |
To make big scripts u have to know, what's ur every string is doing and nothing else |
|
| Author: | utternoob [ 2007-11-24 21:50:15 ] |
| Post subject: | |
now im making a script that will make 20 recall scrolls and then stops, but i dont know how to use UO.Count.... Code: sub recall() How do i make this script make 20 recall scrolls and then stop? |
|
| Author: | Scripts Writer [ 2007-11-24 21:53:59 ] |
| Post subject: | |
Make Code: for/next |
|
| Author: | utternoob [ 2007-11-24 22:07:03 ] |
| Post subject: | |
also when using my spellbook script sometimes i randomly get error... unexpected error bla bla.. what may cause this? |
|
| Author: | utternoob [ 2007-11-24 22:07:27 ] |
| Post subject: | |
Scripts Writer wrote: Make
Code: for/next i dont understand this sorry :S |
|
| Author: | Mazer [ 2007-11-24 22:14:11 ] |
| Post subject: | |
hmm how about this Code: repeat |
|
| Author: | utternoob [ 2007-11-24 22:20:57 ] |
| Post subject: | |
Mazer wrote: hmm how about this
Code: repeat um no i just need script to stop after i have 20 scrolls in backpack, and thats done with UO.Count i think |
|
| Page 1 of 2 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|