Cut macro

Ask for help

Moderators: Murderator+, Murderator

Post Reply
ozcaN
Posts: 34
Joined: 2004-06-18 17:21:40

Cut macro

Post by ozcaN »

Im playing on a shard now that prevents autocut. When you kill someone five invisible bodies appear next to the real corpse, so if you cut an invis corpse you die. So the trick is to only cut the one that is visible to me. Does anyone have any ideas on how to get around this
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

Only one trick special for you:)
On most shards are used incremental system of ID, each new item -> ID++. And What we have?:) If your shard use RunUO they may randomize corpses, but i dont think so. ok real corpse'll be first and it's ID is the smallest. Use findtype(0x2006, -1, 'ground') and find the smallest ID, but if u have more when 1 real turn on your mind:)

And how they do them invis?:))) as usual if item is invised injection cant handle it:) I think trouble in corpse color (by this parametr corpse change view)
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Я думаю инвиз значит, что для них просто графа не нарисована или просто чёрный квадрат тама, тобишь прозрачный :)

Типа хреновина, чтобы мешать инжектерам жить..

Ну это если я конечно верно понял, суть написанного :)
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

так я ж на писал, что за отображение в трупе выступает параметр колор.
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Мда.. ладно.. буду учить английский :)
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
ozcaN
Posts: 34
Joined: 2004-06-18 17:21:40

Post by ozcaN »

can u post the script for me cause i dont think im good enough to script that
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

ok let's try, i'm sorry, i was wrong with color param.
Count param is using for corpse model:)
I think your shard are using only one type of hidden corpses and you can easy find it.

Code: Select all

sub FindHidden()
   uo.FindType(0x2006, -1, 'ground')
   while uo.FindCount()
      uo.Print(str(uo.GetQuantity('finditem')))
      wait(100)
      uo.Ignore('finditem')
      uo.FindType(0x2006, -1, 'ground')
   wend
   uo.IgnoreReset()
end sub


Kill someone and run this script, you'll see numbers in left conner some must be equale, it's a hidden corpses.

In cut script you must check color of corpse!
ozcaN
Posts: 34
Joined: 2004-06-18 17:21:40

Post by ozcaN »

this is what i got when i ran this script after i killed some1

Image
Grin
Expert!
Posts: 2580
Joined: 2005-05-04 14:05:19
Location: Москва

Post by Grin »

real corpse of Hummans must have color 400-401 (0x190 male and 0x191 female, 0x192 Ghost). In your example women was killed.

Understand?:)
ozcaN
Posts: 34
Joined: 2004-06-18 17:21:40

Post by ozcaN »

i really understand what your saying but i dont think i have the experience to script that. do you think u can come up with the script for me?
ozcaN
Posts: 34
Joined: 2004-06-18 17:21:40

Post by ozcaN »

bump please help
Post Reply