cr0sis

cr0sis

Joined
May 03, 2008

Activity Stream

cr0sis commented on a Page, Slot Machine game  -  May 09, 2008

Oh and don\'t forget, I worked out the win % in my head and just put that number into the script

NOTICE $nick Chance of winning: 1.5625% Number of Winners: %Winnerss

SHOULD read 1.234%, 1.5625% is for 8 symbols (I\'m using 9), you\'ll have to do the working out yourself for how many symbols you will be using.

 Respond  
cr0sis commented on a Page, Slot Machine game  -  May 09, 2008

Yeah automag, change the number of \"Pictures\"

Here:
on *:LOAD:{
SET %Winners 0
SET %jackpot 100
SET %symbol.0 1,8 BELL
SET %symbol.1 1,4 CHERRY
SET %symbol.2 1,6 PLUM
SET %symbol.3 1,9 WEED
SET %symbol.4 0,4 STRAWBERRY
SET %symbol.5 0,1 COAL
SET %symbol.6 1,11 BLUEBERRY
SET %symbol.7 1,7 ORANGE
SET %symbol.8 4,3 APPLE
}

Take out as many lines as you want, leaving atleast 3 in. There are 9 there, my initial calculation was for 8, so when the !stats shows the win %, it\'s wrong... The real number is 1.234%

If you do take out one/some in that list, please make sure you also mofify:
SET %col.0 %symbol. [ $+ [ $rand(0,8) ] ]
SET %col.1 %symbol. [ $+ [ $rand(0,8) ] ]
SET %col.2 %symbol. [ $+ [ $rand(0,8) ] ]

$rand(0,8) <-- This is for 9 symbols, change it from 0,8 based on how many you use, for example if you you six... you\'d enter 0,5 in each of the three lines

 Respond  
cr0sis commented on a Page, Slot Machine game  -  May 05, 2008

Fixed :)
I wrote it with the intention of keeping it for my own community tbh, and so for myself, but now it\'s released it\'s only right that I make it smaller and more efficient :D

 Respond  
cr0sis commented on a Page, Rock Paper Scissors  -  May 05, 2008

Thanks vaseline, I know the script sucks and like I said, it\'s my first big game and I kinda rushed it (took me about 3 hours in total from starting to ironing out nearly all the bugs).

AHBARAR Nice idea, if Vaseline lets me I could easily incorporate his latest script (the singleplayer rock/paper/scissors one). I don\'t steal though, and there\'s no way I could be bothered to write a single player side of it myself since I write my scripts for a community which is very active.

 Respond  
cr0sis commented on a Page, Slot Machine game  -  May 04, 2008

Update: Already added !stats and said so in the introduction

 Respond  
cr0sis commented on a Page, Slot Machine game  -  May 04, 2008

Btw if you have a community website with its own \"currency\" (Like mine has points which you accumulate by posting in the forums and spend by changing your avatar/title etc) Then you can add a socket script in that client and use this game to give the winner all the accumulated game points.
It\'s addictive for large channels without this, even more so with, I\'ve had it finished for under 2 hours and already more than 500 in points has been given away!

 Respond  
cr0sis commented on a Page, Slot Machine game  -  May 04, 2008

on *:INPUT:#: { set %chanslot $chan | set %nickslot $me | inc %jackpot | notice %nickslot 1 point added to the jackpot | MSG %chanslot [SLOT-MACHINE] Current Jackpot: %jackpot ::: Rolling the wheels. | PLAYSLOT }

^ Single player code, or better yet split everything off after set %nickslot onto an alias and use it instead for both

 Respond  
cr0sis created a Page  -  May 04, 2008
2,530 

;Slot Machine game ;Written by cr0sis -irc.affinitygamers.com ;Version 1.1

cr0sis created a Page  -  May 04, 2008
1,295 

======================Rock Paper Scissors IRC Game============================ :::Version 1.4 :::::Written by cr0sis - irc.affinitygamers.com - ::::::Copyright � 2008 cr0sis @ www.affinitygamers.com :::::::Use and reproduction of this script is permitted as long as the readme is present and unchanged.

cr0sis created a mIRC Script  -  May 03, 2008
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.