Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Appollon22

Pages: [1]
1
Mount and Blade / Hack def spam?
« on: June 12, 2017, 06:49:38 pm »
Is there anyone who can bypass the protection of spam screaming?

Code: [Select]
(else_try),
(eq, ":type", madmin_cheer),
(player_is_active, ":player_no"),

(store_mission_timer_a, reg3),
(player_get_slot, reg4, ":player_no", slot_player_last_cheer_time),
(store_sub, reg5, reg3, reg4),
(ge, reg5, cheer_delay_sec),

(player_get_agent_id, ":aid", ":player_no"),
(player_get_gender, ":gender", ":player_no"),
(try_begin),
(eq, ":gender", 0),
(store_random_in_range, ":rand", 0, 2),
(try_begin),
(eq, ":rand", 0),
(agent_play_sound, ":aid", "snd_man_yell"),
(else_try),
(eq, ":rand", 1),
(agent_play_sound, ":aid", "snd_man_victory"),
(try_end),
(else_try),
(eq, ":gender", 1),
(agent_play_sound, ":aid", "snd_woman_yell"),
(try_end),
(agent_set_animation, ":aid", "anim_cheer", 1),
(player_set_slot, ":player_no", slot_player_last_cheer_time, reg3),
(else_try),

Code: [Select]
  ("cf_neo_event_keycode_input_server",
  [
          (multiplayer_is_server),
          (store_script_param_1, ":player_no"),
          (store_script_param_2, ":value"),

          (player_get_agent_id, ":input_player_agent", ":player_no"),
             (try_begin),
                (is_between, ":value", 1, 17),#warcry
                   (try_begin),
  (store_mission_timer_a, reg3),
  (player_get_slot, reg4, ":player_no", slot_player_last_cheer_time),
  (store_sub, reg5, reg3, reg4),
      (ge, reg5, cheer_delay_sec),
   
                      (ge, ":input_player_agent", 0),
                      (agent_is_active, ":input_player_agent"),
                      (agent_is_alive, ":input_player_agent"),
                      (player_get_gender, ":player_gender", ":player_no"),
                         (try_begin),
                            (eq, ":player_gender", 1),#female
                            (val_add, ":value", 100),
                         (try_end),

  (player_set_slot, ":player_no", slot_player_last_cheer_time, reg3),
                      (call_script, "script_cf_warcry", ":input_player_agent", ":value"),
                   (try_end),
             (else_try),

Pages: [1]