Yoko

All sides of Injection
It is currently 2025-12-25 15:05:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2007-01-18 19:49:04 
Offline
User avatar

Joined: 2006-04-21 16:28:39
Posts: 17
проблема со всеми скриптами использующими STR
например

Code:
......
var musor = 0x2256
var Z
Z=uo.getserial("lasttarget")
var y=600
uo.set("lasttarget","laststatus")
uo.findtype(musor,'-1','2')
if uo.findcount() then
wait(50)
uo.drop("1", str(uo.getx(Z)-1), str(uo.getx(Z)), 0, "finditem")
else
wait(50)
endif
wait(y)
......


выдает ошибку Invalid number of arguments -STR
разобраться самому пока не получается, тем более что ранее скрипт работал, поиск тоже результата не дал


Top
   
 Post subject:
PostPosted: 2007-01-18 20:30:30 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
сам путаюсь в синтаксисе, непробовал "Z" :?:

str(uo.getx(Z)-1), str(uo.getx(Z)) :lol:

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


Top
   
 Post subject:
PostPosted: 2007-01-18 23:36:06 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
NMY wrote:
сам путаюсь в синтаксисе, непробовал "Z" :?:

str(uo.getx(Z)-1), str(uo.getx(Z)) :lol:

Ага, путаешся.

Quote:
var Z
Z=uo.getserial("lasttarget")


Top
   
 Post subject:
PostPosted: 2007-01-19 00:13:05 
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: 2007-01-19 18:41:15 
Offline
User avatar

Joined: 2006-04-21 16:28:39
Posts: 17
попробовал по-всякому, даже клиенты разные попробовал, я грешу на сервер...

у нас частично ввели МЛ и наверно что-то изменилось, вот и не работает старый скрипт (


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] 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