Jump to content

Singe Horizontal

Members
  • Posts

    26
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Singe Horizontal

  1. This is the repo https://github.com/Singe-Horizontal/rathena/tree/mod/autopot%2Bmacro
  2. Hi, this requires source modification, can't be done with scripts only. It could be done by creating a new event that listens to casted skills, under certain conditions to avoid scanning every single action in the server.
  3. Updated to 839d378 https://github.com/Singe-Horizontal/rathena/tree/mod/soul_link singe_soul_link_mod_v1-1.patch To apply the patch : cd /path/to/rathena ( or C:\path\to\rathena in windows ) git apply -v singe_soul_link_mod_v1-1.patch Whitespace warnings can be ignored
  4. In skill_db.yml change SplashArea Area value to 4 for level 1
  5. Hi, The M2E plugin instantly crashes the moment aoe skills are placed, in the form of buffer memory saturation. Does someone know how I could proceed from there as I'm quite ignorant in this field? EDIT1: While checking the source it appears it is related to the CSkill class having faulty fields. EDIT2: I narrowed the bug to how the job is retrieved. intptr_t CGameActor::jobOffset = offsetof(CGameActor, CGameActor::m_job_deprecated); void CRoCodeBind::SearchRagexeMemory(void) { CSearchCode CGameActor_Job_use( "89***1******" // mov [edi+234h], eax ; m_job "8b**" // mov esi, [edi] "8b**" // mov ecx, edi "e8********" // call sub_698C70 );
  6. Hi, I'm releasing server side tools that are Autopot, Autobuff, Restock + Autorestock, and a macro engine server side. They are the positive product of the frustration of having too much variance in fast gameplay, such as : Latency, compounded by the fact that the client doesn't queue skills, so between each action, you have your ping as an extra The hassle of having to install third party tools just to be competitive Hence I wanted to create a set of tools that would become the default ones that server use. Note : When I refer to Autopot I really mean Autopot + Autobuff + Restock + Autorestock. For now they are tightly coupled, if needed I can provide separated versions. The core engines being source based, they should run with high performance. Installation server side : By cloning a repository Full suite git clone --branch mod/autopot+macro https://github.com/Singe-Horizontal/rathena/ Autopot only git clone --branch mod/autopot https://github.com/Singe-Horizontal/rathena/ Macros only git clone --branch mod/macro https://github.com/Singe-Horizontal/rathena/ Client side: For autopot icons: For Macros: --data\luafiles514\lua files\skillInfoz\skillinfolist.lub [SKID.MACRO_TARGET] = { "MACRO_TARGET", SkillName = "Macro Target", MaxLv = 12, AttackRange = {14,14,14,14,14,14,14,14,14,14,14,14} }, [SKID.MACRO_NOTARGET] = { "MACRO_NOTARGET", SkillName = "Macro No Target", MaxLv = 12, bSeperateLv = false, }, [SKID.MACRO_GROUND] = { "MACRO_GROUND", SkillName = "Macro Ground", MaxLv = 12, bSeperateLv = false, AttackRange = {14,14,14,14,14,14,14,14,14,14,14,14} }, [SKID.MACRO_SUPPORT] = { "MACRO_SUPPORT", SkillName = "Macro Support", MaxLv = 12, bSeperateLv = false, AttackRange = {14,14,14,14,14,14,14,14,14,14,14,14} }, You can also customize macros icons, take a look at the file db/import/item_db.yml to see how macro items are done. A handful of tests have already be done, but bugs may be lurking. Feel free to report any. Also don't hesitate to contact me for support.
  7. I need to make a clean gist again, I lost track on what prevented compiling with g++. Moreover the yml update broke a part of the mod, I'll be waiting a week more before updating to the new system. Sorry for the inconvenience and thanks for the report
  8. Hi thanks for the message. My friends and I have a small discord group where we sometimes host "lan" parties, where we mess around with the ai. I created a pre configured installation all in one ( server + client ) to be downloaded, so that the mod can be played locally without having to modify the sources and recompile. If interested : https://discord.gg/qZt7aaBb2R
  9. In this example you put the two lines to be called when "idle", so only the first one will be used (default behavior). Mvps use "onspawn" to summon only once mobs that should drop/give exp, so that's what you may want to use.
  10. Hi, In skill.cpp, find the SA_DISPEL entry in function skill_castend_nodamage_id, and in the list of all status add case SC_PRESERVE:
  11. Hi, I found an useful guide on how to reduce those long loading time with probably very few consequences : https://codeyarns.com/tech/2010-09-10-visual-c-iterator-checks-and-slow-stl-code.html
  12. It's because you're using a grf that modifies number display. now they need to add "K" and "M" too to be compatible. The file name is
  13. A small awk program to be called from command line that generates a job_basepoints.yml for a desired level. For windows users, awk is available in cygwin or git bash. Change directory to the one where the file was downloaded and run the command : ./job_basepoints_re_gen.awk 200 > job_basepoints.yml It should produce a job_basepoints.yml file. https://gist.github.com/Singe-Horizontal/4c59ca0ee10cd21fd736101bec9e8cfa EDIT : Caution I have to put this tool in a halt, since the formula from irowiki doesn't reflect actual values after a certain level. I nevertheless let the sources if someone wants to rework the code for himself.
  14. Thank you It is indeed possible since there are no scripting involved in its behavior, hence it can be set to be spawned as a regular mob.
  15. I wasn't in my best shape https://youtu.be/HycjQX2Toe8 https://www.youtube.com/watch?v=T8zclDH9WbQ
  16. Git patch : https://gist.github.com/Singe-Horizontal/c6e3bb57f7bfdb16e99d748faec30926
  17. A nice duel between a champ and a ninja bots( boosted stats + delay)
  18. Good morning, For the last months I've been working on a mod that would allow deeper ai conditions. Here is how the config file looks like : - friendrecoverable: # arbitrary name tag - or: - friend sleep - friend stone - friend stun - friend freeze - selfcellempty: - not self safetywall - not self pneuma - not self landprotector - not self icewall - friendcellempty: - not friend safetywall - not friend pneuma - not friend landprotector - not friend icewall Then you can add or modify lines in the usual mob_skill_db.yml file : 1639,Kathryne Keyron@MG_SAFETYWALL,anytarget,12,10,3000,0,10000,yes,self,expanded,selfcellempty,,,,,,, #use tag "expanded" then the name 1639,Kathryne Keyron@MG_SAFETYWALL,anytarget,12,10,3000,0,10000,yes,friend,expanded,friendcellempty,,,,,,, 1637,Margaretha Sorin@PR_STRECOVERY,any,72,1,10000,1000,10000,no,friend,expanded,friendrecoverable,,,,,,, I also added 2 new modes to complement these new behaviors : Modes: SkillOnly: true PcSkillBehavior: true SkillOnly will disable basic attacks and PcSkillBehavior will modify its skills' ranged/melee flag depending on range and not distance, as players' behave. Link : https://github.com/Singe-Horizontal/rathena/tree/mod/expanded_ai Quick design video : It is my first c++ project mod and contribution with git, I gave all the care I could but unoticed things may have slipped out.
×
×
  • Create New...