OpenKore / openkore

A free/open source client and automation tool for Ragnarok Online
http://openkore.com
Other
1.28k stars 1.04k forks source link

dealing Log Message in eventMacro #3348

Open hubertyang88 opened 3 years ago

hubertyang88 commented 3 years ago

------------------ Openkore Issues Template ------------------

alisonrag commented 3 years ago

Nope, there is not a event in eventmacro to handle console messages. It was developed like this to be smooth and fast

hubertyang88 commented 3 years ago

I see, THX

ya4ept commented 3 years ago

https://openkore.com/wiki/PubMsg

hubertyang88 commented 3 years ago

PubMsg is for someone speak in public , it will not be triggered by console Msg like "you are now attacking xxx" , Anyway, eventmacro is much better than macro.

alisonrag commented 3 years ago

for sure has a hook to what you are looking for. if not exists, you can open a feature request so we can add to source code

alisonrag commented 3 years ago

can you print or paste what kind of message do you want to handle?

hubertyang88 commented 3 years ago

Some error messages , such like" I lost my master " or "fail to attack" , some log message , such like message showed by "exp monster", those messages are not triggered by packets . I understand eventMacro is all about event . Can an event triggered by what shows in console? or is it against the concept of eventMacro,cause this event will constantly checking?

ya4ept commented 3 years ago

@Henrybk