Slot Machine BETA 2 last chance to test

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Slot Machine BETA 2 last chance to test

Post by Rook Zimbabwe »

You can download here:

OGRE version: NEW LINK!http://www.bluemesapc.com/Downloads/SPAD3z-beta2.zip

{{ NEW FILE IN LINK is LAST BETA VERSION... now if I can just figure out a way to make some money off of this somehow!
:mrgreen:
{{EDIT INSERT}}
OK Documentation is as follows:

SPACEBAR spins the wheels and starts the process (basically sets up your poker hand)
ESC quits

Thats it for the ALPHA... just needed to make sure the grpahics show on nVidia and ATi cards hoping to find no issues for on board simpler models as well as the higher end units...

BETA will have more sounds, betting and WIN noises and MIGHT be in window instead of fullscreen... problem with that seems to be if window is minimized it gets funky on some of the older graphics cards.

{{/EDIT INSERT}}

When I included the Engine3d.dll file the ZIP file size jumped up to 2.7megs not loving that too much but have to finish the MP3D file and then we can compare.

(The engine3d.dll is in the COMPILERS folder in your Purebasic main folder...)

Admin mode is a default as I spen a lot of time working on my SQL server software for my Point of Sale system... nothing insidious happens in the program.
I cannot get the compiled version to run as it insists I need DX9 installed on my computer... but I have it! I also try to run it in the same directory where D3DX9_38.dll is (where I wrote it!) and it still won't run??? What am I missing? (also need testeers...
and NO you cannot win with a flush... every other poker hand... still working out STRAIGHT though... :mrgreen:
Last edited by Rook Zimbabwe on Wed Feb 23, 2011 10:39 pm, edited 6 times in total.
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
swan
Enthusiast
Enthusiast
Posts: 226
Joined: Sat Jul 03, 2004 9:04 am
Location: Sydney Australia
Contact:

Re: Slot Machine Alpha needs testing

Post by swan »

Vista64bit has same problem. And I know I have DX9 ...
Mohawk70
Enthusiast
Enthusiast
Posts: 404
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: Slot Machine Alpha needs testing

Post by Mohawk70 »

Same here, I just get the error message ". . . Apparently I cannot init DX9 on your CPU . . .". XP Pro SP3 - DirectX 9 install verified and tested OK !
HP Z800 Workstation
CPU : Dual Xeon 5690 3.46GHz
RAM : 96GB RAM ( 8GB x 12 )
PSU : 1100W
GPU : NVIDIA RTX 3050 8GB
STORAGE : 9TB
(4) 2TB Seagate IronWolf Pro HDD
(1) 1TB Samsung 870 EVO SSD
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Slot Machine Alpha needs testing

Post by LuCiFeR[SD] »

firstly, I would guess you have forgotten to package engine3d.dll. Then I suspect you have hardcoded a path to something. which probably doesn't exist on other peoples machines.

is there a reason for forcing it to run with administrator privileges?

maybe some missing files too?
User avatar
IceSoft
Addict
Addict
Posts: 1695
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Slot Machine Alpha needs testing

Post by IceSoft »

I think he is using the MP3D engine (not the nativ Ogre stuff)
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Slot Machine Alpha needs testing

Post by LuCiFeR[SD] »

oh right? I only mentioned it cause he has been asking a lot of ogre related questions :P

/me slaps himself with a big stupid stick with stupid written all over it :)
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Slot Machine Alpha needs testing

Post by DarkDragon »

Works very well with x86 version of "Engine3D.dll". The meta files are zip files ;-) .
bye,
Daniel
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Slot Machine Alpha needs testing (updated 1)

Post by Rook Zimbabwe »

Any issyes seen can y'all please note the GFX card you got and if sounds (currently only slight clicking noise when wheels spin!)

@Daniel: Shhhhh thats a secret! :wink:
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Zach
Addict
Addict
Posts: 1676
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: Slot Machine Alpha needs testing (updated 1)

Post by Zach »

Can we have some documentation on what is supposed to be functional?

Currently it only responds to me hitting the spacebar, the wheels spin and then stop on some cards.

Your "Window" elements appear to have X's for closing, etc although the one at the top for CASH that says (To be finished) is cut off and looks like the title of the window is being overlapped by the edge where the X is supposed to be.

I also have no mouse functionality / cursor (not sure if its supposed to show up or not)

Otherwise, I guess it looks OK.. Scales about as well as can happen, on my 23" LED LCD @ 1920x1080p
Mohawk70
Enthusiast
Enthusiast
Posts: 404
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: Slot Machine Alpha needs testing (updated 1)

Post by Mohawk70 »

