Lançamentos da Source
Sign in to follow this
Followers
0
1 topic in this forum
-
Away System
By sbk_,- 6 replies
- 3096 views
Sign in to follow this
Followers
0
-
Featured Topics
-
Latest Commits
-
Topics
-
Posts
-
For dynamic npcs, one can start with a basic conversation to familiarized with the script engine and then develop until LLM conversations I guess. I'll share some ideas and then resources I have been noticing from some RO developers. - First, familiarize on the mes, npctalk commands. Script commands documentation covers most of it. - Then, Hercules codebase shares many examples and uitilies. One I recommend is doc/sample/npc_test_pcre.txt. Check the subfolder for more, then the npc/ folder for many other examples. Searching for key terms or *script_functions one is interested in could be a thing. - If more development is needed, plugin system covers most. Studying the examples plugins and perhaps some other open source shared repositories could provide many insights on how it works. Querying the db may be possible but take note on the observation from KirieZ - After familizaring with the plugin system, possibily using a Python, Go or whatever hook on it and connection with favorite LLM implementation may be possible. How secure, performant or gameplay satisfactory and others may vary by developer. Check those two links https://www.reddit.com/r/RagnarokOnline/s/xpYwY2ZOCq https://github.com/lenaxia For an implementation with players. Tweaking it for NPCs may be possible. Some other good developers repositories, for reference: https://annieruru.blogspot.com/2019/01/scripting-guides.html?m=1 https://github.com/dastgirp/HPM-Plugins
-
By viinahugooo · Posted
Pretty Girls from your city for night -
Status Update: 3/3 Slots Full. But feel free to msg to reserve a slot thanks!
-
Hello and welcome to Hercules I can't answer all of those topics, and I think some of them would be really dependent on your project/team (like how to prioritize -- you can use general software development techniques, I guess, but it really depends on your team). But, let me try to give some tips: 1. I am not sure what you mean by "improve NPC interactions", but everything boils down to coding your changes. I think the best place to go for is to read scripts and check the commands at https://github.com/HerculesWS/Hercules/blob/stable/doc/script_commands.txt This will tell what you can do with the script engine, and if it is not there, you can go to source next to implement what you need. 2. For seasonal events, you can either use time commands to enable/disable stuff, or simply enable/disable stuff during server maintenance. Depends on what you are trying to accomplish, but Hercules has events for dates. 3. For performance, I usually start thinking about how much load my changes would cause based on what they are. But I think you can use any performance tooling that works for C... I haven't tried those though, so I can't give a suggestion there. But for example, avoiding your npcs/map-server running lots of SQL queries -- which would block the process -- is one kind of thing that is easy to note that would be bad and should be avoided
-
-
Download Statistics
-
Files461
-
Comments160
-
Reviews240
-