Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #005243

  • 0 - None Assigned

  • Invalid

Issue Confirmations

  • Yes (0)No (0)
Photo

Error in Scripts

Posted by Hercules Bot on 15 January 2012 - 04:30 AM

Originally posted by Rage
i have problem i changing or editing scripts in RAthena.. when i try to edit some scripts, i always got this error
[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/healers/heal.txt', line '1'. Stopping...
* w1=//===== rAthena Script =======================================

not in this script only, but i think all of the scripts..

is there a way to fix this? thank you..

Originally posted by Variant
Are you opening the file in like Wordpad or Microsoft Word? Some word editors will add random symbols (for formatting).

Try editing the scripts in Notepad or Notepad++.

Originally posted by Rage
Thanks for the Reply Sir.. wait let me try..

Originally posted by Rage
sir.. nothing happens.. xD

Originally posted by Variant
Open up one of the files you've edited in Notepad (heal.txt I guess), then check the first line and see if those weird symbols show up (w1=//).

Originally posted by Rage
there is no symbol like that in the script..

Originally posted by Brian
If you're not seeing the symbol, it just means your text editor isn't display it .. but the symbol is obviously there because when rAthena tries to read the file it sees it.

Download Notepad++ and use that to edit your scripts.