Hey guys,
when im using this code,my PSP frezzes at 54% how can i fix that?????
<textarea name="code" class="lua" language="lua">System.message("Made by Shaplayer!",0) weiss = Color.new(255,255,255) counter = Timer.new() onpic = Image.load("pics/menu/menuicons/on.png") offpic = Image.load("pics/menu/menuicons/off.png") pic1 = Image.load("pics/menu/menuicons/1.png") pic2 = Image.load("pics/menu/menuicons/2.png") pic3 = Image.load("pics/menu/menuicons/3.png") screen:clear() screen:print(30,30,"Laden....7%",weiss) screen:flip() bg1 = Image.load("pics/backgrounds/Naruto.png") bg2 = Image.load("pics/backgrounds/Insel.png") bg3 = Image.load("pics/backgrounds/Tal.jpg") bg4 = Image.load("pics/backgrounds/DBT.png") bg5 = Image.load("pics/backgrounds/DBZ.png") bg6 = Image.load("pics/backgrounds/Wald.png") screen:clear() screen:print(30,30,"Laden....16%",weiss) screen:flip() returnimg = Image.load("pics/menu/menuicons/return.png") redring1 = Image.load("pics/menu/menuicons/ringicon1.png") redring2 = Image.load("pics/menu/menuicons/ringicon2.png") redring3 = Image.load("pics/menu/menuicons/ringicon3.png") redring4 = Image.load("pics/menu/menuicons/ringicon4.png") screen:clear() screen:print(30,30,"Laden....28%",weiss) screen:flip() redoval1 = Image.load("pics/menu/menuicons/ovalicon1.png") redoval2 = Image.load("pics/menu/menuicons/ovalicon2.png") redoval3 = Image.load("pics/menu/menuicons/ovalicon3.png") redoval4 = Image.load("pics/menu/menuicons/ovalicon4.png") redoval5 = Image.load("pics/menu/menuicons/ovalicon5.png") screen:clear() screen:print(30,30,"Laden....41%",weiss) screen:flip() l1pic = Image.load("pics/menu/menuicons/l1.png") l2pic = Image.load("pics/menu/menuicons/l2.png") r1pic = Image.load("pics/menu/menuicons/r1.png") r2pic = Image.load("pics/menu/menuicons/r2.png") vscpu = Image.load("pics/menu/menuicons/vscpu.png") screen:clear() screen:print(30,30,"Laden....47%",weiss) screen:flip() redring5 = Image.load("pics/menu/menuicons/ringicon5.png") redring6 = Image.load("pics/menu/menuicons/ringicon6.png") optionsbgpic = Image.load("pics/menu/options.png") screen:clear() screen:print(30,30,"Laden....54%",weiss) screen:flip() mainmenupic = Image.load("pics/menu/menuicons/main.png") space1 = Image.load("pics/menu/menuicons/space1.png") space2 = Image.load("pics/menu/menuicons/space2.png") selection = Image.load("pics/menu/selection.png") cursor1 = Image.load("pics/objects/cursor/cursor1.png") cursor2 = Image.load("pics/objects/cursor/cursor2.png") screen:clear() screen:print(30,30,"Laden....78%",weiss) screen:flip() paused = Image.load("pics/Menu/paused.png") crown = Image.load("pics/objects/ingame/crown.png") p1identify = Image.load("pics/objects/ingame/1p.png") p2identify = Image.load("pics/objects/ingame/2p.png") timeword = Image.load("pics/objects/ingame/time.png") screen:clear() screen:print(30,30,"Laden....87%",weiss) screen:flip() lifeoutline = Image.load("pics/objects/bars/lifeoutline.png") medkitpic = Image.load("pics/objects/medkit/medkit.png") deathnotepic = Image.load("pics/objects/deathnote/deathnote.png") screen:clear() screen:print(30,30,"Laden....93%",weiss) screen:flip() ryukr1 = Image.load("pics/objects/ryuk/r1.png") ryukr2 = Image.load("pics/objects/ryuk/r2.png") ryukr3 = Image.load("pics/objects/ryuk/r3.png") minishuriken1 = Image.load("pics/objects/minishuriken/minishuriken1.png") minishuriken2 = Image.load("pics/objects/minishuriken/minishuriken2.png") minishuriken3 = Image.load("pics/objects/minishuriken/minishuriken3.png") screen:clear() screen:print(30,30,"Laden....100%",weiss) screen:flip() while true do counter:start() currentTime = counter:time() if currentTime > 1500 then dofile "Menu.lua" end screen:flip() end</textarea> <br />
The problem is in the
The problem is in the main.png
??
What wrong at the main.png and how can i fix it?
Look at your PM. Doing the
Look at your PM. Doing the main.png picture again.
mmm...
it can be two things:
1) the images exceeds the size limit (512 x 512 px)
2) the interpreter that you use doesn't allow too many images
Now, my recommendations are:
1) verify the size limit
2) if the sizes are ok, you can try another LuaPlayer, like LuaDEV
Regards!
PSP FAT [5.00 M33-6] [6.60 ME] [Hard Moded] / Nintendo Wii [4.1U] [cIOS Hermes] [D2X cIOS] / iPhone 3G [4.2.1] [BB 05.13.04] [redsn0w] / iPod Touch 4 [6.1] [evasi0n]
07/05/10: Tuve el placer de llamarle con todo derecho "N00B" a molotovi xDDD
Recuerda: Sé el intérprete -_-
Dont use "" use the "Insertar
Dont use [ code ] use the "Insertar codigo" option, its in the top right, after the video icon.
+1, I think you load too many
+1, I think you load too many images.
How can i fix that?
I need all of those Images,do....how can i fix that????
Upload your game or your
Upload your game or your script. Look at your messages cos' i've sent you a PM.
Thats my script o.0
That is my script.lua......everything else will come later...
I meant upload it to
I meant upload it to megaupload or whatever.
..
OKay iv send it to you....cant anyone help?
PLEASE.