Blockland Forums > Modification Help
Client sided function called when adding/removing a player from the player list
Port:
--- Quote from: jes00 on May 24, 2012, 07:07:06 AM ---function newPlayerListGui::update(%this, %cl, %name, %BL_ID, %trust, %admin, %score)
--- End quote ---
Use secureClientCmd_clientJoin instead.
jes00:
--- Quote from: Port on May 24, 2012, 07:33:52 AM ---Use secureClientCmd_clientJoin instead.
--- End quote ---
I used to but people seemed to freak out about the secureClientCmd part.
Port:
--- Quote from: jes00 on May 24, 2012, 07:46:08 AM ---I used to but people seemed to freak out about the secureClientCmd part.
--- End quote ---
Why so? It just disallows servers from sending it unless the traceback involves an engine function or exec on a compiled file.
Ipquarx:
--- Quote from: Plexious on May 24, 2012, 12:50:22 AM ---I need the function called when adding players to the player list. I need to package it so it adds players to other lists.
--- End quote ---
Use NewPlayerListGui::update, it's literally the exact function you're looking for.
--- Quote from: Port on May 24, 2012, 08:40:04 AM ---It just disallows servers from sending it
--- End quote ---
This sounds kinda paranoid to me. It's not like its abusable or anything.
Greek2me:
--- Quote from: Ipquarx on May 24, 2012, 06:23:36 PM ---This sounds kinda paranoid to me. It's not like its abusable or anything.
--- End quote ---
It's one of the things that Badspot did along with removing the Player::setShapeName ability to prevent impersonation.