![]() |
|
#1
|
|||
|
|||
![]()
According to naryv this should work:
Code:
System.Console.WriteLine("bla-bla-bla"); ![]() E.g it is possible to autokick users based on ping now. Or include them into ban list for vulching or attacking admins ![]() |
#2
|
|||
|
|||
![]()
Hm via MissionMenu with special user privileges, you could kick and ban players or reload a mission. Seems possible, will make some tests.
|
#3
|
|||
|
|||
![]()
BTW you can get user Steam ID by "host" console command IIRC.
Do you think it will be possible to give admin privileges based on steam ID? Also it can be useful for squad statistics: players will be registered as squad members and then when they join a server all their statistics will go to squad statistics. If server can ID players by Steam ID we would not need to ask entering a password which is not possible now iirc. (Script can not read player messsages from chat yet.) Do you think we can get Steam ID into script via a console command? Maybe log parsing will be required but it is not very reliable in real time. Sometimes log is written with a big delay. |
#4
|
|||
|
|||
![]()
That is interesting.
Opens many new options for controling, including battle stop and starting, based on if player connected.
__________________
http://cornedebrouwer.nl/cf48e |
#5
|
|||
|
|||
![]()
At the moment i get the command to the console but not executed.
![]() |
#6
|
|||
|
|||
![]()
Copy log and code here I will send it to naryv please.
|
#7
|
|||
|
|||
![]() Quote:
Code:
string line = System.Console.ReadLine(); |
#8
|
|||
|
|||
![]()
Sorry, I have no idea. Someone has to try it. And better someone who understands what it means
![]() |
![]() |
|
|