Resource icon

Resource Fame Checker 2021-06-04

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
95
Age
20
The v19 version seems way more efficient, how can i make it work in v17?
 

bo4p5687

Cooltrainer
Member
Joined
Oct 19, 2020
Posts
165
The v19 version seems way more efficient, how can i make it work in v17?
First, copy and paste content in these file (version 19). As regards order, you should put it like the order of the files and put these files above Main.
Second, change all:
Input::BACK -> Input::B
Input::ACTION -> Input::A
Input::USE -> Input::C
name==:X -> name==0x58
If you have error, post here.
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
95
Age
20
First, copy and paste content in these file (version 19). As regards order, you should put it like the order of the files and put these files above Main.
Second, change all:
Input::BACK -> Input::B
Input::ACTION -> Input::A
Input::USE -> Input::C
name==:X -> name==0x58
If you have error, post here.

Ruby:
Script '1 - Store Function' line 47:NoMethodError occurred.

undefined method 'error' for FameChecker:Module

The error occurs when i start the game
 

bo4p5687

Cooltrainer
Member
Joined
Oct 19, 2020
Posts
165
Ruby:
Script '1 - Store Function' line 47:NoMethodError occurred.

undefined method 'error' for FameChecker:Module

The error occurs when i start the game
Update version 19, change again and you need to set name in FameCheker.list
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
95
Age
20
Update version 19, change again and you need to set name in FameCheker.list
Okay, the game runs but when i try to run a test event that adds info to the Fame Checker, i get this Error:

Ruby:
---------------------------
Pokemon Immortal X/Oblivion Y
---------------------------
[Pokémon Essentials version 17.2]

Exception: RuntimeError

Message: Script error within event 39 (coords 27,95), map 82 (Route 2):

Exception: NoMethodError

Message: 1 - Store Function:41:in `seenList'undefined method `[]=' for nil:NilClass

***Full script:

FameChecker.seenList("Mother")
FameChecker.seenInfor("Mother",0)


Interpreter:243:in `pbExecuteScript'

(eval):1:in `pbExecuteScript'

Interpreter:1606:in `eval'

Interpreter:243: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:179:in `old_update_ab'



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:179:in `old_update_ab'

Scene_Map:177:in `loop'

Scene_Map:186:in `old_update_ab'

Acro/Mach Bike:229:in `update'

That's what the event looks like:
34160232d79463850e371f4565e340f3.png
 

bo4p5687

Cooltrainer
Member
Joined
Oct 19, 2020
Posts
165
Okay, the game runs but when i try to run a test event that adds info to the Fame Checker, i get this Error:

Ruby:
---------------------------
Pokemon Immortal X/Oblivion Y
---------------------------
[Pokémon Essentials version 17.2]

Exception: RuntimeError

Message: Script error within event 39 (coords 27,95), map 82 (Route 2):

Exception: NoMethodError

Message: 1 - Store Function:41:in `seenList'undefined method `[]=' for nil:NilClass

***Full script:

FameChecker.seenList("Mother")
FameChecker.seenInfor("Mother",0)


Interpreter:243:in `pbExecuteScript'

(eval):1:in `pbExecuteScript'

Interpreter:1606:in `eval'

Interpreter:243: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:179:in `old_update_ab'



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:179:in `old_update_ab'

Scene_Map:177:in `loop'

Scene_Map:186:in `old_update_ab'

Acro/Mach Bike:229:in `update'

That's what the event looks like:
View attachment 4624
Start "New Game" not "Continue"!
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
95
Age
20
Start "New Game" not "Continue"!
Bruh, i'm truly an idiot.
But well, it registers the new person fine, but when i try to open the fame Checker, this happens:

Ruby:
---------------------------
Pokemon Immortal X/Oblivion Y
---------------------------
[Pokémon Essentials version 17.2]

Exception: ArgumentError

Message: wrong number of arguments(0 for 1)

3 - Init:74:in `pbFadeOutIn'

3 - Init:74:in `show'

Pause Menu:154

Pause Menu:153:in `call'

Pause Menu:450:in `mainLoop'

Pause Menu:381:in `loop'

Pause Menu:475:in `mainLoop'

Pause Menu:369:in `initialize'

Pause Menu:570:in `new'

Pause Menu:570:in `startMenu'

Also, sorry for the delay, my internet is horrible these days
 

bo4p5687

Cooltrainer
Member
Joined
Oct 19, 2020
Posts
165
Bruh, i'm truly an idiot.
But well, it registers the new person fine, but when i try to open the fame Checker, this happens:

Ruby:
---------------------------
Pokemon Immortal X/Oblivion Y
---------------------------
[Pokémon Essentials version 17.2]

Exception: ArgumentError

Message: wrong number of arguments(0 for 1)

3 - Init:74:in `pbFadeOutIn'

3 - Init:74:in `show'

Pause Menu:154

Pause Menu:153:in `call'

Pause Menu:450:in `mainLoop'

Pause Menu:381:in `loop'

Pause Menu:475:in `mainLoop'

Pause Menu:369:in `initialize'

Pause Menu:570:in `new'

Pause Menu:570:in `startMenu'

