| Yoko http://forum.yoko.com.ua/ |
|
| Delay time http://forum.yoko.com.ua/viewtopic.php?f=20&t=15417 |
Page 1 of 1 |
| Author: | Xpree [ 2010-01-06 17:27:50 ] |
| Post subject: | Delay time |
Hi russian ppl, im a brasilian and i´m desenvolving a script to automatic cast spells with a dinamic wait(), its more or less like this Code: inicio: help me plz |
|
| Author: | Mirage [ 2010-01-06 18:22:49 ] |
| Post subject: | |
Why use a goto? You can use the gethp('ID') like this. Code: if uo.GetHP(OBJ)<>uo.GetMAXHP(OBJ) then If I understood correctly. |
|
| Author: | Xpree [ 2010-01-06 18:25:53 ] |
| Post subject: | |
OBJ would be my target? Code: inicio: like this? but that dont work with magic that dont land damage like paralize i would like something more general to work with all magics if possible. ty |
|
| Author: | Nmy [ 2010-01-06 18:56:39 ] |
| Post subject: | |
Code: sub fstarget() |
|
| Author: | Xpree [ 2010-01-06 19:17:14 ] |
| Post subject: | |
you got it Nmy, MANA CHECK, PERFECT!!!! TY. |
|
| Author: | Xpree [ 2010-01-06 20:15:40 ] |
| Post subject: | |
this is my medium to finish script well the quotes is still needing debug, javascript:emoticon(':?') Code: Sub Delay() |
|
| Author: | Scripts Writer [ 2010-01-08 11:58:23 ] |
| Post subject: | |
I check it so: Code: var mana = uo.mana Don't u think what'll happen if u drink total mana until the cast finish? Mana: 30 *Casting* *Drink total mana* Mana: 100 *Cast finished* Mana: 70 Script still waiting until mana will be less 30. |
|
| Author: | Nmy [ 2010-01-08 13:45:52 ] |
| Post subject: | |
the script won't use mana and he won't do in either, and the shard doesn't have reagents Code: uo.usetype('type')or Code: uo.usetype("type")all functions use quotation marks except if it's an object variable Code: var chest="0x12345678" or Code: uo.addobject('chest') this is the object, not variable
the same applies to 'backpack', 'lastcontainer', etc |
|
| Author: | Scripts Writer [ 2010-01-08 18:38:58 ] |
| Post subject: | |
Nmy wrote: the script won't use mana Телепат? Nmy wrote: the script won't use mana Кто сказал что мана будет питься в рамках этого скрипта? Отдельный хоткей для восполнения маны во время каста никто не отменял, или первое что в голову пришло написал даже не вдумываясь в то что я отписал выше? Nmy wrote: and the shard doesn't have reagents
Он ещё и шард указал? Может я что-то пропустил, как название? То что у него есть наработка на восполнение маны, не знаю каким уже там у них в бразилии образом, тотал маной или бубном, ты конечно тоже пропустил? П.С. На досуге проверь что быстрее работает- проверка на изменение маны, или реагентов, если конечно гордыня не затуманит глаза. П.С.С. Не надо меня передёргивать когда я к тебе не обращаюсь, не дорос ещё. |
|
| Author: | Nmy [ 2010-01-09 11:16:05 ] |
| Post subject: | |
Quote: Он ещё и шард указал? Может я что-то пропустил, как название? viewtopic.php?p=84467#84467 Quote: Кто сказал что мана будет питься в рамках этого скрипта?
viewtopic.php?p=84478#84478 Еще вопросы есть? П.С.Быдло: Читай молча форум и не указывай мне что я могу или не могу делать. |
|
| Author: | Nmy [ 2010-01-09 11:23:35 ] |
| Post subject: | |
if it helps i fixed your code a bit Code: Sub Delay() this one is dynamic mana check - it ends loop in 20 seconds if nothing happens or quits immediately if mana drops Code: sub WaitForMana() |
|
| Author: | Xpree [ 2010-01-12 16:22:23 ] |
| Post subject: | |
i will try it sry for the late reponse, cuz im working like hell, but i will try it. this its what i need: 1- a dinamic delay checker for any magic 2- well in my shard(that dont use reags), i found a full insntance that the npc, well they dont walk or walk like a tile off 3 secs, so when i am working i want to stay killing them, and they are very very strong, kill vortexes 1 hit, but they are fully vunerable to fire and poison, so i poison them and then fs their ass of, but sometimes they poison me, that why the cure there, and also they teleport close, thats why i need the dinamic delay, if i get poisoned or my magic failure before it complete the delay they have, i have to move fast so they dont kill me on a 1 hit basis, and the check life if some one trys to kill me i will heal and go invis(with a item that i won on a champ that cant be revealed) i think its about it. |
|
| Author: | Xpree [ 2010-01-15 19:49:48 ] |
| Post subject: | |
well, my shard removed the Spell Fizzles message, how i would get the error by sound or by the animation smoke? ty |
|
| Author: | Noite [ 2010-01-15 21:38:52 ] |
| Post subject: | |
When you cast and flizzes you lost mana in your shard ? May be a solution. However, you could try: Code: ,set animecho 1 |
|
| Author: | Xpree [ 2010-01-17 14:10:42 ] |
| Post subject: | |
gadly they returned the error message, so i will do it with it =) |
|
| Author: | Noite [ 2010-01-18 06:10:10 ] |
| Post subject: | |
Very nice script! I try change this and made my own script, but the problem is try use this sub in pvp. With me ever crashs in unspected sometime. |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|