Yoko

All sides of Injection
It is currently 2024-03-29 10:41:49

All times are UTC+02:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: 2004-05-24 07:25:10 
Offline

Joined: 2004-05-23 00:01:22
Posts: 13
Id like to start out by saying that as is now, both are about equal, injections scripting is for the most part better, but it lacks some built-in functionality of easyuo hence imho there equal.

in the docs it mentions a 'waitforservertosay' function, i really think this is needed , not only does it clean up coding tons, it wouldnt have to be slowing gameplay down by constantly checking if the lastmessage is what u wanted..

the if statments are ugly i mean

if not blahblah == "Blah" then

end if

why cant the != operator be added and make it like this

if blahblah != "Blah"
{

}

two brackets makes the code cleaner,and is much faster to type then then end if...

Pathfinding, possibly the most needed feature of all, it can't be added in scripting without tons of work...

Whats with this Uo.Function() bs... i mean if 95% of ur functions are in the uo 'class' or whatever why not just make them globals? Is there some greater picture i am missing?

a switch statement! i was shocked to see there isnt one,or atleast i could not find it..

better documantation! Maybe some of the above does exist but theres no way for a english speaking person to find it... i mean what 80% of the world speaks english or something like that?

a way to check if a targeter is up

the api is kinda ugly i realize more then one person works on it, and things are added at a later date... but why do like 3 diffrent types of waitfortarget exist? why not have one and make the last arguement be the type, wouldnt need to add the arguement if u used the default..

Again i like injection, thats why i use it, just throwing out my two bits on how it could be improved, i could come up with many more if anyone gives a damn.. i would even be willing to help out if i could get it to compile with gcc.. but i cant.


Top
   
 Post subject:
PostPosted: 2004-05-24 07:28:12 
Offline

Joined: 2004-05-23 00:01:22
Posts: 13
Also debugging scripts is a whore and a half... it would atleast be useful to see what line number ur on... my currenct alchemy/poisoning script runs fine for awhile, ive watched it go through every possible way it can, then all of a sudden the damn thing will say 'unhandeled exeption in parser' and it dies. i get no line number so its hard to track down, and to make it even worse it has appeared in two diffrent spots of the script running, so i really have no diea where it is , but i havent investigated it much ...


Top
   
 Post subject:
PostPosted: 2004-05-24 08:07:46 
Offline

Joined: 2004-05-23 00:01:22
Posts: 13
it also seems uo.target() is bugged

i have a script that does this

uo.findtype('0x1040')
uo.target('lasttargetkey','finditem')

its targeting a pizza in my pack, and it works sometimes, then it throws an 'unhandeled exeption in parser' other times. Both of the problems with my script are because of this, am i doing something wrong?


Top
   
 Post subject:
PostPosted: 2004-05-24 09:20:52 
Offline

Joined: 2004-05-23 00:01:22
Posts: 13
another NASTY problem, you can not use return values of things like ispoisoned() to end a loop for instance

repeat
#insert cure macro here
until uo.ispoisoned() == 0

u have to make a temporary variable, ugly. same goes for lastmessage


Top
   
 Post subject:
PostPosted: 2004-05-24 20:31:43 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
download Script.dll sources from sourceforge and do yourself changes you want. only thing i changed was "terminate" function that was absent in original script.dll
also you may try to seek author of script.dll and ask him to remake program he done many years ago, but i really doubt he will listen.


Top
   
 Post subject:
PostPosted: 2004-05-25 05:05:02 
Offline

Joined: 2004-05-23 00:01:22
Posts: 13
i stated before i can not get it to compile....


Top
   
 Post subject:
PostPosted: 2004-05-26 00:05:25 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
It is constructed under Borland C++ Builder v.4.0 or 5.0, not under MS Visual/MinGW as other injection parts


Top
   
 Post subject:
PostPosted: 2004-05-29 17:15:22 
Offline

Joined: 2004-05-23 00:01:22
Posts: 13
i have C++ builder on disk somewhere, will the entire yoko-inject project compile using it?


Top
   
 Post subject:
PostPosted: 2004-05-30 18:05:09 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
scripting module is a separate part on other language and from other author


Top
   
 Post subject:
PostPosted: 2004-07-08 22:32:10 
Offline

Joined: 2004-06-15 19:44:50
Posts: 2
Hi, I have searched for script.dll sources, but I havn't find them.
Could somebody give me a link ?
Thanks


Top
   
 Post subject:
PostPosted: 2004-07-10 15:52:29 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
they inside original injection source


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