PDA

View Full Version : libcod Documentation



dacajoca
23rd March 2017, 20:01
I try to find some documentation about libcod (such as readme), but I can't find this. I mean, something about, what is libcod, why to use libcod, what is goals of libcod, what is difference libcod - classic script's. Can you please write some documentation or explain why to use libcod ?

guiismiti
23rd March 2017, 21:04
I try to find some documentation about libcod (such as readme), but I can't find this. I mean, something about, what is libcod, why to use libcod, what is goals of libcod, what is difference libcod - classic script's. Can you please write some documentation or explain why to use libcod ?

https://github.com/kungfooman/libcod/blob/master/README.md
https://github.com/M-itch/libcod/blob/master/README.md
https://github.com/voron00/libcod/blob/master/README.md

And a list of functions (not updated, according to Mitch)
https://znation.nl/cod4script/

Basically, Libcod adds new functions to your server, such as "getPing()".
It makes a lot of things possible, and you can add your own functions if you know how to write and compile.

dacajoca
24th March 2017, 01:24
I also read this "Readme" files, there is nothing explain. In this README files is only explanation how to install and nothing more.
Noone explain example, this "getPing", what do this function ?
In list of function's is only list of function's, without any explain what this function's do.
User's must know what this function do before apply this to server. Without any explain, I can only read code, and think about what this do, after that, I enable this on server and see: that is not what I think and I loose time. This happen with many users. Why man who make script don't simply explain this script ( like all other code's or mod's)?

Lonsofore
24th March 2017, 01:45
I also read this "Readme" files, there is nothing explain. In this README files is only explanation how to install and nothing more.
Noone explain example, this "getPing", what do this function ?
In list of function's is only list of function's, without any explain what this function's do.
User's must know what this function do before apply this to server. Without any explain, I can only read code, and think about what this do, after that, I enable this on server and see: that is not what I think and I loose time. This happen with many users. Why man who make script don't simply explain this script ( like all other code's or mod's)?

In fact, on https://znation.nl/cod4script/ you can find explains and examples both, if you click on function's name.
If you think, that this explain or example isn't clear - write here, ask us (but not about functions like getPing - you can understand meaning of it from the name!)

guiismiti
24th March 2017, 02:20
Or just perform a search, here on killtube, of the function you have doubts about.


Edit: I just found this
https://killtube.org/showthread.php?1869-Script-documentation&highlight=global+collision