gleynn Posted August 31, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 63 Reputation: 2 Joined: 08/10/12 Last Seen: December 31, 2022 Share Posted August 31, 2013 (edited) is there an existing buff that restricts the char from attacking and using any skill? -edit- about restricting a player using a skill i think i can use @mute command. my question now is there an existing buff or command that restricts a player from attacking or using normal attack.? bump? Edited August 30, 2013 by gleynn Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 31, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 31, 2013 you can try some trick like using setoption change them into frozen state / stone curse state...i believe in that state they cant move / attack.. and add a timer using addtimer after 30 seconds change back to normal state. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 11, 2014 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 January 11, 2014 feels like want to bump this topic @emistry I believe setoption can't make the player frozen or stone because that is under seconds option effect Option numbers valid for the second version (opt1) of this command are: 1 - Petrified. 2 - Frozen. 3 - Stunned. 4 - Sleeping. 6 - Petrifying (the state where you can still walk) 'setoption' will set options on the invoking character. There are no second and third versions of this command, so you can only change the values in the first list (cloak, cart, ruwach, etc). if you have found a way to use setoption to disable players from using a skill, please tell I have tried setoption 0x2 thief class players can counter this by casting hide skill twice to bypass this effect same goes to chasewalk ... etc Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 11, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 11, 2014 erm ... just like other simple bot script did... sc_berserk + setoption ?? sc_berserk will prevent them from using skills or chat (command) Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 11, 2014 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 January 11, 2014 (edited) botkiller script usually has npc dialog *mes + *next command will automatically make player couldn't use skill/chat/attack/pot/ but still allow to use atcommand, which like you said can counter with sc_berserk sc_berserk has time limit if player runs out of SP, the player can chat again, which bypass the system so its no use to use sc_berserk, since the time limit is depended on player's MAXSP also, sc_berserk still allow player do normal attack setoption 0x40 only for perfect invisibility to prevent other monster/player hitting you tested with setoption Option_Summer, 1; it also can be bypass with player having a cool tower(2776) by equip and unequip it actually you know .. when you said botkiller, you just suggest me an idea to create infinite next; button like this prontera,150,189,5 script test noattack 123,{ @infinite_message = 1; attachnpctimer; initnpctimer; while ( @infinite_message ) { mes "you are currently in infinite message loop"; mes "pressing next button will not help you :P"; next; } end; OnTimer5000: @infinite_message = 0; getmapxy .@map$, .@x, .@y, 0; warp .@map$, .@x, .@y; end; }hahaha !!and please no atcommand I know about atcommand "@option 1" http://rathena.org/board/tracker/issue-6841-function-sc-start2-has-a-problem/?gopid=15332#entry15332 but this will create unnecessary log data in `atcommandlog` Edited January 11, 2014 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 11, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 11, 2014 i see ..... long time didnt play RO already ... already forgotten the way to bypass berserk when the HP keep on reducing ... i didnt really used setoption in any script due to the explaination given in script_documentation isnt really clear for me. but i think i saw it using @option instead of setoption ...LOL... seem like it has been wrong since the very beginning ... O__O btw...the infinite message...can be bypass due to this src/config/secure.h#L39 Quote Link to comment Share on other sites More sharing options...
Question
gleynn
is there an existing buff that restricts the char from attacking and using any skill?-edit-
about restricting a player using a skill i think i can use @mute command.
my question now is there an existing buff or command that restricts a player from attacking or using normal attack.?
bump?
Edited by gleynnLink to comment
Share on other sites
5 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.