[Help] with WM_USER+0x4321

General Injection issues

Moderators: Murderator+, Murderator

Post Reply
FreeUser
Posts: 4
Joined: 2004-11-26 18:16:14

[Help] with WM_USER+0x4321

Post by FreeUser »

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-!!!!!!!!
drcrazy
Junior Expert
Posts: 92
Joined: 2004-10-12 00:48:57
Location: Шард МЕ2

Post by drcrazy »

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.
The pleasure of satisfying a savage instinct, undomesticated by the ego, is incomparably much more intense then the one of satisfying a tamed instinct. S.Freud.
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

maybe commands ,textopen ,textclose ,textprint will be enough?
FreeUser
Posts: 4
Joined: 2004-11-26 18:16:14

Post by FreeUser »

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
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

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
FreeUser
Posts: 4
Joined: 2004-11-26 18:16:14

Post by FreeUser »

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 :)
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

there is no need in easyuo to read/write windows registry
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

Post Reply