| 03-24-2005, 01:33 AM | #1 |
Just as the title implies, I'm trying to make it so only members of my clan can play the map I'm making. Or rather, on game start, if people are in the map that aren't in my clan, boot them from map. I know how to do this with username, but is there a way to do it with clan? BTW, If you really wanna know why I'm doing this: It's a snipers map, and almost all the people who snipe these days are greedy/corrupt/moronic/immature/etc etc etc. I'm hoping to make it so if you can't behave in a socially acceptable manor, you can't play my map. |
| 03-24-2005, 01:46 AM | #2 |
Host the map, make it private. Yoink. Or, make a trigger that kicks people who dont have the name of the guy you enter. In other words, if a player plays, and his name is not equal to JohnSmith69, kick selected player. Yoink. |
| 03-24-2005, 01:47 AM | #3 |
very nicely done stoner, or just do the whole infinite loop trick and crash teh game. if you want to know more, ask me! :) |
| 03-24-2005, 01:53 AM | #4 |
Thanks for the brilliant replies. *sarcasm* |
| 03-24-2005, 02:08 AM | #5 |
Guest | Really, theres is NOTHING you can do to prevent non-clan members from joining the map BECAUSE u have NO control what happens before you map loads. You make the map...not anything else. But yes you could do what stoned did. Other ways..not really. |
| 03-24-2005, 03:04 AM | #6 |
I'm probly just in denial at this point, but I'm not asking how to stop them from joining/downloading the map, I'm asking how to check if they're are in clan "..." at map initialization (or once map starts, either way works), and if they're not, boot them. |
| 03-24-2005, 03:25 AM | #7 |
Guest | Yeah this would be very difficult, you would need a trigger for each player 1 - 12 and then check if the name of the player is equal to any of your clan members. |
| 03-24-2005, 03:28 AM | #8 |
Guest | sorry for double post, but i had a better idea. If your map has some kind of hero choice at the beginning, then all you need to do is in the hero-creation trigger check if the name of the triggering player is not equal to any of your clan members then boot him/her, this would cut down the work by alot. |
| 03-24-2005, 04:37 AM | #9 |
Ah well, I suppose I'll have to do this the hard way, what a shame. :( Stupid WC3 :) |
| 03-24-2005, 05:29 AM | #10 |
Guest | The real shame is not "stupid wc3", the shame is thinking everyone else is immature. You are not a 'god' or anything. If you want people not to play your map, it's your problem, but think of wc3 as a community, not a pack of nerd, but a community that needs help. Personnaly, I spend a lot of time mapmaking, and left my maps open and unprotected, and, in addition, I come here every day to help people. You should really think about this, egoism leads nowhere. |
| 03-24-2005, 01:31 PM | #11 |
And to believe you gave me negative rep for my sarcasm. Thank goodness he had no rep before I turned the other cheek. |
| 03-24-2005, 11:09 PM | #12 |
Code:
ClanInitNKill
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Set clanmembers[1] = bob
Set clanmembers[2] = bobbobbob
Set clanmembers[3] = fred
Set clanmembers[4] = fredfred
-----yada yada-----
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
Loop - Actions
For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Name of (Picked player)) Equal to clanmembers[(Integer A)]
Then - Actions
Set inclan = True
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
inclan Equal to False
Then - Actions
Game - Defeat (Picked player) with the message: Not in clan.
Else - Actions
Set inclan = TrueLay off the flaming or I wont help you again. |
| 03-25-2005, 12:07 AM | #13 |
host it privately... i mean seriously what are u gonna do host it publicly, have 3/12 people in ur clan join start the game and have 9 people booted and play 2 v 1? and anyone else who tries to host the map will be booted instantly -- so its not like it'll be played publically anyways, unless u have a huge huge clan that could fill all 12 spots, if you made it public people will fill the slots and u will end up booting people anyways in order to make room for people who 'can play the game' and then if one of ur clannies wants to play it with a friend they can't cause they get booted instantly or u have to start punching out new versions every 2 days to get peoples names added and there will be a plethora of mismatches wow, somehow i don't see this is being a particularily useful feature |
| 03-25-2005, 12:36 AM | #14 |
Yea pretty much... I dont see whats so bad about private games honestly. |
| 03-25-2005, 01:46 AM | #15 |
doesnt dota do something similar to this. cept its the opposite, the "shitlist" there is a third party program out there that detects people joining your game and if they are on a certain list they will be booted immidiately. I think that program has the global dota shit list that has all the shitlisted people from all the games. and there is a local option maybe that allows yuo to make your own custom shit list. Maybe it can do the exact opposite and allot certain people to join. But really just host it privately. You will have to end up making a new virsion everytime someone joins. |
