Local Chat

正在查看此主题的用户

状态
不接受进一步回复。

glenn500

Sergeant at Arms
In my server it seems Global Chat Admin chat is working but it seems local chat isnt working anymore do you know anything what might cause this greetings
 
glenn500 说:
In my server it seems Global Chat Admin chat is working but it seems local chat isnt working anymore do you know anything what might cause this greetings
If you have messed with the client side of local chat it could be quite easily broken, since it uses a looping range of network events to keep track of lost or duplicate messages sent (a problem from back early versions, included since PW 3.2). The line:
插入代码块:
(player_set_slot, ":player_id", slot_player_next_chat_event_type, client_event_chat_message_begin),
in script setup_player_joined is important to synchronize the server and client with the expected network event for local chat.
 
Ok yeah the issue occured when i added a is first spawn slot is there anyway i can fix this with a working first_spawn function
 
I can't answer that without knowing how all your code works; but the previously quoted operation must be run whenever a player connects to the server.
 
i just added this to the end of on_agent_spawned

插入代码块:
  (try_begin),
      (call_script, "script_player_database_armor", ":player_id"),
      (call_script, "script_player_database_equip", ":player_id"),
   (try_end),

but when i do something like

插入代码块:
(player_get_slot, ":has_spawn", ":player_id", slot_player_has_spawn),
  (try_begin), 
      (eq, ":has_spawn", 1),
      (call_script, "script_player_database_armor", ":player_id"),
      (call_script, "script_player_database_equip", ":player_id"),
   (try_end),

it seems it does work but when it does the local chat and admin chat stopped working
 
状态
不接受进一步回复。
后退
顶部 底部