Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: image limit in lua?

                  
   
  1. #11
    DCEmu Pro dangee's Avatar
    Join Date
    Feb 2007
    Posts
    531
    Rep Power
    69

    Talking do you really need 'experiMENTAL.lua?

    ..& while your at it,
    move script.lua to /PSP/GAME/LuaPlayer/
    (where the eboot is), and remove all the other subfolders and their files..

  2. #12
    DCEmu Regular Anonymous D's Avatar
    Join Date
    Jul 2006
    Posts
    414
    Rep Power
    70

    Default

    (adding to this one i dont want to make a newe thread unecicarily) does anyone know how to deal with stack dumps? i have a script which on reading has no errors in the lua code but when i run it it produces luaplayer.exe.stackdump with some random numbers. can i fix this or do i need to re do the script somehow?

  3. #13
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    Quote Originally Posted by Anonymous D View Post
    (adding to this one i dont want to make a newe thread unecicarily) does anyone know how to deal with stack dumps? i have a script which on reading has no errors in the lua code but when i run it it produces luaplayer.exe.stackdump with some random numbers. can i fix this or do i need to re do the script somehow?
    Usually it means you have blown the stack memory. E.g. Loading too many images, infinite loops loading resources etc.

  4. #14
    DCEmu Regular Anonymous D's Avatar
    Join Date
    Jul 2006
    Posts
    414
    Rep Power
    70

    Default

    tbh i dont think i have, at least i dont think so. any chance someone could look over my code for me? any takers tell me and ill upload it somewhere and put a link. it would help so much

    edit: this is for a side scrolling shooter im trying to make, not my console grab game

    edit: here is my script with lua player and materials, plz have a look and see what ive done wrong im completely stumped
    http://www.mediafire.com/?7i9nm6czznn

  5. #15
    DCEmu Pro dangee's Avatar
    Join Date
    Feb 2007
    Posts
    531
    Rep Power
    69

    Default perhaps..

    stack overflow can be a pig&a1/2 to fix! Id like to try n help, but stuck at the moment
    on a PiKey problem.
    if NE1 can help out , itd free up some techtime for ur debug

  6. #16
    PSP Coder -Xandu-'s Avatar
    Join Date
    Jan 2007
    Posts
    1,036
    Rep Power
    82

    Default

    The stack error is something with your images, I tried the images from your Console Grab game and it worked fine .

  7. #17
    DCEmu Regular Anonymous D's Avatar
    Join Date
    Jul 2006
    Posts
    414
    Rep Power
    70

    Default

    thanks xandu ill try swapping them out or re doing them.

    you were right xandu thanks a lot ill just have to redo the gfx for it, i needed to anyway tbh lol

    edit: working fine now got the ship (a psp atm) firing 4 bullets (ds's atm), next up coding in 4 enemies and collision tests for enemies vs bullets and player vs bullets......

Page 2 of 2 FirstFirst 12

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
  •