Temple of The Roguelike Forums

Game Discussion => Early Dev => Topic started by: roguedjack on May 03, 2010, 05:13:29 PM

Title: Rogue Survivor alpha 1
Post by: roguedjack on May 03, 2010, 05:13:29 PM
Please see Alpha 2 thread instead.
Title: Re: Rogue Survivor alpha 1
Post by: getter77 on May 03, 2010, 10:14:42 PM
Win 7 64 gets following error on opening attempt:

"Program will now exit.
Exception: is not a valid Win32 application. (Exception from HRESULT:
0x800700C1)
TargetSite : Void .ctor()

Both run as Admin as well as XP SP 2/3 compatibility mode produce the same exact issue.

Title: Re: Rogue Survivor alpha 1
Post by: Chex Warrior on May 03, 2010, 11:03:45 PM
This is the kind of game I've been waiting for... sadly I got this error (on Win XP SP3):

Could not create DirectX device
Program will now exit
Exception:
Error in Application
-2005530516(D3DERR_INVALIDCALL)
at Microsoft.DirectX.Direct3D.Texture..ctor(Device device, Int32 width, Int32 height, Int32 numLevels, Usage usage, Format format, Pool pool)
at djack.RogueSurvivor.UI.DXGamesCanvas.m_Device_DeviceReset(Object sender, EventArgs e)
at djack.RogueSurvivor.UI.DXGamesCanvas.InitDX()
Title: Re: Rogue Survivor alpha 1
Post by: Perdurabo on May 04, 2010, 12:46:21 AM
For what its worth, it works fine for me.

Vista (urgh).

But I do have VS C# 2008 installed.

Looks VERY promising!

What did you use for the sound btw? I'm on the lookout for a decent C# sound library (preferably one that is cross-platformable using Mono).
Title: Re: Rogue Survivor alpha 1
Post by: dungeonmans on May 04, 2010, 05:51:00 AM
Hey Roguedjack, I'm getting the same problem as getter. Running Win 7 x64 here.

Your videos look great though, random road + city generation is hot. I look forward to playing it.

Win 7 64 gets following error on opening attempt:

"Program will now exit.
Exception: is not a valid Win32 application. (Exception from HRESULT:
0x800700C1)
TargetSite : Void .ctor()

Both run as Admin as well as XP SP 2/3 compatibility mode produce the same exact issue.

Title: Re: Rogue Survivor alpha 1
Post by: purestrain on May 04, 2010, 06:14:16 AM
This is the kind of game I've been waiting for...

Me too, unfortunately i think it won't work on ubuntu.
Title: Re: Rogue Survivor alpha 1
Post by: Perdurabo on May 04, 2010, 07:09:54 AM
This is the kind of game I've been waiting for...

Me too, unfortunately i think it won't work on ubuntu.

It could via Mono.

D.
Title: Re: Rogue Survivor alpha 1
Post by: purestrain on May 04, 2010, 11:30:44 AM
Well; beside the fact that i removed mono - i mainly feared directx.
Title: Re: Rogue Survivor alpha 1
Post by: roguedjack on May 04, 2010, 12:15:49 PM
Sorry for the bugs -that's alpha for you- and big thanks for the detailled error reports.
I will look into them asap, hopefully they are OS/.NET/DirectX common errors.
I hope I won't have to ship a bunch of stuff with the game (DirectX and whatnot).

---

What did you use for the sound btw? I'm on the lookout for a decent C# sound library (preferably one that is cross-platformable using Mono).

