Thread
:
Communication between AMXX and Python using sockets
View Single Post
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
02-01-2021 , 02:46 Re: Communication between AMXX and Python using sockets
#
3
I'm not sure if what you're doing is wrong either. Maybe that's how it works. Servers use the default 127.0.0.1 and desktop computers use their own ip which is assigned from the router since there could be serveral machines operating and localhost wouldn't be ideal in that case. You can port this to any computer languange that supports sockets, well mostly all of them.
One thing missing is that I rushed to post the script without making it so players can get specific results, such as showing their local wether a second or two later when they join the game.
__________________
[Bash] Autoupdate the AMXX to the latest version [1.9 / 1.10]
[Python] Send Rcon commands from Discord
Relaxing
View Public Profile
Send a private message to Relaxing
Visit Relaxing's homepage!
Find More Posts by Relaxing