QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

IRC Deving Channel, I need one!

This is a discussion on IRC Deving Channel, I need one! within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; i need a PSP Deving IRC channel so i can try to get my question answered! and since im not ...

Reply
 
LinkBack Thread Tools
Old 01-21-2006, 08:35 PM   #1

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default IRC Deving Channel, I need one!

i need a PSP Deving IRC channel so i can try to get my question answered! and since im not allowed in developers dungeon (yet...) i cant ask there either, and no serious DEV really looks in here anymore, so i need a deving channel that i can get this question of mine answerd, thank u for your time.

P.S. the question is how to repeat an entire program, meaning after executing the last loop, how would i make it so the start button sends me back to the beginning of my progrma even tho im already past htat loop.
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2006, 08:45 PM   #2
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

Umm.. put the big loop inside another loop? Or.. make it a function that is called within a loop..? Or are you asking something else?
__________________
[url=http://www.barbdwyer.com/footer.php][img]http://www.barbdwyer.com/8Ball.jpg[/img][/url]
[FONT=Verdana][SIZE=1]
[b]PSP Developer Resource Site:[/b] [url=http://www.psp-programming.com]PSP-Programming.com[/url]

[b]Other:[/b] [url=http://wake-boarding.org]Wakeboarding[/url], [url=http://water-skiing.org]Waterskiing[/url], [url=http://wake-surfing.org]Wake Surfing[/url], [url=http://www.guitarhero-4.com]Guitar Hero IV[/url][/SIZE][/FONT]
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2006, 09:25 PM   #3
 
Join Date: Oct 2005
Posts: 543
Trader Feedback: 0
Default

if you are using LUA, it would be:
while true do
code
end
nathan42100 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2006, 09:30 PM   #4

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

im not using lua, im at the end of my code, i have 3 individual loops, 1 that displays the start of the program, 1 whiule runnin the main/part of the game, and the 3rd at the end of the game, i just need an IRC channel
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-22-2006, 04:36 AM   #5
Mushroom Man
 
Psilocybeing's Avatar
 
Join Date: Sep 2005
Location: UK
Posts: 318
Trader Feedback: 0
Default

Place everything you want to repeat into a function, and have that function running in a while loop.
__________________
[URL=http://www.othala.co.uk]Othala[/URL] [B]o[/B] [URL=http://www.entheogendefencefund.org.uk/]Save the shroom![/URL]

[CENTER][URL=http://www.othala.co.uk/travellerBlog][IMG]http://www.othala.co.uk/graphics/travBanner.png[/IMG][/URL][/CENTER]
Psilocybeing is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-22-2006, 02:04 PM   #6

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

sweet i did that, but i get t2 warnings that make a bug/problem in the complying, here they are:

$ make kxploit
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -L. -L/usr/local/
pspdev/psp/sdk/lib main.o graphics.o framebuffer.o -lpspgu -lpng -lz -lm -lpsp
debug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspne
t_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o stopper.elf
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/lib/crt0.o: In function `_ma
in':
/tmp/pspdev/pspsdk/src/startup/crt0.c:86: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [stopper.elf] Error 1

thats what i get, i fixed up my 'Stopper 69" with a repeat function so no more having to press hoem and restart it, and i made the code cleaner and fixed the problem where when u get it on '69' it flashes it, but i fixed that, jsut need to comply it and get it up here
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-22-2006, 02:07 PM   #7

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

this is what i get when my main.c is a 'main.cpp' (c++ source)

$ make kxploit
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -I. -I/usr/local/
spdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -c -o main.o ma
n.cpp
main.cpp: In function 'int repeat()':
main.cpp:152: error: a function-definition is not allowed here before '{' token
main.cpp:164: warning: control reaches end of non-void function
make: *** [main.o] Error 1

pleaxe help wiuth any of thsi
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
channel , deving , irc

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 02:23 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us