待辦事項 #31030

DTXMania096 Error

啟用日期: 2013-03-24 15:27 最後更新: 2013-04-05 00:46

回報者:
負責人:
類型:
狀態:
關閉
元件:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

細節

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at FDK.CInputJoystick.tƒ|[ƒŠƒ“ƒO(Boolean bWindow‚ªƒAƒNƒeƒBƒu’†, Boolean bƒoƒbƒtƒ@“ü—Í‚ðŽg—p‚·‚é)
   at FDK.CInputŠÇ—.tƒ|[ƒŠƒ“ƒO(Boolean bWindow‚ªƒAƒNƒeƒBƒu’†, Boolean bƒoƒbƒtƒ@“ü—Í‚ðŽg—p‚·‚é)
   at DTXMania.CDTXMania.Draw(GameTime gameTime)
   at SampleFramework.Game.DrawFrame()
   at SampleFramework.Game.Tick()
   at SampleFramework.Game.Application_Idle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at SampleFramework.Game.Run()
   at DTXMania.Program.Main()

Ticket History (3/10 Histories)

2013-03-24 15:27 Updated by: hellionbladeix
  • New Ticket "DTXMania096 Error" created
2013-03-24 18:46 Updated by: yyagi
評語

Sorry for your incoveniences.

It seems the error during Joystick input.

To duplicate the bug on my side, please let me know...

1) Open Config.ini and search "BufferedInput". Does BufferedInput is 1? or 0?

2) what type of joystick do you use? USB joypad? Or, USB-PS2 joypad converter and using some kind of drummania controllers?

3) do you use POV/HAT switch on your joystick configurations?

4) if possible, please send me the pad configuration in Config.ini? Like below;

[DrumsKeyAssign]

HH=K035,M042,M093
SD=K033,M025,M026,M027,M028,M029,M031,M032,M034,M037,M038,M040,M0113,M017,K028
BD=K012,M033,M035,M036,M0112,K0126
HT=K031,M048,M050
LT=K011,M047
FT=K023,M041,M043,M045
CY=K022,M049,M052,M055,M057,M091
HO=K010,M046,M092
RD=K020,M051,M053,M059,M089
LC=K026
HP=

[GuitarKeyAssign]

R=K055
G=K056
B=K057
Pick=K0115,K046,J0140,J00
Wail=K0116
Decide=K060
Cancel=K061

[BassKeyAssign]

R=K090
G=K091
B=K092
Pick=K0103,K0100
Wail=K089
Decide=K096
Cancel=K097

[SystemKeyAssign]

Capture=K065

2013-03-24 18:50 Updated by: yyagi
  • Details Updated
2013-03-25 00:33 Updated by: hellionbladeix
評語

The Buffered Input is 1. I don't use any joysticks. Just keyboard. And this is the pad configuration.

[DrumsKeyAssign]

HH=K035,M042,M093
SD=K033,M025,M026,M027,M028,M029,M031,M032,M034,M037,M038,M040,M0113
BD=K012,M033,M035,M036,M0112
HT=K031,M048,M050
LT=K011,M047
FT=K023,M041,M043,M045
CY=K022,M049,M052,M055,M057,M091
HO=K010,M046,M092
RD=K020,M051,M053,M059,M089
LC=K026
HP=

[GuitarKeyAssign]

R=K0100
G=K0103
B=K089
Pick=K0115,K046,K0126
Wail=K0116,K077
Decide=K060,K0117
Cancel=K061,K042

[BassKeyAssign]

R=K090
G=K091
B=K092
Pick=
Wail=
Decide=K096
Cancel=K097

[SystemKeyAssign]

Capture=

Thanks for the help.

2013-03-25 00:34 Updated by: hellionbladeix
評語
(This comment has been deleted)
2013-03-25 00:44 Updated by: hellionbladeix
評語

I have changed the BufferedInput to 0 since I don't have any joysticks or controller at the moment. And it is playable now. Thank you for your help.

2013-03-25 01:34 Updated by: yyagi
評語

Thank you for your reports.

Though you say you don't use any joypad devices, but the error logs says it occurs at the joypad input process.

I investigated the source code with the joystick input, and found 1 mistake. Would you try to work correctly with BufferedInput=1 ?

tp://yyagi.com/DTXMania097(130401)_RC.zip

2013-03-25 11:01 Updated by: hellionbladeix
評語

I tried DTXMania097(130401) and it worked with BufferedInput set to 1. Thank you for the update.

2013-03-25 23:42 Updated by: yyagi
  • 處理結果 Update from to 修正
評語

Thank you for your testing!

I'll include the fix to the next version, and I'll close this ticket later.

2013-04-05 00:46 Updated by: yyagi
  • Ticket Close date is changed to 2013-04-05 00:46
  • 狀態 Update from 開啟 to 關閉

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入