Search:

Type: Posts; User: kung foo man

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. It should be rather easy, simply note the...

    It should be rather easy, simply note the numbers:

    0, 45, 90, 135, 180, 225, 270, 315, 360 (same as 0)

    And write down the corresponding degrees you see on the compass... after max 2/3 numbers...
  2. 1698 You can write a function like: ...

    1698

    You can write a function like:



    checkAngles() {
    while (1) {
    players = getentarray("player", "classname");
    for (i = 0; i < players.size; i++) {
  3. The last number is already the euler angle, in...

    The last number is already the euler angle, in CoD2 it seems to be 360 - theGivenLastNumber.

    Based on the image in CoD1, it could be -161 + 360 + 40 = 239
  4. Replies
    8
    Views
    360

    Depending on the amount of IP's, searching a...

    Depending on the amount of IP's, searching a linear array isn't very effective either. So we could escalate this into either "use a hashmap" or "do binary search of sorted IP's"

    How many IP's are...
  5. Replies
    8
    Views
    360

    You can take a look at...

    You can take a look at https://github.com/M-itch/libcod/blob/e58d6a01b11c911fbf886659b6ea67795776cf4a/libcod.cpp#L52

    Mostly self-explaining, you get a reference to the cvar and can just compare...
  6. Replies
    8
    Views
    360

    I wouldn't overcomplicate it, something like: ...

    I wouldn't overcomplicate it, something like:



    #include "stdio.h"
    #include "string.h"
    int main() {
    char *ips = "127.0.0.1 234.44.23.52 1.2.3.4";
    char *test1 = "1.2.3.4";
    char...
  7. This is a good question and IMO one of the key...

    This is a good question and IMO one of the key points that this community still needs to tackle.

    My first thought is to edit CoD2_mp.exe and turn CreateProcessA into a no-op, but I'm not even...
  8. Replies
    1
    Views
    333

    Nice, you share the source somewhere?

    Nice, you share the source somewhere?
  9. Replies
    2
    Views
    2,426

    From Name Script Manual, what does this mean? ...

    From Name Script Manual, what does this mean?



    May = many?
  10. Replies
    1
    Views
    2,041

    [ZeRoY wiki] D3DBSP

    https://wiki.zeroy.com//index.php/Call_of_Duty_2:_d3dbsp
  11. Replies
    0
    Views
    880

    C# for parsing XModel / XAnim / IWI

    Direct link (only in branch development_v2): https://github.com/Scobalula/Greyhound/tree/development_v2

    XModel:...
  12. Replies
    0
    Views
    977

    New Category: CoD File Formats

    Hey all,

    the biggest burden to make an open source CoD clone is to get the file formats right. You can spent weeks figuring out all the details, and no one ever did all the work yet.

    However,...
  13. Replies
    14
    Views
    49,976

    I added a monthly crontab now: @monthly bash...

    I added a monthly crontab now: @monthly bash cronMonthly.sh &

    cronMonthly.sh


    cd KILLTUBE
    node update_ssl.js


    update_ssl.js
  14. I just figured that you can send "Enter" via ^M,...

    I just figured that you can send "Enter" via ^M, for testing all commands:

    Start a new session called hurra: screen -AmdS hurra

    Send a command (or do it multiple times for testing): screen -S...
  15. Replies
    3
    Views
    1,686

    Which libcod do you use (mine, some old...

    Which libcod do you use (mine, some old precompiled .so, Vorons, Mitchs)?
  16. If you don't want to use B3 or any other...

    If you don't want to use B3 or any other log-reader-send-rcon-third-party-tool this you can use libcod:

    https://github.com/kungfooman/libcod/blob/master/gsc.cpp#L266

    Your example would be:

    ...
  17. So you have a .map and you compiled it with...

    So you have a .map and you compiled it with q3map2 and then want to load it in RTCW?

    Do you have a .bsp and hex-edited the version?

    What are you doing or trying (please add context)
  18. nextmap seems broken based on other posts aswell:...

    nextmap seems broken based on other posts aswell: https://www.dslreports.com/forum/r6253210-server-config-map-rotation-question-SoF2-Q3-eng

    Do you use old lnxded binaries or something new like...
  19. Replies
    19
    Views
    19,105

    What's the xmodel triangle/face limit?

    What's the xmodel triangle/face limit?
  20. Replies
    19
    Views
    8,289

    Instead of while (1) you can check while...

    Instead of while (1) you can check while (isDefined(self)) or use endon at top of method
  21. Yea, browsing/reading always worked, but...

    Yea, browsing/reading always worked, but creating/editing files messed things up, that's what I wonder about (for active development, so people don't need to rent a Linux box or deal with VMWare)
  22. Does using WinSCP to upload files to the local...

    Does using WinSCP to upload files to the local server mean that Windows/Linux still doesn't support proper file system sharing on the same machine?

    Last time I tried it I could read files, but...
  23. Replies
    4
    Views
    10,375

    What's the content of these packages? May be...

    What's the content of these packages?

    May be easy enough to just make a hashmap (key: ip, value: meta info of received packages) in C++ and drop these packages from libcod.

    Example code here:...
  24. Replies
    7
    Views
    21,792

    Wow, nice work! Was a bit confused what type...

    Wow, nice work! Was a bit confused what type "direction" is... until I saw it treated like an integer. Do you still work on the docs aswell?
  25. Replies
    7
    Views
    10,176

    Please always say which version you are using,...

    Please always say which version you are using, since manymaps differs:

    https://github.com/kungfooman/libcod/blob/master/libcod.cpp#L2082...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4