Results 1 to 10 of 10

Thread: lua player windows help

                  
   
  1. #1
    DCEmu Pro AvengedSevenfold Fan's Avatar
    Join Date
    Aug 2006
    Location
    Maryland, USA
    Age
    31
    Posts
    978
    Rep Power
    103

    Question lua player windows help

    every time i try to run lua player for windows, it just comes up with a black screen for a second, then it closes. can somebody help me out?

  2. #2

    Default

    your probably missing screen.flip() at the end of your main loop

    edit- and you may be missing screen.waitVblankStart() also

  3. #3
    DCEmu Newbie
    Join Date
    Jul 2006
    Posts
    4
    Rep Power
    0

    Default

    If it only shows up for a second...are you sure you have an infinite loop in your code?

  4. #4
    DCEmu Pro jman420's Avatar
    Join Date
    Oct 2005
    Location
    Colorado, USA
    Posts
    756
    Rep Power
    74

    Default

    I think he means the Lua player app, not the code he's making...

  5. #5
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    85

    Default

    You have an error in the code and you haven't got "pause" at the end of the cmd/bat file.

  6. #6
    PSP User Apoklepz's Avatar
    Join Date
    Oct 2005
    Location
    Bottom of The Pit
    Posts
    1,542
    Rep Power
    78

    Default

    There you go...took the words out of my keyboard...meh. It's that pause thingie alright

  7. #7
    DCEmu Pro AvengedSevenfold Fan's Avatar
    Join Date
    Aug 2006
    Location
    Maryland, USA
    Age
    31
    Posts
    978
    Rep Power
    103

    Default

    im talking about the application, not my code. windows lua player 14

  8. #8
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    85

    Default

    Quote Originally Posted by yaustar
    You have an error in the code and you haven't got "pause" at the end of the cmd/bat file.
    _

  9. #9
    DCEmu Pro AvengedSevenfold Fan's Avatar
    Join Date
    Aug 2006
    Location
    Maryland, USA
    Age
    31
    Posts
    978
    Rep Power
    103

    Default

    how do i run code in the app?

  10. #10
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    85

    Default

    Oh.. now I get it. You are just double clicking on the luaplayer.exe right?

    You have to create a batch to run you script with Luaplayer. There is an example that comes with Luaplayer (test.cmd). Look at that file in notepad to see what I mean.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •