| Yoko http://forum.yoko.com.ua/ |
|
| What injections scripting needs to be able to crush easyuo's http://forum.yoko.com.ua/viewtopic.php?f=4&t=434 |
Page 1 of 1 |
| Author: | Poobah [ 2004-05-24 07:25:10 ] |
| Post subject: | What injections scripting needs to be able to crush easyuo's |
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. |
|
| Author: | Poobah [ 2004-05-24 07:28:12 ] |
| Post subject: | |
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 ... |
|
| Author: | Poobah [ 2004-05-24 08:07:46 ] |
| Post subject: | |
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? |
|
| Author: | Poobah [ 2004-05-24 09:20:52 ] |
| Post subject: | |
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 |
|
| Author: | Yoko [ 2004-05-24 20:31:43 ] |
| Post subject: | |
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. |
|
| Author: | Poobah [ 2004-05-25 05:05:02 ] |
| Post subject: | |
i stated before i can not get it to compile.... |
|
| Author: | Yoko [ 2004-05-26 00:05:25 ] |
| Post subject: | |
It is constructed under Borland C++ Builder v.4.0 or 5.0, not under MS Visual/MinGW as other injection parts |
|
| Author: | Poobah [ 2004-05-29 17:15:22 ] |
| Post subject: | |
i have C++ builder on disk somewhere, will the entire yoko-inject project compile using it? |
|
| Author: | Yoko [ 2004-05-30 18:05:09 ] |
| Post subject: | |
scripting module is a separate part on other language and from other author |
|
| Author: | Ashey [ 2004-07-08 22:32:10 ] |
| Post subject: | |
Hi, I have searched for script.dll sources, but I havn't find them. Could somebody give me a link ? Thanks |
|
| Author: | Yoko [ 2004-07-10 15:52:29 ] |
| Post subject: | |
they inside original injection source |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|