Same as Zach - seems to work fine. Where did you get the card images from ? There the nicest looking playing card graphics I've seen ! Is a complete deck available & are they free ? If not free, what is the cost ?
HP Z800 Workstation
CPU : Dual Xeon 5690 3.46GHz
RAM : 96GB RAM ( 8GB x 12 )
PSU : 1100W
GPU : NVIDIA RTX 3050 8GB
STORAGE : 9TB
(4) 2TB Seagate IronWolf Pro HDD
(1) 1TB Samsung 870 EVO SSD
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Slot Machine Alpha needs testing (updated 1)

Post by Rook Zimbabwe »

SPACE - Spin
ESC - QUIT

This is the ALPHA version... notes in 1st post updated as well... I want to make sure there are no issues in graphics cards at the moment. The GUI is CEGUI and though I have visited the CEGUI site it appears I can only get 2 GUI "themes" to work in PB and all the others simply CRASH.

No mouse... sorry

Finalized version will be finished maybe tuesday as I am taking monday off for the wife!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Slot Machine Alpha needs testing (updated 1)

Post by DarkDragon »

The sound is a bit weird (trtrtrtrtrtrtrtrtrtrtrtr doesn't describe it very well .. its more like a weapon of a GameBoy or C64 game).
bye,
Daniel
Nituvious
Addict
Addict
Posts: 1029
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Re: Slot Machine Alpha needs testing (updated 1)

Post by Nituvious »

I was able tun run the game with my laptop, it seemed to run fast and smooth. I will test it on my craptop when I get a chance.
How did you get around the SetGadgetState3D() bug if you don't mind my asking.
▓▓▓▓▓▒▒▒▒▒░░░░░
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Slot Machine Alpha needs testing (updated 1)

Post by Rook Zimbabwe »

I psychically reset the picture each and every time a user runs the program... oh wait... nope I only do that BEFORE I take the meds... :wink:

I reset the picture by recalling the control withthe same #HANDLE in the same location but with a different texture. I have all those textures (JPG) zipped into metadata.meta and loaded as textures when program starts... they are only about 5k each so no real time lag with current processor tech (and there are only 14 of them if you count the joker and the back... You can't draw a joker though... improves the houses odds that way!

Since I use the same #HANDLE I don't think I have more than 1 imagegadget... I am (possibly wrongly) assuming that the billboard/gadget is created new every time I call it... :mrgreen:

I just wish I could get a different CEGUI theme to work!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: Slot Machine Alpha needs testing (updated 1)

Post by Comtois »

Rook Zimbabwe wrote:I just wish I could get a different CEGUI theme to work!
Using this archiv http://www.purebasic.com/Ogre1.6.zip and this code, i can get WindowsLook to work.

to change Font Replace :
SetGUITheme3D("WindowsLook", "")
by
SetGUITheme3D("WindowsLook", "DejaVuSans-10")

Code: Select all

IncludeFile "Screen3DRequester.pb"

If InitEngine3D()

  InitSprite()
  InitKeyboard()
  InitMouse()

  Add3DArchive("Data\"          , #PB_3DArchive_FileSystem)
  Add3DArchive("GUI\", #PB_3DArchive_FileSystem)
  Add3DArchive("GUI\schemes", #PB_3DArchive_FileSystem)
  Add3DArchive("GUI\imagesets", #PB_3DArchive_FileSystem)
  Add3DArchive("GUI\fonts", #PB_3DArchive_FileSystem)
  Add3DArchive("GUI\looknfeel", #PB_3DArchive_FileSystem)
  Add3DArchive("GUI\layouts", #PB_3DArchive_FileSystem)

  If Screen3DRequester()
    ;-Camera
    CreateCamera(0,0,0,100,100)
    SetGUITheme3D("WindowsLook", "")
    OpenWindow3D(0, 0, 0, 320, 150, "ButtonGadget3D")
    ButtonGadget3D(0, 10, 50, 300, 40, "Bouton standard")
    ButtonGadget3D(4, 10, 95, 300, 40, "Bouton à bascule", #PB_Button_Toggle)
    ShowGUI(255,1)
   
    Repeat
      Repeat :    Event = WindowEvent3D() :  Until Event = 0
       
      ExamineKeyboard()
   
      If ExamineMouse()
        InputEvent3D(MouseX(),MouseY(),MouseButton(#PB_MouseButton_Left),"")
      EndIf

      RenderWorld()
      Screen3DStats()     
      FlipBuffers()
    Until KeyboardPushed(#PB_Key_Escape) Or Quit = 1
  EndIf
   
Else
  MessageRequester("Error", "The 3D Engine can't be initialized",0)
EndIf
Please correct my english
http://purebasic.developpez.com/
Post Reply