1
Modification Help / Re: Face Player onDeath
« on: June 12, 2013, 02:40:22 AM »
... are you 100% sure you are activating the package?
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.
... virtual string containerRayCast( Point3F start, Point3F end, bitset mask, SceneObject exempt=NULL,exempt2,exempt3,exempt4,exempt5,exempt6 ) {} ...
package activateStuffPackage
{
function Player::activateStuff(%player)
{
%lengthOfRay = 4;
%start = %player.getEyePoint();
%end = vectorAdd(%start, vectorScale(%player.getEyeVector(), %lengthOfRay));
%hit = containerRayCast(%start, %end, $TypeMasks::PlayerObjectType, %player);
if(!isObject(%hit))
{
return Parent::activateStuff(%player);
}
//do checks & stuff to %hit
return Parent::activateStuff(%player);
}
};
Computermix is a troll, the securecommandtoclient thing is an incident in which a player figured out the password to a secure server command that allows adding names to the player list GUI and messaging all players in a server that a player has disconnected/connected.I can guarantee you I'm the one that found that out. If anyone gets in trouble for that I'll take the hits. I'm not trying to troll anyone, sorry if I upset you siba.
What section was this thread in? Or was it locked.This one, http://forum.blockland.us/index.php?topic=226283.0, but its on the latest pages.
Can't you do it the opposite way though? The server could create a random seed and share it with the client.
I find Cpp's syntax the most unnecessarily complex syntaxes in programming. I mean, it's bearly readable.Practice makes perfect, I guess. At the time when I began I had an extremely high interest in it and I just didn't quit. Eventually it made sense and I was having more fun than problems, and it was good from there.
Even ASM and Python (to me) look more readable.
http://forum.blockland.us/index.php?topic=213238.msg6026557#msg6026557
yes
why don't you just define %directDamage all in one go?I'm well aware of better methods of doing this, but I split it up for the reason of the op's better understanding. It's just easier to get what I'm explaining imo.
Modified version inspired by phflack!