sprdosat Posted February 4, 2019 Share Posted February 4, 2019 Hi guys. After I updated rAthena to the latest version, this error appeared in the script, can anyone help me? arvore_da_vida.txt Quote Link to comment Share on other sites More sharing options...
0 Frost Diver Posted July 19, 2019 Share Posted July 19, 2019 On 4/30/2019 at 11:44 PM, Dev G Inc said: Please indicate how it was solved. Thanks! Edit and change your npc script that using UNITTYPE to BL. Example 1: getmapxy([email protected]$,[email protected],[email protected],UNITTYPE_NPC,strnpcinfo(0)); to getmapxy([email protected]$,[email protected],[email protected],BL_NPC,strnpcinfo(0)); Example 2: getmapxy([email protected]$,[email protected],[email protected],UNITTYPE_PC,strnpcinfo(0)); to getmapxy([email protected]$,[email protected],[email protected],BL_PC,strnpcinfo(0)); BL_PC - Character object (default) BL_NPC - NPC object BL_PET - Pet object BL_HOM - Homunculus object BL_MER - Mercenary object BL_ELEM - Elemental object 1 Quote Link to comment Share on other sites More sharing options...
0 fictionx Posted February 5, 2019 Share Posted February 5, 2019 you need to update your scripts. https://github.com/rathena/rathena/commit/26720f041a3cd0edbaa975bfc70345a30e9bf706 Quote Link to comment Share on other sites More sharing options...
0 crazyarashi Posted February 5, 2019 Share Posted February 5, 2019 prontera,148,196,4 script arvoredavida 14591,{ end; OnInit: OnTimer3000: initnpctimer; getmapxy([email protected]$,[email protected],[email protected],BL_NPC,strnpcinfo(0)); areapercentheal [email protected]$,[email protected],[email protected],[email protected]+5,[email protected]+5,20,20; end; } Quote Link to comment Share on other sites More sharing options...
0 rongmauhong Posted February 5, 2019 Share Posted February 5, 2019 Currently getmapxy doesn't work with variable. It's a bug. https://github.com/rathena/rathena/issues/3918 Quote Link to comment Share on other sites More sharing options...
0 sprdosat Posted February 5, 2019 Author Share Posted February 5, 2019 Solved, Thanks. Quote Link to comment Share on other sites More sharing options...
0 PsyOps Posted April 30, 2019 Share Posted April 30, 2019 On 2/5/2019 at 6:45 PM, sprdosat said: Solved, Thanks. Please indicate how it was solved. Thanks! Quote Link to comment Share on other sites More sharing options...
Hi guys. After I updated rAthena to the latest version, this error appeared in the script, can anyone help me?
arvore_da_vida.txt
Link to comment
Share on other sites