Issue information

Issue ID
#5243
Status
Invalid
Severity
None
Started
Hercules Elf Bot
Jan 15, 2012 4:30
Last Post
Hercules Elf Bot
Mar 5, 2012 16:22
Confirmation
N/A

Hercules Elf Bot - Jan 15, 2012 4:30

Originally posted by [b]Rage[/b]
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 =======================================

[font=arial,helvetica,sans-serif]not in this script only, but i think all of the scripts..[/font]

[font=arial,helvetica,sans-serif]is there [/font][font=arial,helvetica,sans-serif]a way to fix this? thank you..[/font]

Hercules Elf Bot - Jan 15, 2012 4:54

Originally posted by [b]Variant[/b]
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++.

Hercules Elf Bot - Jan 15, 2012 4:56

Originally posted by [b]Rage[/b]
Thanks for the Reply Sir.. wait let me try..

Hercules Elf Bot - Jan 15, 2012 5:57

Originally posted by [b]Rage[/b]
sir.. nothing happens.. xD

Hercules Elf Bot - Jan 15, 2012 7:12

Originally posted by [b]Variant[/b]
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 ([color=#282828][font=helvetica, arial, sans-serif][size=3]w1=//). [/size][/font][/color]

Hercules Elf Bot - Jan 15, 2012 12:40

Originally posted by [b]Rage[/b]
there is no symbol like that in the script..

Hercules Elf Bot - Jan 15, 2012 22:24

Originally posted by [b]Brian[/b]
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 [url="http://notepad-plus-plus.org/download/"]Notepad++[/url] and use that to edit your scripts.