mikecool2607 Posted October 25, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 10/23/12 Last Seen: November 10, 2012 Share Posted October 25, 2012 (edited) anyone have a training dummy its like barricade so we can test our damages to our skills ? Edited October 25, 2012 by mikecool2607 Quote Link to comment Share on other sites More sharing options...
xin Posted October 26, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 26 Reputation: 1 Joined: 10/19/12 Last Seen: November 9, 2012 Share Posted October 26, 2012 why don't you try making a new monster max hp 0 def and make it unmovable just make it respawn at the same location when its dead Quote Link to comment Share on other sites More sharing options...
GmOcean Posted October 26, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted October 26, 2012 Barricade's already have a mob id: 1905 & 1906 i believe. Just make an NPC that will spawn the barricade 1 cell in front of them after they click it, and only let it work once per character, until it's dead. mapname,x,y,z script Barricade Test 123,{ if(b_test){end;} getmapxy(.@m$,.@x,.@y,0) set b_test,1; monster .@m$,.@x,(.@y+1),"Barricade Dummy",1906,1,"Barricade Test::OnDummyKill"; attachnpctimer; initnpctimer; end; OnTimer60000: set @min,@min+1; if(@min==60){set @hour,@hour+1; set @min,0;} setnpctimer 0; end; OnDummyKill: set b_test,0; stopnpctimer; set @sec,(getnpctimer(0)/1000); detachnpctimer; dispbottom "You broke the barricade in: "+@hour+" hours : "+@min+" minutes : "+@sec+" seconds."; @hour = @min = @sec = 0; end; } Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 26, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 26, 2012 hmm ... isn't barricade is a plant type monster that only receive 1 damage per hit ? then anyone with highest aspd can break it off easily I suggest we do something like OnPCAttackEvent, just search OnPCAttackEvent in eathena board you'll find this suggestion bring up many times however nobody at the time can do it and developers deny this modification to be added into eathena at the time, because they claim this modification can lag a live server especially in a high rate server, where a lot players dealing high aspd speed the OnPCAttackEvent will trigger like crazy, might cause lag and it return a variable @damage, and use it in scripts to keep track the damage done to mobs when I have some free time, maybe I'll make this modification to prove this rumor right or wrong Quote Link to comment Share on other sites More sharing options...
xin Posted October 26, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 26 Reputation: 1 Joined: 10/19/12 Last Seen: November 9, 2012 Share Posted October 26, 2012 I think what he want's is like the training dummy in cabal... or that's what I only think? Quote Link to comment Share on other sites More sharing options...
mikecool2607 Posted October 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 10/23/12 Last Seen: November 10, 2012 Author Share Posted October 26, 2012 prontera,199,181,4 script Barricade Test 123,{ if(b_test){end;} getmapxy(.@m$,.@x,.@y,0) set b_test,1; monster .@m$,.@x,(.@y+1),"Barricade Dummy",1906,1,"Barricade Test::OnDummyKill"; attachnpctimer; initnpctimer; end; OnTimer60000: set @min,@min+1; if(@min==60){set @hour,@hour+1; set @min,0;} setnpctimer 0; end; OnDummyKill: set b_test,0; stopnpctimer; set @sec,(getnpctimer(0)/1000); detachnpctimer; dispbottom "You broke the barricade in: "+@hour+" hours : "+@min+" minutes : "+@sec+" seconds."; @hour = @min = @sec = 0; end; } This script still doesn't work... Please anyone can help me to have this script ?? i saw in iRo there have training dummy for damage test... Quote Link to comment Share on other sites More sharing options...
xin Posted October 26, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 26 Reputation: 1 Joined: 10/19/12 Last Seen: November 9, 2012 Share Posted October 26, 2012 (edited) prontera,199,181,4<tab>script<tab>Barricade Test<tab>123,{ Edited October 26, 2012 by xin Quote Link to comment Share on other sites More sharing options...
mikecool2607 Posted October 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 10/23/12 Last Seen: November 10, 2012 Author Share Posted October 26, 2012 i already did..... here's the script prontera,199,181,4 script Barricade Test 123,{ if(b_test){end;} getmapxy(.@m$,.@x,.@y,0) set b_test,1; monster .@m$,.@x,(.@y+1),"Barricade Dummy",1906,1,"Barricade Test::OnDummyKill"; attachnpctimer; initnpctimer; end; OnTimer60000: set @min,@min+1; if(@min==60){set @hour,@hour+1; set @min,0;} setnpctimer 0; end; OnDummyKill: set b_test,0; stopnpctimer; set @sec,(getnpctimer(0)/1000); detachnpctimer; dispbottom "You broke the barricade in: "+@hour+" hours : "+@min+" minutes : "+@sec+" seconds."; @hour = @min = @sec = 0; end; } Quote Link to comment Share on other sites More sharing options...
xin Posted October 27, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 26 Reputation: 1 Joined: 10/19/12 Last Seen: November 9, 2012 Share Posted October 27, 2012 oh well I can't do anything about it till I update mine into rathena if no one still answered this, I'll try Quote Link to comment Share on other sites More sharing options...
goddameit Posted October 27, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share Posted October 27, 2012 script error on npc/test.txt line 4 parse_line: need ';' 1 : { 2 : if(b_test){end;} 3 : getmapxy(.@m$,.@x,.@y,0) * 4 : 's'et b_test,1; ....lol don't you see that error on your map-server? Quote Link to comment Share on other sites More sharing options...
mikecool2607 Posted October 27, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 10/23/12 Last Seen: November 10, 2012 Author Share Posted October 27, 2012 goddameit ... Please help me to script this?? im not that good for scripting... please help Quote Link to comment Share on other sites More sharing options...
Euphy Posted October 27, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted October 27, 2012 It's a very obvious error... http://rathena.org/wiki/Overview_of_Errors#parse_line:_need_.27.3B.27 Quote Link to comment Share on other sites More sharing options...
mikecool2607 Posted October 27, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 10/23/12 Last Seen: November 10, 2012 Author Share Posted October 27, 2012 Euphy can you help me for this ? i will pay you 5usd for helping me... pls Quote Link to comment Share on other sites More sharing options...
Elijah23 Posted October 28, 2012 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 292 Reputation: 17 Joined: 12/12/11 Last Seen: January 24 Share Posted October 28, 2012 Euphy can you help me for this ? i will pay you 5usd for helping me... pls I think you just need to put ; after getmapxy(.@m$,.@x,.@y,0) so it will become getmapxy(.@m$,.@x,.@y,0); Quote Link to comment Share on other sites More sharing options...
xin Posted October 28, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 26 Reputation: 1 Joined: 10/19/12 Last Seen: November 9, 2012 Share Posted October 28, 2012 haha lol didn't saw that ";" Quote Link to comment Share on other sites More sharing options...
mikecool2607 Posted November 9, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 10/23/12 Last Seen: November 10, 2012 Author Share Posted November 9, 2012 i already tried to put that... but still not work Quote Link to comment Share on other sites More sharing options...
malufett Posted November 9, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share Posted November 9, 2012 try this simple script prontera,0,0,0 script Punching Bag -1,{ OnInit: monster "prontera",160,180,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; end; OnDummyKill: monster "prontera",160,180,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; end; } Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted November 9, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted November 9, 2012 (edited) omg, even a core developer come here and play XD fulfill my promise from post#4 OnPCAttackEvent.patch - script Punching Bag -1,{ OnInit: OnDummyKill: monster "prontera",160,180,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; end; OnPCAttackEvent: message strcharinfo(0), "You have dealt "+ @damage +" damage to Punching Bag"; end; } Edited November 9, 2012 by AnnieRuru 1 Quote Link to comment Share on other sites More sharing options...
malufett Posted November 9, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 554 Reputation: 70 Joined: 04/04/12 Last Seen: November 8, 2013 Share Posted November 9, 2012 omg, even a core developer come here and play XD Lol..I'm here to make a try atleast.. hehehe anyway..I suggest to make some tweak on your script..like display on screen the average damage done, skills used, info about the dummy target and etc.. and not by spamming the chars chat log...IMO.. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted November 9, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted November 9, 2012 (edited) - script Punching Bag -1,{ OnInit: OnDummyKill: monster "prontera",160,180,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; end; OnPCAttackEvent: if ( !@test_punch ) end; @dps_damage += @damage; end; } prontera,157,180,5 script kjdhfksjdf 100,{ if ( @test_punch ) end; message strcharinfo(0), "Start punching !"; @test_punch = 1; sleep2 10000; message strcharinfo(0), "You've dealt a total of "+ callfunc( "int__", @dps_damage ) +" damages in 10 seconds"; @dps_damage = @test_punch = 0; end; } like this ? if write this with instance script like goddameit does perhaps better ? Edited November 9, 2012 by AnnieRuru 1 Quote Link to comment Share on other sites More sharing options...
Aya Posted November 9, 2012 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 125 Reputation: 2 Joined: 08/27/12 Last Seen: June 7, 2023 Share Posted November 9, 2012 - script Punching Bag -1,{ OnInit: OnDummyKill: monster "prontera",160,180,"Punching Bag",1905,1,"Punching Bag::OnDummyKill"; end; OnPCAttackEvent: if ( !@test_punch ) end; @dps_damage += @damage; end; } prontera,157,180,5 script kjdhfksjdf 100,{ if ( @test_punch ) end; message strcharinfo(0), "Start punching !"; @test_punch = 1; sleep2 10000; message strcharinfo(0), "You've dealt a total of "+ callfunc( "int__", @dps_damage ) +" damages in 10 seconds"; @dps_damage = @test_punch = 0; end; } like this ? if write this with instance script like goddameit does perhaps better ? that's Annie =) Quote Link to comment Share on other sites More sharing options...
Question
mikecool2607
anyone have a training dummy its like barricade so we can test our damages to our skills ?
Edited by mikecool2607Link to comment
Share on other sites
20 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.