Velda Posted July 8, 2023 Posted July 8, 2023 Hey guys, maybe my question is dumb but since i'm newbie in rAthena scripting i would like to ask you if there is some compiling tool for rAthena which can give me feedback if script is working at all or not. I mean besides running script right in the game. How can i verify for example syntax mistakes, functionality etc. ? Or is there some method to run script in some other compilator? Thanks in advance for answer. ^^ Quote
imat1 Posted July 8, 2023 Posted July 8, 2023 I want to know too. For now, what I'm doing is monitoring the map-server. Quote
KazumaSatou Posted July 9, 2023 Posted July 9, 2023 Have you tried Hercules Script Checker? https://haru.ws/scriptchecker/ This might works on rathena scripts. Quote
Emistry Posted July 9, 2023 Posted July 9, 2023 monitor it from your map-server console would be the most ideal way. checking it from online tool aren't ideal because the version of source code from the online tool and your current source code may not match, and warn you with unnecessary errors or warnings. Hercules script checker only work up to certain extend, both emulator have a lot of different of script commands nowadays. if you just need some syntax highlight validation that help you in scripting, you can try those IDE that allow you to implement the syntax highlight or syntax validation, like notepad++, or visual studio code. Quote
Winterfox Posted July 20, 2023 Posted July 20, 2023 For Visual Studio Code you could use the rAthena Language Support plugin to have highlighting and snippets. You can get it here: https://marketplace.visualstudio.com/items?itemName=rAthena.rathena-language-support Quote
Velda Posted August 3, 2023 Author Posted August 3, 2023 Thanks for your replies, all of you! ^^ In the time i started the topic i didn't notice that map-server gives me real-time feedback after i @reloadnpcfile. I thought that i must always start the server anew lol. So yea, later i found that checking map-server console right after script reload is enough for me. Also i set c++ syntax in notepad++. @Winterfox's advice for VSC plugin seems useful too. Thanks again! Quote
fzxree1010 Posted March 6 Posted March 6 On 7/20/2023 at 10:39 PM, Winterfox said: For Visual Studio Code you could use the rAthena Language Support plugin to have highlighting and snippets. You can get it here: https://marketplace.visualstudio.com/items?itemName=rAthena.rathena-language-support Thank you for this, im starting to learn scripting again. This i hope will help a lot for my learning progress. Quote
fzxree1010 Posted March 6 Posted March 6 On 7/20/2023 at 10:39 PM, Winterfox said: For Visual Studio Code you could use the rAthena Language Support plugin to have highlighting and snippets. You can get it here: https://marketplace.visualstudio.com/items?itemName=rAthena.rathena-language-support Thank you for this, im starting to learn scripting again. This i hope will help a lot for my learning progress. Quote
termoinfinto Posted June 13 Posted June 13 Cada rodada do Termo Infinito é um desafio mental com palavras, que exige lógica, memória e criatividade, promovendo uma verdadeira ginástica cerebral. Quote
bulgariacalculat Posted June 14 Posted June 14 Този калкулатор е специално съобразен с българското трудово и осигурително законодателство, което го прави надежден инструмент за граждани на България. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.