Essentials Docs Wiki

Filter Posts Reset

Categories

Sort By

  • All
  • Following
• 12h

Including New objects.


Hi,

I would like to include in my game more objects like books, keys and berries,

but i dont know the way ''items.txt'' work,

thanks.

working on version 16.2.

0 0
• 12/7/2018

Pokeball disapears

When i try to catch a Pokemon in my game my Pokeball just disapears and nothing happens. This only happens on thi game. I even tried to replace the PItem_PokeBalls script but it nothing changed..

I would be very happy if anyone could help me!

0 0
• 11/25/2018

Including "alternate shinies"?

Hello,

I would like to include in my game more alternate colorations of Pokémon, which function like shinies. (I've decided to base them on the Dark and Light pokémon from the TCG).

Unfortunately I'm not very good with Ruby yet, so the most I've managed to do was to get the mark to show up on the HP bar and also crash the Pokédex.

Does anyone have tips or advice to add more "alternate shinies" to the game?

I'm working with version 16.2.

0 1
• 11/22/2018

Day care error using the debug

Hello.

I detected an error while i was testing the day care in essentials v17.


1st- I give my pokemon to the day care npcs.

2nd- When i go to the game's menu and using the debug mode to force an egg in the day care, so i can skip the wait until the pokemon give birth an egg normally, this error pops up and crashes the game.


Any ideas on how to fix the issue? Thx and sorry if i my english is terrible. XD

Post image
0 0
• 11/6/2018

Z-Moves

I was wondering if there would be a way to include Z-Moves in some form to the game.

0 0
• 11/2/2018

Mega Evolution Help

Hey, If anyone could help me real quick, I'm experimenting with Mega Evolution on 17.2 and I'm using EBS, but for some reason, when I give an opponent trainer's pokemon a mega stone, the animation doesnt play and their pokemon's sprite doesnt change to the mega evolution. Everything works fine for the player's megas tho. Any help would be greatly appreciated. If it helps clarify i can also record a quick video to show whats going on.


<3

0 0
• 10/8/2018

Debug mode lags when scrolling through lists

I like to use it to edit Pokemon safely, but scrolling through everything is very painful when you have a two second delay each time. While I guess this might be a complaint and may even have something to do with my computer, then maybe make it easy on the RAM so it doesn't lag as much.

0 2
• 9/30/2018

Password inputting script not recognising input password

Oh, how I hate when things delete themselves after leaving a page. So anyway, on the old wiki, there was a tutorial for inputting a password. It was not deprecated. The tutorial is nowhere to be found (the Wayback Machine hates me), but I have part of the website thanks to a Discord website description:


Click here for more tutorials! Here is a simple script, put it anywhere in a script section. This allows you to choose a password for the player to type. To use, put it in a scripted conditional...


It was a scripted conditional branch. So I went into the script editor, made a new script called password, and put in the following script:


def passCheck(password, helptext="What's the password?", minlength=0, maxlength=8, casesensitive=false)

code = pbEnterText(helptext, minlength, maxlength)

if code == password || (casesensitive == false && code.downcase == password.downcase)

return true

else

return false

end

end


After that, I went and made an event triggered by the action button using a Slowbro Sprite that looked like this:


@>Conditional Branch: Script: Password

@>Text: Hmm, work?

@>

: Else

@>Text: Not working...

@>

: Branch End

@>


I went in, playtested, and when I activated the event I got the following error:


Compiler:391:in `csvPosInt!'

Compiler:466:in `pbGetCsvRecord'

Compiler:462:in `each'

Compiler:462:in `pbGetCsvRecord'

Compiler:1536:in `pbCompileItems'

Compiler:1535:in `pbCompilerEachCommentedLine'

Compiler:251:in `each_line'

Compiler:251:in `pbCompilerEachCommentedLine'

Compiler:248:in `open'

Compiler:248:in `pbCompilerEachCommentedLine'

[Pokémon Essentials version 17.2]

Exception: Hangup

Message: The script is taking too long. The game will restart.

Compiler:2302:in `pbCompilePokemonForms'

Compiler:2300:in `each'

Compiler:2300:in `pbCompilePokemonForms'

Compiler:2294:in `each'

Compiler:2294:in `pbCompilePokemonForms'

Compiler:4398:in `pbCompileAllData'

Compiler:4515

[Pokémon Essentials version 17.2]

Exception: RuntimeError

Message: Script error within event 11 (coords 10,11), map 43 (Airplane2):

Exception: NameError

Message: (eval):1:in `pbExecuteScript'uninitialized constant Interpreter::Password

***Full script:

Password

Interpreter:243:in `pbExecuteScript'

Interpreter:794:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:794:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:163:in `update'

Scene_Map:161:in `loop'


Interpreter:276:in `pbExecuteScript'

Interpreter:794:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:163:in `update'

Scene_Map:161:in `loop'

Scene_Map:170:in `update'

Scene_Map:234:in `main'


So after a while of me being annoyed that it wasn't working, I decided to learn a bit of Ruby. I noticed a major problem with the def part of the script, and made it like so:


def passCheck(password,helptext,minlength,maxlength,casesensitive)

 code=pbEnterText(helptext,minlength,maxlength)

 if code==password || (casesensitive==false && code.downcase==password.downcase)

  return true

 else

  return false

 end

end


passCheck("password","What's the password?",0,8,false)


When I playtested, it came up with a screen that said, "What's the password?" and the normal text entry with 8 spots. I entered in "password" and it went through the intro. When I tried the event, I got the same error. So I read the internet and thought I found a guide on how to activate a global switch inside of a script. So I changed the script to be:


def passCheck(password,helptext,minlength,maxlength,casesensitive)

 code=pbEnterText(helptext,minlength,maxlength)

 if code==password || (casesensitive==false && code.downcase==password.downcase)

  $game_switches[65] = true

 else

  return false

 end

end


passCheck("password","What's the password?",0,8,false)


I playtested, got the same password screen at the start, but when I put in "password", I got the following error:


Script 'Password' line 4: NoMethodError occured.

undefined method `[]=' for nil:NilClass


It has to do with the switches thing, but I don't know exactly what the problem is.


TLDR: I'm having issues with a script I found in a tutorial in the old wiki, any ideas on how to make it so I don't get the errors I've been getting, and maybe how to make it so it only occurs during an event?

0 1
• 9/9/2018

Error when catching pokemon with multiple formes

Error log is below

[Pokémon Essentials version 17.2]

Exception: RuntimeError

Message: Script error within event 1 (coords 19,14), map 33 (Starting Town):

Exception: TypeError

Message: PSystem_Utilities:855:in `[]'cannot convert false into Integer

***Full script:

pbWildBattle(:ARCEUS,30)


Interpreter:243:in `pbExecuteScript'

PSystem_Utilities:855:in `pbGetFSpeciesFromForm'

Pokemon_Forms:28:in `fSpecies'

PokeBattle_Pokemon:850:in `baseStats'

PokeBattle_Pokemon:886:in `calcStats'

PokeBattle_Battler:483:in `pbUpdate'

PokeBattle_Battler:947:in `pbResetForm'

PokeBattle_Battle:4024:in `pbEndOfBattle'

PokeBattle_Battle:4023:in `each'

PokeBattle_Battle:4023:in `pbEndOfBattle'

Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'
0 6
• 9/8/2018

Using RPG Maker XP

is it going to be possible for me to make my game now that you cant really download essentials..? I don't want to give up I've been debating creating a game for a long time and as soon as I was gonna start essentials was taken down.
0 4