• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Ban

Status
Not open for further replies.
Level 12
Joined
Apr 27, 2008
Messages
1,228
I have the perfect solution for you - grow up.
When you do, these things will come natural to you.
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
I'd rep you for this but i need to spread some around before i can :D

l1lshadow, if you include the "bans" in the map using triggers, the players will be kicked no matter who hosts the map

Like
  • Events
    • Map initialization
  • Conditions
  • Actions
    • If (Name of Player 1 (red)) equal to George.W.Bush then do Game Defeat Player 1 (red) with the message |cffff0000Die!|r else do nothing
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
But he has to be the author of the map.
And it will kick after the game started resulting in solo game for him.
And it will not be dynamic, each time he wants to ban someone he will have to make a new version.
And it could kick the host, resulting in mass disconnect.
And who would make a map and let someone else, who he does not know well enough to ask to kick someone(someone BL says is banned), host it.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
You can atmost kick certain user names once the game has finished loading (after start) with triggers. However nothing stops them making a new account in which case the auto kick will no longer opperate. They can also namespoof which wll prevent this method from working and that can be done very easilly.

So really, in the long run, it is better to not add to map lag (minor it may be) with such triggers and just let them play as eithor way they will play.
 
Level 3
Joined
Jun 14, 2008
Messages
34
I see what you mean, I have people that I don't want to play with. Ban list would be sooo much easier, but I decided to make a simple trigger to help you. It can only save ONE name at a time, I am too dumb to figure out how to make it multiple. Try it out, if you have multiple people you want to ban just get ban list at Home - WC3Banlist
 

Attachments

  • Save Load Banned.w3x
    26.2 KB · Views: 41
Level 12
Joined
Apr 27, 2008
Messages
1,228
@LordXavier
Lol.
This is new.
Ban people from single player - your single player. Be careful not to ban yourself.
I repeat: There is no way to save the banned player in a map in Game. Yes you can store it in a Game Cache, but Game Caches from multiplayer get deleted after the game has ended - so it only works for single player.
 
Last edited:
Level 3
Joined
Jun 14, 2008
Messages
34
Lol.
This is new.
Ban people from single player - your single player. Be careful not to ban yourself.
I repeat: There is no way to save the banned player in a map in Game. Yes you can store it in a Game Cache, but Game Caches from multiplayer get deleted after the game has ended - so it only works for single player.
I don't care, it was fun to make that. That's also why I recommended Ban List. Best WCIII program ever! Makes your life easier.
Besides, I don't do single player maps, so I don't work with caches. Get Ban List and close this thread already.
 
Status
Not open for further replies.
Top