It would be cool to make faststats use a template
system. The output.c is kind of a wierd way to do it,
and someone unfamiliar with C would not be able to
modify the output.
Adam:
This is an idea I've been thinking about from the outset of
the project, but have some small issues I'd like to work
out before we implement this. Do you know of any other
stats packages that do this now? I would just like to keep
the speed of the program the number one priority, but if it
makes sense we can take a look at it.
One immediate change I was looking at was getting
stylesheets working so you can customize all of the output
by modifying the style sheet in header.html. That would be
a much easier change to make right now to allow more user
customization.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it would cool to make a little script that would ask you a
few questions, then input those into the header.html... and
that would be a pretty decent solution.
that stats package I've been using (log_anal) uses
templates. That package is written in java, and is REALLY
slow. the website for it is: http://server.counter-
strike.net/log_anal . I think with this new version
released, we might completely drop log_anal, and go solely
to faststats... but we'll see what the players want.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm working on a pseudo scripting language for output right
now
basically i'm making up the syntax as i go, but i want it
to be powerful enough to do anything you need yet not be
absolutely slow as hell. right now its close to basic in
syntax (since basic is easy to learn and easy to parse)
currently i have planned:
partially implemented:
- variables
only floating point numbers are implemented currently, but
strings will be implememented after i get some sleep
- basic math
+,-,*,/,^ are implemented already. no order of operations,
but you get parenthesis. i'd like to include methods for
truncation, rounding and modulus too. order of operations
will be considered but not likely (be glad i didn't make
this thing reverse polish to make it easy for myself)
- print
kind of stupid to not have this, currently prints
variables and literal strings. all floats are printed w/ 2
decimal points right now. i'll think of a better way to do
output later
not implemeneted yet, but will be for sure:
- string operations
at least concatenation, substring creation will be
implemented. maybe letter by letter access will be later.
- for/while loops
- if-else statments
- accessing player data variables (skill, kills, deaths,
etc)
features that may not be implemented, but considered:
- fully functional functions
the goal is recursion capable functions, although i really
have no idea what you'd recurse with it. maybe draw
fractals in text or something.
- more advanced data types
arrays, lists, etc
arrays might be the only thing worth writing
- goto
probably not. i'd rather do the functions instead of goto
that's it for now
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=10966
Adam:
This is an idea I've been thinking about from the outset of
the project, but have some small issues I'd like to work
out before we implement this. Do you know of any other
stats packages that do this now? I would just like to keep
the speed of the program the number one priority, but if it
makes sense we can take a look at it.
One immediate change I was looking at was getting
stylesheets working so you can customize all of the output
by modifying the style sheet in header.html. That would be
a much easier change to make right now to allow more user
customization.
Logged In: YES
user_id=19298
it would cool to make a little script that would ask you a
few questions, then input those into the header.html... and
that would be a pretty decent solution.
that stats package I've been using (log_anal) uses
templates. That package is written in java, and is REALLY
slow. the website for it is: http://server.counter-
strike.net/log_anal . I think with this new version
released, we might completely drop log_anal, and go solely
to faststats... but we'll see what the players want.
Logged In: YES
user_id=26366
I'm working on a pseudo scripting language for output right
now
basically i'm making up the syntax as i go, but i want it
to be powerful enough to do anything you need yet not be
absolutely slow as hell. right now its close to basic in
syntax (since basic is easy to learn and easy to parse)
currently i have planned:
partially implemented:
- variables
only floating point numbers are implemented currently, but
strings will be implememented after i get some sleep
- basic math
+,-,*,/,^ are implemented already. no order of operations,
but you get parenthesis. i'd like to include methods for
truncation, rounding and modulus too. order of operations
will be considered but not likely (be glad i didn't make
this thing reverse polish to make it easy for myself)
- print
kind of stupid to not have this, currently prints
variables and literal strings. all floats are printed w/ 2
decimal points right now. i'll think of a better way to do
output later
not implemeneted yet, but will be for sure:
- string operations
at least concatenation, substring creation will be
implemented. maybe letter by letter access will be later.
- for/while loops
- if-else statments
- accessing player data variables (skill, kills, deaths,
etc)
features that may not be implemented, but considered:
- fully functional functions
the goal is recursion capable functions, although i really
have no idea what you'd recurse with it. maybe draw
fractals in text or something.
- more advanced data types
arrays, lists, etc
arrays might be the only thing worth writing
- goto
probably not. i'd rather do the functions instead of goto
that's it for now