DirectSound so not portable at all  :(
DLL : C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.AudioVideoPlayback.dll
Namespace: Microsoft.DirectX.AudioVideoPlayback
I just use it to load and play the MP3 with the Audio class.

---

As for compabitibilty with Mono I'm afraid not since I use DX.
Title: Re: Rogue Survivor alpha 1
Post by: roguedjack on May 04, 2010, 04:23:44 PM
New download, updated first post.
Changed compile options and made an installer.
This should fix the 64 bits bug and the DirectX bug by downloading the proper stuff.
Title: Re: Rogue Survivor alpha 1
Post by: dungeonmans on May 04, 2010, 05:21:03 PM
Hey that worked! I was able to tool around the city a few times, getting punked by zombie masters. A few thoughts:

* oh god please let me close the game somehow without dying. Like, you know, alt-f4? Or clicking [X] :'(

* Running out of stamina mid fight seems kind of poor. I'm too tired to keep punching this zombie, but if I run around the table long enough I'll get my energy back?

* It's really neat to see the AI moving around and doing stuff with each other like trading.

* Hearing the sounds of violence in the distance is also a great touch.

* I think leveling up every sunrise is slick.

* Can I break up the tables and cabinets and stuff for barricade wood?

There's mountains of potential here, looking forward to more! Fun!

Title: Re: Rogue Survivor alpha 1
Post by: roguedjack on May 04, 2010, 06:11:45 PM
Hey that worked!
Great!

Quote
* oh god please let me close the game somehow without dying. Like, you know, alt-f4? Or clicking [X] :'(
Shift-Q quits the game (see ingame help for the keys: H or at menu Help option).

Quote
* Running out of stamina mid fight seems kind of poor. I'm too tired to keep punching this zombie, but if I run around the table long enough I'll get my energy back?
Yes. Resting (Wait) also recovers stamina faster.
You have to manage the use of stamina and make choices, when to walk vs run, when to flee vs fight and what melee weapon to use.
I don't want the player to be a rambo but I understand it's very different from standard roguelike melee combat.

Quote
* Can I break up the tables and cabinets and stuff for barricade wood?
No, you get wood only from broken doors and windows; in a construction shop and from other people.
Breaking stuff for wood is good suggestion, I'll look into it.

Quote
There's mountains of potential here, looking forward to more! Fun!
Thanks for the feedback and glad it worked!

-------
BTW spotted a silly crash bug in some item descriptions.
New download 0.1.0.1 fixes the bug.
Title: Re: Rogue Survivor alpha 1
Post by: Chex Warrior on May 04, 2010, 07:50:56 PM
Hey Roguedjack I'm still getting the same error, any idea what it could be?
Title: Re: Rogue Survivor alpha 1
Post by: roguedjack on May 04, 2010, 08:46:05 PM
Hey Roguedjack I'm still getting the same error, any idea what it could be?

I'm not sure yet.
Are you using a desktop or a laptop?
What is your screen resolution?
If a desktop, can you tell me what is your graphics card?
Oh also your directx version : launch the command "dxdiag" and tell me the version it shows.
Title: Re: Rogue Survivor alpha 1
Post by: Chex Warrior on May 04, 2010, 09:50:18 PM
I'm using a laptop, with a max resolution of 1280x800. The video card is ATI Radeon Xpress 1150 and my DirectX version is 9.0c.
Title: Re: Rogue Survivor alpha 1
Post by: roguedjack on May 05, 2010, 10:24:15 AM
I'm using a laptop, with a max resolution of 1280x800. The video card is ATI Radeon Xpress 1150 and my DirectX version is 9.0c.

I made a new version (0.1.0.2), it has a bug report that will help me fix your problem.
Can you try it and tell me what it says?
Title: Re: Rogue Survivor alpha 1
Post by: Chex Warrior on May 05, 2010, 04:03:18 PM
I really appreciate the help Roguedjack, anyways here is the report:

Start of report.
-----------------------------------------------
EXCEPTION
Error in the application.
-2005530516 (D3DERR_INVALIDCALL)
   at Microsoft.DirectX.Direct3D.Texture..ctor(Device device, Int32 width, Int32 height, Int32 numLevels, Usage usage, Format format, Pool pool)
   at djack.RogueSurvivor.UI.DXGameCanvas.m_Device_DeviceReset(Object sender, EventArgs e)
   at djack.RogueSurvivor.UI.DXGameCanvas.InitDX()
   at djack.RogueSurvivor.UI.DXGameCanvas.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   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 djack.RogueSurvivor.Program.Main()
-----------------------------------------------
LOG
init main : starting program...
init main : creating main form...
init main : creating main form done.
init d3d : creating device...
init d3d : device reset..
init d3d : creating sprite...
init d3d : creating text sprite...
init d3d : creating blank texture...
init d3d : creating minimap texture...
-----------------------------------------------
End of report.
Title: Re: Rogue Survivor alpha 1
Post by: roguedjack on May 05, 2010, 05:08:17 PM
Chex I sent a PM, let's continue there.
Title: Re: Rogue Survivor alpha 1
Post by: roguedjack on May 08, 2010, 04:46:13 PM
New version up in 1st post.

Quote
Alpha 0.1.2
--------------
Improved user friendliness:
- Redefine keys : laptop people rejoice; use your favorite vi setting.
- Options : turn the damn music off  ;D; change number of people on the map.
- Game Manual : 1st draft, pdf and txt.

Fixes:
- DirectX texture allocation bug on some gfx cards : thanks to Chex Warrior for testing.

Music:
- One more annoying music : Post Mortem. Just don't die and you won't hear it  :D
Title: Re: Rogue Survivor alpha 1
Post by: roguedjack on May 18, 2010, 09:56:06 PM
New "major minor" version up : Alpha 2.
Hope admins won't mind a new thread for this.