Yoko
http://forum.yoko.com.ua/

[Help] with WM_USER+0x4321
http://forum.yoko.com.ua/viewtopic.php?f=1&t=2073
Page 1 of 1

Author:  FreeUser [ 2004-11-26 18:20:17 ]
Post subject:  [Help] with WM_USER+0x4321

Is it possible to send script command or call scripted functions instead of simple commands i.e.

i know i can:
SendMessage <uo>,WM_USER+0x4321,1,GlobalAddAtom("msg Hello")

but why i can't
SendMessage <uo>,WM_USER+0x4321,1,GlobalAddAtom("Uo.Print(\"text)\"") ?????

i need such a feature!!! or btw something to echo text to system message

i know i can let easyuo do this but i don't want to use e4zy

Sir Yoko help me pls-!!!!!!!!

Author:  drcrazy [ 2004-11-26 18:43:56 ]
Post subject: 

I think scripting functions couldn't be called outside from scripting module.

Only functions working also via input line of UO window could be sent.

Author:  Yoko [ 2004-11-26 18:47:43 ]
Post subject: 

maybe commands ,textopen ,textclose ,textprint will be enough?

Author:  FreeUser [ 2004-11-26 19:17:08 ]
Post subject: 

First thanks very much for interest :)

but what i'm searching for is a way to:

1. Pass arguments to script functions i.e. ,Exec Echo("Hello!")
2. a ,sysMessage command not only ,msg which displays text on the head of the character
3. If possible support for new aos spells :)

For 1-2 is 'cause i've written a prog. that reads uo map chat messages and send it to inj. but inj can only understand ,msg this way (wm_user+) and so messages are displayed on the top of the head of pg instead of bottom left corner. :)

anyway thanks again

so SHORTLY is is possible something like this : ,exec MyFunction(arg1,arg2) ?

or simply a SET which allow to set injection variables ? 'cause as i know addobject does store only numbers

Author:  Yoko [ 2004-11-26 20:27:26 ]
Post subject: 

FreeUser wrote:
so SHORTLY is is possible something like this : ,exec MyFunction(arg1,arg2) ?

no way
FreeUser wrote:
or simply a SET which allow to set injection variables ? 'cause as i know addobject does store only numbers

[yhlp_SetEasyUO] and [yhlp_GetEasyUO] using registry to store and retrieve values
you may use it

Author:  FreeUser [ 2004-11-26 20:52:06 ]
Post subject: 

Get/SetEasyUO I used to think that Get/SetEasyUO cannot be used from WM_USER 'since they're not commands (I've already thought this :) )

(so the only way to perform my task is to use easyuo together with inj making e4sy read vars. and inj write on sigh)

thank anyway :)

Author:  Yoko [ 2004-11-26 23:14:56 ]
Post subject: 

there is no need in easyuo to read/write windows registry

Author:  Yoko [ 2004-11-28 03:02:32 ]
Post subject: 

http://yoko.netroof.net/forum/viewtopic.php?t=2092

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/