• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Archive] Pokemon Essentials: Starter Kit for RPG Maker XP

Status
Not open for further replies.
12
Posts
15
Years
    • Seen Nov 25, 2012
    Well, here's the error box,
    hxxp://img258.imageshack.us/my.php?image=error2do5.png
    It comes out when I try to remove a dependent event. I only encounter this problem when I try to remove the dependent event from a group.

    Well, does anyone know how to overcome this problem btw?
    hxxp://img258.imageshack.us/my.php?image=error1mz9.png

    Sorry bout the links, I don't have permission to post urls yet. So just replace the xx with tt.

    Yeah and the saving thing, thanks, I totally forgot.
     
    2,048
    Posts
    16
    Years
    • Seen Sep 7, 2023
    I dunno if I was ignored or what, but I seriously
    need help with this,
    it essential for my project...

    I hope somebody can help me.

    //44tim44
    This is a bit harder than the trainer battle ones... Since the wild Pokémon start off-screen and move on, you have to set their x to be 480 (or however large your screen is) less than where you want it to end up. Find these lines in PokeBattle_ActualScene and edit them.
    Code:
    pbAddSprite("enemybase",-256,96+@yoffset,enemybase,@viewport) # ends at (224,96)
    This modifies the positioning of the enemy battle base. -256 is the x value (-256+480=224). If you edit that, you'll also have to edit this line with the new position:
    Code:
     break if @sprites["enemybase"].x>=224
    As for the Pokémon, it's these lines which need editing (remember to take 480 away from your desired position):
    Code:
    @sprites["pokemon1"].x=-192 # ends at 144*2
    Code:
    @sprites["pokemon3"].x=-240
    Hope this helps!

    Well, here's the error box,
    hxxp://img258.imageshack.us/my.php?image=error2do5.png
    It comes out when I try to remove a dependent event. I only encounter this problem when I try to remove the dependent event from a group.
    Below line 401 in DependentEvents (should read like this)
    Code:
    events=$PokemonGlobal.dependentEvents
    try adding
    Code:
    events.compact!
    with the exclamation mark. I don't know if it will help, but give it a go.

    thank you, I have another question, how do you link maps together. I am using a door warp to conect maps, but I don't like it
    Run the Editor.exe tool, and use the Visual Editor. Read the help window.
     
    12
    Posts
    15
    Years
    • Seen Nov 25, 2012
    Unfortunately, it still doesn't work.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError

    Message: Script error within map 25 (Test Map 2):

    Section124:405:in `removeEventByName'undefined method `[]' for nil:NilClass

    Interpreter:238:in `pbExecuteScript'

    DependentEvents:404:in `each'

    DependentEvents:404:in `removeEventByName'

    Game_Player*:20:in `pbRemoveDependency2'

    (eval):1:in `pbExecuteScript'

    Interpreter:1623:in `eval'

    Interpreter:238:in `pbExecuteScript'

    Interpreter:1623:in `command_355'

    Interpreter:467:in `execute_command'

    Interpreter:190:in `update'



    Interpreter:254:in `pbExecuteScript'

    Interpreter:1623:in `command_355'

    Interpreter:467:in `execute_command'

    Interpreter:190:in `update'

    Interpreter:104:in `loop'

    Interpreter:195:in `update'

    Scene_Map:100:in `update'

    Scene_Map:98:in `loop'

    Scene_Map:111:in `update'

    Scene_Map:67:in `main'



    This exception was logged in errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     
    12
    Posts
    15
    Years
    • Seen Nov 25, 2012
    Well, all I have done is add two to three dependent events. All calling them and removing them with different names. When I talk to the first guy behind me, it calls up the common event which shows the choice to remove him. I used the Kernel.pbRemove... in the common event. It works fine with just one dependent event but with two or three. It crashes.
     
    2,048
    Posts
    16
    Years
    • Seen Sep 7, 2023
    Unfortunately, it still doesn't work.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError

    Message: Script error within map 25 (Test Map 2):

    Section124:405:in `removeEventByName'undefined method `[]' for nil:NilClass

    Interpreter:238:in `pbExecuteScript'

    DependentEvents:404:in `each'

    DependentEvents:404:in `removeEventByName'

    Game_Player*:20:in `pbRemoveDependency2'

    (eval):1:in `pbExecuteScript'

    Interpreter:1623:in `eval'

    Interpreter:238:in `pbExecuteScript'

    Interpreter:1623:in `command_355'

    Interpreter:467:in `execute_command'

    Interpreter:190:in `update'



    Interpreter:254:in `pbExecuteScript'

    Interpreter:1623:in `command_355'

    Interpreter:467:in `execute_command'

    Interpreter:190:in `update'

    Interpreter:104:in `loop'

    Interpreter:195:in `update'

    Scene_Map:100:in `update'

    Scene_Map:98:in `loop'

    Scene_Map:111:in `update'

    Scene_Map:67:in `main'



    This exception was logged in errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
    Okay, try this. Under line 403 (or the nearest one which is like this):
    Code:
    for i in 0...events.length
    add
    Code:
    next if !events[i]
    That should work.
     
    12
    Posts
    15
    Years
    • Seen Nov 25, 2012
    what about event.compact! Should I leave that in as well?

    Well, it did work in a way. However it removes the dependent events from the back. It should remove them starting from the front.

    Now it's like this.

    Player----->, <------Tom, Mary, John

    I face behind, talk to Tom, removes him, it doesn't crashes anymore but John disappears. I talk to tom again and remove him, Mary disappears and lastly Tom. What should I tweak to remove Tom first, followed by%2
     
    Last edited:
    12
    Posts
    15
    Years
    • Seen Nov 25, 2012
    Wichu, thx for trying to help. But is there nothing you can do about the script? The common event should be removing the first event behind the player. And I did think of how to solve my second problem, the one where the chars are swapped out of the room. But scripting wise, I have no idea. Can you help me?

    Well, when you have 2 or 3 dependent events, you walk backwards, the whole party teleports behind you. Well, what if they only swap position with you one by one until you pass all of them? Like this, let 1,2,3,4 be the chars.

    1,2,3,4 -----> 2,1,3,4 ----> 3,2,1,4 ------> 4,3,2,1

    Well, is it very hard to achieve? And can you briefly explain to me what you command line did to help me earlier? Also what does the event compact do? I am trying to learn RGSS. Where did you start learning and how long did it took you?

    Thanks again.
     
    2,048
    Posts
    16
    Years
    • Seen Sep 7, 2023
    Check the layers above; make sure you're not erasing with anything except the very top-left tile (right-click to see what tile it is). If you accidentally used a passable tile to erase, then everything underneath will also be passable.
     

    Atomic Reactor

    Guest
    0
    Posts
    what script do i edit to make so that space bar doesnt do anything?
    Or is that unscriptable?
     
    521
    Posts
    15
    Years
    • Seen Sep 11, 2013
    Many questions!

    I have already asked this but, no one helped!

    How do you make an in game trade?
    OR,
    How do you remove a specific Pokemon species from your party(only 1 of that species)?

    Also

    how do you do a mystery gift?

    Also

    Has anyone tested the trade thing that is in the pokemon essentials folder?
    OR,
    Does anyone know a different way to do trades?
     

    Lady Berlitz

    Cinnamon ♪
    1,770
    Posts
    16
    Years
  • I've finally tried to add a battle, and it seems to not work. I do know the problem, but I do not know how to fix it.

    1. If I want to delete a Trainer Type/Battle, where can I do so?

    2. In a script, how would I add the Trainer's statistics in the script, such as the Trainer's name, Pokémon, etc.? I seem to always get a SyntaxError when I play, and it has gotten quite bothersome...
     
    664
    Posts
    16
    Years
  • Heya, My first actual question concerning the starter kit ^^
    Is there any way that I can access the Pokemon Storage system remotely from say, the Pokegear?
    Also, how do I add cards to the Pokegear?
    I hope someone can help, as I havn't a clue what to do.
    But for the Remote Storage, would I have to write a script? because I don't know ruby.
     

    Pika Storm

    learning to script
    250
    Posts
    15
    Years
  • how do you insert the paint file for a world map? I canot find where this is (I need to insert Kanto). I am going to have 4, maybe 6 regions in my game, but there is only data for two world maps in the game right now
     
    Last edited:

    pkmn.master

    Hobbyist Game Developer
    299
    Posts
    16
    Years
  • Sorry for multi-posting.My first comment was ignored =)
    I seem to have a problem with the non playable characters (NPCS) and battle sprites for example:When I uploaded a new trainer battle sprite and npc,the battle sprite had a white block around it during battle,same thing happend with an npc when placed and used. so,it didnt remove the white frame like it was suspose to. Does anyone know how to fix this or a website that has sprites and npcs specifically fixed in size for Pokemon Essentials?

    Thanks in advance.

    how do you insert the paint file for a world map? I canot find where this is (I need to insert Kanto). I am going to have 4, maybe 6 regions in my game, but there is only data for two world maps in the game right now

    The Pokemon Essentials is made to where the world map is continually created automatically when you connect the town/route maps you made in the proper places.
     
    Last edited:
    Status
    Not open for further replies.
    Back
    Top