Yoko

All sides of Injection
It is currently 2025-11-23 15:22:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Cut macro
PostPosted: 2008-01-09 10:06:14 
Offline

Joined: 2004-06-18 17:21:40
Posts: 34
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


Top
   
 Post subject:
PostPosted: 2008-01-09 11:34:50 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
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)


Top
   
 Post subject:
PostPosted: 2008-01-09 11:42:56 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Я думаю инвиз значит, что для них просто графа не нарисована или просто чёрный квадрат тама, тобишь прозрачный :)

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

Ну это если я конечно верно понял, суть написанного :)

_________________
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.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2008-01-09 11:54:44 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
так я ж на писал, что за отображение в трупе выступает параметр колор.


Top
   
 Post subject:
PostPosted: 2008-01-09 12:45:02 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Мда.. ладно.. буду учить английский :)

_________________
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.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2008-01-09 21:17:56 
Offline

Joined: 2004-06-18 17:21:40
Posts: 34
can u post the script for me cause i dont think im good enough to script that


Top
   
 Post subject:
PostPosted: 2008-01-10 02:00:22 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
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:
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!


Top
   
 Post subject:
PostPosted: 2008-01-11 09:41:32 
Offline

Joined: 2004-06-18 17:21:40
Posts: 34
this is what i got when i ran this script after i killed some1

Image


Top
   
 Post subject:
PostPosted: 2008-01-11 13:40:13 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
real corpse of Hummans must have color 400-401 (0x190 male and 0x191 female, 0x192 Ghost). In your example women was killed.

Understand?:)


Top
   
 Post subject:
PostPosted: 2008-01-11 21:15:16 
Offline

Joined: 2004-06-18 17:21:40
Posts: 34
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?


Top
   
 Post subject:
PostPosted: 2008-01-18 21:42:36 
Offline

Joined: 2004-06-18 17:21:40
Posts: 34
bump please help


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited