Soccersam
Hilbert is Badass
- 179
- Posts
- 8
- Years
- Seen Feb 26, 2024
Hey guys,
I was editing the encounters.txt in my PBS Folder. I already had a backup of the file with me, so I was editing it without fear. So I completely deleted everything in the file, leaving a blank page, and then saved it.
I did this as per the tutorial by Thundaga in youtube. Ep 4: Wild Pokemon, Legendaries and Metadata. (Sorry but I am not allowed to post links yet)
Then when I tried to open my game through RMXP, I got an error message saying
---------------------------
Pokemon Essentials
---------------------------
SyntaxError occurred while running script.
---------------------------
OK
---------------------------
I immediately restored the encounters.txt's original copy, but nothing seemed to work. I'm still not sure whether it really is the encounters.txt which is causing the problem or is it something else. When I tried to open my game.exe, it showed the following error message:
---------------------------
Pokemon Essentials
---------------------------
Script 'PScreen_Load' line 165: NoMethodError occurred.
undefined method `width' for nil:NilClass
---------------------------
OK
---------------------------
I don't have a whole lot of scripting knowledge,but I can do a few things here and there in the script editor.But I just can't seem to fix this thing. It would really mean a lot to me if somebody helped me with this.
EDIT: I finally got the link
https://www.youtube.com/watch?v=4smA7IBAGog
I was editing the encounters.txt in my PBS Folder. I already had a backup of the file with me, so I was editing it without fear. So I completely deleted everything in the file, leaving a blank page, and then saved it.
I did this as per the tutorial by Thundaga in youtube. Ep 4: Wild Pokemon, Legendaries and Metadata. (Sorry but I am not allowed to post links yet)
Then when I tried to open my game through RMXP, I got an error message saying
---------------------------
Pokemon Essentials
---------------------------
SyntaxError occurred while running script.
---------------------------
OK
---------------------------
I immediately restored the encounters.txt's original copy, but nothing seemed to work. I'm still not sure whether it really is the encounters.txt which is causing the problem or is it something else. When I tried to open my game.exe, it showed the following error message:
---------------------------
Pokemon Essentials
---------------------------
Script 'PScreen_Load' line 165: NoMethodError occurred.
undefined method `width' for nil:NilClass
---------------------------
OK
---------------------------
I don't have a whole lot of scripting knowledge,but I can do a few things here and there in the script editor.But I just can't seem to fix this thing. It would really mean a lot to me if somebody helped me with this.
EDIT: I finally got the link
https://www.youtube.com/watch?v=4smA7IBAGog
Last edited: