Jump to content

AnnieRuru

Members
  • Posts

    2044
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by AnnieRuru

  1. spoon feed [paste=8fxz3irmld9]
  2. then show your floating rate script
  3. I don't think that script is actually meant for @afk command that script was actually meant to kick AFK players off the battleground map as you can see from the script, it has mf_loadevent and it only triggers on battleground maps the reason for that script is because players can cheat the system by multi client join the battleground game, and leave it there if they win, they will gain multiple prize reward ... if you want to do something like you requested, perhaps source modification is a better way
  4. yeah your native language has better explanation I don't even use google translator lol now I get what you mean, this is a mining script, the user has to mine the rock within a certain time the rock has 5 HP, plant mode if the user failed to hit the rock for 5 times within the certain time limit the user will die -> the rock falls on the user not that hard, the trick is spawn it with npc then it trigger the npc and spawn a mob if the mob is not killed within a certain time limit, the triggering player will be dead prontera,155,184,5 script Shining Plant 1083,{ getmapxy .@map$, .@x, .@y, 1; monster .@map$, .@x, .@y, "--ja--", 1083, 1, strnpcinfo(0)+"::OnMobDead"; hideonnpc strnpcinfo(0); .alive = getcharid(3); sleep 5000; // 5 seconds to mine if ( .alive ) { if ( attachrid( .alive ) ) { // player might log out message rid2name( .alive ), "the rock has fallen onto you"; unitkill .alive; } } .alive = 0; killmonster strnpcinfo(4), strnpcinfo(0)+"::OnMobDead"; hideoffnpc strnpcinfo(0); end; OnMobDead: .alive = 0; end; }if you don't like to use npc because needs to click twice,there is another way to make it trigger immediately by using mob controller system but it needs source modification EDIT: lol I already tackling this topic before I see your bump post lol
  5. prontera,155,184,5 script kdhksjf 100,{ if ( getstatus( SC_EXPBOOST ) ) end; else if ( countitem(7227) ) { delitem 7227, 1; sc_start SC_EXPBOOST, 2 * 60*60*1000, 100; announce strcharinfo(0) +" has gain double rate exp blah blah blah", bc_all; } end; } prontera,155,184,5 script kdhksjf 100,{ if ( getstatus( SC_EXPBOOST ) ) end; else if ( countitem(671) ) { delitem 671, 1; sc_start SC_EXPBOOST, 1 * 60*60*1000, 200; announce strcharinfo(0) +" has gain triple rate exp blah blah blah", bc_all; } end; }
  6. http://rathena.org/board/topic/72376-mvp-summon-script/?p=146696 why not just use mine ... and use party options ? rent the room for party members ... then invite your friends ... simple ...
  7. I got a feeling the whole script needs to rewrite x.x kinda remember me the time when the user just ask to change battleground event into gvg event script, the whole script needs to rewrite because using different set of script commands too reckless ... don't want x.x @GmOcean, actually this will be easier than instance because its basically convert from level3 type pvm script into level1 type but its not 90%, its more like just 40% the only thing that can retrieve from the original endless tower script is just the setarray of monster ID and warp portal position all others like enablenpc/disablenpc ... OnIntanceInit ... has to throw out or convert into a more basic event script commands and you sounds like haven't make any instance script o.o
  8. curious ... means your endless tower script is no longer an "instance" script but an "event" script ??
  9. this script is expecting the `char` table already has `kills` and `deaths` column make sure that you have run alter table `char` add `kills` int(11) unsigned not null default 0 after unban_time, add `deaths` int(11) unsigned not null default 0 after `kills`;also, your getmapflag mf_gvg inside OnPCKillEvent seems to be doing correctlybut mf_pvp doesn't add the query_sql stuffs ...
  10. this is the error I'm getting --- nullpo info -------------------------------------------- d:\rathena\src\map\script.c:17721: in func `unknown' --- end nullpo info ----------------------------------------another bug report .... on its way ...done -> http://rathena.org/board/tracker/issue-8563-consumeitem-doesnt-work-if-the-npc-id-is-0-example-bonus-script/
  11. 1. rathena battleground script is unoptimized, so me don't want do 2. do you know that battleground system actually allows different guild to get into same battleground team ? this request doesn't make any sense ...
  12. I rather change the healing into OnTouch, and the setting into normal npc message I'm having fun complicating this script [paste=5dtzwyernzn1] somehow it seems like .. if ( sscanf( potion_restock$, "%d#%d", .@a, .@b ) < 2 ) doesn't work if the potion_restock$ is an emptry string .. -> reported -> http://rathena.org/board/tracker/issue-8562-
  13. well, I'll answer to my own modification +1I actually think about this before, but at that time I don't have enough time to think how to modify the read db function so I used an easier way to solve this problem agree with this,that's the reason source request/release section exist well this one is quite trickyI originally have some idea like making a noattackmob mapflag but somehow got scrapped because of its unlimited options something like prontera mapflag noattackmob 1288,guild,$koegidthe guild ID that is same with $koegid can't attack MobID 1288 in pronterabut it still couldn't restrict like skill usage so I need to make another mapflag like noskillmob ... and so on and so on which became just like what you just said, making more and more custom mapflag just for some petty scripts well, although its still pretty fun to see this in source release section, which can open up more event script possibilities but I still against having this implemented inside emulator no.1 can be lenient a bit if this has been convert into read_db no.2 is definitely a no-go ... too custom made EDIT: something like this
  14. just like this enough http://rathena.org/board/pastebin/lirjxvd9bdp/ though it seems your supporter clone npc, the time field is wrong your script says 5 minutes, but the clone only last 0.5 seconds because its counted in miliseconds
  15. try change if ( !strcmp( strnpcinfo(0), .npc_name$ ) ) {into if ( strnpcinfo(0) == .npc_name$ ) {
  16. OnNPCKillEvent: if ( killedrid == <gold room mob id> ) if ( mobcount( strnpcinfo(0) +"::Ons_sl"+ getcharid(0) ) ) killmonster strcharinfo(3), strnpcinfo(0) +"::Ons_sl"+ getcharid(0); if your gold room script, the mob has an event label, then inside the label do ... if ( mobcount( "Supporter Player::Ons_sl"+ getcharid(0) ) killmonster strcharinfo(3), "Supporter Player::Ons_sl"+ getcharid(0);
  17. SC_ENCPOISON 26 SC_ASPERSIO 37 SC_SHADOWWEAPON 144 SC_GHOSTWEAPON 146 SC_POISONINGWEAPON 362
  18. try this one [paste=5zppjr1lv6qk] type '@mission' then you get show up the progress somehow I feel his way that always needs to read SQL table for checking the mission progress is somehow unoptimized ... should've exploded the data into npc array
  19. http://rathena.org/board/topic/90441-last-man-standing/?p=236642 that's the latest lms script I wrote if the player logout, it should be countered by OnPCLogoutEvent search for index in the array and deduct it
  20. is there a time limit ? let me rephrase ... you want a mob that spawns with 5 HP only, but a plant mode if the player failed to kill that mob within a certain time limit, he is dead but if the player kill that mob, he survive ... is that right ? how about you speak in Indonesian ... I'm Malaysian I can probably understand
  21. http://www.eathena.ws/board/index.php?showtopic=280136 change into item type 11, and use sc_start
  22. I thought you can read source .... since you can quote those functions isn't that's the answer already ? I already made updated patch here http://rathena.org/board/topic/91479-how-to-change-the-time-of-koe-event-every-saturday/?p=240761
  23. prontera,159,184,5 script kjhfksjdfhs 100,{ percentheal 100,100; if ( countitem( "Cold_Medicine" ) < 500 ) { .@count = 500 - countitem( "Cold_Medicine" ); if ( checkweight( "Cold_Medicine", .@count ) ) getitem "Cold_Medicine", .@count; } if ( countitem( "Halohalo" ) < 10 ) { .@count = 10 - countitem( "Halohalo" ); if ( checkweight( "Halohalo", .@count ) ) getitem "Halohalo", .@count; } end; } 500 cold medicines is quite heavy ...
  24. AnnieRuru

    Mvp Rank

    [paste=4h0fgrfz7mvd]
  25. @euphy autobonus2 only triggers when the characters is hit so, if the player hit by a big number like 3,000 my script will keep pressing the pot until 99% hp your autobonus2 only press the pot once well, autobonus is actually quite fun ... like making a bunshin like this mod http://www.eathena.ws/board/index.php?s=&showtopic=177722&view=findpost&p=1496183 just the server keep spam "couldn't find label clonecheck::On150000"; @Eros lazy to do this atm ... =/ need some sort of array to store each item effects .....
×
×
  • Create New...