Window_Gold errors.. Need help

Ok guys, first... I just done nothing to this.. But when i attempt to do a battle test, it just said..

Script 'Window_Gold' line 38: NameError occured. uninitialized constant Window_Gold::Vocab
 
If you guys need screenshots to see the problem.. Here you go. Click the spoiler

Spoiler
Here.. Do you get the problem? bandicam 2015-02-06 17-47-16-348.jpg
 
Note: I did NOT a single modification to that script.. I just started battle test and that error pops up. 
 
Can someone help me? Or maybe this is a major error.. If yes please reply.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

There is no such thing as Window_Gold::Vocab. You MUST have added or changed scripts.

Look in your scripts (F11). The first one under Modules should be called Vocab. Is it there?

Scroll down to Windows and find Window_Gold (6th in the list under Windows). Look at line 37. Does that, and the following few lines, say this?

Code:
  def currency_unit    Vocab::currency_unit  end
Do a global search (control+shift+f) in the scripts, and search for Window_Gold. Do you get 5 lines? If there are more than 5, tell us what they are.
There is no such thing as Window_Gold::Vocab. You MUST have added or changed scripts.

Do a global search (control+shift+f) in the scripts, and search for Window_Gold. Do you get 5 lines? If there are more than 5, tell us what they are.



Actually i got 5 lines in the global search.. This is what i found..

Window_Gold (2) : # ** Window_Gold

Window_Gold (7): class Window_Gold <  Window base

Window_Message (90):                         @gold_window = Window_Gold.new

Scene_Menu (35):                                @gold_window= Window_Gold.new

Scene_Shop (34):                                  @gold_window = Window_Gold.new
This is how the lines look like.. This is how line 37 till end looks like

def currency_unit

    Vocab::currency_unit

  end
That's odd... Now it's this Window_TitleCommand experiences errors at a line, this is very odd.. This never happened before.
Have you installed any custom scripts?


If not, than something is definitely edited in the default scripts.


First, start to remove the custom scripts one-by-one and playtest your game after each removal.


If after a removal, the error won't happen, than you got the problematic script.


If you have removed all of custom scripts, than it is an issue with the default scripts indeed.


If no more custom scripts are present and the issue persist, make a new project.


Open the folder of the old project and the folder of the new project.


You can automatically open the correct folder if you click on the 'Game' button in the editor and select the last button on the drop-down list named 'Open Game Folder'.


Open the 'Data' folder for both projects.


From the old project, copy every file from the 'Data' folder except the file named 'Scripts' and paste these files to the new project's 'Data' folder.


Now close and re-open the new project.


It should have every data from your old project except the scripts.


The scripts are now un-touched.


Copy over any custom script if you installed some in the old project.


If you have some scripts using custom graphic, you should copy the entire Graphics folder from your old project to the new one as well.


Try to playtest your game after these steps.


If after all these steps, the issue is still there, plant a bomb on your PC, get to cover and blow it up! 😀


Ok, just kidding, but if it won't work after all these steps, than I have no idea what is causing this error.
Ok, thank you for answering.. But.. Littelary.. I ACCIDENTLY DELETED THE VOCAB SCRIPT.. AM I DUMB OR AM I NOT? Ok.. One final request.. Close this thread pretty pls? I solved the problem myself, i just slapped myself for that.. 
That would be why my very first question was

Shaz said:
The first one under Modules should be called Vocab. Is it there?
😉


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/window_gold-errors-need-help.36687/