The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Members List
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices


Advertise here

Colbex's Profile Picture

Colbex Colbex is offline

Cobalt Black Creator

Visitor Messages

Showing Visitor Messages 1 to 10 of 34
  1. Rukario
    July 9th, 2014 09:57 PM
    Rukario
    Happy Anniversary, Happy Anniversary, Happy Anniversary, Happy Anniversary, Happy Anniversary!

  2. wonjoon0330
    May 1st, 2012 08:51 PM
    wonjoon0330
    Happy Birthday!

  3. Averdak
    April 10th, 2011 07:33 AM
    Averdak
    Yeah. I used to play TNRPG a lot. I'm a C1 vet. I had BBE back then.

  4. Maruno
    July 1st, 2010 02:01 PM
    Maruno
    That's... I didn't follow any of that. I'm just glad I found the answer before having to wade through all that thinking it might help.

    I've also extensively modified the scripts too to incorporate a different control style (sorry, no spoilers, but it's good!), so it may have been that any answers wouldn't have helped me in my situation anyway.

  5. Maruno
    June 29th, 2010 09:45 AM
    Maruno
    Humour me...

  6. Maruno
    June 28th, 2010 09:50 AM
    Maruno
    I solved it just now, actually, while replying to you. Turns out Ruby is weird, and if a variable is defined within a block (e.g. a "do" loop), then it becomes undefined again once you exit that block. The solution is to define the variable before the "do" loop begins (i.e. copy the line "ret=false" to before the "do" loop), and then it'll be usable after the loop finishes.

    It's not a bug as such, because sometimes programmers will want to use that property of blocks (e.g. use the same name for two different variables, one of which is in-loop only and the other is out-of-loop only), but in those cases I think it's just bad programming style.

    I considered this possibility before, but I dismissed it because it was a stupid thing for Ruby to do. Turns out that's how it works.

    So yeah, it's fine now. Thanks for the offer of help anyway. Might be interested to see what you came up with, though, if you want to PM me your working.

  7. Peeky Chew
    June 25th, 2010 06:55 AM
    Peeky Chew
    Ok. Less use of o.o xD
    I'll PM you in a while.

  8. Peeky Chew
    June 25th, 2010 06:33 AM
    Peeky Chew
    I can't really tell if you're being serious, it takes a while to make a good thread so are you?

  9. Peeky Chew
    June 25th, 2010 02:05 AM
    Peeky Chew
    xD
    Yeah... I could give you some advice on how to improve your thread if you like?

  10. Peeky Chew
    June 20th, 2010 07:17 AM
    Peeky Chew
    "Best of luck on your project, although, this seems to me like one that'll become popular."
    How did you know xD?

About Me

  • About Colbex
    Location
    The land of gentle breezes
    Gender
    Male ♂
    Nature
    Calm
    Favorite Pokémon
    I don't really have favorites...o.o
  • Signature
    My game thread has been closed, but since I have so much of it to re-do, it's a good thing. Rest assured, Cobalt Black (formerly burn) will be back, eventually.

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: June 8th, 2014 06:54 AM
  • Join Date: July 10th, 2009
  • Referrals: 0

Friends

Showing Friends 1 to 13 of 13

All times are UTC -8. The time now is 03:20 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.