| Yoko http://forum.yoko.com.ua/ |
|
| Setting Simple Macro's etc. http://forum.yoko.com.ua/viewtopic.php?f=3&t=7381 |
Page 1 of 1 |
| Author: | fourtytwo [ 2006-04-16 07:31:02 ] |
| Post subject: | Setting Simple Macro's etc. |
Hey guys! I am new to injection because I just started playing free shards from OSI. I am used to UOA so I know how to set easy macros in UOA, but now when I try to use that logic in injection it does not work. For example I'm wanting to be able to setup a macro to cast recall, and click the rune in my backpack that I choose automatically with the hit of a key. In UOA it looks like: use skill/cast spell target How would I set this up? Is there a better document about setting these types of macros and an extensive command list other than the one on the origional site meaning this one: http://yoko.netroof.net/eng/old_injecti ... ml#command I see yoko's but i can't read the descriptions only the command. I'll keep messing with it and if I figure out a lot before someone responds I'll delete this topic. If it is better that I just ask questions here then I will do so but I'm sure someone has a document out there, or if someone is just feeling in a helpful mood my AIM: jason1nk and MSN: vumpler@gmail.com thanks guys! |
|
| Author: | Destruction [ 2006-04-16 08:34:53 ] |
| Post subject: | |
For recall by rune you need set target trap and only after cast the spell. Script for example: Code: sub RuneRecall() If you carefully read help about cast command, then you understand, that you can use: Code: ,cast 'Recall' 'Rune ID' I correctly understand you problem? Sorry for my clumsy English. |
|
| Author: | fourtytwo [ 2006-04-16 08:40:30 ] |
| Post subject: | |
No you did excellent! Thanks a ton. I also read and found out how to set it to a key as well. Another question is with looting bags and cutting corpses for hides with the click of a button. I am trying to GM alchemy and on the shard I am playing to make a keg you have to drag the individual potions onto the keg to fill it. How do I write a script to drag greater heal potions onto a keg? Also how do I have it to where when I hit a button it takes all items from one bag or corpse? and also cutting the nearest body/corpse for hides? I tried this script and it doesn't work Code: sub cut() and this one: Code: sub cut() I get several errors. Thanks for all of your help! |
|
| Author: | fourtytwo [ 2006-04-16 08:43:12 ] |
| Post subject: | |
When I try to attempt cut it says "function not found - UO.INJOURNAL" and with the loot i get "Function not found - UO.GETDISTANCE" even though I am standing right next to the body |
|
| Author: | Destruction [ 2006-04-16 08:48:43 ] |
| Post subject: | |
fourtytwo wrote: When I try to attempt cut it says "function not found - UO.INJOURNAL" and with the loot i get "Function not found - UO.GETDISTANCE" even though I am standing right next to the body
Update injection.dll to latest version. |
|
| Author: | fourtytwo [ 2006-04-16 08:58:47 ] |
| Post subject: | |
ok that was definitely part of the problem. Now the loot script will sort of work. It took the gold from one of the creatures but nothing else... And then it just said it could find zero items.. And with the cut script it says "auto target canceled no item found" The current script is: Code: sub cut() And I am wanting to use my newbied dagger as what cuts the corpse. |
|
| Author: | Destruction [ 2006-04-16 09:01:49 ] |
| Post subject: | |
try it: Code: sub cut() And see, that script 'll write to text window. |
|
| Author: | fourtytwo [ 2006-04-16 09:04:49 ] |
| Post subject: | |
"Auto targeting canceled no item found" is there anything I need to do before this will work? like target the dagger and name it a cleaver under objects? |
|
| Author: | fourtytwo [ 2006-04-16 09:18:50 ] |
| Post subject: | |
Ok I fixed it. This is what I changed it to: Code: sub cut() |
|
| Author: | fourtytwo [ 2006-04-16 09:19:52 ] |
| Post subject: | |
The only questions I have left is how would I set it to take every item out of a corpse and how do i set a macro to take greater heal potions from my backpack and place them in another bag. |
|
| Author: | Destruction [ 2006-04-16 18:10:22 ] |
| Post subject: | |
If i correctly understand you problems, you need two scripts: 1. Script for loot all items from corpse. 2. Script for move GreaterHeal from backpack to any bag. 1. Code: sub AutoLoot() 2. Code: sub MoveGH() |
|
| Author: | flake [ 2006-04-16 19:38:30 ] |
| Post subject: | |
I guess that he has many unstacking potions that he needs to move to the keg, so I advise this: Code: sub MoveGH() |
|
| Author: | fourtytwo [ 2006-04-16 20:39:12 ] |
| Post subject: | |
You guys are awesome... They actually changed the way we do kegs now though and it consists of double clicking the keg then click on the potion. So the code would look something like: double click keg click potion type. So what I need to do is use the command ,addtype gh then click on the potion. that's a very simple script I'm sure.[/code] |
|
| Author: | Destruction [ 2006-04-16 21:00:56 ] |
| Post subject: | |
Code: sub MoveGH() |
|
| Author: | fourtytwo [ 2006-04-16 22:04:47 ] |
| Post subject: | |
You guys are awesome they work great! And if you ever need any health advice just ask I'm a doctor |
|
| Author: | Destruction [ 2006-04-16 22:07:46 ] |
| Post subject: | |
fourtytwo wrote: You guys are awesome they work great! And if you ever need any health advice just ask I'm a doctor
Okay. I remember it. |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|