Montella Posted March 16, 2019 Posted March 16, 2019 Hello, I am using hunting mission script. https://github.com/rathena/rathena/blob/master/npc/custom/quests/hunting_missions.txt At the first I want to thank you Euphy for making this, but when i load this script it says parse_callfunc: not enough arguments, expected ',' ... getmapxy(.@map1$,.@x1,.@y1); .... So I changed it to getmapxy(.@map1$,.@x1,.@y1,3); Then load script is fine but killing on the screen doesn't work and i mean this part .Party = 3; // Party options: 0 (exclude party kills), 1 (include party kills), 2 (same map only), 3 (screen area only) It still count monsters if im not in the screen with the character who has active hunt. Any idea where could be problem? Thank you! Quote
0 Normynator Posted March 16, 2019 Posted March 16, 2019 (edited) You have to use one of those: 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 Setting „3“ in getmapxy does not mean „screen area only“. if you want „screen area only“ set .Party = 3. Sorry for the ugly formatting. Copy paste is weird on mobile. Edited March 16, 2019 by Normynator Quote
0 Montella Posted March 17, 2019 Author Posted March 17, 2019 Thanks for reply. I know I have to set it to .Party = 3 I already set it to 3 before. Then i tried and it didnt work, cause of that problem of getmapxy i guess. I tried all of those objects as u said and it is still not working. If I use "BL_PC" it doesn't say any error, but script still not working on "screen area" its still like "on map" others: BL_NPC - Invalid Type 128 or Invalid Type 256 @Euphy Any idea? https://github.com/rathena/rathena/blob/master/npc/custom/quests/hunting_missions.txt#L280 Its is this line. Thank you! I used everywhere in getmapxy function number 0 what represent BL_PC and its working. for example: getmapxy(.@map2$,.@x2,.@y2,0,rid2name($@partymemberaid[.@i])); getmapxy(.@map1$,.@x1,.@y1,0); Quote
Question
Montella
Hello, I am using hunting mission script.
https://github.com/rathena/rathena/blob/master/npc/custom/quests/hunting_missions.txt
At the first I want to thank you Euphy for making this, but when i load this script it says
So I changed it to
Then load script is fine but killing on the screen doesn't work and i mean this part
It still count monsters if im not in the screen with the character who has active hunt.
Any idea where could be problem? Thank you!
2 answers to this question
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.