Author | Comment |
jelmer Probe Posted: 1 Oct 2004 07:42 GMT Total Posts: 11 | hi i am programming on my ti-84 and i can make some games. like tic-tac-to and variations on guess. but when i play tic-tac-to i just can plar for 30 seconds or something, then i get a "err: memory" does any1 know how i can get rid of that error?
[Edited by jelmer on 01-Oct-04 16:47] |
Ray Kremer Ultralisk Posted: 1 Oct 2004 10:11 GMT Total Posts: 310 | My first guess is you're experiencing this: http://www.technicalc.org/tifaq/?p1.htm#1.4.1 |
jelmer Probe Posted: 1 Oct 2004 12:33 GMT Total Posts: 11 | i have tried that. every if statement is ended with a end, but is still have that memory error :S. but in a other game of me it helped and that game works fine now :S. mabye it is something else? |
Ray Kremer Ultralisk Posted: 4 Oct 2004 11:06 GMT Total Posts: 310 | Yes, but do you have any Goto lines inbetween the If-Then and the End? |
jelmer Probe Posted: 5 Oct 2004 11:42 GMT Total Posts: 11 | yes i have many goto, for the getkey function.. is that the problem? and how do i solve it? |
Ray Kremer Ultralisk Posted: 6 Oct 2004 10:13 GMT Total Posts: 310 | Read this: http://www.technicalc.org/tifaq/?p1.htm#1.4.1If you show your code I can make some specific suggestions.
[Edited by Ray Kremer on 06-Oct-04 19:14] |
jelmer Probe Posted: 9 Oct 2004 14:49 GMT Total Posts: 11 | i have changes most of my if statements in while statements, and now i have no memory error anymore :S. i am working on a multiplayer wit the get() function but dont know how to do that. do you have a sugestion? or is it better to place a new topic? |
zkostik Carrier
Posted: 9 Oct 2004 19:13 GMT Total Posts: 2486 | Get(variable) receives a variable from the other calc. Have a look at the command syntax manual [HERE]. This is a link to a PDF document, you can find other info about Get( on page 14. Also, the document is 400kb so if you're on dialup it may take some time to load. Feel free to post your code here and we can try to help with logic and whatnot. You may also want to have a look at this part of the manual that shows programming samples [HERE]. Once the page loads go to page 30,31,32 (file is 290kb). I hope this helps.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
jelmer Probe Posted: 10 Oct 2004 14:01 GMT Total Posts: 11 | this is the code for my multiplayer now : Menu("MULTIPLAYER","JOIN GAME>>>",A7,"HOST GAME[*]",A8,"TERUG <-",A6) Lbl A8 Disp "NAAM SPELER" Input Str1 1üM Lbl A9 Text(2,1,"WAITING FOR CONNECTION...") GetCalc(R) If Rø1:Then Goto A9 Else Pause Lbl A7 round(rand*9,0)üN N+10üN Text(2,1,"CONNECTING...") GetCalc(M):GetCalc(Str1) 1üM If Mø1:Then Goto A7 Else Disp "NAAM VAN SPELER Input Str2 ClrDraw Text(10,2,Str3) Horizontal 10:Horizontal ú10:Vertical 10:Vertical ú10 Text(2,1," SERVER NAME MAP PING") Text(55,2,"PRESS ENTER TO JOIN" Vertical ú.8:Vertical 6.1:Horizontal 7.0 Text(10,46,"DE DUST"):Text(10,82,N) Line(1.91,5.16,1.48,5.16 1üR Pause
i copyd the code direct from th-graph link so not every sign is good... i hope you can help me with this...
|