• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[CTF]capture the flag 1.3, players don't die

johnsamir

Advanced OT User
Joined
Oct 13, 2009
Messages
980
Solutions
6
Reaction score
168
Location
Nowhere
Hi


I use tfs 1.4/1.5 protocol 8.6. I'm using capture the flag event taken from this thread: Capture The Flag (https://otland.net/threads/capture-the-flag.280129/)
Everything works, except that players don't die while they're in the event, when they¡re about to reach 0 hp they get instant full health
the expeted behavior it's that when players dies in the event it should be teleported to his respective temple in the event to go and try to catch the flag again

i get an error in the otclient side that displays this. the message is being send even when the event has begin normally

Lua:
n in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
ERROR: Unhandled onTextMessage message mode 1: There are not enough players for CTF to start. CTF will try again in 30 minutes. You do not need to requeue.
 
Last edited:
worked , thank you a lot last question. when i open the event i receive multiple messages
Lua:
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
how do i fix it?
@jimmywest10
 
Last edited:
worked , thank you a lot last question. when i open the event i receive multiple messages
Lua:
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:50 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
12:51 Capture the flag is now open. Type !ctf enter to join the queue. It will start in 5 minutes.
how do i fix it?
@jimmywest10

Onthink issue, you should put some cooldown (I suggest 1 minute) to avoid spam msgs on function ctfGlobal.onThink(...)
 
Back
Top