Auto kick banned payer from game

zzyzxroad

TH.net Regular
Reaction score
1
How would it be possible to add a users name so that it is automatically detected by the game, then he is auto kicked?
 

Advena

Just casually observing atm ;)
Reaction score
42
As far as I know, you need a banlist to do that.
And that's not exactly something you create in the editor :p
 

zzyzxroad

TH.net Regular
Reaction score
1
But I have seen this:

function FU takes nothing returns boolean
return(GetPlayerName(GetEnumPlayer())=="Blah Blah")or(GetPlayerName(GetEnumPlayer())=="Blah Blah Blah")
endfunction
function Fv takes nothing returns boolean
return(GetPlayerSlotState(GetEnumPlayer())==PLAYER_SLOT_STATE_PLAYING)and(FU())
endfunction
function FV takes nothing returns nothing
if(Fv())then
call SetPlayerName(GetEnumPlayer()," !! BANNED !! ")



o it is something that can be done in the editor, but how exactly?
 

Kazuga

Let the game begin...
Reaction score
110
UNSUPPORTED

- Razor's release
- Banlist
- Maphacks
- Name spoofers
- No-CD cracks
- Serial generator
- Getting keys out of the game
- DotA rulez
- DotA blowz
- Cracks or hacks for any other games or programs
- Autorefreshers
- Memory scanners
- Map Deprotection
 

Exide

I am amazingly focused right now!
Reaction score
448
You can't write names into the map and save it for the next game, when playing.
-You can only do this, using the World Editor.

For example. You play your map v1.00, and two people gets banned.
Then you go into World Editor, add their name on a list and update the map to v1.01 - Now you can check every player that joins, if their name is on the list. -If they are your trigger can autokick them.
This requires a lot of work, and a lot of map updates, though. In other words, it's a bad idea.

What you need is a banlist. (Google it.)
 

duyen

New Member
Reaction score
214
No, actually there's a mod that lets you ban in game, but it's probably not supported here.
 

Vestras

Retired
Reaction score
248
Actually, it is possible.
Save/Load systems do it, why can't we?

All you have to do, is store the names like Save/Load systems does with Heroes, and check if the player is that one.
 

Exide

I am amazingly focused right now!
Reaction score
448
>why can't we?
Don't know how save load systems work. -Ask Acehart. :p

I guess it would be possible to use Game Cache to store a value, but I was told that Game Cache only works in Single Player. And the player could just remove the Game Cache and be "un-banned" anyway..
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
You can add a bunch of names and test those.

Pick every player in (All players) and do
- If - Or Multiple
- - Name of (Picked player) equal to ...
- - Name of (Picked player) equal to ...
- - Name of (Picked player) equal to ...
- - Name of (Picked player) equal to ...

That's about it.
Pointless really as you can't update it.
And you can't push a new version of your map to all people that downloaded it either.

Not to mention that you can change your name too if need be... or simply edit the map script.


Anything dynamic is not possible with normal (or even advanced) editor skills.
Anything outside the above trigger falls under "not supported".
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top