Mael Posted February 20, 2022 Group: Forum Moderator Topic Count: 25 Topics Per Day: 0.01 Content Count: 837 Reputation: 321 Joined: 02/11/19 Last Seen: 4 hours ago Share Posted February 20, 2022 (edited) 2 hours ago, Secrets said: Try changing the mob id to something else. Even if he changes it to a monster, it will still appear. the script looks outdated. Edited February 20, 2022 by Mael Typo error Quote Link to comment Share on other sites More sharing options...
amanikoko Posted February 21, 2022 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 40 Reputation: 0 Joined: 02/26/21 Last Seen: 3 hours ago Share Posted February 21, 2022 Hi there @Secrets Thank you so much for responding this. In fact i've tried changing to other mobs ID but it is still having the same unclickable problem. Hope you can help on this. Quote Link to comment Share on other sites More sharing options...
Secrets Posted February 21, 2022 Group: Developer Topic Count: 36 Topics Per Day: 0.01 Content Count: 588 Reputation: 436 Joined: 01/26/16 Last Seen: Yesterday at 03:36 PM Author Share Posted February 21, 2022 On 2/20/2022 at 7:45 PM, Mael said: Even if he changes it to a monster, it will still appear. the script looks outdated. That's unfortunate. I have no plan to update this anytime soon. Quote Link to comment Share on other sites More sharing options...
AinsLord Posted February 22, 2022 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: March 23 Share Posted February 22, 2022 (edited) On 2/20/2022 at 8:45 PM, Mael said: Even if he changes it to a monster, it will still appear. the script looks outdated. mine is still good im using latest rathena DPS details Edited February 22, 2022 by AinsLord Quote Link to comment Share on other sites More sharing options...
amanikoko Posted February 22, 2022 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 40 Reputation: 0 Joined: 02/26/21 Last Seen: 3 hours ago Share Posted February 22, 2022 Hi @AinsLord Don't mind can you share me your script so i can have a try on my server? Thanking you in advance. Quote Link to comment Share on other sites More sharing options...
AinsLord Posted February 22, 2022 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: March 23 Share Posted February 22, 2022 Just now, amanikoko said: Hi @AinsLord Don't mind can you share me your script so i can have a try on my server? Thanking you in advance. punch.txt just change the location of the dummy 1 Quote Link to comment Share on other sites More sharing options...
amanikoko Posted February 22, 2022 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 40 Reputation: 0 Joined: 02/26/21 Last Seen: 3 hours ago Share Posted February 22, 2022 ughhh... Still not able to click on it. I'm using 20200304 client. Here's my script. Any help is greatly appreciated. IPunchingBag.txt Quote Link to comment Share on other sites More sharing options...
AinsLord Posted February 22, 2022 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: March 23 Share Posted February 22, 2022 Just now, amanikoko said: ughhh... Still not able to click on it. I'm using 20200304 client. Here's my script. Any help is greatly appreciated. IPunchingBag.txt nothing wrong with the script its the client version is the one that is not supported im using the stable 20180621aRagexe try to check the diff of your client in Nemo i haven't tried 2020 version of clients Quote Link to comment Share on other sites More sharing options...
amanikoko Posted February 22, 2022 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 40 Reputation: 0 Joined: 02/26/21 Last Seen: 3 hours ago Share Posted February 22, 2022 Hi @AinsLord Thanks for your respond earlier, i've managed to solve the click issue. Once again thank you very much. And thanks to @Secrets 's great release too. Quote Link to comment Share on other sites More sharing options...
AinsLord Posted February 22, 2022 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: March 23 Share Posted February 22, 2022 Just now, amanikoko said: Hi @AinsLord Thanks for your respond earlier, i've managed to solve the click issue. Once again thank you very much. And thanks to @Secrets 's great release too. might want to share just incase someone encounter the same problem Quote Link to comment Share on other sites More sharing options...
amanikoko Posted February 25, 2022 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 40 Reputation: 0 Joined: 02/26/21 Last Seen: 3 hours ago Share Posted February 25, 2022 All i did was just edit the MOB ID to 1907 and the rest of the duplicates ones to change to 844 (invisible NPC Sprites). The reason of the unclickable issue was previously ALL was updated as 1907 so it created a double layer of NPC on each and every punching bag itself. Hope this helps =). Quote Link to comment Share on other sites More sharing options...
Sallycantdance Posted May 10, 2023 Group: Members Topic Count: 224 Topics Per Day: 0.14 Content Count: 796 Reputation: 12 Joined: 12/04/20 Last Seen: 5 hours ago Share Posted May 10, 2023 hello can we disable some skill to use in the Punching bag i found a bug while using tarrot card of fate the npc disappears and warp to a different locations. maybe because it was a bug and for example you are hiding in your gm account then you attack some monster they automatically teleport maybe its the same Quote Link to comment Share on other sites More sharing options...
hendra814 Posted May 10, 2023 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1278 Reputation: 170 Joined: 06/12/12 Last Seen: 1 hour ago Share Posted May 10, 2023 21 minutes ago, GM Winter said: hello can we disable some skill to use in the Punching bag i found a bug while using tarrot card of fate the npc disappears and warp to a different locations. maybe because it was a bug and for example you are hiding in your gm account then you attack some monster they automatically teleport maybe its the same here the script with mapflag no teleport //===== rAthena Script ============================================= //= Punching Bag NPC //===== By: ======================================================== //= Secretdataz //===== Current Version: =========================================== //= 0.2 //===== Changelog: ================================================= //= 0.1 Initial commit //= 0.2 Add MD_KNOCKBACK_IMMUNE //===== Compatible With: =========================================== //= rAthena Project //===== Additional Comments: ======================================= //= When duplicating this NPC. Only use NUMBER after the # [secret] //================================================================== prontera,215,78,0 script PunchingBag#0 844,{ end; OnMyMobDead: OnInit: getunitdata(getnpcid(0), .@d); monster strnpcinfo(4),.@d[UNPC_X],.@d[UNPC_Y],"Punching Bag",2411,1,strnpcinfo(0)+"::OnMyMobDead"; .@dupid = atoi(strnpcinfo(2)); .gid[.@dupid] = $@mobid[0]; .mhp[.@dupid] = strmobinfo(4,2411); setunitdata .gid[.@dupid],UMOB_MODE,.@d[UMOB_MODE]|0x4000000|0x0200000; // Set MD_STATUS_IMMUNE (0x4000000) because EDP/burn/%MHP based status can skew the DPS counter so much. initnpctimer; end; OnTimer5000: .@dupid = atoi(strnpcinfo(2)); if(unitexists(.gid[.@dupid])){ getunitdata(.gid[.@dupid],.@d); .@diff = (.mhp[.@dupid] - .@d[UMOB_HP]); if(.@diff > 0){ npctalk "Punching Bag : I've taken " + (.@diff/5) + " DPS in last 5 seconds."; setunitdata .gid[.@dupid],UMOB_HP,.mhp[.@dupid]; specialeffect EF_HEAL; setmapflag( "prontera",mf_monster_noteleport ); } } initnpctimer; } prontera,224,78,0 duplicate(PunchingBag#0) PunchingBag#1 844 prontera,224,66,0 duplicate(PunchingBag#0) PunchingBag#2 844 prontera,215,66,0 duplicate(PunchingBag#0) PunchingBag#3 844 Welgaia,182,143,0 duplicate(PunchingBag#0) PunchingBag#4 844 Welgaia,157,143,0 duplicate(PunchingBag#0) PunchingBag#5 844 Welgaia,132,143,0 duplicate(PunchingBag#0) PunchingBag#6 844 // Mapflag prontera mapflag monster_noteleport 1 Quote Link to comment Share on other sites More sharing options...
Sallycantdance Posted May 10, 2023 Group: Members Topic Count: 224 Topics Per Day: 0.14 Content Count: 796 Reputation: 12 Joined: 12/04/20 Last Seen: 5 hours ago Share Posted May 10, 2023 7 minutes ago, hendra814 said: here the script with mapflag no teleport //===== rAthena Script ============================================= //= Punching Bag NPC //===== By: ======================================================== //= Secretdataz //===== Current Version: =========================================== //= 0.2 //===== Changelog: ================================================= //= 0.1 Initial commit //= 0.2 Add MD_KNOCKBACK_IMMUNE //===== Compatible With: =========================================== //= rAthena Project //===== Additional Comments: ======================================= //= When duplicating this NPC. Only use NUMBER after the # [secret] //================================================================== prontera,215,78,0 script PunchingBag#0 844,{ end; OnMyMobDead: OnInit: getunitdata(getnpcid(0), .@d); monster strnpcinfo(4),.@d[UNPC_X],.@d[UNPC_Y],"Punching Bag",2411,1,strnpcinfo(0)+"::OnMyMobDead"; .@dupid = atoi(strnpcinfo(2)); .gid[.@dupid] = $@mobid[0]; .mhp[.@dupid] = strmobinfo(4,2411); setunitdata .gid[.@dupid],UMOB_MODE,.@d[UMOB_MODE]|0x4000000|0x0200000; // Set MD_STATUS_IMMUNE (0x4000000) because EDP/burn/%MHP based status can skew the DPS counter so much. initnpctimer; end; OnTimer5000: .@dupid = atoi(strnpcinfo(2)); if(unitexists(.gid[.@dupid])){ getunitdata(.gid[.@dupid],.@d); .@diff = (.mhp[.@dupid] - .@d[UMOB_HP]); if(.@diff > 0){ npctalk "Punching Bag : I've taken " + (.@diff/5) + " DPS in last 5 seconds."; setunitdata .gid[.@dupid],UMOB_HP,.mhp[.@dupid]; specialeffect EF_HEAL; setmapflag( "prontera",mf_monster_noteleport ); } } initnpctimer; } prontera,224,78,0 duplicate(PunchingBag#0) PunchingBag#1 844 prontera,224,66,0 duplicate(PunchingBag#0) PunchingBag#2 844 prontera,215,66,0 duplicate(PunchingBag#0) PunchingBag#3 844 Welgaia,182,143,0 duplicate(PunchingBag#0) PunchingBag#4 844 Welgaia,157,143,0 duplicate(PunchingBag#0) PunchingBag#5 844 Welgaia,132,143,0 duplicate(PunchingBag#0) PunchingBag#6 844 // Mapflag prontera mapflag monster_noteleport thanks will try it later 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.