AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Messer-Jocke > Funny stats 4 knife lovers incl. sql (https://forums.alliedmods.net/showthread.php?t=12060)

Leichenklaus 11-30-2004 15:42

Messer-Jocke > Funny stats 4 knife lovers incl. sql
 
2 Attachment(s)
Funny stats plugin for knifekills
Knifekills will be saved using steamid (or by name @ LAN - set jocke_id "1" at server.cfg)
Leader is called Messer-Jocke (known from the movie "Pippi in the South Seas")
say "/jocke", ".jocke", "/mj" or ".mj" - shows the current Messer-Jocke
say "/knife", ".knife", "/messer" or ".messer" - shows your current rank on the MesserJocke list and the knife kills you made
Knifekill made by Messer-Jocke will play the Messer-Jocke-Sound
Other players will get the well known "humiliation"
The list runs from monday 12.00 AM to sunday 11.59 (default) PM but at least until the current map ends
*NEW* By setting the variable mj_reset u can change reset point to daily or monthly
The list will be deleted and a new round will be started

Of course TKs do not count
The kills only count for Messer-Jocke if the players on the server are more as "minplayers" (default = 3)

If u like to test the Plugin on a server just play on 82.98.216.10:27015 #thu-clan >>> [-Hanau BattleZone-]
Wanna see the stats for the current week? >>>> http://thu.almis.de/server/messerjocke.php

This plugin includes a MySQL-version too, if you like to use it, please read the readme.txt for further information

Leichenklaus 12-13-2004 17:46

Oh I forgot:
For full multilanguage support I need some phrases translated into other languages than german, english and french.
So u spanish, dutch or other ppl out there ... download the zip-file and check the /addons/amxmodx/data/lang/messer_jocke.txt for lines to be translated and post them here or send 'em to me

BigBaller 12-13-2004 18:54

Wow

Sounds very interesting,

Maybe provide some screenshots and more description about it?

Leichenklaus 12-26-2004 11:00

New attachment was uploaded :
Fixed a small bug in the php-file where knifekills over 99 were not displayed correctly

Leichenklaus 03-15-2005 08:38

made some small changes in the readme...

Leichenklaus 03-20-2005 17:38

small update in messer_jocke.sma / amxx
fixed an error if the current Messer-Jocke is a number bigger than 99 in the list
redownload please

Morpheus 03-22-2005 06:09

Something is wrong with the zip file.. :(

Cant extract the files..

Also can this be made with Headshots??????

Cheers

Morpheus

Curryking 03-22-2005 06:36

I only get an errormessage when i try extracting the files with WinRAR - with WinZip it works fine...

Morpheus 03-22-2005 07:25

LOL mine works with winrar heheh :shock:

But can this plugin be "portet" to headshots?

Cheers

Leichenklaus 03-22-2005 10:49

hmm zip-file works with newest Winzip or Winrar...just dl the current versions

@ Morpheus: U mean to make stats like these just for HS or do u mean to count the knifekill only if made by HS?
both should be possible

pendragon 03-22-2005 15:54

spanish translation
 
SPANISH

Code:

[sp]
MJ_MSG_1 = %s rajo y corto a %s en cuadritos
MJ_MSG_2 = %s saco su navaja y destripo a %s
MJ_MSG_3 = %s anduvo furtivamente detras de %s y lo acuchillo
MJ_MSG_4 = %s acuchillo a %s
NO_MJ_MSG = Presentemente, no hay un MESSERJOCKE
MJ_MSG = %s es el MESSERJOCKE con %s KNIFEKILL%s en cuenta
MJ_RANK_MSG = Su clasificacion jerarquica en Messer Jocke es %d. con %d KNIFEKILL%s
MJ_NO_RANK_MSG = Aun no esta en la lista


Leichenklaus 03-23-2005 01:02

updated the language file adding spanish
THX to pentragon
:D

Morpheus 03-23-2005 03:27

Quote:

Originally Posted by Leichenklaus
hmm zip-file works with newest Winzip or Winrar...just dl the current versions

@ Morpheus: U mean to make stats like these just for HS or do u mean to count the knifekill only if made by HS?
both should be possible

I mean like this plugin does for the knife kill to the webpage.. Can this be made for headshot kills? ONLY.. :)

Because many of my players is asking about this, but I told them I would look into it, but I dont know how to script..

It would be great if this could be made.. :)

