Raised This Month: $32 Target: $400
 8% 

how does it work? 'gameme'


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
loiraolhosazul
Member
Join Date: May 2020
Old 02-17-2021 , 11:31   how does it work? 'gameme'
Reply With Quote #1

Does anyone know how the 'web server' captures the information from the gameme plugin? I want to develop my own plugin, but they also offer their version.
Attached Files
File Type: sma Get Plugin or Get Source (gameme_cstrike.sma - 69 views - 46.4 KB)
loiraolhosazul is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 02-17-2021 , 11:37   Re: how does it work? 'gameme'
Reply With Quote #2

Sockets.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
loiraolhosazul
Member
Join Date: May 2020
Old 02-17-2021 , 11:51   Re: how does it work? 'gameme'
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
Sockets.
is there any example of how i can do this? because the plugin doesn't use sockets, I believe in a possible 'rcon', but I don't know how to capture the logs
loiraolhosazul is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-17-2021 , 12:57   Re: how does it work? 'gameme'
Reply With Quote #4

It doesn't use sockets. It uses the logaddress_add command and generates logs for any interesting events. The game server sends logs to the server specified by that command. Here's the relevant documentation from their site: https://www.gameme.com/en/docs/setup/general/hl1.
__________________
klippy is offline
loiraolhosazul
Member
Join Date: May 2020
Old 02-17-2021 , 14:34   Re: how does it work? 'gameme'
Reply With Quote #5

Quote:
Originally Posted by KliPPy View Post
It doesn't use sockets. It uses the logaddress_add command and generates logs for any interesting events. The game server sends logs to the server specified by that command. Here's the relevant documentation from their site: https://www.gameme.com/en/docs/setup/general/hl1.
I understood, but I wanted to understand how to recover data, for example using php
loiraolhosazul is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-17-2021 , 18:22   Re: how does it work? 'gameme'
Reply With Quote #6

What do you mean by recover? Retrieve it from the game server?
Looking at the engine code, it seems the game server sends a connectionless UDP packet starting with "log ", which means that your (web) server should listen for any UDP packets starting with FF FF FF FF 6C 6F 67 20, and any data after that is the log line itself.
I'm not a PHP expert but as far as I know PHP can't just listen on a UDP port.
__________________

Last edited by klippy; 02-17-2021 at 18:22.
klippy is offline
JocAnis
Veteran Member
Join Date: Jun 2010
Old 02-17-2021 , 18:47   Re: how does it work? 'gameme'
Reply With Quote #7

Isnt gameme using only their .php to login via FTP to your server (ip) and then read its log file then parse for their usage..? How i remember you must give them some access
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
loiraolhosazul
Member
Join Date: May 2020
Old 02-17-2021 , 20:06   Re: how does it work? 'gameme'
Reply With Quote #8

Quote:
Originally Posted by KliPPy View Post
What do you mean by recover? Retrieve it from the game server?
Looking at the engine code, it seems the game server sends a connectionless UDP packet starting with "log ", which means that your (web) server should listen for any UDP packets starting with FF FF FF FF 6C 6F 67 20, and any data after that is the log line itself.
I'm not a PHP expert but as far as I know PHP can't just listen on a UDP port.
I need some way to get the data and save it in the database ...


check 1 = https://stackoverflow.com/questions/...-in-a-web-page

check 2 = https://stackoverflow.com/questions/...tagrams-in-php
loiraolhosazul is offline
Old 03-01-2021, 17:23
loiraolhosazul
This message has been deleted by loiraolhosazul.
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode