Yoko

All sides of Injection
It is currently 2025-12-26 10:10:39

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2007-01-08 07:03:40 
Offline

Joined: 2004-05-16 16:23:27
Posts: 37
Sorry for the trouble, but this script only runs a couple dozen iterations, usually no more then a hundred or so, then gives an "unhandled exception in parser". If I click ok then try to do more actions in the client, it soon freezes and gives the injection "wait 5 seconds dialogue. However, I get this same error on a lot of other scripts I have. Is there any way to see if it's something about injection or the client causing this, or how can i fix it?

The script in question is this, although I don't think it matters:
Code:
sub itemfinder()
VAR hexnum
VAR num
var i
var BackP = 0x4000D00E  # ID of your backpack, to cancel targetting
var itemName
var itemTemp
uo.textopen()
uo.textclear()
UO.DeleteJournal()
# for i=1 to 65535  This is how it should be
for i=12288 to 65535
num = uo.Int2Hex(i)
hexnum=num[2]+num[3]+num[4]+num[5]
uo.waittargetobject(BackP)
UO.Say(".add " + hexnum)
UO.DeleteJournal()
while not UO.Injournal("would you like to place") and not UO.Injournal("a valid command")
wait(200)
wend
wait(500) # included to cut down on spam filter
if UO.Injournal("would you like to place") then
itemTemp = uo.journal(uo.injournal("would you like to place")-1)
itemName = mid(itemTemp,34,len(itemTemp)-35)
uo.textprint("Item Number " + hexnum + " is: " + itemName)
end if
if UO.Injournal("a valid command") then
uo.textprint("Item Number " + hexnum + " does not exist. ***********")
end if
next


end sub


Top
   
 Post subject:
PostPosted: 2007-01-08 10:55:41 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
i guess too many items and injection normaly crashes :lol: ya know you can try the same thing but try to add items to some container in ur bank just close it and .add everything... let me know...

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


Top
   
 Post subject:
PostPosted: 2007-01-08 12:33:49 
Offline

Joined: 2004-05-16 16:23:27
Posts: 37
This script doesn't actually add the items. It adds, waits for the cursor to come up, then cancels. Then works from what the dialogue is for the add cursor to determine what the item is.

I really don't think this is script dependent, as sometimes it crashes 20 in, sometimes 200 in, and it happens on other scripts, it just seems to happen when i repeat a script a lot. Yoko injection 505.18 VeNdOr, script parser version: 0.3. Yoko build 212.11. Any updates since then?


Top
   
 Post subject:
PostPosted: 2007-01-08 19:38:21 
Offline

Joined: 2005-06-12 22:12:15
Posts: 247
If you wanna forget for "unhandled exception in parser", use Pinject project dll. you can get it there: http://pinject.darukuo.ru.
But you need to know other language: PERL.


Top
   
 Post subject:
PostPosted: 2007-01-11 15:58:44 
Offline

Joined: 2004-05-16 16:23:27
Posts: 37
So this is a bug with the parser injection uses and there is no way to fix it without switching? Not even an ugly workaround I could do?


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: No registered users and 4 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