Cheeers

Leichenklaus 03-23-2005 10:57

Yeah this should be no problem ...
I'll script it on the weekend if I've time enough and post it here...

Morpheus 03-23-2005 12:26

Weeeeeeeeeee sounds great.. :)

Cheers

Morpheus

Leichenklaus 03-28-2005 12:28

//UPDATE
some code changes in the .sma file, using now csx.inc

@ Morpheus: Plugin is already finished, I'm testing a bit to be sure there are no bugs
also have to finish the php-file for the stats on a webpage
I call the plugin "HeatShot-Master" and it works as the Messer-Jocke plugin does
Anyone an idea which sound I should use for the HeadShot-Master?

Morpheus 03-29-2005 02:36

Quote:

Originally Posted by Leichenklaus
//UPDATE
some code changes in the .sma file, using now csx.inc

@ Morpheus: Plugin is already finished, I'm testing a bit to be sure there are no bugs
also have to finish the php-file for the stats on a webpage
I call the plugin "HeatShot-Master" and it works as the Messer-Jocke plugin does
Anyone an idea which sound I should use for the HeadShot-Master?

Sounds really great m8!

NICE job..

Possible to add an reset function? Just to clear headshot events only, and not an entire database eheheh! :)

Cheers

Morpheus

Morpheus 04-01-2005 08:27

Any news on this?

Cheers

Morpheus

Leichenklaus 04-01-2005 14:34

working on it, had no time last days....
found a sound which fits in my opinion... :D
http://thu.almis.de/cstrike/sound/misc/hsmaster.wav

Morpheus 04-02-2005 13:44

Eheh it sounds great.. :-)

We are also using the "sexy" sounds on our server.. :)

Leichenklaus 04-09-2005 11:20

HeadShot-Master Plugin ready for testing
so I post the zip file here first, perhaps I'll make a new plugin thread of it...

It's working exactly like Messer-Jocke does, stats running 1 week then it's reset


//UPDATE
go here to get the full version http://forums.alliedmods.net/showthread.php?t=13024

Morpheus 04-11-2005 06:40

Weeeee nice.. Will look on this tonight.. :)

Ehh just looked through the plugin, but I cant find anything where to put my MYSQL information in the sma file?? It is supporting MYSQL right? Because in the php file i find this:

Code:

//  put data in database

    $host = "localhost";  //  MySQL database hostname
    $user = "root";      //  login name
    $dbank = "mysql";    //  database
    $pw    = "";          //  password

Or am i wrong? Shouldnt the plugin tell where to send the information to the mysql or what?

Just wondering. :)

