hey guys!
i got a server but many minges trys to crash the server by going into the elevator, send it up and block the door with them self!
i know a server that fixed that! any know a script or a way to block that? (i dont want a server where people need to download
a new rp_downtown_v2 map so i really want a script or something! :i )
Just delete elevator buttons?
Lua script that can remove entities, that's as far as i know
[QUOTE=Mr Anonymous;32536439]That should not crash the server; If it is just simply a person blocking the doors closing, it deffinitly should not crash your server. Firstly suggest you check that up with your server provider. Secondly you can delete the lift / buttons or even block it so people can not use it. But, this means you will have to do that everytime the server restarts / crashes, so, that is not very effective. I don't think there are any scripts on Facepunch that can help you, but, you could have a look around the Internet, just search on Google.
He would need to know the Entity name of either the Lift, Lift Doors or Lift Buttons. Without decompiling the map itself, it's impossible to find out.
[i][b] Dissaproves Decompiling Maps. [/b][/i][/QUOTE]
Decompiling the map is fine is its to find out how soemthing was done, or the name of an entity. The only time it is not fine is if you are planning on ripping soemone off.
You might also look at entspy:
[url]http://www.bagthorpe.org/bob/cofrdrbob/entspy.html[/url]
Or typing find_ent func_door, assuming that's what you're looking for, which will output the targetnames of all func_doors in the map.
This method kind of assumes the mapper has a decent naming convention for entities though, although I'm sure you could eventually figure it out.
[QUOTE=Zanarias;32536844]Or typing find_ent func_door, assuming that's what you're looking for, which will output the targetnames of all func_doors in the map.
This method kind of assumes the mapper has a decent naming convention for entities though, although I'm sure you could eventually figure it out.[/QUOTE]
Thanks to 3kliks, only the really good mappers seem to use good solid naming conventions. I'm sure the pro would have though.
[QUOTE=Mr Anonymous;32536439]That should not crash the server; If it is just simply a person blocking the doors closing, it deffinitly should not crash your server. Firstly suggest you check that up with your server provider. Secondly you can delete the lift / buttons or even block it so people can not use it. But, this means you will have to do that everytime the server restarts / crashes, so, that is not very effective. I don't think there are any scripts on Facepunch that can help you, but, you could have a look around the Internet, just search on Google.
He would need to know the Entity name of either the Lift, Lift Doors or Lift Buttons. Without decompiling the map itself, it's impossible to find out.
[i][b] Dissaproves Decompiling Maps. [/b][/i][/QUOTE] Not really, type this in console:
lua_run print(Entity(1):GetEyeTrace().Entity:Name());
To get the name of the entity you're looking at (in singleplayer);
[editline]29th September 2011[/editline]
Or you use ent EntIndex to remove the buttons.
[editline]29th September 2011[/editline]
Or you change the flags to force the door to close with lua. (I think that causes the crash, right?)
i found solution! thanks all! sry for waste your time! :)
Care to share your solution with us, so others might benefit from it, too?
Sorry, you need to Log In to post a reply to this thread.