Author Topic: Team Deathmatch  (Read 53414 times)

Now I gotta make my projectiles work with this epic mod. :o

Gah, loaded with glitch rape. Here's what I've found so far.
  • After setting uniforms, it seems to delete the avatar in the options. How do you even do that?
  • GUI is screwy, but that's likely just my WIDESCREEN ACTION.
  • Spawns occasionally seems to mix-up, but it's really rare.
Other than that, seems to be working pretty awesomely.

now all we need is his bots...

i took off zombies and it still did not work and i dont know what the hell new rewards is
Console log.

For auto sort, what does each option do, I know what sort does but what about the other two?
None - Turns it off entirely. Players are not sorted when they join the minigame and teams can be optionally Locked or Unlocked.
Sort - Sorts players into a team when they first join the minigame. Teams are locked, but players can perform a Team Swap with /jointeam if another player on the team they are moving to accepts and moves to theirs.
Fix - Re-sorts players every time they join or leave the minigame to keep a fair ratio (e.g. "rage quitting" causing one team to have many less players). Teams are locked and the Set Team button cannot be used. (Set Lead can, but only for the current team they are in or NONE to remove leader)

Quote
After setting uniforms, it seems to delete the avatar in the options. How do you even do that?
I'm not sure what you mean. Console log and a description of how you caused it, please. Uniform setting works fine for me.
« Last Edit: April 06, 2009, 02:18:55 AM by Space Guy »

Lol, there's a much better way to do this:

Code: [Select]
function isInt(%string)
{
   %numbers = "0123456789";
   for(%i=0;%i<strLen(%string);%i++)
   {
      %char = getSubStr(%string,%i,1);
      if(strPos(%numbers,%char) $= -1)
         return 0;
   }
   return 1;
}

Do it like this instead:

Code: [Select]
function isInt(%string)
{
return %string == mFloatLength(%string, 0);
}

With your code:
echo(isInt("afiulgaefgaef"));
... returns 1.

Code: [Select]
function isInt(%string)
{
return %string $= mFloatLength(%string, 0);
}
This works, though. Changed in the code.
« Last Edit: April 06, 2009, 02:28:15 AM by Space Guy »


Updated. Redownload for bugfixes.

- Edit to isInt function which may be faster
- Prevention of server crashes through command spamming
- Fixed issue with first joining of minigame giving default minigame items even with Auto Sort
- Fixed Auto Sort: Fix so it works
- Fixed first clan tag in Team Chat
- Fixed ending minigames while dead respawning owner as a team member
- Limited help text to five lines
- Fixed error with clientTeamName() function
- Fixed changing points limit and resetting minigame causing a team to 'win' when they shouldn't
« Last Edit: April 06, 2009, 10:17:04 AM by Space Guy »

With your code:
echo(isInt("afiulgaefgaef"));
... returns 1.

Code: [Select]
function isInt(%string)
{
return %string $= mFloatLength(%string, 0);
}
This works, though. Changed in the code.

Yeah, technically nothing is an integer.  Stupid GG and their lack of vision.  Proper data types (and arrays) ftw.

Quote from: Space Guy
Badspot sets the player items in this function, therefore I can

I was giving you a hard time about doing the spawn code there instead of in MinigameSO::pickSpawnPoint.  Doing your item assignments there doesn't bother me.

Okay, just in case there was any problems/confusion.

Also added a list of bugfixes, I've probably missed a few.

Okay, just in case there was any problems/confusion.

Also added a list of bugfixes, I've probably missed a few.

Yeah, keep track of your changes.  The RTB3 site supports Add-On changelogs.

P.S. I have failed the "Select All" Add-On since its functionality is superseded by v11 itself.  I tried to post there, but I got that "Topic is too old." error.

Okay. Does this happen with the Music menu too? (I still have the Music Select All Add-On)

Okay. Does this happen with the Music menu too? (I still have the Music Select All Add-On)

I haven't failed it, but I don't think I've used the Music menu in v11.  You'll have to check.  I don't known whether it has the All / None / Default options.

i was testing it the day before you released it. epic, i say.