Yoko

All sides of Injection
It is currently 2025-11-18 22:26:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: 2007-12-27 17:13:31 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
hi guys

i am getting this error so often and i would not like to format my pc, so i think you could help me.


Image
this above appears first

so when i press OK this one appears and my UO closes
Image

sometimes they appears at the same time.
I tried to use too much different client versions (300c, 400c, 502, 506d)
and i all of them i get the same error, I checked my scripts 3x and dindn't find any error, well, they work for some minutes before the error appears, i think that is nothing wrong...

Main Tab config:
Flush Log
Light
Target XYZ Fix
Unset Before set
Client >400c fix (when using 400+ clients)
No client hung message
Permit var loopback
Track World itens
Ignore socket (400x)
Version (version of used clients)

YokoInjection 702.11 PaWn

Script Parser version: 0.3
Yoko Build 212.11


i would be so thankful if someone help me
thanks for everything and sorry for my english :/

bye


Top
   
 Post subject:
PostPosted: 2007-12-27 21:49:34 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Second error - may be result of first error.

First error - this is error of scripting module (script.dll). You can see this error when using some not fully correct scripts.

Try to write scripts most correctly and you will not seen this error.

If you copy some script, then i can show to you some errors in script..

PS: Sry for my clumsy English..

_________________
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: 2007-12-28 00:19:01 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
Destruction wrote:
Second error - may be result of first error.

First error - this is error of scripting module (script.dll). You can see this error when using some not fully correct scripts.

Try to write scripts most correctly and you will not seen this error.

If you copy some script, then i can show to you some errors in script..

PS: Sry for my clumsy English..


just to test, i cleared my autoload and write just this:
Quote:
sub main()
repeat
uo.deletejournal()
uo.click('backpack')
while not uo.injournal('backpack')
wait(1)
wend
wait(1000)
until uo.dead()
end sub


so i've got the errors :/

what could it be ?

i did this test with client 506d and at the Main tab
Client > 400c Fix
ignoresocket(400x)
version 4.0.0c


Top
   
 Post subject:
PostPosted: 2007-12-28 16:53:01 
Offline

Joined: 2007-12-19 14:33:44
Posts: 6
i also got that problem.. i THINK its when i use repeat, while or FOR loops.
whenever i use a loop function it crashes after some minutes.
i tried to increase wait timers, removed some functions just to see what could be the error and i even tried making REAL simple scripts and they still crash after 1minute - 24hours randomly

uo.set('quiet', '1') dosent work either.

Is there any alternate script.dll´s to download? the current one needs to be redone imo


Top
   
 Post subject:
PostPosted: 2007-12-28 21:59:56 
Offline
User avatar

Joined: 2007-12-25 10:28:11
Posts: 10
А можеш мой скрипт посмотреть , он рабочий только разница , у кого брал у него обычный комп у меня ноут , у него работает у меня постоянно unhandled exception in parser , да к стати бывает и надругих скриптах!


############################################################
# Офигенный скрипт на мининг ! V.1.12
# by =Alas=
# 04/9/2003
# Отредактирован by mavrik 25/6/2004. Спецальна для капания
# на Shadow zone
############################################################
#=== Основная идея:
# 1.Пользователь записывает путь в шахте,потом скрипт
# следует этому пути и капает под собой на каждом шагу
#=== Как его наладить ?
# 1.Создаешь Object TYPE называешь его "pickaxe",
# сопоставляешь его со своей киркой.
# 2.Идешь на место откуда хочешь начать капать и запускаешь
# record_path обходишь шахту и возвращаешься на место где
# где запустил запись(очень важно !!!!), говаришь "stop"
# Всплывает окно где записан твой путь копируешшь его в
# 'Var path="xxxx в go_mining sub.
# 3.Идешь на место где начал запись пути,Запускаешь go_mining sub

sub pe()
uo.usetype("0x19b9")
end sub

# И ждешь када он всё выкапает :-)

############################################################
###Главная функция, нада настроить##########################
############################################################
sub go_mining()
var cycle=0
var path="4kl6ol6kl7ol6kl3ol7kl9ool9k2kl5oi2ol7ol9k3kl9o3ol9k3kl9oo5wk3iw2i"
#var path="2lo7io9lo9i9io9l9l2lo5io3lo2io2l"
#var path="6ik5lk7ik9l7lk9i8ik9l9l2lk9i9i2ik9l9l4l"
var test=0
var i=0
var j
UO.DeleteJournal()

While i<LEN(path)
if VAL(path[i]) then
j=VAL(path[i])
i=i+1
else
j=1
endif

Repeat
if test<>1 then
UO.DeleteJournal()
mine_spot()
end if

UO.Print("Здесь нехуя боьше капать !!!")
if not make_step(path[i]) then
UO.Print("Probably Stuck!")
UO.Print("Hope it is a Worldsave")
endif
j=j-1
Until j==0

i = i + 1
if cycle && i==LEN(path) then
i=0
endif
Wend
end sub

############################################################
# Ничё не менять ! #######################################
############################################################
sub mine_spot()
var maxMineTime=8000
var times=1
var timeout=1
While UO.InJournal("There is no")==0
UO.Print("Ну,где ты стоун оф шадовс ?!!!")
while not UO.Hidden()
UO.Warmode("0")
uo.print("hiding...")
UO.UseSkill("Stealth")
wait(4000)
wend
UO.DeleteJournal()
UO.WaitTargetTile("1339",STR(UO.GetX()),STR(UO.GetY()),"0")
UO.UseType("pickaxe")
timeout=0
times = times +1
if times>0 then
wait(1000)
times = 0
endif
Repeat
timeout=timeout+500
Wait(500)
#UO.Print("Waiting...")
Until UO.InJournal("You put") OR UO.InJournal("There is no") OR timeout>maxMineTime
Wend
return 0
end sub

############################################################
# Енто для записи пути####################################
############################################################
sub record_path()
var x
var y
var path=""
UO.DeleteJournal()
Repeat
x=UO.GetX()
y=UO.GetY()
if waitNewPos(x,y) then
path=path+extract_dir(x,y,UO.GetX(),UO.GetY())
endif
Until UO.InJournal("stop")
path = compressPath(path)
UO.TextClear()
UO.TextOpen()
UO.TextPrint("Your path is:")
UO.TextPrint(path)
end sub

############################################################
# Ничё не менять !########################################
############################################################
sub send_step(keycode,dir)
var x = UO.GetX()
var y = UO.GetY()
var timeout = 0
if UO.GetDir()<>dir then
UO.Press(keycode)
Repeat
wait(50)
Until UO.GetDir()==dir
endif
UO.Press(keycode)
Repeat
timeout=timeout+50
wait(50)
Until x<>UO.GetX() || y<>UO.GetY() || timeout>2000
if timeout>2000 then
return 0
endif
return 1
end sub

############################################################
# Ничё не менять !########################################
############################################################
sub waitNewPos(x,y)
while x==UO.GetX() && y==UO.GetY()
if UO.InJournal("stop") then
return 0
endif
wend
return 1
end sub

sub compressPath(path)
Var i=0
Var j=0
Var newPath=""
while i<LEN(path)
j=1
while path[i]==path[i+1] AND j<9
i=i+1
j=j+1
wend
if j==1 then
newPath=newPath+path[i]
else
newPath=newPath+STR(j)+path[i]
endif
i=i+1
wend
return newPath
end sub

sub extract_dir(x,y,a,b)
if x>a then
if y==b then
return "i"
else
if y>b then
return "n"
else
return "w"
endif
endif
else
if x<a then
if y==b then
return "l"
else
if y>b then
return "e"
else
return "s"
endif
endif
else
if y>b then
return "o"
else
return "k"
endif
endif
endif
end sub

sub make_step(dir)
if dir=="e" then
send_step(39,1)
return 1
endif
if dir=="l" then
send_step(34,2)
return 1
endif
if dir=="s" then
send_step(40,3)
return 1
endif
if dir=="k" then
send_step(35,4)
return 1
endif
if dir=="w" then
send_step(37,5)
return 1
endif
if dir=="i" then
send_step(36,6)
return 1
endif
if dir=="n" then
send_step(38,7)
return 1
endif
if dir=="o" then
send_step(33,0)
return 1
endif
if dir=="d" then
While UO.Count("0x19b9")
UO.Drop("0x19b9")
wait(2000)
Wend
wait(600)
return 1
endif
UO.Print("Recall Time!")
return 0
end sub

sub pereplavka()
pere:
uo.usetype ("ruda")
wait(400)
goto pere
end sub


Top
   
 Post subject:
PostPosted: 2007-12-29 03:31:32 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
peke wrote:
i also got that problem.. i THINK its when i use repeat, while or FOR loops.
whenever i use a loop function it crashes after some minutes.
i tried to increase wait timers, removed some functions just to see what could be the error and i even tried making REAL simple scripts and they still crash after 1minute - 24hours randomly

uo.set('quiet', '1') dosent work either.

Is there any alternate script.dll´s to download? the current one needs to be redone imo


yes, i tried it too... i realize that this problem occurs aways in loop functions, even they being simple the client crash :/

if you find any solution share with us ^^
i will look for too

ps: I just finished format c:
and the error persists...


Top
   
 Post subject:
PostPosted: 2007-12-29 16:56:59 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
1. Dont use loop cycles.
2. Use greater pause then 1ms. For example: wait( 100 )

_________________
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: 2007-12-29 22:49:05 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
Destruction wrote:
1. Dont use loop cycles.
2. Use greater pause then 1ms. For example: wait( 100 )


i did it, but the error persists :/

i don't know what to do anymore, i tried every idea that i had...
until formated the pc...

i realized that the problem could be in uo.injournal function, that error always appears when i use repeat function with uo.injournal...

anyone have any idea what could i try?


Top
   
 Post subject:
PostPosted: 2007-12-30 06:34:36 
Offline

Joined: 2004-07-29 16:29:52
Posts: 55
still not sure what you're trying to do.

you don't want dead cycles with the repeat function, use if statements & else if's...

try reading the scripting tutorials to understanding the language...
quotes within the brackets of injournal ("blah") not ('blah')

Code:
sub main()
repeat
uo.deletejournal()
uo.click('backpack')
while not uo.injournal('backpack')
wait(1)
wend
wait(1000)
until uo.dead()
end sub


this will mess up... it simply is looking for "backpack" right so what happens if a packet is lost due to lag & lingers longer then your cpu can handle Wait(1) cycles... then to top it off you're recycling the event every second Wait(1000)

so that is like taking your motorbike & reving the living shit out of it every second... something is going to break


Top
   
 Post subject:
PostPosted: 2007-12-31 05:51:19 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
Infectous wrote:
still not sure what you're trying to do.

you don't want dead cycles with the repeat function, use if statements & else if's...

try reading the scripting tutorials to understanding the language...
quotes within the brackets of injournal ("blah") not ('blah')

Code:
sub main()
repeat
uo.deletejournal()
uo.click('backpack')
while not uo.injournal('backpack')
wait(1)
wend
wait(1000)
until uo.dead()
end sub


this will mess up... it simply is looking for "backpack" right so what happens if a packet is lost due to lag & lingers longer then your cpu can handle Wait(1) cycles... then to top it off you're recycling the event every second Wait(1000)

so that is like taking your motorbike & reving the living shit out of it every second... something is going to break


i'm doing a simply script to do some tests and locate the error...
i did what you said and let it running abou five minutes, so the error appears and uo crashes :/

i don't know what to do anymore... whay i'm having this error right now ? i used the same configs and the same autoload sometime ago and i had no problem.


Top
   
 Post subject:
PostPosted: 2007-12-31 11:34:50 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
Knight1106 wrote:
Infectous wrote:
still not sure what you're trying to do.

you don't want dead cycles with the repeat function, use if statements & else if's...

try reading the scripting tutorials to understanding the language...
quotes within the brackets of injournal ("blah") not ('blah')

Code:
sub main()
repeat
uo.deletejournal()
uo.click('backpack')
while not uo.injournal('backpack')
wait(1)
wend
wait(1000)
until uo.dead()
end sub


this will mess up... it simply is looking for "backpack" right so what happens if a packet is lost due to lag & lingers longer then your cpu can handle Wait(1) cycles... then to top it off you're recycling the event every second Wait(1000)

so that is like taking your motorbike & reving the living shit out of it every second... something is going to break


i'm doing a simply script to do some tests and locate the error...
i did what you said and let it running abou five minutes, so the error appears and uo crashes :/

i don't know what to do anymore... whay i'm having this error right now ? i used the same configs and the same autoload sometime ago and i had no problem.



Try download new client.exe, maybe this help.


Top
   
 Post subject:
PostPosted: 2008-06-26 02:01:49 
Offline

Joined: 2006-12-27 17:21:21
Posts: 10
i´m getting this error too using client 5.0.2d on a sphere server. maybe i can get a little more older client, but i don´t know how to get any.

p.s.: client 4.0.0c don´t work.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 12 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