View Single Post
  #1  
Old 09-05-2011, 11:43 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
onPlayerChats() serverside

it appears that something is causing onPlayerChats to execute multiple times on the serverside since a recent update. I am not able to duplicate often the behavior on demand but have noticed it on Unholy Nation since the latest server and client updates, where scripts in events that award EP are being invoked 4 times in a row

NPC Code:
Buy a PC don't buy a Mac (Server): KaidaChan gave 1 EP to the team that won TeamSlashRace.
Buy a PC don't buy a Mac (Server): KaidaChan gave 1 EP to the team that won TeamSlashRace.
Buy a PC don't buy a Mac (Server): KaidaChan gave 1 EP to the team that won TeamSlashRace.
Buy a PC don't buy a Mac (Server): KaidaChan gave 1 EP to the team that won TeamSlashRace.



There are also cases where NPCs are invoking onPlayerChats 4-5+ in a row, I tried attaching a few echos/sendtorcs in places where players were now having problems with text commands and got results like this

NPC Code:
Buy a PC don't buy a Mac (Server): annulment attempted
Buy a PC don't buy a Mac (Server): annulment attempted
Buy a PC don't buy a Mac (Server): annulment attempted
Buy a PC don't buy a Mac (Server): annulment attempted
Buy a PC don't buy a Mac (Server): annulment attempted

Reply With Quote