English:
Is there any chance of getting a UO.GetLoS('lasttarget') function to check Line of Sight?
Google Translator [English >> Russian]:
Есть ли шанс получить функцией UO.GetLoS ('lasttarget'), чтобы проверить прямой видимости?
Search found 14 matches
- 2013-12-17 18:20:04
- Forum: General
- Topic: [Обновление! / Update!] Injection 2013
- Replies: 368
- Views: 135780
- 2013-11-22 02:39:32
- Forum: General
- Topic: [Обновление! / Update!] Injection 2013
- Replies: 368
- Views: 135780
Re: [Обновление! / Update!] Injection 2013
Hi!
I'm using 1310.12 and I'm having issues with "UO.SetJournalLine(linenum,newtext)" that just erases the line, exactly like "UO.DeleteJournal(text)" does.
Also I can't call functions with parameters, because it seems to call the "func_WithParams()" function but it doesn't creates it when calli ...
I'm using 1310.12 and I'm having issues with "UO.SetJournalLine(linenum,newtext)" that just erases the line, exactly like "UO.DeleteJournal(text)" does.
Also I can't call functions with parameters, because it seems to call the "func_WithParams()" function but it doesn't creates it when calli ...
- 2013-04-25 15:41:25
- Forum: Scripting Ore
- Topic: Gump Handling
- Replies: 0
- Views: 5397
Gump Handling
; ; Gump
; ; Wait Gump Serial
# # Wait a gump checking for it's serial
; ; Wait Gump ID
# # Wait a gump checking for it's gumpid
; ; Wait Gump Text
# # Wait a gump checking for it's text
; ; Wait Gump Command
# # Wait a gump checking for it's Command
; ; In Gump Text
# # Returns the ...
; ; Wait Gump Serial
# # Wait a gump checking for it's serial
; ; Wait Gump ID
# # Wait a gump checking for it's gumpid
; ; Wait Gump Text
# # Wait a gump checking for it's text
; ; Wait Gump Command
# # Wait a gump checking for it's Command
; ; In Gump Text
# # Returns the ...
- 2013-04-01 16:09:27
- Forum: Scripting Ore
- Topic: Auxiliar Functions
- Replies: 0
- Views: 4824
Auxiliar Functions
1. Repeat 'Guards' until die, or get full health (without being poisoned)
Sub CallGuards()
var timeout=10
If UO.GetNotoriety('self')<=1 Then
UO.Msg('Guards')
End If
While (UO.Life<UO.Str Or UO.Poisoned()) And Not Uo.Dead()
If timeout<=0 Then
UO.Msg('Guards')
timeout ...
Sub CallGuards()
var timeout=10
If UO.GetNotoriety('self')<=1 Then
UO.Msg('Guards')
End If
While (UO.Life<UO.Str Or UO.Poisoned()) And Not Uo.Dead()
If timeout<=0 Then
UO.Msg('Guards')
timeout ...
- 2013-04-01 15:42:14
- Forum: Scripting Ore
- Topic: Guild ress
- Replies: 9
- Views: 3651
Re: Guild ress
Why are you using 'laststatus' when you can use bandage on the player's id!
I would go for:
While UO.GetHP('Player ID')<UO.GetMaxHP('PlayerID') And UO.Count('0x0E21')>0 And UO.GetDistance('Player ID')<=??? ; change ??? for the maximum healing distance! And to stop healing, just ...
I would go for:
While UO.GetHP('Player ID')<UO.GetMaxHP('PlayerID') And UO.Count('0x0E21')>0 And UO.GetDistance('Player ID')<=??? ; change ??? for the maximum healing distance! And to stop healing, just ...
- 2012-09-28 15:20:35
- Forum: Help
- Topic: Opitional Parameters
- Replies: 3
- Views: 1798
Re: Opitional Parameters
Thx for the info!
I might not use this, since I script for other players, and they usually have issues for not following instructions like "download this script.dll and paste it in your Injection folder". Yeah.. they usually don't even read XD
But it's nice to know that there are some developments ...
I might not use this, since I script for other players, and they usually have issues for not following instructions like "download this script.dll and paste it in your Injection folder". Yeah.. they usually don't even read XD
But it's nice to know that there are some developments ...
- 2012-09-27 21:29:03
- Forum: Help
- Topic: Opitional Parameters
- Replies: 3
- Views: 1798
Opitional Parameters
Is there a way to create a function that may receive 0 OR 1 OR 2 parameters.
For example:
0 parameters:
Magery() ; Would cast a default spell without waiting the result of the cast
1 parameter:
Magery('Magic Arrow') ; Would cast 'Magic Arrow' into a target without waiting the result of the cast ...
For example:
0 parameters:
Magery() ; Would cast a default spell without waiting the result of the cast
1 parameter:
Magery('Magic Arrow') ; Would cast 'Magic Arrow' into a target without waiting the result of the cast ...
- 2012-09-13 14:03:11
- Forum: Help
- Topic: UO.FindType not finding on ground
- Replies: 1
- Views: 2971
Re: UO.FindType not finding on ground
Just adding:
This happens when I try to find an item that is not stacked (more than 1 item with the same id) or near a stacked one.
Let me explain with an example.
1 - I droped 4 bandages around me in ammounts of 1 (4 ids with 1 quantity each)
2 - I used UO.FindType('0x0e21','-1','ground'), that ...
This happens when I try to find an item that is not stacked (more than 1 item with the same id) or near a stacked one.
Let me explain with an example.
1 - I droped 4 bandages around me in ammounts of 1 (4 ids with 1 quantity each)
2 - I used UO.FindType('0x0e21','-1','ground'), that ...
- 2012-09-11 14:21:57
- Forum: Learn Scripting
- Topic: laststatus / attacklast
- Replies: 4
- Views: 5028
Re: laststatus / attacklast
For getting target from you UO Client I use a script without attacking the target, so I may target it without the need to show him that!
diferently from you I use the client to call for Injection script using ,exec command.
In UO Client I got a hoteky set with:
NextTarget (or SelectNext ...
diferently from you I use the client to call for Injection script using ,exec command.
In UO Client I got a hoteky set with:
NextTarget (or SelectNext ...
- 2012-09-11 14:11:59
- Forum: Learn Scripting
- Topic: How to Break or Continue in loop?
- Replies: 15
- Views: 8869
Re: How to Break or Continue in loop?
The FOR loop need some special treatment for a correct use.
Let me give you an example:
For varloop=var1 to var2
blablabla
Next
In this example we have a flexible loop that goes from whatever var1 is adding 1 until its the same value of var2
And there goes our problems:
1 - If var1 is greater ...
Let me give you an example:
For varloop=var1 to var2
blablabla
Next
In this example we have a flexible loop that goes from whatever var1 is adding 1 until its the same value of var2
And there goes our problems:
1 - If var1 is greater ...
- 2012-09-11 13:58:22
- Forum: Help
- Topic: UO.FindType not finding on ground
- Replies: 1
- Views: 2971
UO.FindType not finding on ground
Hi all,
I'm having problems (for a long time) in finding itens, humans, animals, anything...
The use normally follows the pattern
UO.Set('finddistance',???) ; ??? usually is 3 for grab distance
UO.FindType(typehere,'-1','ground')
If I use it to find animations (humans, animals, monsters...) they ...
I'm having problems (for a long time) in finding itens, humans, animals, anything...
The use normally follows the pattern
UO.Set('finddistance',???) ; ??? usually is 3 for grab distance
UO.FindType(typehere,'-1','ground')
If I use it to find animations (humans, animals, monsters...) they ...
- 2012-09-11 13:30:50
- Forum: Scripting Ore
- Topic: DracoX Support and Utility Functions
- Replies: 2
- Views: 3092
Re: DracoX Support and Utility Functions
Welcome. interesting. However, not sure about Wait(1) and Wait(10).
If you need any aditional info let me know
Why are you not sure about the Wait(1) and Wait(10)
And one more thing... there maybe some uses of global variables that wasn't defined in the code I've posted, because I just copied ...
If you need any aditional info let me know
Why are you not sure about the Wait(1) and Wait(10)
And one more thing... there maybe some uses of global variables that wasn't defined in the code I've posted, because I just copied ...
- 2012-09-10 20:45:29
- Forum: Scripting Ore
- Topic: DracoX Support and Utility Functions
- Replies: 2
- Views: 3092
DracoX Support and Utility Functions
Hi everyone!
It's my first own topic in this forum, so let me introduce my self
I'm DracoX, Dimension Free Shard (Brazilian Shard), Staff Member (currently Seer) and Injection Scripter (it's been a while... can't remember when i begun to script in Injection).
And the most important part of me ...
It's my first own topic in this forum, so let me introduce my self
I'm DracoX, Dimension Free Shard (Brazilian Shard), Staff Member (currently Seer) and Injection Scripter (it's been a while... can't remember when i begun to script in Injection).
And the most important part of me ...
- 2012-09-10 20:35:47
- Forum: Scripting Ore
- Topic: [Script] Calculator on Injection
- Replies: 1
- Views: 2914
Re: [Script] Calculator on Injection
This Calculator has been recently updated to accept more functionalities:
now accepting a full expression with k as 000 and M as 000.
You'll be able to solve expressions like this: '(1M250+1kk25k)*2'
This code needs some os my own support functions
(and for the record I'm the one that created ...
now accepting a full expression with k as 000 and M as 000.
You'll be able to solve expressions like this: '(1M250+1kk25k)*2'
This code needs some os my own support functions
(and for the record I'm the one that created ...