Yoko

All sides of Injection
It is currently 2025-10-16 01:26:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
 Post subject: хелп плз
PostPosted: 2009-11-18 22:06:18 
Offline

Joined: 2009-11-18 21:49:42
Posts: 7
Не подскажите столкнулся вот с такой малюсенькой проблемой
как указать название Талисмана(Talisman),фартуха(Crimson Cincture),ленты(Lieutenant Of The Britannian Royal Guard).Пример: перчатки- Gloves
Заранее спасибо. :roll:


Top
   
 Post subject:
PostPosted: 2009-11-18 22:42:34 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
хоть убей но не понял нечего!!

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2009-11-18 22:43:26 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
если крафт то любое количество букв с первой начиная
если в var то хоть йух назови - им пофигу.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
 Post subject:
PostPosted: 2009-11-18 23:18:27 
Offline

Joined: 2009-11-18 21:49:42
Posts: 7
Пробывал пишет invalid layer name )
мне нужно его както обозначить в Object Types


Top
   
 Post subject:
PostPosted: 2009-11-18 23:20:35 
Offline

Joined: 2009-11-18 21:49:42
Posts: 7
Собственно вот он мой злой скрипт.Неодевает Library
sub Dress()
var Lhand=
var Rhand=
var Hat=
var Brace=
var Torso=
var Shoes=
var Ring=
var Legs=
var Gloves=
var Ear=
var Arms=
var Neck=
var Cloak=
var Library='0x2f5a'
if UO.objatlayer("Lhand")=="" then
UO.equipt("Lhand",Lhand)
wait(1000)
end if
if UO.objatlayer("Rhand")=="" then
UO.equipt("Rhand",Rhand)
wait(1000)
end if
if UO.objatlayer("Hat")=="" then
UO.equipt("Hat",Hat)
wait(1000)
end if
if UO.objatlayer("Brace")=="" then
UO.equipt("Brace",Brace)
wait(1000)
end if
if UO.objatlayer("Torso")=="" then
UO.equipt("Torso",Torso)
wait(1000)
end if
if UO.objatlayer("Shoes")=="" then
UO.equipt("Shoes",Shoes)
wait(1000)
end if
if UO.objatlayer("Ring")=="" then
UO.equipt("Ring",Ring)
wait(1000)
end if
if UO.objatlayer("Legs")=="" then
UO.equipt("Legs",Legs)
wait(1000)
end if
if UO.objatlayer("Gloves")=="" then
UO.equipt("Gloves",Gloves)
wait(1000)
end if
if UO.objatlayer("Ear")=="" then
UO.equipt("Ear",Ear)
wait(1000)
end if
if UO.objatlayer("Arms")=="" then
UO.equipt("Arms",Arms)
wait(1000)
end if
if UO.objatlayer("Neck")=="" then
UO.equipt("Neck",Neck)
wait(1000)
end if
if UO.objatlayer("Cloak")=="" then
UO.equipt("Cloak",Cloak)
wait(1000)
end if
if UO.objatlayer("Library")=="" then
UO.equipt("Library",Library)
wait(1000)
end if
end sub


Top
   
 Post subject:
PostPosted: 2009-11-19 00:09:55 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
http://yoko.com.ua/help/help.php?lang=r ... item=layer

Library такого нету, придется использовать usetype, useobject

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2009-11-19 00:26:46 
Offline

Joined: 2009-11-18 21:49:42
Posts: 7
ну да я от туда и брал названия)) а если не сложно можеш написать пример ибо я уже выдох-ся)

и еще если не сложно выложи сюда скрипт на забирание реагентов и тд С БАНКА В БЕКПАК а то я у тебя ненашол ( нашол только с пака в банк


Top
   
 Post subject:
PostPosted: 2009-11-19 00:53:17 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
uo.usetype('0x2f5a')

до бор регов и ресурсов есть в теме drw 2009

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2009-11-19 01:42:19 
Offline

Joined: 2009-11-18 21:49:42
Posts: 7
спасибо! про реги так и ненашол потому что как один скрипт выгружает в банк так и второй) ну да ладно)
еще вопрос как зделать так что бы после опредеоённой фразы левого чяра мой чар начинал проигрывать свой скрипт? :oops:


Top
   
 Post subject:
PostPosted: 2009-11-19 12:52:55 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
Code:
sub proigr()
while 1
wait(1000)
if uo.injournal('fraza') then
skript()
return
endif
wend
endsub

sub skript()
..
..
endsub

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2009-11-19 13:39:24 
Offline

Joined: 2009-11-18 21:49:42
Posts: 7
сУПЕР!Спасибо большое! :D :D :D
А еще такой вопрос вот оно один раз проигруется и все что делать? мне надо что бы постоянно после фразы играло :oops:


Top
   
 Post subject:
PostPosted: 2009-11-19 14:01:22 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
1) почитать уроки скриптинга
2)
Code:
sub proigr()
while 1
wait(1000)
if uo.injournal('fraza') then
UO.DeleteJournal()
skript()
endif
wend
endsub

sub skript()
..
..
endsub

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
 Post subject:
PostPosted: 2009-11-19 14:21:03 
Offline

Joined: 2009-11-18 21:49:42
Posts: 7
ОО thx

Да надо будет почитать)))


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited