AlexRapso

AlexRapso

Joined
Sep 25, 2009
Occupation
Student
Location
England
Website

Activity Stream

AlexRapso commented on a Page, Java IRC bot  -  Jul 10, 2011

perfect for starting me off, no good tutorials for sockets. Thanks!

 Respond  
AlexRapso commented on a Page, Blackjack Unfinished  -  Sep 08, 2010

Have you tried it? it does work, just not finished! :)

 Respond  
AlexRapso commented on a Page, Blackjack Unfinished  -  Sep 07, 2010

"(not myself, I have my own project)"

I had better things to do aswell reason for giving up. There is a lot of source code to work with so shouldn't be too hard to finish it.

 Respond  
AlexRapso commented on a Page, IRC UNO  -  Sep 07, 2010

It's good but the problem with notice or in pm is that you can't see what color the cards are
(16:47:38) -R-Bot- Your cards: [6] [D2] [R] [8] [4] [S] [9]
so yeh i have to try and play like each color before i find the right one lol

 Respond  
AlexRapso commented on a Page, Roulette V2  -  Sep 07, 2010

Yeh sorry missed a little bit should work now :)

 Respond  
AlexRapso created a Page  -  Sep 07, 2010
446 

I started making blackjack but couldn't be bothered to finish it.

AlexRapso commented on a Page, Roulette Table  -  Sep 07, 2010

Ok done it's at http://www.hawkee.com/snippet/7925/

I might be able to code some games for you but i am back at university in 2 weeks so give them to me quick :P

 Respond  
AlexRapso created a Page  -  Sep 07, 2010
787 

Different way of playing roulette, the first player who makes a bet sets off the bets then after 60 seconds the roulette is spun.

AlexRapso commented on a Page, Monopoly  -  Sep 06, 2010

(23:56:17) <~RapsoTired> !sgame (23:56:17) <~R-Bot> The game has been started, type !Roll to play (23:56:18) <~R-Bot> RapsoTired it's your turn
(23:56:21) <~RapsoTired> !roll (23:56:21) <~R-Bot> RapsoTired rolled 4 & 6 so you move 10 spaces
(23:56:21) <~R-Bot> You landed on "Visiting Jail"
(23:56:21) <~R-Bot> kip it's your turn
(23:56:21) <@kip> !roll
(23:56:22) <~R-Bot> kip rolled 3 & 4 so you move 7 spaces
(23:56:22) <~R-Bot> You landed on "Chance"
(23:56:22) <~R-Bot> kip Bank Pays You Dividend of £50
(23:56:22) <~R-Bot> kip you now have £1550
(23:56:22) <~R-Bot> Soadafk it's your turn (23:56:29) <@Soadafk> !roll
(23:56:29) <~R-Bot> Soadafk rolled 4 & 4 so you move 8 spaces (23:56:30) <~R-Bot> You landed on "Euston Road" Price: £100 (23:56:30) <~R-Bot> Soadafk you get to roll again
(23:56:34) <@Soadafk> yihaa (23:56:37) <@Soadafk> !roll

working fine for me :x it does need reprogrammed though i made it before i learnt how to code properly.

 Respond  
AlexRapso commented on a Page, Roulette Table  -  Sep 06, 2010

Yeh i could do that, would have to be 2 seperate bets like !play odd 500 and then !play 11 500. will do that 2moro too busy today :P

 Respond  
AlexRapso commented on a Page, Monopoly  -  Aug 22, 2010

might need to remove some variables if you just made your bot quit without turning the game off

 Respond  
AlexRapso commented on a Page, Monopoly  -  Jul 08, 2010

wow it works nice, btw i request werewolf game please XD

pretty sure there is already a werewolf game ;)

 Respond  
AlexRapso commented on a Page, Monopoly  -  Jul 04, 2010

Updated the code and the description hope it helps :)

 Respond  
AlexRapso commented on a Page, Log Viewer  -  Jun 08, 2010

I can't get this to find any of my logs. I go into my mIRC program file and the logs are there but this log viewer won't show any of the logs. Is it something I did wrong or is it something else?

