Show Posts

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.


Topics - Protokol

Pages: [1]
1
Modification Help / Respawn all vehicles
« on: May 20, 2009, 12:34:08 PM »
Okay, i tried making a script that would respawn all vehicles when a servercmd is used:
Code: [Select]
function serverCmdrespawnallvehicles(%obj)
{
  if(!%client.isAdmin|| %client.isSuperAdmin)
      return;
   
   if($Server::BrickCount > 0)
messageAll('Msgrespawn', "There is nothing to respawn.");

   %groupCount = MainBrickGroup.getCount();
   for(%i = 0; %i < %groupCount; %i++)
   {
      %group = MainBrickGroup.getObject(%i);
      %count = %group.getCount();
      for(%j = 0; %j < %count; %j++)
      {
         %brick = %group.getObject(%j);
                 if(!(%brick.getType() & $TypeMasks::FxBrickAlwaysObjectType))
            continue;
         if(%brickData.uiName $= "Vehicle Spawn")
         {
         fxDTSBrick::spawnVehicle(%brick)
}
}
}
}

What am i doing wrong?

2
Modification Help / Something wrong
« on: April 08, 2009, 11:18:40 AM »
I tried whipping up a rule script with very little experience from TorqueScript.
After i activated the add-on, players can't spawn any longer; what's wrong?

Code: [Select]
function GameConnection::OnClientEnterGame(%this)
{
parent::OnClientEntergame(%this);
                messageClient(%this,"","\c21. Rule1");
messageClient(%this,"","\c22. Rule2");
messageClient(%this,"","\c23. Rule3");
messageClient(%this,"","\c24. Rule4");
messageClient(%this,"","\c25. Rule5");
messageClient(%this,"","\c26. Rule6");
}

function ServerCmdRulesAll(%client)
{
if(%client.isSuperAdmin)
{
messageAll("","\c21. Rule1");
messageAll("","\c22. Rule2");
messageAll("","\c23. Rule3");
messageAll("","\c24. Rule4");
messageAll("","\c25. Rule5");
messageAll("","\c26  Rule6");
}
else
{
messageclient(%client,"","\c0You are not Super admin. Please type \c3/rules \c0for the server rules.");
return;
}
parent::serverCmdmessageSent(%client);
}

Thanks.


3
Clan Discussion / Clan [FINNOX]
« on: October 29, 2008, 08:11:30 AM »
Info:
The Finnox clan was created 25.10.2008; meaning it is a pretty "fresh" clan.
The clan was originally ment for Finnish people only, but seeing the lack of BL players that were actually from Finland made us change our mind;
Now nearly anyone can join.
We do everything you can basicly do ingame: We build stuff, make cool things using events, deatchmatches etc.

Clan tags:
FIN NOX or
FNX

Rules:
- Respect your clanmates, especially the admins.
- Don't whine, flame, bitch or be a handicap.
- No random trust invites.
- Do not make vehicle spawns unless it is necessary.
- Do not make spammy stuff.
- Do not beg for anything.
- Do not make random weapon or vehicle spawns.
- If you're just going to plant a few random bricks, clean after you
- Try to be as active as possible.

Willing to join?
You will have just say so in this thread and wait for our decision,
if most of the clan members say yes; you're in!
Members:

Founder:
Protokol - 3063

Super admins:


Respected members:
Dublo - 8522

Senior members:

Members:

Space Man - 562
Robobliz - 8688

Newcomers:
The-Legend - 8198



Blacklist:

Crazyflasher - 4543

SERVER STATUS:
See it
Here

4
Help / Dedicated server problem
« on: October 28, 2008, 12:19:40 PM »
Just as i am putting my dedicated server up;
this comes after posting to master server:



And the server doesnt show up in the server list at all;
help please?

5
Help / Default too far away distance
« on: October 11, 2008, 08:52:00 AM »
Simple question;
What is the default too far away distance?

Pages: [1]