Also, sorry for the delay, my internet is horrible these days
Ah! It's defference between v17 and v19, find 'pbFadeOutIn {', change it into 'pbFadeOutIn(99999) {'
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
95
Age
20
Ah! It's defference between v17 and v19, find 'pbFadeOutIn {', change it into 'pbFadeOutIn(99999) {'
'Kay, the Fade Out/In animation plays, but i get this error after it:

Ruby:
---------------------------
Pokemon Immortal X/Oblivion Y
---------------------------
[Pokémon Essentials version 17.2]

Exception: TypeError

Message: wrong argument type Symbol (expected Proc)

3 - Init:45:in `initialize'

3 - Init:71:in `new'

3 - Init:71:in `show'

3 - Init:70:in `pbFadeOutIn'

3 - Init:70:in `show'

Pause Menu:154

Pause Menu:153:in `call'

Pause Menu:450:in `mainLoop'

Pause Menu:381:in `loop'

Pause Menu:475:in `mainLoop'
 

bo4p5687

Cooltrainer
Member
Joined
Oct 19, 2020
Posts
165
'Kay, the Fade Out/In animation plays, but i get this error after it:

Ruby:
---------------------------
Pokemon Immortal X/Oblivion Y
---------------------------
[Pokémon Essentials version 17.2]

Exception: TypeError

Message: wrong argument type Symbol (expected Proc)

3 - Init:45:in `initialize'

3 - Init:71:in `new'

3 - Init:71:in `show'

3 - Init:70:in `pbFadeOutIn'

3 - Init:70:in `show'

Pause Menu:154

Pause Menu:153:in `call'

Pause Menu:450:in `mainLoop'

Pause Menu:381:in `loop'

Pause Menu:475:in `mainLoop'
It's error when using different version of Ruby.
Change
Code:
person = person.sort_by(&:last)
into
Code:
person = person.sort_by { |_,v| v }
After I test on version v17.2 of PE, you need to change all
Code:
pbPlayCloseMenuSE
into
Code:
pbPlayCancelSE
Change all
Code:
pbMessage
into
Code:
Kernel.pbMessage
Change position of the text, find in 'def showList', change
Code:
y = @sprites["list"].y + (20 + 8) * i - 10
into
Code:
y = @sprites["list"].y + (20 + 8) * i
Change position of title, find in 'def showTitle', change
Code:
y = 156 + disy + (disy + 20) * i - 11
into
Code:
y = 156 + disy + (disy + 20) * i - 6
Find 'def moveHide', change
Code:
!hide.include?(@posinfor) || !hide
into
Code:
!hide || !hide.include?(@posinfor)
Find 'def readInfor', below this line
Code:
def readInfor
add
Code:
hide = $PokemonGlobal.inforFame[@person[@posperson]]
return if !hide || !hide.include?(@posinfor)
 
Last edited:

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
95
Age
20
It's error when using different version of Ruby.
Change
Code:
person = person.sort_by(&:last)
into
Code:
person = person.sort_by { |_,v| v }
After I test on version v17.2 of PE, you need to change all
Code:
pbPlayCloseMenuSE
into
Code:
pbPlayCancelSE
Change all
Code:
pbMessage
into
Code:
Kernel.pbMessage
Change position of the text, find in 'def showList', change
Code:
y = @sprites["list"].y + (20 + 8) * i - 10
into
Code:
y = @sprites["list"].y + (20 + 8) * i
Change position of title, find in 'def showTitle', change
Code:
y = 156 + disy + (disy + 20) * i - 11
into
Code:
y = 156 + disy + (disy + 20) * i - 6
Find 'def moveHide', change
Code:
!hide.include?(@posinfor) || !hide
into
Code:
!hide || !hide.include?(@posinfor)
Find 'def readInfor', below this line
Code:
def readInfor
add
Code:
hide = $PokemonGlobal.inforFame[@person[@posperson]]
return if !hide || !hide.include?(@posinfor)
Yo, so, i wanna give an entry for the rivals, which the player can give an name.
But i get this error trying to start the game:
Ruby:
Script '2 - Set Value' line 108: NoMethodError occured

undefined method '[]' for nil:NilClass

I've tried to display the character name like this:
Ruby:
:name => $game_variables[12].to_s

And like this:
Ruby:
:name => "#{$game_variables[12]}"
 

bo4p5687

Cooltrainer
Member
Joined
Oct 19, 2020
Posts
165
Yo, so, i wanna give an entry for the rivals, which the player can give an name.
But i get this error trying to start the game:
Ruby:
Script '2 - Set Value' line 108: NoMethodError occured

undefined method '[]' for nil:NilClass

I've tried to display the character name like this:
Ruby:
:name => $game_variables[12].to_s

And like this:
Ruby:
:name => "#{$game_variables[12]}"
You can't do it because variables load after game loads.
You need to add this def below
Code:
def self.rInfor; @@infor; end
Add this
Code:
  def self.changeList(name=nil,feature=nil)
    return if !name || !feature
    @@list[name.to_sym][feature] = yield
  end
When you set in file '2 - Set value to store.rb', set like this
Code:
:name =>""
Next, add event before play game (you can add this code in event "Intro"), add
Code:
FameChecker.changeList("Player1",:name) { "#{$game_variables[12]}" }
Change "Player1" into name that you set.
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
95
Age
20
You can't do it because variables load after game loads.
You need to add this def below
Code:
def self.rInfor; @@infor; end
Add this
Code:
  def self.changeList(name=nil,feature=nil)
    return if !name || !feature
    @@list[name.to_sym][feature] = yield
  end
When you set in file '2 - Set value to store.rb', set like this
Code:
:name =>""
Next, add event before play game (you can add this code in event "Intro"), add
Code:
FameChecker.changeList("Player1",:name) { "#{$game_variables[12]}" }
Change "Player1" into name that you set.
Alright, Thanks!
 
Top