Hey
First of all, nice tool you guys are making :P. The
script thing is very very nice, but I still manage to
complain about some aspects (I suck! heh) :
1) The "language"... damn, I feel so unconfortable
typing in that language, I dont know, it looks like I
have to do everything the way it is on the docs or it
wont work, I just dont feel free to code as I feel
when coding in C heh, dont know how to explain that
very well. Anyway...
2) rand! where is rand function?? hehe I need a "rand"
function to add some functionality to my script... I
had to handcraft a randomizing function, but to that I
needed a "sin" function which in the docs you give an
example stating "sin" exists, but in fact it doesnt
(it took me half an hour to figure that was the cause
of the non-compiling, as it was my 1st script and due
to "1)" as well), so in the end I managed to make a
rand thing but couldnt put it in a function (wouldnt
compile, while when I put it in the main it compiled..
ew.. and I have other functions and they all work)
3) UO.Move (1->8) = moves (or faces) the char to that
direction... or something else like UO.Face (1->8) and
then UO.Move() to move forward
4) UO.Skill ("skillname") = returns the value of that
skill
5) When someone says a certain word (or comes from
sysmsg), make Injection start a certain script and
pass the phrase that contains the word as parameter to
that script, to make things like when ppl say your
name while you are on macro you reply something so
they shut up :P.
6) I know you are working on UOInjection, etc... but
damn this interface sux :P. If you want I could try
thinking of a decent interface so you try to apply it
on current Injection or maybe on UOInjection
7) Give the option to the user to bake his own packets
and send them to the server (so most features not on
Injection yet could maybe be accomplished temporarily,
like, lets say, creating black dye tubs (ok Im not
sure on the current state of the emulators to say if
this is possible like it was on OSI, but just as an
example), and as "5)", make some packets trigger a
certain script or something to deal with the packet
(to deal with shard-specific issues (and anti-macro
codes))
Uhmmm.. I think that's all :P. I prolly forgot a few
things, but oh well...
Cya,
-RoTTer (1710293)
Logged In: NO
Quote: 5) When someone says a certain word (or comes from
sysmsg), make Injection start a certain script and
pass the phrase that contains the word as parameter to
that script, to make things like when ppl say your
name while you are on macro you reply something so
they shut up :P.
end quote
I agree that the text you get from the server should be
detectable in a script... Its not only usefull for auto-
talking back but also for the return of stuff like: You
feel hungry. or The poison has run its course.
So my macroscript can react on that.
thanks,
-=Isildur=-