Jump to content
  • 0

Question about BUFF?


gleynn

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  63
  • Reputation:   2
  • Joined:  08/10/12
  • Last Seen:  

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 gleynn
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

erm ... just like other simple bot script did...

sc_berserk + setoption ??

 

sc_berserk will prevent them from using skills or chat (command)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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 by AnnieRuru
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...