You want to record how many kills a player gets inside an event? in total? in one login?... Regardless it's fairly simple to do..
Setup a value (either server wide or just for the client)
eg: public int/uint/byte/ushort VariableName = 0;(depends on max value you want... uint is prob best as it is positive numbers with a LARGE range)
Then go to wherever your kill code is and run your conditions (eg: If(GC.MyChar.Map == ***)
then just do
GC.MyChar.VariableName++;
or
Program.VariableName++;
depends on where you setup your value.
It's all very simple stuff to do really... if you want it for only inside an event then clear it (set back to 0) once finished... if you want it to be for character lifetime then simply save/load it from the database the same as any other variable the character has.
Honestly this is VERY simple stuff on a level of coding knowledge that EVERYONE looking to make a server should possess. If you do not then I suggest learning some programming before going any further.
Take a week or two to focus on learning proper programming in C# and then go back and look at where you are making your mistakes.
Counter-Kill Icon 04/19/2010 - CO2 Private Server - 0 Replies Does anyone know the byte of the counter kill icon?
Or where i could find it in the client
Thanks
5165 Counter kill (where is it) 04/10/2010 - CO2 Private Server - 6 Replies I have a privater server for 5165 I heard someone sells counter kill in game. Any know who or how I can add it.
Need Kill Counter 11/20/2009 - SRO Private Server - 0 Replies it be nice when someone have one :P
thx
counter kill 08/04/2008 - Conquer Online 2 - 2 Replies i have 2 archer lvl 130 non RB
1 show counter kill and 2nd don't show can i make any edit to show counter kill in all windows
can any one help me