Go Back   Novahq.net Forum > draconem

Conversation Between draconem and Scott
Showing Visitor Messages 1 to 10 of 10
  1. draconem
    08-31-2017 10:37 PM
    draconem
    Sorry, had to remove the SSs from the post, damn photobucket asked me to upgrade for a non-free service, bastards!!!
  2. draconem
    08-31-2017 10:33 PM
    draconem
    Ok, finally NovaHQ DNSs got updated here, thos had to add an exception for my browser. Wololo!!!
  3. draconem
    08-31-2017 03:34 PM
    draconem
    I wonder how many stuff is 'hidden' in your tools... Wololo!!!

    Thanks, tho I am not a graphic designer, I try to do the best I can with the few tools I own.
  4. Scott
    08-31-2017 11:57 AM
    Scott
    The host tool disables the heartbeat from the dll because it accomplishes the same thing + extras. The host tool actually has an option for 3rd party lobby reporting as well, it's just hidden for the time being. I didn't have time last winter to finalize it. I will do that soon!

    Themes are very nice! It's nice to see what you did with the N00bby theme. Thanks for your contribution!
  5. draconem
    08-31-2017 10:12 AM
    draconem
    roger that.

    I know you have quite work to do on the tools, i.e. I just found that when using the DF2HostTool, the HeartBeat DLL stops updating the stats... Wololo!

    In the meantime check the STOCK template AKA "NovaHQ":

    ... and the "N00bby" template:

    Cheers.
  6. Scott
    08-30-2017 09:31 AM
    Scott
    I will update the message feature in the NovaHQ lobby this winter when I do the stats stuff. I believe the actual max length of the message field is 150 chars for the "release" version of the status script.

    Black Hawk Down has a limit of 60 via the game (it has a built in message field) so I just sort of used that as a guide.

    You can try up to 150, or increase the database "varchar" to 255 and even use 255 chars. However, my lobby will probably only support up to 150ish chars.

    Can't wait to see the template
  7. draconem
    08-29-2017 09:24 PM
    draconem
    - Just noticed the NOVAHQ and NOVAWOROLD.CC lobbies doesnt shows the "Message" feature.

    - It would be nice to manage the "message" as a "notes" field and larger than 60 chars, so hosts could add more info like a full URL of where to download the MOD or so.

    - I just finished "templating" the status.php for skins use, default skin called "novahq" (factory styling), I'm just gonna check if can improve the template styling.

    Cheers.
  8. Scott
    08-29-2017 09:10 AM
    Scott
    I see what you mean. I'm sure it's rare that someone is hosting a game server on the same machine as a website. BUT because it's PHP you can modify it. In the import.php script, if the $_SERVER['REMOTE_ADDR'] is your local IP address, you can do a simple:

    if($_SERVER['REMOTE_ADDR']=="127.0.0.1") {
    $_SERVER['REMOTE_ADDR']="public_ip";
    }

    If you do not know your public IP or it changes, you'll have to use an external service such as https://api.ipify.org/

    if($_SERVER['REMOTE_ADDR']=="127.0.0.1") {
    $_SERVER['REMOTE_ADDR'] = file_get_contents('https://api.ipify.org');
    }

    Hope that helps!
  9. draconem
    08-28-2017 09:36 PM
    draconem
    Hi... I got one issue with the status script...

    ... status shows the local game server, not the public one (http://df2.sytes.net/)

    Is there another way to update the public ip to the status database other than the $_SERVER['REMOTE_ADDR'] in the import.php script?, maybe a $_POST['PublicIP'] submision?

    In my coding I get the public IP thru a service called ipify (https://www.ipify.com/) by calling the "https://api.ipify.org" URL.

    The http://df2.sytes.net/ as Alt URL in the Netsock.ini doesnt works, so I had to use the local IP from the web server to make it work.

    Any ideas?

    Cheers.
  10. draconem
    08-20-2017 12:15 AM
    draconem
    Hey... Merry X-Mas, Happy NHQ birthday and so...

    So... if I wanted to use my own lobby using the awesome HeartBeat tool, whom do I need to make a BJ?

All times are GMT -5. The time now is 05:22 AM.




Powered by vBulletin®