Ahhh craaap :( we dont use FTP access.. :(



Morpheus

Leichenklaus 04-11-2005 10:57

hm cause our gameserver has no mysql access I wrote the plugin using ftp access for downloading the data to webspace, then using php and mysql for display stats on website
if you have mysql access on your gameserver the plugin would be easier to script, cause you could store the data right into the database and your website could use it without going over ftp...

Morpheus 04-11-2005 13:34

We have MYSQL :), possible for u to fix it that way ?

Would be nice..

Thx again

Morpheus

Leichenklaus 04-11-2005 17:27

Yeah perhaps I should build in an "#if defined USING_MYSQL" block so everyone can choose if he wants to use mysql or ftp
should do this to Messer-Jocke too
will take some time cause I'm a bit busy atm....but hang on...

Morpheus 04-14-2005 05:29

Looking forward to it!

Thx

Morpheus

Morpheus 04-26-2005 05:03

Any updates on this one yet?

:shock:

Morpheus

Front Line 04-26-2005 05:18

Can anyone help me i do not know how to do php file types to display on my website at all any plz?

DO u just upload that file or what?

Morpheus 04-27-2005 03:04

You need some kind of perl script running for php!

But yes, then u just upload the file to ur web directory, and then u need to tell there database information !

Leichenklaus 04-27-2005 12:43

Quote:

Originally Posted by Front Line
Can anyone help me i do not know how to do php file types to display on my website at all any plz?

DO u just upload that file or what?

all u need is in the zip-file
just edit the php-file using your ftp and mysql data....like explained in the comments
or contact me @ #leichenklaus @ qnet

Morpheus 04-28-2005 03:55

IS this plugin ready for MYSQL? :shock:

Is it working with the headshots only?

Thx

Morpheus

Leichenklaus 04-28-2005 14:34

sorry it's not finished yet for mysql cause I got a lot's of work todo last weeks...
the head-shot master plugin is working for headshots only and works great using ftp access for stats on a website
I'm testing it on my server vip2.united-server.net:27000 #thu-clan >>> [-Hanau BattleZone-] and the stats can be viewed @ http://thu.almis.de/server/hs_master.php

Morpheus 04-28-2005 17:49

Looks great.. Hope for a MYSQL release soon :)

Thx

Morpheus

Leichenklaus 04-29-2005 01:11

Quote:

Originally Posted by Morpheus
Ehh just looked through the plugin, but I cant find anything where to put my MYSQL information in the sma file?? It is supporting MYSQL right? Because in the php file i find this:

Code:

//  put data in database

    $host = "localhost";  //  MySQL database hostname
    $user = "root";      //  login name
    $dbank = "mysql";    //  database
    $pw    = "";          //  password

Or am i wrong? Shouldnt the plugin tell where to send the information to the mysql or what?

Just wondering. :)

Ahhh craaap :( we dont use FTP access.. :(



Morpheus

now I read your post again and hm...so if you have a mysql database on your gameserver I guess you have your webserver (for php etc)on the same, aren't you?
So all you must do is to take the txt-file where the data is stored and put it in your mysql db and leave the ftp part @ the php-file:

$HS_Liste_Winner = file($dest_fileWinner);
$HS_Liste = file($dest_file);

the path @

$dest_fileWinner = "hsmasterOLD.txt"; // destination file for old list
$dest_file = "hsmaster.txt"; // destination file for new list

has to be the path to your files on the gameserver like
dest_fileWinner = "/<serverpath>/cstrike/addons/amxmodx/data/hsmasterOLD.txt";
dest_file = "/<serverpath>/cstrike/addons/amxmodx/data/hsmaster.txt";

OK?

Morpheus 04-29-2005 02:30

Well no actually !

Webserver and game server is on another server... And we dont have FTP running :(

Sorry...

Leichenklaus 05-01-2005 17:19

good news....the new HeadShot-Master plugin is ready for use.... :P
it includes MySQL-support and all files you need
go and get it over here http://forums.alliedmods.net/showthread.php?t=13024

the Messerjocke plugin will get a MySQL version too in some days

Morpheus 05-03-2005 03:26

Weeeee thx m8!

:)

Leichenklaus 06-12-2005 09:55

//UPDATE
Now the plugin is for MySQL-supported gameservers too.
uncomment //#define USING_SQL and recompile it
use messerjocke_sql.php for the stats on your website

Just download the updated zip-file and check the readme file for more information or install help

also made some changes to the php-files for easier changing style or language

Curryking 06-14-2005 14:39

Is it possible to disable that Bot-Knifekills are counted?
It's really annoying that a bot is messerjocke at our server and I have to edit the list ervery few days...


Cheers, Curry

Leichenklaus 06-14-2005 14:58

Yeah ...after the line

Code:

public client_death(killer,victim,wpnindex,hitplace,TK) {
add

Code:

if (is_user_bot(killer)) return
I add this to my next release
HF


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

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