You had the same problem as me but i edited it abit i will show you what i have.

alias loader { 
  set %logpath C:\Users\Alex Rapso\AppData\Roaming\TraScript\logs\omerta\
  return $findfile(%logpath,*.log,0,1,aline -l @Log $nopath($1-)) 
}

alias viewer {
  window -Skal15 @Log 300 150 500 300 @Log Tahoma 12 | titlebar @Log Viewer
  aline 1 @Log 0,10 Logs !  $loader Log(s) Were Found
  aline 1 @Log -
  if ($1 != $null) { seefile 0 $1- }
}

alias seefile {
  if ( $isfile($2-) ) {
    loadbuf -rp @Log $+(",$2-,")
    if ( $1 == 0 ) { sline @Logs 10 | sline @Log 10 }
    else {
      sline @Log $calc($1 + 2) | sline @Log $calc($1 + 2)
      rline @Log $1 $line(@Log,$1)
    }
    if ( $fline(@Log,$nopath($2-),1,1)  ) { sline -l @Log $ifmatch }
  }
}
on *:signal:removefile: { .remove $+(",$3-,") | dline -l $1 $2 }

menu @Log {
  dclick: { if ( $1 ) { seefile 1 $+(%logpath,$line(@Log,$1,1)) } }
  -
  Update: { window -c @Log | viewer }
  -
  Close: { window -c @Log }
  -
}

menu * {
  Log Viewer:viewer
}

i changed the operator $logdir to variable %logpath and set the path to my log folder and changed all the other $logdir operators to %logpath and it should work hope i helped :)

 Respond  
AlexRapso commented on a Page, blackjack  -  May 31, 2010

(17:26:24) <~Rapso> !bet
(17:26:24) <~Zach> Rapso added to this round 3 more player required!
(17:26:34) <~Rapso> !bet
(17:26:35) <~Zach> Rapso added to this round 2 more player required!
(17:26:40) <~Rapso> !bet
(17:26:41) <~Zach> Rapso added to this round 1 more player required!
(17:26:42) <~Rapso> !bet
(17:26:43) <~Zach> Game full.. Game now starting.
(17:26:43) ~Zach Draws a(n) queen and places it infront of Rapso
(17:26:43)
~Zach Draws a(n) 10 and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) 3 and places it infront of Rapso
(17:26:44)
~Zach Draws a(n) king and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) king and places it infront of Rapso
(17:26:44)
~Zach Draws a(n) 8 and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) 5 and places it infront of Rapso
(17:26:44)
~Zach Draws a(n) 10 and places it infront of Rapso
(17:26:44) * ~Zach Draws 2 cards for himself!!
(17:26:44) <~Zach> Rapso has 0
(17:26:45) <~Zach> Rapso has 18
(17:26:46) <~Zach> Rapso has 8

can play as yourself 3 times
hope you can fix this :)

 Respond  
AlexRapso commented on a Page, blackjack  -  May 30, 2010

(02:01:30) <Zach[Bot]> You have R99 left

is that meant to be how much money i have?

 Respond  
AlexRapso created a Page  -  May 20, 2010
1 429 

For any gambling addicts out there

AlexRapso commented on a Page, TicTacToe  -  May 19, 2010

system("cls"); clears the screen but i guess it doesnt work on other operating systems :/

 Respond  
AlexRapso commented on a Page, TicTacToe  -  May 19, 2010

Looks good, but I can't run it on OS X. conio.h is a Windows/DOS library that generally doesn't run on Linux/Unix systems. Maybe you can find an alternative that works more universally?

took that out and replaced it with a system pause instead.

 Respond  
AlexRapso created a Page  -  May 19, 2010
477 

Another game i've made while being bored....

 Respond   mIRC  
AlexRapso created a Page  -  May 19, 2010
162 

Tried learning sockets here is the end result. http://www.hawkee.com/phpBB2/viewtopic.php?t=10835 good thing to refer to even though i can't manage to log into places yet but thanks!

AlexRapso commented on a Page, TicTacToe  -  May 01, 2010

@raccoon

usually it does end in a tie or a loss for the user

