Velda Posted July 8, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 15 Reputation: 12 Joined: 06/28/23 Last Seen: July 27, 2024 Share 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 Link to comment Share on other sites More sharing options...
imat1 Posted July 8, 2023 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 100 Reputation: 20 Joined: 05/01/12 Last Seen: Wednesday at 08:49 PM Share Posted July 8, 2023 I want to know too. For now, what I'm doing is monitoring the map-server. Quote Link to comment Share on other sites More sharing options...
KazumaSatou Posted July 9, 2023 Group: Members Topic Count: 9 Topics Per Day: 0.01 Content Count: 157 Reputation: 37 Joined: 05/15/20 Last Seen: 1 hour ago Share Posted July 9, 2023 Have you tried Hercules Script Checker? https://haru.ws/scriptchecker/ This might works on rathena scripts. Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 9, 2023 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 6 hours ago Share 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 Link to comment Share on other sites More sharing options...
Winterfox Posted July 20, 2023 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 245 Reputation: 92 Joined: 06/30/18 Last Seen: November 27, 2024 Share 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 Link to comment Share on other sites More sharing options...
Velda Posted August 3, 2023 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 15 Reputation: 12 Joined: 06/28/23 Last Seen: July 27, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
fzxree1010 Posted March 6 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 27 Reputation: 2 Joined: 11/17/16 Last Seen: 4 hours ago Share 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 Link to comment Share on other sites More sharing options...
fzxree1010 Posted March 6 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 27 Reputation: 2 Joined: 11/17/16 Last Seen: 4 hours ago Share 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 Link to comment Share on other sites More sharing options...
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.