PHP->Requesting serverlog


(Indloon) #1

Is there any ways to request serverlog directly from a server without using rcon?


(stealth6) #2

Well I guess you could constantly pulse the server :smiley: then when XP goes up by 5xp in one go it’s a frag?


(Indloon) #3

Well.
Yes.
Its possible.
But medic packs,healing,obj,but deaths?:smiley:
You cant calculate right.


(Indloon) #4

Tbh.
The code could look like this,following etnam XP add…


function GetKills($player,$score,$newsocre) {
          $this->SetIsoVariable('sv_scorenr', $this->GetServerVariable('g_damageXP');
          $XPcalc =  $this->SetIsoVariable('sv_scorenr');
          switch ($XPcalc) {
                     case 5: $XPcalc = '5'; break;
                     case 4: $XPcalc = '4'; break;
                     case 3: $XPcalc = '3'; break;
                     case 2: $XPcalc = '2'; break;
                     case 1: $XPcalc = '1'; break;
                     case 0: $this->ReportServer; break;
                     case -1;  $this->ReportServer; break;
                     default: rand(0,5); // Pointless...
          }
          
          $calc = $newscore - $score;
          if($calc == $XPcalc) { 
                   $this->AddKill($player);
          }
}

Still…


(Indloon) #5

Well …


(acQu) #6

[QUOTE=Genert;378844]Haha!
Basiclly you can request via g_log cvar…
But its not for public:/ If you have full access to server…

Its only possible with rcon,already made a rcon class request,worked well to request user list and TZAC users list from BiO-YNC-Hosting.
Main problem is about guessing right rcon.

The PHP Q3 rcon crack can be done.But its illegal.Not recommend.

If someone can make little changes on ETDED.exe instead of touching SDK,so we can request several stuff=)[/QUOTE]

You mean … you hoaxed/bruteforced their servers ?

Did you already looked at LUA and/or QMM Plugin ? I think there should be things possible. Of course you would have to ask server owners to contribute to send their data after every map, and it is very unlikely that you will make that happen. But gl.

(P.S. are you working for trackbase in that matter. I believe they wanted to improve their system as well)


(Indloon) #7

Asked just for rcon, nothing harmful happened during experimenting. =P

And I’m not working for Trackbase.


(Paul) #8

There is no way other then connecting to the server to get the real kills/deaths :slight_smile:
Processing all server logs will be a technical high quality job which requires damn a lot of performance.


(Indloon) #9

[QUOTE=Paul;380360]There is no way other then connecting to the server to get the real kills/deaths :slight_smile:
Processing all server logs will be a technical high quality job which requires damn a lot of performance.[/QUOTE]

The only way to do it is to touch ET code or use RCON.


(kashka) #10

dont deploy this script on your server…


(Slut) #11

Genert you can spread your crap code around like hell but fact is: you cannot make serious player statisticss without access to the log.

http://stats.staatsschutz.org =)


(Indloon) #12

[QUOTE=Slut;383246]Genert you can spread your crap code around like hell but fact is: you cannot make serious player statisticss without access to the log.

http://stats.staatsschutz.org =)[/QUOTE]

The code is not written by myself, found it in the internet.

Now spreading it like scam…


(Slut) #13

tere vana kere
my bad, not your code then :slight_smile:
yeah it looks like vsp, but it ain’t…vsp is prolly a good visual model for a good clean look :slight_smile:


(Indloon) #14

Yeah.Tere vana kere kah.

Well I don’t work with it anymore, found it to be useless to get something what you actually can’t.


(Slut) #15

i take that as a teaser :slight_smile:


(Indloon) #16

No lol :stroggtapir:


(king_troll) #17

you can probaly add this to a mod http://www.adp-gmbh.ch/win/misc/sockets.html and send end of game stats array to a remote database, or do something similar

would need to add new includes to the precompiled.h file OS includes