Search found 13 matches

by kaffeedoktor
Tue Oct 03, 2006 2:42 pm
Forum: Programming Discussion
Topic: [Q4] Checksum calculation?
Replies: 3
Views: 5704

Sorry, I got sth wrong. For ingame usage Q4 uses an 8 byte MD5 blockchecksum, which is build as: val = digest[0] ^ digest[1] ^ digest[2] ^ digest[3]; (that's code from idlib, val & digest are unsigned long values). E.g. a 32 byte MD5 0x0123456789ABCDEF0123456789ABCDEF will get split into 0x01234...
by kaffeedoktor
Tue Oct 03, 2006 2:20 pm
Forum: Programming Discussion
Topic: [Q4] Checksum calculation?
Replies: 3
Views: 5704

Maybe I replay a bit late, but the checksum used to identify PK4s is an MD5, which you can create in PHP using the md5_file( ) method.
by kaffeedoktor
Sat Nov 19, 2005 3:09 pm
Forum: Programming Discussion
Topic: cvar "g_log"
Replies: 10
Views: 5442

Fjoggen,

thank you for your detailled post. I already had some similiar thoughts of log format and so on as you posted. But there are also some things new.

My next step will be to write a complete planning wich will include all details of log format. I'll post it here when ready to discuss it.
by kaffeedoktor
Sat Nov 19, 2005 8:13 am
Forum: Programming Discussion
Topic: cvar "g_log"
Replies: 10
Views: 5442

Some news: I talked to mod developers of xbattle and for now they'll add log extension to their mod if it's good enough.

So I'll start these days and I'll keep you up to date here.
by kaffeedoktor
Sat Nov 19, 2005 8:11 am
Forum: Quake 4 Discussion
Topic: Quake 4 statisticslog.txt parser
Replies: 37
Views: 10232

dynerman,

settng logfile to 1 will write console output to a text file, sure, aber it will NOT contain the game action as it was in q3. Only messages about players connecting are logged.

Look at my other thread in programming discussion for more information about this.
by kaffeedoktor
Fri Nov 18, 2005 5:50 am
Forum: Programming Discussion
Topic: cvar "g_log"
Replies: 10
Views: 5442

Thanks for the posts so far.

Yesterday evening I wrote to developers of q4max and xbattle - which both seem to be the one with the biggest acceptance.

I'll provide news here as soon I have some.
by kaffeedoktor
Thu Nov 17, 2005 8:13 pm
Forum: Programming Discussion
Topic: cvar "g_log"
Replies: 10
Views: 5442

It really seems there's no log output like in q3 builtin. If I'm totally wrong, please correct me! So it looks like we'll have to do it on our own - now as the sdk is out this won't be such a big problem. I think I'll do the job, but first I want to have some feedback from you if such log output is ...
by kaffeedoktor
Thu Nov 17, 2005 4:15 pm
Forum: Programming Discussion
Topic: cvar "g_log"
Replies: 10
Views: 5442

Ok, after having a closer look to the game source, it looks like there isn't any log output in detail as it was in q3. There may be some output when a player receives damage, but all other output is some physics data (from Physics_Player.cpp). So it seems this is just some debug output. There's anot...
by kaffeedoktor
Thu Nov 17, 2005 2:50 pm
Forum: Quake 4 Discussion
Topic: Server Config + Website Monitor (updated for 1.2 patch)
Replies: 71
Views: 172915

I know - perhaps my post wasn't clear: Using default log output (logfile=1) just writes any server console output to specified logfile. But I wanted to have log output like it was with q3 dedicated server, which means detailed informations about item/weapon pickups, kills, etc. that can be parsed wi...
by kaffeedoktor
Thu Nov 17, 2005 1:31 pm
Forum: Programming Discussion
Topic: cvar "g_log"
Replies: 10
Views: 5442

Ok :)
by kaffeedoktor
Thu Nov 17, 2005 1:06 pm
Forum: Programming Discussion
Topic: cvar "g_log"
Replies: 10
Views: 5442

cvar "g_log"

As it's the first time I had a look into a quake sdk, i'm not sure if I'm right - so please correct me if I'm wrong. Because cvar "g_log" can't be modified in multiplayer and I'm interested in detailed log output, I search around in SDK where those things might be defined. A simple "g...
by kaffeedoktor
Thu Nov 17, 2005 11:55 am
Forum: Quake 4 Discussion
Topic: Server Config + Website Monitor (updated for 1.2 patch)
Replies: 71
Views: 172915

Is g_log working at your server? I tried setting it in serveral ways, but I won't get is activated. Typing "g_log 1" on server console just sais it's deactivated in multiplayer mode. Right now I've just those very very tiny stats in file "StatisticsLog.txt" which isn't really usa...
by kaffeedoktor
Thu Nov 17, 2005 11:52 am
Forum: Quake 4 Discussion
Topic: Quake 4 statisticslog.txt parser
Replies: 37
Views: 10232

I also thought about writing a log parser, but like mentioned above it's not really needed because there is no suiteable log file!

I just don't understand why g_log is disabled in multiplayer. Perhaps that's something mod development may pick up and change ...