The PokéCommunity Forums - View Profile: Maruno
The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Members List
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices



Maruno Maruno is offline

Lead Dev of Pokémon Essentials

Visitor Messages

Showing Visitor Messages 301 to 310 of 347
  1. Ben.
    July 22nd, 2010 03:53 PM
    Ben.
    Thanks for the help :3

  2. Shadow-Lucario
    July 14th, 2010 10:08 AM
    Shadow-Lucario
    sorry for calling you a moron like you i have not had a very good couple of weeks but i do need to try some other things because you were right i need to try to fix it myself first

  3. Shadow-Lucario
    July 13th, 2010 07:41 PM
    Shadow-Lucario
    . . . i do have a seperate black tile that is only meant for backgrounds and it is non passable and i do erase the backgrounds with the top left tile and i have them all on the correct levels etc but i shall just ask someone else because your being blunt comes off as just being a rude moron, i asked you a simple question and even tried to be nice but all i got was you being "blunt/rude" i am still new to this whole game making thing and have read the poccil guides so i am trying so give me a break

  4. Shadow-Lucario
    July 13th, 2010 12:32 PM
    Shadow-Lucario
    i was just trying to be nice the least you could do is to be nice back, i know that you have helped alot of people and i only asked a simple question but thanks for the rudness

  5. Shadow-Lucario
    July 11th, 2010 03:24 PM
    Shadow-Lucario
    could you help me with my problem please i have posted it in the game development help section and you always have the answers lol

  6. Colbex
    June 30th, 2010 11:38 PM
    Colbex
    well you see good sir... o.o;;
    @Maruno: I copied your piece of code into my scripts and commented mine out. I tested giving, taking, canceling out of giving an item, and giving/taking mail. All of it worked fine. Then I tried giving it straight from the bag screen which is where I found your error. It's this one, correct?
    Spoiler:
    Exception: NameError
    Message: undefined local variable or method `ret' for #<PokemonScreen:0x999df68>
    PokemonScreen++:998:in `pbPokemonGiveScreen'
    PokemonBag++:1038:in `pbStartScreen'
    PokemonBag++:1035:in `pbFadeOutIn'
    PokemonBag++:1035:in `pbStartScreen'
    PokemonBag++:961:in `loop'
    PokemonBag++:1053:in `pbStartScreen'
    PokemonMenu+++:172:in `pbStartPokemonMenu'
    PokemonMenu+++:171:in `pbFadeOutIn'
    PokemonMenu+++:171:in `pbStartPokemonMenu'
    PokemonMenu+++:140:in `loop'

    I'm not sure if you noticed, but it's not just giving mail that will give you that error. I can't really tell you how to fix it, but I think it has something to do with how items/mail are given from PokemonBag and the cmdGive function that's used. yours may be a bit different, but here's where I think the hang up is at.
    def pbStartScreen
    Spoiler:
    @scene.pbStartScene(@bag)
    item=0
    loop do
    item=@scene.pbChooseItem
    break if item==0
    pocket=$ItemData[item][ITEMPOCKET]
    cmdUse=-1
    cmdTag=-1
    cmdRegister=-1
    cmdGive=-1
    cmdToss=-1
    cmdCheck=-1
    commands=[]
    ---Skips a few lines talking about pockets---
    Spoiler:
    itemname=PBItems.getName(item) # Get item name
    command=@scene.pbShowCommands(_INTL("{1} is selected.",itemname),commands)
    if cmdUse>=0 && command==cmdUse
    ret=pbUseItem(@bag,item)
    # ret==0: Item wasn't used; ret==1: Item was used
    if ret==2 # End screen
    break
    end
    @scene.pbRefresh
    next
    elsif cmdCheck>=0 && command==cmdCheck
    pbFadeOutIn(99999){
    pbDisplayMail(PokemonMail.new(item,"",""))
    }
    elsif cmdTag>=0 && command==cmdTag # Berry tag
    elsif cmdRegister>=0 && command==cmdRegister # Register key item
    @bag.pbRegisterKeyItem(item)
    @scene.pbRefresh
    elsif cmdGive>=0 && command==cmdGive # Give item to Pokémon
    if $Trainer.pokemonCount==0
    @scene.pbDisplay(_INTL("There is no Pokémon."))
    elsif pbIsImportantItem?(item)
    @scene.pbDisplay(_INTL("The {1} can't be held.",itemname))
    else
    # Give item to a Pokémon
    pbFadeOutIn(99999){
    sscene=PokemonScreen_Scene.new
    sscreen=PokemonScreen.new(sscene,$Trainer.party)
    sscreen.pbPokemonGiveScreen(item)
    @scene.pbRefresh
    }
    end
    elsif cmdToss>=0 && command==cmdToss
    qty=@bag.pbQuantity(item)
    helptext=_INTL("Toss out how many {1}(s)?",itemname)
    qty=@scene.pbChooseNumber(helptext,qty)
    if qty>0
    if pbConfirm(_INTL("Is it OK to throw away {1} {2}(s)?",qty,itemname))
    pbDisplay(_INTL("Threw away {1} {2}(s).",qty,itemname))
    qty.times { @bag.pbDeleteItem(item) }
    end
    end
    end
    end
    @scene.pbEndScene
    return item
    end
    end
    I can't actually script in RGSS but my intuition tells me that since ret is handled differently in the bag screen yet the function in the bag calls your edited version of it. The ret's clash or something and causes the problem. I'm 100% not sure if this is correct but hopefully it helped you a litte. =\

    After this deduction it soon occurred to me that the original version did the exact same thing. At this point I was saying crap repeatedly as I had already pressed submit. (your part was beneath the other two folks). Luckily it didn't go through, so I didn't look like an idiot. o-o; I mean... I guess I could just edit the post out but then it looks suspicious... Anyway, after further deduction I realized a lot of things are handled with the aforementioned cmd thingies and their ret thingies and my intuition is severely flawed.........or I'm just a little stupid. o-o On a side note however, reading my submission in a sherlock holmes accent makes it that much funnier.

  7. Colbex
    June 28th, 2010 08:18 PM
    Colbex
    actually my work is something more along the lines of comedy... o-o;;

  8. Colbex
    June 28th, 2010 05:14 AM
    Colbex
    hey, did you ever figure out that problem you were having with your "give" or w/e? The one you posted in general game making help? o.o bc... I tried to pay you back by attempting to solve the mystery using my lackluster detective skills and making a big post, only to realize a few seconds afterwards im an idiot. anywho... the point is even though more than likely im way off your free to read my theory. just tell me. XD I save large posts to my notepad, which is good in this case as it didn't go through, therefore i didnt look like a dumbass over the entire game development thread. o.o; im sorry, at late night I get awfully talkative rather than tired...

  9. venom12
    June 4th, 2010 02:39 PM
    venom12
    I mean this, when i battle with lugia and in battle i want check if its lugia to change graphics etc.

  10. Colbex
    May 27th, 2010 03:24 AM
    Colbex
    Hey, just thought I'd drop by and say, "You are the man, and thanks for the help with the battle scene." You literally just saved me loads of time and from frustration... a lot of frustration... like... the "Go curse people out on Youtube for making stupid/racist comments just because you're already mad yourself frustration". No lie.

About Me

Statistics

Total Posts
Visitor Messages
Blog
General Information
  • Last Activity: 5 Hours Ago 11:13 PM
  • Join Date: January 28th, 2008
  • Referrals: 0

Friends

Showing Friends 1 to 15 of 15

Emblems

Emblem Showcase - 5 Total
  Emblem
I said what?!
You shocked Pichu with your wit! Congratulations on winning a Pokémon General Caption Contest.
Awarded: March 7th, 2012 03:50 PM
Spun-out!
You blew us away with your outstanding spin-off game in the Design A Spin-Off Contest and got 1st place! Promise us you'll submit that idea to Game Freak, please!
Awarded: July 20th, 2012 04:37 AM
Sexy Moderator
The sexiest of Moderators are granted this emblem.
Awarded: February 9th, 2013 10:20 PM
PC Veteran
These old folks have been around for far too long but we love them anyway.
Awarded: 1 Week Ago 09:35 PM
Game Developer Extraordinaire
You really know how to manipulate those switches and loops, and have shared your knowledge with the community. Thanks for enriching the community with your contributions!
Awarded: 1 Week Ago 09:41 PM

All times are UTC. The time now is 04:44 AM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.