Graal Forums  

Go Back   Graal Forums > PlayerWorlds > Bomy Island Main Forum > Events and Activities
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-29-2002, 10:47 PM
Zfan Zfan is offline
Registered User
Join Date: Jan 2002
Posts: 34
Zfan is on a distinguished road
Make a money betting event!

hey u guys its me, Zfan.
on graal2001 it is very hard to make moneyz.
so if u can ET could u make some kind of gralat money gambling
game?
Reply With Quote
  #2  
Old 01-29-2002, 11:32 PM
Sparkplug Sparkplug is offline
old school.
Sparkplug's Avatar
Join Date: Jan 2002
Posts: 774
Sparkplug will become famous soon enough
Send a message via AIM to Sparkplug
yea that would be cool
__________________
Reply With Quote
  #3  
Old 01-30-2002, 06:33 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
I made a gambling game for sidra, but sidra is dead so here it is, go use it on your crappy delteria **** or whatever :o

NPC Code:

// NPC made by Supersonic
if (playertouchsme && playerdir=0 && this.mode=0) {
this.mode=1;
if (playerrupees>=200) {
setani idle,;
while (!keydown(5)) {
freezeplayer .05;
message This game requires 200g, press S to continue or A to cancel;
if (keydown(6)) break;
sleep .05;
}
if (keydown(5)) setplayerprop #c,;
if (!keydown(6)) {
playerrupees-=200;
message;
this.7={0,0,0};
setbackpal dusk8.png;
while (!keydown(4)) {
this.1=int(random(0,7));
this.2=int(random(0,7));
this.3=int(random(0,7));
updateimg();
freezeplayer .05;
sleep .05;
}
while (keydown(4)) {
this.2=int(random(0,7));
this.3=int(random(0,7));
updateimg();
freezeplayer .05;
sleep .05;
}
while (!keydown(4)) {
this.2=int(random(0,7));
this.3=int(random(0,7));
updateimg();
freezeplayer .05;
sleep .05;
}
while (keydown(4)) {
this.3=int(random(0,7));
updateimg();
freezeplayer .05;
sleep .05;
}
while (!keydown(4)) {
this.3=int(random(0,7));
updateimg();
freezeplayer .05;
sleep .05;
}
while (keydown(4)) {
sleep .05;
}
checkwinnings();
playerrupees+=this.winnings;
message;
if (this.winnings>0) say2 You have won #v(this.winnings) rupees;
else say2 Try again!;
sleep .05;
hideimg 200;
hideimg 201;
hideimg 202;
setbackpal pics1.png;
}else{
setplayerprop #c,;
message;
say2 Slot Machine Aborted;
}
}else{
say2 You need 200 rupees to play!;
}
this.mode=0;
}
function updateimg() {
showimg 200,sidra_slotmachinesprites.png,screenwidth/2-96,screenheight/2-32;
changeimgpart 200,this.1*64,0,64,64;
changeimgvis 200,4;
showimg 201,sidra_slotmachinesprites.png,screenwidth/2-32,screenheight/2-32;
changeimgpart 201,this.2*64,0,64,64;
changeimgvis 201,4;
showimg 202,sidra_slotmachinesprites.png,screenwidth/2+32,screenheight/2-32;
changeimgpart 202,this.3*64,0,64,64;
changeimgvis 202,4;
}
function checkwinnings() {
this.winnings=0;
tokenize #v(this.1) #v(this.2) #v(this.3);
for (i=0; i<3; i++) {
if (strequals(#t(i),0)) this.winnings+=20;
}
if (this.1 in |4,6|) this.7[0]=1;
else this.7[0]=0;
if (this.2 in |4,6|) this.7[1]=1;
else this.7[1]=0;
if (this.3 in |4,6|) this.7[2]=1;
else this.7[2]=0;
if (strequals(#t(0)#t(1)#t(2),111)) this.winnings=100;
if (strequals(#t(0)#t(1)#t(2),222)) this.winnings=250;
if (strequals(#t(0)#t(1)#t(2),333)) this.winnings=400;
if (this.7[0]=1 && this.7[1]=1 && this.7[2]=1) this.winnings=500;
if (strequals(#t(0)#t(1)#t(2),444)) this.winnings=750;
if (strequals(#t(0)#t(1)#t(2),555)) this.winnings=1000;
if (strequals(#t(0)#t(1)#t(2),666)) this.winnings=2500;
}



give the npc an image like slot.gif...

it is old and crappy now, but it maybe it could be improved and put on g2k1?

*attached is the necessary image*
Attached Thumbnails
Click image for larger version

Name:	sidra_slotmachinesprites.png
Views:	184
Size:	1.2 KB
ID:	11213  
Reply With Quote
  #4  
Old 01-30-2002, 07:47 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
too long, could be DRASTICALLY shortend.
__________________

subliminal message: 1+1=3
Reply With Quote
  #5  
Old 01-30-2002, 12:25 PM
_0AfTeRsHoCk0_ _0AfTeRsHoCk0_ is offline
Banned
_0AfTeRsHoCk0_'s Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,260
_0AfTeRsHoCk0_ is on a distinguished road
Send a message via ICQ to _0AfTeRsHoCk0_
Once again, someone already planned to do this (Antago) but it's yet another unfinished project
Reply With Quote
  #6  
Old 02-03-2002, 09:35 AM
HVOstroHS HVOstroHS is offline
Registered User
HVOstroHS's Avatar
Join Date: Jan 2002
Location: Cow Town, Massachusetts
Posts: 505
HVOstroHS is on a distinguished road
Send a message via AIM to HVOstroHS
Would this work?

Note: Yes it could be coded, but there is still always that issue of the rich getting richer and the poor getting poorer. If you made 200g slots that payed off 200g+, this would just make the graalian economy lower and making the value of hats, etc. go up. Making more new graalians more in the dark and with less money.
__________________
Okogadis: But I also need a thingy

AIM: HVOstroHS
ICQ: 25015150
E-mail: [email protected]
-Caius Ligarius
Reply With Quote
  #7  
Old 02-03-2002, 09:39 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
Quote:
Originally posted by Falcor
too long, could be DRASTICALLY shortend.
1. I did it before I became really good with such things

2. I did it for Sidra, so I did sorta half-assed to begin with anyways
Reply With Quote
  #8  
Old 02-03-2002, 02:38 PM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
My dad has about 8 slot machines and 85 percent of the time you get either a free chance that next pull gives you 30 percent of what you put in or it gives you nuttin.
Reply With Quote
Reply


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

Forum Jump


All times are GMT +2. The time now is 04:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.