View Issue Details

Category
SSPBT:本体(SSP)
SeverityfeatureReproducibilityN/A 
Status closed 
Fixed in Version2.5 (リリース) 
Summary0000336: Detect cursor/other ghost position
DescriptionCould it be possible to allow a function for the ghost to detect the position of the cursor on the screen?

Maybe this should be a separate request, but could you make it so the ghost can also detect the position of other ghosts on the screen?
TagsNo tags attached.
Attach Tags

Activities

guest

2021-10-30 20:03

reporter   ~0000865

I just released a ghost this month that uses a function to detect cursor/own position!
https://github.com/nikolat/ukagaka-party-parrot/releases

You can detect the position of the cursor on the screen by using akari.dll.
http://le.silk.to/akari.php#_mousepos
AKARI can also be used as SAORI.
http://le.silk.to/akari.php#akari12

You can detect the position of other ghosts on the screen by using HandUtil.dll.
http://ukiya.sakura.ne.jp/index.php?%E8%87%AA%E4%BD%9CSAORI
Argument0: GetRect
Argument1: HWND

By using YAYA: you can get HWND from SHIORI3FW.FMOTable:
https://github.com/ponapalt/yaya-dic/blob/master/yaya_optional.dic#L128
By using AKARI:
http://le.silk.to/akari.php#_getfmo
http://le.silk.to/akari.php#_getghosthwnd
By using HandUtil.dll:
Argument0: GetFMO

guest

2021-11-04 11:49

reporter   ~0000873

AKARI as SAORI
https://github.com/nikolat/akari-as-saori/releases

And attached sample ghost using YAYA
detect-position-sample.nar (1,281,965 bytes)

ponapalt

2021-11-09 09:55

administrator   ~0000898

Last edited: 2021-11-09 09:55

You can also use the property system.

Mouse cursor position : (will implement next version)
\![get,property,OnSomeEventName,system.cursor.pos]
You will get cursor positon via OnSomeEventName Reference0 (ver. 2.5.43 or after)

Other ghost position : (already available)
\![get,property,OnSomeEventName,activeghostlist(ghost_name).scope(0).rect]
You can get window rectangle via OnSomeEventName Reference0

ponapalt

2021-11-09 10:43

administrator   ~0000903

2.5.43

Issue History

Date Modified Username Field Change
2021-10-29 21:49 guest New Issue
2021-10-30 20:03 guest Note Added: 0000865
2021-11-04 11:49 guest Note Added: 0000873
2021-11-04 11:49 guest File Added: detect-position-sample.nar
2021-11-09 09:55 ponapalt Assigned To => ponapalt
2021-11-09 09:55 ponapalt Status new => confirmed
2021-11-09 09:55 ponapalt Note Added: 0000898
2021-11-09 09:55 ponapalt Note Edited: 0000898
2021-11-09 10:43 ponapalt Status confirmed => closed
2021-11-09 10:43 ponapalt Resolution open => fixed
2021-11-09 10:43 ponapalt Note Added: 0000903
2021-11-09 10:44 ponapalt Fixed in Version => 2.5 (リリース)