@hawkee

i have only been using windows tbh and not programming C++ that long still learning :P

 Respond  
AlexRapso created a Page  -  Apr 27, 2010
526 

TicTacToe game i made for a university project, has a pointless 10x10 square which i had to make but all the rest is good.

AlexRapso commented on a Page, Simple Calculator  -  Apr 23, 2010

I got bored and fixed it :x

#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;

void instructUser()
{
        cout << "                    " <<endl;
        cout << "  ***************************************************************************" <<endl;
        cout << "  *  This program takes your input and selected mathematical operator       *" <<endl;
        cout << "  *  and returns the answer to the screen. If an illegal operator is        *" << endl;
        cout << "  *  selected, an error message will be displayed. Be careful which         *" <<endl;
        cout << "  *  operator you select because the program depends on you for input.      *" <<endl;
        cout << "  *  The only error check function it has, is for unacceptable opreators.   *" <<endl;
        cout << "  *  Acceptable operators are : (+ , - , / , * ,^,c). The character c sets  *" <<endl;
        cout << "  *  the value stored to ZERO. Enter Q to exit. ENJOY YOUR PROGRAM !!!!!!   *" <<endl;
        cout << "  ***************************************************************************" <<endl;
        cout << "                     " <<endl;
} 
int main()
{
    instructUser();
    double displayedVal;
    double newEntry;
    char command_character = 'C'; 
    displayedVal = 0.0;
    cout << "  Enter a number: " ;
    cin >> displayedVal;
    cout << "  Enter accepted Operator: " ;
    cin >> command_character;
    while (command_character != 'Q' || command_character != 'q')
    {
        switch(command_character)
        {
        case 'c':
        case 'C': displayedVal = 0.0;
                  break;
        case '+': cout << "  Enter a number: ";
                  cin >> newEntry;
                  displayedVal = displayedVal + newEntry;
                  break;
        case '-': cout << "  Enter a number: ";
                  cin >> newEntry;
                  displayedVal = displayedVal - newEntry;
                  break;
        case '*': cout << "  Enter a number: ";
                  cin >> newEntry;
                  displayedVal = displayedVal * newEntry;
                  break;
        case '/': cout << "  Enter a number: ";
                  cin >> newEntry;
                  do if (newEntry == 0)
                  {
                      cout << "  You cannot devide something by 0" << endl;
                      cout << "  Enter a number: ";
                      cin >> newEntry;
                  } while (newEntry == 0);
                  displayedVal = displayedVal / newEntry;
                  break;
        case '^': cout << "  Enter a number: ";
                  cin >> newEntry;
                  displayedVal = pow (displayedVal,newEntry);
                  break;
                  default : cout << "  Unacceptable Operator(" << command_character << ")" << endl;
        }
        cout << "  The result so far is: " <<displayedVal<< endl;
        cout << "  Enter Operator: ";
        cin >> command_character;

    }
    system ("pause");
    return 0;
}
 Respond  
AlexRapso commented on a Page, Simple Calculator  -  Apr 23, 2010

error C2144: syntax error : 'double' should be preceded by ')'

if (newEntry == 0)
{
     doDivideZero(double &);
}
 Respond  
AlexRapso commented on a Page, Monopoly  -  Apr 01, 2010
  • /window: invalid parameters (line 46, script1.txt)
    Works fine for me, maybe you can't use that command on your server?
 Respond  
AlexRapso commented on a Page, Monopoly  -  Jan 22, 2010

genefreak you need to put it into another irc as you cant use on text commands on yourself

 Respond  
AlexRapso commented on a Page, Tic Tac Toe! v2!  -  Dec 22, 2009

It isn't even working for me tbh lol

 Respond  
AlexRapso commented on a Page, GAME: Tick Tack Toe  -  Dec 11, 2009

really good graphics but the computer AI is actually pretty bad :p
http://boulter.com/ttt/about.html
this one i cannot beat!

 Respond  
AlexRapso commented on a Page, Monopoly  -  Oct 16, 2009

it works on nick and ip address/hostmask depending if your logged in or not thats why you cant play that way.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.