Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 07.08.2007, 18:17   #1
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default [HELP] - New custom GM skill

Dear Folks:

Currently in our server we are sending to jail characters that don't follow the rules, but there are some minor comitted crimes for which the jail time is between 1 hour and 3 days.
For this particular cases it is bothering having to remember every hour to remove these characters from jail, this is why I thought of creating a fosilization skill with the following code, since the command //char_stop does not work correctly (but I am new doing this):

Code:
skill_begin	
      skill_name = [s_user_penalty]	/* [Effects on punished users ] */	
      skill_id = xxxx	
      level = 1	
      operate_type = A2	
      magic_level = 90	
      effect = {{p_block_act};{p_block_getdamage;block_hp};{p_block_getdamage;block_mp};{p_block_buff};{p_block_debuff}}	
      is_magic = 0	
      mp_consume2 = 0	
      cast_range = -1	
      effective_range = -1	
      skill_hit_time = 0	
      skill_cool_time = 0	
      skill_hit_cancel_time = 0	
      reuse_delay = 0	
      activate_rate = 100	
      lv_bonus_rate = 1	
      basic_property = wit	
      abnormal_time = 3600	
      abnormal_lv = 80	
      abnormal_type = turn_stone	
      attribute = attr_derangement	
      effect_point = -10	
      target_type = target	
      affect_scope = single	
      affect_limit = {0;0}	
      next_action = none	
      abnormal_visual_effect = ave_flesh_stone	
      debuff = 1
      ride_state = {@ride_none}	
skill_end
My doubts/concerns would be:

1) Can I make the skill duration time variable somehow or should I create different skills with different duration times?
2) In case of an error how could I cure this skill?
3) Is it possible to cancel trading and/or chatting by using something in "effect" or should I create a macro to execute the skill, stopsay and else?

Thanks in advance.

/*Edit:
2) I could use //dispelall .

note: I didn't delete the question because maybe someone has the same doubt.
*/
gammexane is offline  
Old 07.08.2007, 18:33   #2
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

Why not to use char ban for "1 hour - 3 days" through CacheD interactive port?
hr is offline  
Old 07.08.2007, 18:45   #3
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

Quote:
Originally Posted by hr View Post
Why not to use char ban for "1 hour - 3 days" through CacheD interactive port?
Basically for two reasons:
1) We have some GMs without permission to do it.
2) It is not funny. :P
gammexane is offline  
Old 07.08.2007, 20:47   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by gammexane View Post
Basically for two reasons:
1) We have some GMs without permission to do it.
2) It is not funny. :P
Then put a small script to those person who allow to use only that especific function...

Answering the skill question... 1 duration per skill, so you will need to make different skills to different punishes, to remove skill... as any buff/debuff the player carry on... //dispellall

Also you can use this skill to cancel any debuff
Code:
[s_dispell_debuff]	/* [Dispell Debuff] */	skill_id = 7002	level = 1	...	effect = {{i_dispel_by_category;slot_debuff;100}}
And the third question... there is no way thought skill effects...
//char_stop 180
//ps_stop 180
//stopsay 180
FidoW is offline  
Old 07.08.2007, 21:31   #5
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

Quote:
Originally Posted by FidoW View Post
//char_stop 180
First of all, as always, thanks for your answer.
Second, I have a problem with "char_stop", It doen't work as I expected or I am doing something wrong, that is why I thought this solution.
If I target a character and run //char_stop 5, the char stops moving and me too :P I don't know if it is a bug or I am doing something wrong.
gammexane is offline  
Old 07.08.2007, 22:09   #6
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by gammexane View Post
First of all, as always, thanks for your answer.
Second, I have a problem with "char_stop", It doen't work as I expected or I am doing something wrong, that is why I thought this solution.
If I target a character and run //char_stop 5, the char stops moving and me too :P I don't know if it is a bug or I am doing something wrong.
You too while you have it targeted. Press ESC or target another player/mob, solved
FidoW is offline  
Old 07.08.2007, 22:28   #7
nish
Архивный участник
 
Join Date: May 2006
Posts: 237
Default

if u want to use it for jailing make a macro like this


//char_stop 180
//stopsay 180
//send_gmroom

and add a gatekeeper there so when they unfreeze they can port them self out
nish is offline  
Old 08.08.2007, 01:27   #8
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

I made the following macro:
//char_stop 180
//stopsay 180
//ps_stop 180

But it says that stopsay needs a target, I found the variable %Target, but it doen't work.
BTW, ps_stop stops the Private store and Trade or there is another command to stop trade?

