View Issue Details

Category
SSPBT:本体(SSP)
SeveritymajorReproducibilityalways 
Status new 
Summary0000617: Calling functions with %() doesn't seem to be working
DescriptionSSP/2.6.52 (20231121-3; Windows NT 10.0.19045)
Tested with ghosts using YAYA Tc571-6

Code:
```
OnMenuTestA : all
{
    "\C\![lock,balloonrepaint]\c"
    "\_q\b[0]"
    "\![*]\q[OnMenuTestB,OnMenuTestB]"
    "\![unlock,balloonrepaint]"
}

OnMenuTestB : all
{
    "\C\![lock,balloonrepaint]\c"
    "\_q\b[2]"
    "\![*]\q[OnMenuTestA,OnMenuTestA]"
    "\![unlock,balloonrepaint]"
}
```

The following code is in OnTranslate:
```
OnTranslate
{
    _talk = reference0
    
    if reference1 == "" && reference2 == "" //If this is from the input box
    { //send input box : no event (ref2) , no special flag (ref1)
        _talk = EVAL('"' + REPLACE(_talk,'"','""') + '"')
    }
    
    TOSTR(_talk)
}
```

Using `\![raise,OnMenuTestA]` in script input will open the menu normally, but using `%(OnMenuTestA)` in script input will not. In previous versions of SSP, %() used to work.
The script is appearing in script log normally, and if executed from script log (or if the resulting script is pasted into script input) it will run fine. But otherwise, the tags will not execute. Sometimes I have seen the balloon briefly flicker into existence, but then it disappears again.
TagsNo tags attached.
Attach Tags
Attached Files
23-12-24_02.gif (162,893 bytes)   
23-12-24_02.gif (162,893 bytes)   

Activities

Add Note

View Status
Note
Upload Files
Maximum size: 1,953 KiB

Attach files by dragging & dropping, selecting or pasting them.

送信ボタンを押す前に / Before pushing "Send" button

  • スパム避けのためにパスワードが必要です。送信ボタンを押すとユーザー名とパスワードを聞かれますので、それぞれ "bts" と入力してください。
  • To send report, please input "bts" into username and password box in popup dialog.

Issue History

Date Modified Username Field Change
2023-12-25 13:29 guest New Issue
2023-12-25 13:29 guest File Added: 23-12-24_02.gif