| Yoko http://forum.yoko.com.ua/ |
|
| Looting regs from bank http://forum.yoko.com.ua/viewtopic.php?f=3&t=608 |
Page 1 of 1 |
| Author: | Nazgul [ 2004-06-20 11:21:35 ] |
| Post subject: | Looting regs from bank |
Code: sub loot() I'm trying to make a script which would loot 50 of each reg from bank when i open bank and say ,exec loot but it gives me errro "invalid object:0" |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-20 11:33:24 ] |
| Post subject: | |
maybe you not defined "container" object And check, what uo.getserial("finditem") is not equal to zero (i.e. uo.findcount() not equal to zero) |
|
| Author: | Nazgul [ 2004-06-20 12:29:53 ] |
| Post subject: | |
Lord Ruslan Nightmare wrote: maybe you not defined "container" object
And check, what uo.getserial("finditem") is not equal to zero (i.e. uo.findcount() not equal to zero) How to define Bank object? |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-20 12:51:09 ] |
| Post subject: | |
A know only one way: get serial of ANY object in bank and then make little temporary script: sub temp() uo.addobject("bank",uo.containerof("here serial of any item in bank")) end sub |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-22 01:10:05 ] |
| Post subject: | |
Also - there is uo.objatlayer("Bank") |
|
| Author: | WeedDevil [ 2004-06-22 02:28:30 ] |
| Post subject: | |
or just to complete this list you could also go to bank, say "bank" then ,info lastcontainer would give you serial of bank... |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|