Quote:
Originally Posted by FidoW View Post
You too while you have it targeted. Press ESC or target another player/mob, solved
ROFL... Thanks

Quote:
Originally Posted by nish View Post
and add a gatekeeper there so when they unfreeze they can port them self out
That is a good idea... Thanks!
gammexane is offline  
Old 08.08.2007, 05:54   #9
Retri
Архивный участник
 
Join Date: Aug 2007
Posts: 2
Default

You have to include the name of the person you want to chat ban. So with them targeted you would type //stopsay xxnoobxx 180
You can't use the %target for GM command macros in game (although I have heard of people making it work through G15 keyboards). There is a GM command thread by sauron, with some basic info for most of the commands. You might want to review that first and then play around with them a bit.

Also if I were you I'd just use the //char_stop command for minor rule infractions and then escape the person to town so they can wait it out there. It's far less complicated then trying to make a new skill.
Retri is offline  
Old 08.08.2007, 18:59   #10
DeKoth
Архивный участник
 
Join Date: Apr 2006
Posts: 236
Default

skill_begin
skill_name = [s_user_penalty] /* [Improved effects on punished users] */
skill_id = ####
level = 1
operate_type = A2
magic_level = 90
effect = {{p_block_act};{p_block_getdamage;block_hp};{p_blo ck_getdamage;block_mp};{p_block_buff};{p_block_deb uff}}
is_magic = 0
mp_consume2 = 0
cast_range = 400
effective_range = -1
skill_hit_time = 0
skill_cool_time = 0
skill_hit_cancel_time = 0
reuse_delay = 0
activate_rate = -1
lv_bonus_rate = 0
basic_property = none
abnormal_time = 3600
abnormal_lv = 80
abnormal_type = turn_stone
attribute = attr_none
effect_point = 204
target_type = target
affect_scope = single
affect_limit = {0;0}
next_action = none
debuff = 0
ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}
skill_end
DeKoth is offline  
Old 08.08.2007, 20:11   #11
~Marquis~
Архивный участник
 
Join Date: Dec 2006
Posts: 252
Default

if you want to remove the fossilization, here is a simple cancel for turn_stone abnormal:
skill_begin
skill_name = [s_YOUNAME]
skill_id = XX
level = 1
operate_type = A1
magic_level = 1
effect = {{i_dispel_by_slot;turn_stone;1}}
is_magic = 1
mp_consume1 = 0
mp_consume2 = 0
cast_range = 10000
effective_range = 10000
skill_hit_time = 0
skill_cool_time = 0
skill_hit_cancel_time = 0
reuse_delay = 0
attribute = attr_none
effect_point = -455
target_type = target
affect_scope = single
affect_limit = {0;0}
next_action = none
ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}
skill_end
~Marquis~ is offline  
Old 08.08.2007, 21:25   #12
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by ~Marquis~ View Post
if you want to remove the fossilization, here is a simple cancel for turn_stone abnormal:
skill_begin
skill_name = [s_YOUNAME]
skill_id = XX
level = 1
operate_type = A1
magic_level = 1
effect = {{i_dispel_by_slot;turn_stone;1}}
is_magic = 1
mp_consume1 = 0
mp_consume2 = 0
cast_range = 10000
effective_range = 10000
skill_hit_time = 0
skill_cool_time = 0
skill_hit_cancel_time = 0
reuse_delay = 0
attribute = attr_none
effect_point = -455
target_type = target
affect_scope = single
affect_limit = {0;0}
next_action = none
ride_state = {@ride_none;@ride_wind;@ride_star;@ride_twilight}
skill_end
Why create a new one if already exist skills with that effect...

s_dispell_flesh_to_stone2
s_dispel_fake_stone

And this skills too.. but also have anothers effects...

s_purify2
s_purify3
FidoW is offline  
Old 08.08.2007, 21:44   #13
~Marquis~
Архивный участник
 
Join Date: Dec 2006
Posts: 252
Default

for cast range, reuse delay etc etc
I don't really like using //use_skill i rather directly have fossilization and cancel directly in my shortcuts. just a question of gameplay :>
~Marquis~ is offline  
Old 09.08.2007, 05:00   #14
Arcia
Архивный участник
 
Join Date: Dec 2006
Posts: 135
Default

use_skill functions while inside towns, and you can add a macro for that.
Arcia is offline  
Old 09.08.2007, 06:09   #15
Bon
Архивный участник
 
Join Date: Aug 2007
Posts: 1
Default

хуй:hello2:
Bon is offline  
Old 09.08.2007, 14:47   #16
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default

Thanks to all for your help, I really appreciate it.
gammexane is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:06.