Secrets Posted May 1, 2016 Share Posted May 1, 2016 (edited) File Name: Punching Bag with DPS counter File Submitter: Secrets File Submitted: 01 May 2016 File Category: Utilities Content Author: secretdataz Update: This script won't work on Hercules and you have to make it work yourself if you want to use it on Hercules. This is yet another punching bag with DPS counter which I use to experiment with get/setunitdata command. Feel free to use. ก๊อปไปขายก็ไม่ว่านะ สคริปฟรี ผมไม่เสียรายได้อยู่แล้ว แต่เอาไปอ้างว่าทำเองนี่ไม่อายเหรอถามจริง Click here to download this file Edited May 23, 2020 by Secrets Herc LUL 4 1 Quote Link to comment Share on other sites More sharing options...
Skorm Posted June 26, 2016 Share Posted June 26, 2016 Really cool idea with the DPS counter. Quote Link to comment Share on other sites More sharing options...
Deviszh Posted September 9, 2016 Share Posted September 9, 2016 Yey! It was awesome! Great work! Thanks for the script! Quote Link to comment Share on other sites More sharing options...
fallen0519 Posted January 3, 2017 Share Posted January 3, 2017 (edited) Using Hercules Hi sir, I met this problem when running the script, can anyone please help me regarding this matter? Thanks a lot!! Addon: Also, how to fix the "warning" problem because most of my custom script met such problems. Thanks!~ Edited January 3, 2017 by fallen0519 Quote Link to comment Share on other sites More sharing options...
Chuckzxc Posted May 6, 2017 Share Posted May 6, 2017 i can't attack the dummies thanks Quote Link to comment Share on other sites More sharing options...
NakedWolf Posted May 21, 2017 Share Posted May 21, 2017 (edited) DSP is not showing prontera,146,155,0 script PunchingBag#0 844,{ end; OnMyMobDead: OnInit: getunitdata(getnpcid(0), [email protected]); monster strnpcinfo(4),[email protected][UNPC_X],[email protected][UNPC_Y],"Punching Bag",1906,1,strnpcinfo(0)+"::OnMyMobDead"; [email protected] = atoi(strnpcinfo(2)); .gid[[email protected]] = [email protected][0]; .mhp[[email protected]] = strmobinfo(4,1271); setunitdata .gid[[email protected]],UMOB_MODE,[email protected][UMOB_MODE]|0x4000000|0x0200000; // Set MD_STATUS_IMMUNE (0x4000000) because EDP/burn/%MHP based status can skew the DPS counter so much. initnpctimer; end; OnTimer1000: [email protected] = atoi(strnpcinfo(2)); if(unitexists(.gid[[email protected]])){ getunitdata(.gid[[email protected]],[email protected]); [email protected] = (.mhp[[email protected]] - [email protected][UMOB_HP]); if([email protected] > 0){ npctalk "Punching Bag : I've taken " + ([email protected]/5) + " DPS in last 5 seconds."; setunitdata .gid[[email protected]],UMOB_HP,.mhp[[email protected]]; specialeffect EF_HEAL; } } initnpctimer; } prontera,216,79,0 duplicate(PunchingBag#0) PunchingBag#1 844 prontera,224,70,0 duplicate(PunchingBag#0) PunchingBag#2 844 prontera,216,58,0 duplicate(PunchingBag#0) PunchingBag#3 844 prontera,224,58,0 duplicate(PunchingBag#0) PunchingBag#4 844 Edited May 21, 2017 by NakedWolf Quote Link to comment Share on other sites More sharing options...
Secrets Posted May 21, 2017 Author Share Posted May 21, 2017 @NakedWolf Any error in console? 1 Quote Link to comment Share on other sites More sharing options...
NakedWolf Posted May 21, 2017 Share Posted May 21, 2017 (edited) no no error's in console @Secrets sorry it was mistake your script works excellent i forgot to change the mob id p[[email protected]] = strmobinfo(4,1271); <<<<---over here as i changed it here " monster strnpcinfo(4),[email protected][UNPC_X],[email protected][UNPC_Y],"Punching Bag",1906,1,strnpcinfo(0)+"::OnMyMobDead"; Edited May 21, 2017 by NakedWolf it was my mistake 1 Quote Link to comment Share on other sites More sharing options...
elmucho Posted July 1, 2017 Share Posted July 1, 2017 im not able to click or attack the npc Quote Link to comment Share on other sites More sharing options...
NakedWolf Posted July 2, 2017 Share Posted July 2, 2017 Add the NPC monster p[[email protected]] = strmobinfo(4,1906); <<<<---over here as i changed it here " monster strnpcinfo(4),[email protected][UNPC_X],[email protected][UNPC_Y],"Punching Bag",1906,1,strnpcinfo(0)+"::OnMyMobDead"; <<<----- and here Quote Link to comment Share on other sites More sharing options...
AinsLord Posted September 21, 2017 Share Posted September 21, 2017 dummy disappear once mushroom event or disguise event started Quote Link to comment Share on other sites More sharing options...
sprdosat Posted October 8, 2017 Share Posted October 8, 2017 After the last update of RAthena, it appeared. It helps Me solve. Quote Link to comment Share on other sites More sharing options...
MagicalBalls Posted March 25, 2018 Share Posted March 25, 2018 Any help on I can't attack the punching bag? I put it on prontera Quote Link to comment Share on other sites More sharing options...
Bolby91 Posted May 2, 2020 Share Posted May 2, 2020 hi why the punching bag looks like this to me if i change the NPCID i cannot be attacked. Quote Link to comment Share on other sites More sharing options...
NakedWolf Posted May 3, 2020 Share Posted May 3, 2020 8 hours ago, Jholz27 said: hi why the punching bag looks like this to me if i change the NPCID i cannot be attacked. provide the script which you are using so some can check what the issue Quote Link to comment Share on other sites More sharing options...
Bolby91 Posted May 3, 2020 Share Posted May 3, 2020 11 hours ago, NakedWolf said: provide the script which you are using so some can check what the issue sorry, I already solved it it's because its summoning the wrong ID Quote Link to comment Share on other sites More sharing options...
chatterboy Posted May 19, 2020 Share Posted May 19, 2020 they move around inmy server why ? Quote Link to comment Share on other sites More sharing options...
Xellyehria Posted May 19, 2020 Share Posted May 19, 2020 4 hours ago, chatterboy said: they move around inmy server why ? maybe wrong mob mode. You need to use mob modes that doesn't move similar to plants. Try to download Sader's monster mode generator and create one that fits your punching bug Quote Link to comment Share on other sites More sharing options...
Katakuri Posted June 13, 2020 Share Posted June 13, 2020 This is nice but it can be reproduce with different element like Fire, Earth, Water, Wind targets? Quote Link to comment Share on other sites More sharing options...
legtoleg Posted June 13, 2020 Share Posted June 13, 2020 (edited) Good npc Edited June 13, 2020 by legtoleg Quote Link to comment Share on other sites More sharing options...
Sikdope Posted September 17, 2020 Share Posted September 17, 2020 Hello bro can you help me how to make demi human and emperium type of punching bag thankyou so much! Quote Link to comment Share on other sites More sharing options...
acacioleite92 Posted April 13, 2021 Share Posted April 13, 2021 On 9/17/2020 at 10:23 AM, Sikdope said: Hello bro can you help me how to make demi human and emperium type of punching bag thankyou so much! Error... Quote Link to comment Share on other sites More sharing options...
sparkle Posted June 17, 2021 Share Posted June 17, 2021 NPC not showing DPS, no error on console. Quote Link to comment Share on other sites More sharing options...
amanikoko Posted February 19 Share Posted February 19 Hi there @Secrets not sure if you're still supporting this script, but i cant seems to make it work coz the cursor is always showing as NPC instead of the Attack-able cursor and it is un-clickable. No error appears on the console. any help on this would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Secrets Posted February 20 Author Share Posted February 20 16 hours ago, amanikoko said: -snip- Try changing the mob id to something else. Quote Link to comment Share on other sites More sharing options...