2 Antworten
+ 1
I don't know the answer to that. However, despite that I'm not a fan of Python, I've used it many times over the decades for various things; I've normally used it to create utility programs on my Linux server.
Back in the day, there was a game called Call of Duty: Black Ops 2 and they had taken away the ability to use stat mods on the PC which allowed you to see your server stats (overall kills, deaths, etc..) They began restricting what one could do from the server side from dedicated servers. However, from the dedicated server, it did keep logs of any chat text and allowed the server admin to send messages to the players via the server. I used Python in order to recreate the old stat mods that way. Basically, I would use Python to allow players to create their "stat" account on our server, and then Python would keep track of their kills/deaths/chats via reading the logs on the server and storing the appropriate stat data to the database in the player's account with us. Since Python was monitoring the chat logs, it was basically listening for the appropriate commands to be sent to the chat via the player. When it saw the command, it would use their name and calculate their stats before sending the stats to them in chat via the server admin commands.
Now is that as super complex as it sounds? Not really, but it just goes to show how it can be used in various ways.
+ 1
Thanks