NOAHW'S PROFILE
NoahW
64
I'm an artist first and foremost, and long time video game and RPG fan. Been tooling around with RPG maker for some time and I'm finally getting down to business and working on a serious project. I've got everything planned out and now I'm just trying to punch out the work.
To see some game art and sample maps please check my DeviantArt gallery
To see some game art and sample maps please check my DeviantArt gallery
Search
Filter
Need Help With Small Script Bug
author=GreatRedSpirit
If it's a divide by zero error then you can add a check to see if size is zero like so:if size > 0 chance = number * 100 / 0 else chance = 0 end
Or just set a minimum value for the size to be when assigning it:size = [@deck.size, 1].max
The .max will always pick the bigger of the two numbers so size can never be smaller than 1.
I tried copy pasting it and it didn't work then tweaked like so:
if size > 0 chance = number * 100 / size else chance = 0 end
Works like a charm, you single handedly saved my favorite minigame amigo, you are so getting a thanks in the credits :P
Need Help With Small Script Bug
My game: http://rpgmaker.net/games/4506/
I have a blackjack minigame I'm using that functions very well except for an error I'm getting on line 417, this part of code dictates the "dealer's actions however if size=0 it still attempts to divide 100 by size which of course you cannot do, however I know <0 about coding and could seriously use some help.
# Create Values
values = ('2'..amount.to_s).to_a << 'A'
# Get Number of Cards then won't make the dealer bust
number = @deck.number(*values)
# Get Size of Deck
size = @deck.size
# Get Chance of Not Busting
HERE->chance = number * 100 / size
# If chance is less than the riskiness or If value is less than minimum
if (100 - chance <= $game_system.dealer_risk ||
@dealer_hand.total <= $game_system.dealer_min)
# Hit Again
cpu_draw
# Return
I have a blackjack minigame I'm using that functions very well except for an error I'm getting on line 417, this part of code dictates the "dealer's actions however if size=0 it still attempts to divide 100 by size which of course you cannot do, however I know <0 about coding and could seriously use some help.
# Create Values
values = ('2'..amount.to_s).to_a << 'A'
# Get Number of Cards then won't make the dealer bust
number = @deck.number(*values)
# Get Size of Deck
size = @deck.size
# Get Chance of Not Busting
HERE->chance = number * 100 / size
# If chance is less than the riskiness or If value is less than minimum
if (100 - chance <= $game_system.dealer_risk ||
@dealer_hand.total <= $game_system.dealer_min)
# Hit Again
cpu_draw
# Return
Dark Arts
author=Fugue
your shit is amazing, you are amazing, this is amazing.
peace.
Hehe glad you dig my work dude, and I'm glad to say I've been working like crazy on this so there's plenty more to come. :P
CorpseHollor.png
author=chana
uh, LockeZ, I don't think it's supposed to be hyper realistic, also, imagine stairs inside. oh, love that map!
thanks dude glad you dig it!
author=LockeZ
I know, I just saw it and my addled brain jumped straight to "oh my god what if it were a coffin OUTHOUSE" and this was too good an idea to keep to myself
Totally had the same thought amigo... Well that settles it, makin' an outhouse...
Screen4.png
author=Fugue
you worked for Bicycle? that's some very impressive credentials.
the background is ugly though. i wish it looked like a table or something, not just a boring, oddly textured red gradient.
Thatnls amigo, if you'd like to see some pics of the deck or purchase somewhere online it's entitled "Coffin Fodder"
And I agree wholeheartedly on the uglyness of the tabletop texture. The script requires a "window set" image and stretches out the background. I badly wish I could make it a single large image of a tabletop or something, but my scripting skills are negligent :(
super long mega friendship post
Dark Arts
author=AMoonlessNight
I knew this would be you! Looks interesting. I love the pumpkin houses. :D
Hehe guilty as charged, this is one of two projects I've juggled since rpg maker 2003
164404fynq0tngnsvufl33.jpg
Screen4.png
Promoting my game, All original art!
Shamelessly promoting a game I'm working on entitled "Dark Arts" Link: http://rpgmaker.net/games/4506/ I'm doing all the artwork for the game (Tile sets, Battle anims, etc) with the exception of the chars which will be edits. Please give it a looksee if you like original RPG art. Here's a couple screenies to peek your interest...