http://bugs.winehq.org/show_bug.cgi?id=27831
Summary: Tic Tac Toe Game (vbscript) cannot be played Product: Wine Version: 1.3.24 Platform: x86 URL: http://www.planet-source-code.com/vb/scripts/ShowCode. asp?txtCodeId=48298&lngWId=1 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andrew.millington@gmail.com
To view page you need to ~/wine-git/wine iexplore file://c:/Game.htm
None of the blank squares can be populated(clicking) and thus the game cannot be played.
Didn't quite know what to pick for the severity so I picked minor.
http://bugs.winehq.org/show_bug.cgi?id=27831
Andrew Millington andrew.millington@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=27831
--- Comment #1 from Austin English austinenglish@gmail.com 2011-07-22 22:56:24 CDT --- Does 'winetricks wsh56' help?
http://bugs.winehq.org/show_bug.cgi?id=27831
--- Comment #2 from Andrew Millington andrew.millington@gmail.com 2011-07-23 03:42:03 CDT --- On clicking the empty squares it says
The game is done. Press 'New Game' button to continue
of which 'New Game' button does nothing to stop above message. In the log this pops up.
fixme:mshtml:ActiveScriptSite_QueryInterface (0x25e0b10)->({aedae97e-d7ee-4796-b960-7f092ae844ab} 0x3299f8) fixme:mshtml:ActiveScriptSiteWindow_GetWindow (0x25e0b10)->(0x329a64) fixme:mshtml:ActiveScriptSiteWindow_EnableModeless (0x25e0b10)->(0) fixme:mshtml:DispatchEx_GetNameSpaceParent (0x2fccb10)->(0x3286ec)
http://bugs.winehq.org/show_bug.cgi?id=27831
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #3 from Austin English austinenglish@gmail.com --- In wine-1.7.11, it's the same as comment #2.
A note, with no native dlls, clicking a square gives: fixme:vbscript:do_icall L"CellClick" not found
winetricks wsh57 then gives the 'game is done' message.
austin@aw25 ~ $ wine --version wine-1.7.11 austin@aw25 ~ $ sha1sum Tic_Tac_To164186962003.zip f8790fd7eb0365bd4b686eb5e48baaf844026253 Tic_Tac_To164186962003.zip austin@aw25 ~ $ du -h Tic_Tac_To164186962003.zip 8.0K Tic_Tac_To164186962003.zip
Confirming.
https://bugs.winehq.org/show_bug.cgi?id=27831
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |vbscript Summary|Tic Tac Toe Game (vbscript) |Tic Tac Toe Game (vbscript) |cannot be played |cannot be played (colon | |used for placing multiple | |statements on the same line | |in select case statements)
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
--- snip --- $ wine iexplore file:///c:/Game.htm ... 0009:fixme:vbscript:parse_script parser failed around L"lect case c\n\tcase 4:i=2 'Center\n\tcase 0,2,6,8:i=1 'Corner\n\tcase else:i=0 'Other\n\tend select\n\tCellType=i\nEnd Function\n\nFunction CheckForWin(p)\n\t'p: player index\n\t'check if player p can win the game in next move,\n\t'return that cell if he can, and -1 if not.\n\t'if player p have wone "... 0009:trace:vbscript:VBScriptParseProcedure_ParseProcedureText (0x1e134e8)->(L"CellClick(0)" (null) L"" (null) (nil) L""" 0 0 380 0x33f2f4) ... --- snip ---
Wine's VBScript parser fails on the use of colon in 'select case' to place several statements on the same line (colon is an end of statement token).
Example script code, extracted from html:
--- snip --- Function CellType(c) 'return 0,1 or 2 as cell position: '2=Center cell , 1=Corner cell and 0=other cells dim i select case c case 4:i=2 'Center case 0,2,6,8:i=1 'Corner case else:i=0 'Other end select CellType=i End Function --- snip ---
$ sha1sum Tic_Tac_To164186962003.zip f8790fd7eb0365bd4b686eb5e48baaf844026253 Tic_Tac_To164186962003.zip
$ du -sh Tic_Tac_To164186962003.zip 8.0K Tic_Tac_To164186962003.zip
$ wine --version wine-1.7.14
Regards
https://bugs.winehq.org/show_bug.cgi?id=27831
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #5 from Jacek Caban jacek@codeweavers.com --- Patch sent:
http://source.winehq.org/patches/data/103071
https://bugs.winehq.org/show_bug.cgi?id=27831
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |aa045d51b33fabad949a339ba0c | |3d73342499b0b Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/aa045d51b33fabad949a339ba0c...
Thanks Jacek
Wine's VBScript parser still fails in another place which is a different bug (passing array to function).
Regards
https://bugs.winehq.org/show_bug.cgi?id=27831
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.15.