Page 2 of 2 FirstFirst 12
Results 26 to 38 of 38

Thread: Downkart!

  1. #26
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    You guys can't beat my score

    Anyways, editted the first post with the script (I originally posted it from my PSP, as I had just 2 secs to pastebin the code ).
    well, i am in 3rd now. you then, Narcle, the me.

    i just got HIGH:1568. Though i seem to usually stop around 1050. Could you modify it to keep the entire track instead of overwriting it? i think it would be interesting to look at.
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  2. #27
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dan Cardin View Post
    well, i am in 3rd now. you then, Narcle, the me.

    i just got HIGH:1568. Though i seem to usually stop around 1050. Could you modify it to keep the entire track instead of overwriting it? i think it would be interesting to look at.
    Cmon you're SRL member you should know how scar works...
    ~Hermen

  3. #28
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by Hermen View Post
    Cmon you're SRL member you should know how scar works...
    You are too, so you could also do it

    edit: Here we go!
    SCAR Code:
    program TIDOwnKart;
    function putstuffinstring(pos : integer; soi, insert : string) : string;  //Function to mimic 'Output', not exactly the same oh well it works :)
    begin
      pos := max(0, pos);
      result := copy(soi, 1,pos-1)+insert+copy(soi, length(insert)+pos, length(soi)-length(insert)-pos);
    end;
    procedure output(y,x : integer; s : string);
    begin               dec(y);
      replacedebugline(y, putstuffinstring(x, getdebugline(y), s));
    end;
    var c, b, d, a, l, n, r, v, k, o, p,x,s,hiscore : integer;
    begin
    ClearDebug; //ClrHome
    writeln('RACE'); writeln('+-+'); writeln('! !'); writeln('! !'); writeln('! !'); writeln('+-+');//Disp "RACE","+-+","! !","! !","! !","+-+"
    wait(300);//For(Á,1,100
    //End
    ReplaceDebugLine(2, putstuffinstring(2, getdebugline(3), '*! READY')); //Output(3,2,"*! READY"
    wait(300);{ForÁ,1,100
    End}

    ReplaceDebugLine(3, putstuffinstring(2, getdebugline(4), '*! SET')); //Output(4,2,"*! SET"
    wait(300);//For(Á,1,100
    //End
    hiscore := StrToIntDef(loadsetting('downkart', 'hiscore'), 0);
    ReplaceDebugLine(4, putstuffinstring(2, getdebugline(3), '*! GO')); //Output(5,2,"ô! GO"
    c := 5; //5->C
    B := 5; //5->B
    A := 5; //5->A
    L := 0; //0->L
    N := 0; //0->N
    R := 5; //5->R
    V := 8; //8->V
    K := 8; //8->K
    O := 7; //7->O
    P := 1; //1->P
    writeln('                '); writeln('                '); //This is to mimic the 8 lines the TI has
    While true do
    begin //While 1
    wait(150);
      R := R + RandomRange(-1, 2); //R+randInt(-1,1)->R
      If r=2 then//If R=2
        r := 3;//3->R
      If 3 = 9 then//If R=9
        r := 8; //8->R
      writeln('                                                                              '); {DeleteDebugLine(0);}//Disp ""
      Output(GetDebugLineCount-8+8,R,']');
      Output(GetDebugLineCount-8+8,R+O,'[');
      //getKey->Y
      if  IsArrowDown(3) then //If Y=24
        v := V-1; //V-1->V
      if isarrowdown(1) then //If Y=26
      V := V+1; //V+1->V
      //If Y=21 //Fckn gaypause duh
      //Pause
      Output(GetDebugLineCount-8+4,K,' ');
      Output(GetDebugLineCount-8+5,V,'v');
      K := V; //V->K
      If (V<=C) or (V>=C+O) then //If V=<C or V>=C+O
        break;//Goto C
      D := C;  //C->D
      C := B;  //B->C
      B := A;  //A->B
      A := R;  //R->A
      N := N+1;//N+1->N
      If N>= 40 then//If N>=40
      begin //Then
      O := O-P;//  O-P->O
      N := 0;  //0->N
      L := L+4; //L+4->L
      end; //End
      If O <= 2 then //If O=<2
      //0->P
      P := 0;
    End;
    //KO: //Lbl C
    //0->X
    while (x<=2) do //While X=<2
    begin
    //writeln('UR DEAD');
    //break;
    //end;
    Output(GetDebugLineCount-8+5-X,V-X,'*');
    Output(GetDebugLineCount-8+5+X,V+X,'*');
    Output(GetDebugLineCount-8+5-X,V+X,'*');
    Output(GetDebugLineCount-8+5+X,V-X,'*');
    Output(GetDebugLineCount-8+5-X,V,'*');
    Output(GetDebugLineCount-8+5+X,V,'*');
    Output(GetDebugLineCount-8+5,V-X,'*');
    wait(75);
    //Output(5,V+X,"*"
    X := X+1;//X+1->X
    end;//End
    x := 0;//0->X
    while x <= 2 do
    begin //While X=<2
    Output(GetDebugLineCount-8+5-X,V-X,' ');
    Output(GetDebugLineCount-8+5+X,V+X,' ');
    Output(GetDebugLineCount-8+5-X,V+X,' ');
    Output(GetDebugLineCount-8+5+X,V-X,' ');
    Output(GetDebugLineCount-8+5-X,V,' ');
    Output(GetDebugLineCount-8+5+X,V,' ');
    Output(GetDebugLineCount-8+5,V-X,' ');
    Output(GetDebugLineCount-8+5,V+X,' ');
    wait(50);
    X := X + 1;//X+1->X
    end; //End
    Output(GetDebugLineCount-8+1,1,'SCORE: ');
    Output(GetDebugLineCount-8+2,1,'HIGH:     ');
    S := L*130+N; //L*130+N->S
    If S>hiscore
    Then begin
    hiscore := s;
    SaveSetting('downkart', 'hiscore', inttostr(s)); //S->ZTmax
    Output(GetDebugLineCount-8+3,1,'NEW HIGH SCORE!');
    End;
    Output(GetDebugLineCount-8+1,7,inttostr(S));
    Output(GetDebugLineCount-8+2,6,inttostr(hiscore));
    //Pause
    end.
    Last edited by Markus; 06-17-2009 at 03:28 AM.

  4. #29
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCORE:1596
    The road was tiny
    EDIT: SCORE:1597


  5. #30
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Woo!

    SCORE:2081
    HIGH:2081

  6. #31
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Score:1590
    high:1590
    new high score!
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  7. #32
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Hermen View Post
    Cmon you're SRL member you should know how scar works...
    It doesnt mean that i can automatically understand the logic of everything done. And ive never had to use the debugbox for anything other than writeln, so i wouldnt know how to do that either.

    SCAR Code:
    RACE
    +-+
    !*! READY
    !*! SET
    !*! GO
    +-+v
                 
                 
         ]      [                                                            
          ]      [                                                            
         ]      [                                                            
        ]      [                                                              
         ]      [                                                            
          ]      [                                                            
         ]      [                                                            
          ]      [                                                            
         ]      [                                                            
        ]      [                                                              
        ]      [                                                              
         ]      [                                                            
        ]      [                                                              
        ]      [                                                              
         ]      [                                                            
        ]      [                                                              
         ]      [                                                            
        ]      [                                                              
        ]      [                                                              
        ]      [                                                              
         ]      [                                                            
        ]      [                                                              
         ]      [                                                            
        ]      [                                                              
         ]      [                                                            
        ]      [                                                              
        ]      [                                                              
       ]      [                                                              
       ]      [                                                              
      ]      [                                                                
      ]      [                                                                
      ]      [                                                                
       ]      [                                                              
       ]      [                                                              
       ]      [                                                              
        ]      [                                                              
        ]      [                                                              
         ]      [                                                            
        ]      [                                                              
        ]      [                                                              
        ]     [                                                              
         ]     [                                                              
        ]     [                                                              
        ]     [                                                              
        ]     [                                                              
        ]     [                                                              
        ]     [                                                              
         ]     [                                                              
          ]     [                                                            
           ]     [                                                            
          ]     [                                                            
         ]     [                                                              
         ]     [                                                              
         ]     [                                                              
         ]     [                                                              
          ]     [                                                            
           ]     [                                                            
            ]     [                                                          
           ]     [                                                            
            ]     [                                                          
           ]     [                                                            
            ]     [                                                          
           ]     [                                                            
           ]     [                                                            
            ]     [                                                          
             ]     [                                                          
             ]     [                                                          
             ]     [                                                          
            ]     [                                                          
            ]     [                                                          
             ]     [                                                          
            ]     [                                                          
            ]     [                                                          
            ]     [                                                          
           ]     [                                                            
            ]     [                                                          
           ]     [                                                            
            ]     [                                                          
           ]     [                                                            
          ]     [                                                            
          ]    [                                                              
         ]    [                                                              
         ]    [                                                              
        ]    [                                                                
       ]    [                                                                
        ]    [                                                                
         ]    [                                                              
        ]    [                                                                
       ]    [                                                                
       ]    [                                                                
        ]    [                                                                
       ]    [                                                                
      ]    [                                                                  
      ]    [                                                                  
      ]    [                                                                  
       ]    [                                                                
       ]    [                                                                
       ]    [                                                                
       ]    [                                                                
      ]    [                                                                  
      ]    [                                                                  
       ]    [                                                                
        ]    [                                                                
         ]    [                                                              
        ]    [                                                                
        ]    [                                                                
       ]    [                                                                
      ]    [                                                                  
       ]    [                                                                
      ]    [                                                                  
      ]    [                                                                  
      ]    [                                                                  
       ]    [                                                                
       ]    [                                                                
      ]    [                                                                  
       ]    [                                                                
       ]    [                                                                
        ]    [                                                                
       ]    [                                                                
      ]    [                                                                  
      ]   [                                                                  
      ]   [                                                                  
      ]   [                                                                  
       ]   [                                                                  
      ]   [                                                                  
      ]   [                                                                  
      ]   [                                                                  
      ]   [                                                                  
      ]   [                                                                  
       ]   [                                                                  
       ]   [                                                                  
        ]   [                                                                
         ]   [                                                                
         ]   [                                                                
         ]   [                                                                
          ]   [                                                              
         ]   [                                                                
         ]   [                                                                
         ]   [                                                                
          ]   [                                                              
         ]   [                                                                
          ]   [                                                              
          ]   [                                                              
         ]   [                                                                
          ]   [                                                              
         ]   [                                                                
          ]   [                                                              
         ]   [                                                                
         ]   [                                                                
          ]   [                                                              
         ]   [                                                                
    SCORE:1598[                                                            
    HIGH:1598  [                                                            
    NEW HIGH SCORE!                                                    
               [                                                        
                [                                        
                 [                                                        
                  [                                                      
             ]   [                                                              
    Successfully executed

    SCAR Code:
    RACE
    +-+
    !*! READY
    !*! SET
    !*! GO
    +-+v
                 
                 
        ]      [                                                              
         ]      [                                                            
         ]      [                                                            
        ]      [                                                              
       ]      [                                                              
       ]      [                                                              
       ]      [                                                              
       ]      [                                                              
      ]      [                                                                
       ]      [                                                              
      ]      [                                                                
      ]      [                                                                
      ]      [                                                                
       ]      [                                                              
        ]      [                                                              
        ]      [                                                              
       ]      [                                                              
        ]      [                                                              
         ]      [                                                            
        ]      [                                                              
        ]      [                                                              
        ]      [                                                              
       ]      [                                                              
      ]      [                                                                
      ]      [                                                                
       ]      [                                                              
        ]      [                                                              
         ]      [                                                            
          ]      [                                                            
         ]      [                                                            
        ]      [                                                              
         ]      [                                                            
         ]      [                                                            
         ]      [                                                            
        ]      [                                                              
        ]      [                                                              
       ]      [                                                              
      ]      [                                                                
       ]      [                                                              
      ]      [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
       ]     [                                                                
      ]     [                                                                
      ]     [                                                                
       ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
       ]     [                                                                
        ]     [                                                              
         ]     [                                                              
          ]     [                                                            
          ]     [                                                            
         ]     [                                                              
         ]     [                                                              
        ]     [                                                              
        ]     [                                                              
       ]     [                                                                
       ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]     [                                                                
       ]     [                                                                
      ]     [                                                                
      ]     [                                                                
      ]    [                                                                  
       ]    [                                                                
        ]    [                                                                
        ]    [                                                                
        ]    [                                                                
       ]    [                                                                
        ]    [                                                                
       ]    [                                                                
      ]    [                                                                  
      ]    [                                                                  
       ]    [                                                                
       ]    [                                                                
        ]    [                                                                
         ]    [                                                              
          ]    [                                                              
         ]    [                                                              
         ]    [                                                              
          ]    [                                                              
          ]    [                                                              
          ]    [                                                              
           ]    [                                                            
           ]    [                                                            
          ]    [                                                              
          ]    [                                                              
          ]    [                                                              
          ]    [                                                              
          ]    [                                                              
          ]    [                                                              
         ]    [                                                              
        ]    [                                                                
        ]    [                                                                
         ]    [                                                              
         ]    [                                                              
        ]    [                                                                
        ]    [                                                                
         ]    [                                                              
        ]    [                                                                
         ]    [                                                              
          ]    [                                                              
          ]    [                                                              
           ]   [                                                              
          ]   [                                                              
          ]   [                                                              
          ]   [                                                              
          ]   [                                                              
           ]   [                                                              
           ]   [                                                              
          ]   [                                                              
           ]   [                                                              
          ]   [                                                              
           ]   [                                                              
           ]   [                                                              
           ]   [                                                              
            ]   [                                                            
           ]   [                                                              
            ]   [                                                            
           ]   [                                                              
            ]   [                                                            
           ]   [                                                              
            ]   [                                                            
             ]   [                                                            
             ]   [                                                            
            ]   [                                                            
             ]   [                                                            
             ]   [                                                            
            ]   [                                                            
            ]   [                                                            
           ]   [                                                              
           ]   [                                                              
            ]   [                                                            
             ]   [                                                            
            ]   [                                                            
           ]   [                                                              
          ]   [                                                              
          ]   [                                                              
           ]   [                                                              
           ]   [                                                              
    SCORE:2084 [                                                            
    HIGH:2084   [                                                          
    NEW HIGH SCORE!                                                    
             ]                                                          
            ]                                            
            ]                                                            
           ]  [                                                          
          ]  [                                                                  
    Successfully executed
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  8. #33
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    AHHAHAH! While I was playing the news downloaded and I was like WTFROADBLOCK! D: haha it made me lol ^^

  9. #34
    Join Date
    Feb 2007
    Location
    Alberta,Canada
    Posts
    2,358
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    RACE
    +-+
    !*! READY
    !*! SET
    !*! GO
    +-+v
                 
                 
         ]      [                                                            
          ]      [                                                            
          ]      [                                                            
           ]      [                                                          
            ]      [                                                          
             ]      [                                                        
             ]      [                                                        
            ]      [                                                          
           ]      [                                                          
           ]      [                                                          
            ]      [                                                          
             ]      [                                                        
             ]      [                                                        
            ]      [                                                          
             ]      [                                                        
              ]      [                                                        
               ]      [                                                      
                ]      [                                                      
                 ]      [                                                    
                ]      [                                                      
                 ]      [                                                    
                 ]      [                                                    
                  ]      [                                                    
                 ]      [                                                    
                  ]      [                                                    
                  ]      [                                                    
                 ]      [                                                    
                ]      [                                                      
                 ]      [                                                    
                 ]      [                                                    
                  ]      [                                                    
                  ]      [                                                    
                 ]      [                                                    
                ]      [                                                      
               ]      [                                                      
              ]      [                                                        
             ]      [                                                        
              ]      [                                                        
              ]      [                                                        
               ]      [                                                      
               ]     [                                                        
              ]     [                                                        
               ]     [                                                        
                ]     [                                                      
               ]     [                                                        
              ]     [                                                        
             ]     [                                                          
             ]     [                                                          
             ]     [                                                          
              ]     [                                                        
             ]     [                                                          
             ]     [                                                          
             ]     [                                                          
              ]     [                                                        
               ]     [                                                        
               ]     [                                                        
              ]     [                                                        
             ]     [                                                          
            ]     [                                                          
            ]     [                                                          
           ]     [                                                            
            ]     [                                                          
            ]     [                                                          
             ]     [                                                          
              ]     [                                                        
               ]     [                                                        
              ]     [                                                        
              ]     [                                                        
               ]     [                                                        
              ]     [                                                        
              ]     [                                                        
             ]     [                                                          
            ]     [                                                          
           ]     [                                                            
          ]     [                                                            
          ]     [                                                            
          ]     [                                                            
           ]     [                                                            
           ]     [                                                            
            ]     [                                                          
            ]    [                                                            
            ]    [                                                            
           ]    [                                                            
          ]    [                                                              
           ]    [                                                            
           ]    [                                                            
          ]    [                                                              
          ]    [                                                              
         ]    [                                                              
        ]    [                                                                
         ]    [                                                              
          ]    [                                                              
           ]    [                                                            
           ]    [                                                            
            ]    [                                                            
             ]    [                                                          
             ]    [                                                          
              ]    [                                                          
               ]    [                                                        
               ]    [                                                        
                ]    [                                                        
               ]    [                                                        
                ]    [                                                        
                 ]    [                                                      
                ]    [                                                        
                ]    [                                                        
                 ]    [                                                      
                 ]    [                                                      
                ]    [                                                        
                 ]    [                                                      
                 ]    [                                                      
                 ]    [                                                      
                  ]    [                                                      
                  ]    [                                                      
                  ]    [                                                      
                  ]    [                                                      
                   ]    [                                                    
                    ]    [                                                    
                    ]    [                                                    
                     ]    [                                                  
                      ]   [                                                  
                      ]   [                                                  
                       ]   [                                                  
                        ]   [                                                
                       ]   [                                                  
                       ]   [                                                  
                       ]   [                                                  
                        ]   [                                                
                       ]   [                                                  
                      ]   [                                                  
                      ]   [                                                  
                     ]   [                                                    
                     ]   [                                                    
                      ]   [                                                  
                       ]   [                                                  
                      ]   [                                                  
                     ]   [                                                    
                      ]   [                                                  
                       ]   [                                                  
                       ]   [                                                  
                        ]   [                                                
                        ]   [                                                
                         ]   [                                                
                         ]   [                                                
                        ]   [                                                
                        ]   [                                                
                       ]   [                                                  
                        ]   [                                                
                        ]   [                                                
                       ]   [                                                  
                       ]   [                                                  
                       ]   [                                                  
                      ]   [                                                  
    SCORE:2080       ]   [                                                  
    HIGH:2080       ]   [                                                  
    NEW HIGH SCORE!                                                    
                        [                                              
                         [                                
                        [                                                
                         [                                                
                    ]  [                                                        
    Successfully executed

    no big deal....
    “Ignorance, the root and the stem of every evil.”

  10. #35
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    SCORE:-1073087114
    HIGH:1696951930
    I didn't edit some of the vars, honest D:
    I am just a sick gamer.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  11. #36
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by Harry View Post
    I didn't edit some of the vars, honest D:
    I am just a sick gamer.
    Na, that would take you at least 20 years to achieve unless you hacked the time etc. in which case it isnt humanly possible to get such a score

  12. #37
    Join Date
    Jun 2009
    Location
    New Jersey
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCORE:1566
    HIGH:1566
    NEW HIGH SCORE!

    Most addicting game ever.
    Take a look at a new OpenDepositBox here.

  13. #38
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    SCORE:2082
    HIGH:2082
    NEW HIGH SCORE!
    ] [
    ]
    ]
    [
    ] [
    Successfully executed

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


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)

Posting Permissions

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