1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

KScript - Server Scripting for KAG Classic

Discussion in 'Community Dev Corner' started by master4523, Mar 26, 2013.

Mods: Downburst, Mazey
  1. FranticIch

    FranticIch Let me be your tank... Donator

    Messages:
    234
    Gey guys, maybe I missed something, but I just updated Kscript and I´m getting this error when starting it:
    Code:
    { [Error: connect ECONNREFUSED]
      code: 'ECONNREFUSED',
      errno: 'ECONNREFUSED',
      syscall: 'connect' }
    Socked closed
    Reconnecting in 5 seconds...
    
    I did everything like I did before.

    Edit: Fixed, just made a dumb mistake.
     
  2. Coookie

    Coookie Shopkeep Stealer

    Messages:
    81
    I had the same problem ...
    But I'm running *Windows*, that's for linux ...
    Also windows users, download an Linux 5.1 operating system and run it ;)
     
  3. FranticIch

    FranticIch Let me be your tank... Donator

    Messages:
    234
    It´s important that the server is linux, not Kscript, you know? Or did I get that wrong..?
     
  4. Coookie

    Coookie Shopkeep Stealer

    Messages:
    81
    I mean that the server can run in windows, but only Linux computers can hold tcpr :(
    So I do something dang: Installed both Linux and Windows on my harddrive and now when I wanna start server ... I just have to double click on the .sh file ...
     
  5. FranticIch

    FranticIch Let me be your tank... Donator

    Messages:
    234
    Or just rent a Linux server :smug:
     
  6. Coookie

    Coookie Shopkeep Stealer

    Messages:
    81
    Ya Ya Ya...
    But I won't rent, i want host, that's the difference. :argh: pwned!
     
  7. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    Back on topic please. This topic is not about tcpr nor server hosting.
     
    Varion and Mazey like this.
  8. Zer0Striker

    Zer0Striker Shipwright

    Messages:
    139
    I thought that you could do it with virtual box.
     
  9. PainGiver

    PainGiver Arsonist

    Messages:
    78
    You can.
     
  10. Coookie

    Coookie Shopkeep Stealer

    Messages:
    81
    What's *virtual box* ?!
     
  11. Zer0Striker

    Zer0Striker Shipwright

    Messages:
    139
    A program that allows you to use other operating systems, without having to reboot and all that stuff. They told me to use debian for linux, look it up, its free to use.
     
  12. Coookie

    Coookie Shopkeep Stealer

    Messages:
    81
    Wow, I downloaded it and I have an old Linux 5.1 disc, so I can install now this operating system and run my server both Windows 7 and Linux ?
     
  13. jammer312

    jammer312 Bison Rider Tester

    Messages:
    46
    Yeah
     
    Coookie likes this.
  14. Coookie

    Coookie Shopkeep Stealer

    Messages:
    81
    :r_flex::eek: :flex:
    Hosting KScript ...
     
  15. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    These links are in french because Coookie is french.
    Also, it was idiot to buy a Linux disk, it is free u_u

    Use Ubuntu in dualboot with Windows ( I did it already, it is safe ) :
    http://doc.ubuntu-fr.org/wubi

    ( ! ) It does NOT support UEFI/EFI OS! Generally, the new computers running under Windows 8 uses it. When you installed Wubi, everything looks normal, but when you restart on Ubuntu, nothing is showed.

    ( ! ) Hybrid shutdown of W8 should make conflicts with Ubuntu.

    ( ! ) Malwares can affect your Windows if you are in Ubuntu, and reverse. Use antivirus on both systems.

    Using Windows apps in Ubuntu :
    http://doc.ubuntu-fr.org/wine

    KAG works with Linux, so you can play on it when your server is started with KScript ;)
     
    Coookie likes this.
  16. Cirom

    Cirom Bison Rider

    Messages:
    162
    Any idea how to connect to a Virtualbox server hosted on your own PC, btw? I'm trying to switch to Debian VB to set up kScript on my server, but I can't figure out how to connect to itself. (I've tried 127.0.0.1, 192.168.x.x*, my actual IP... all on the right port, and I HAVE portforwarded [as people, including me, could connect when it was Windows-hosted])

    * where x is my computer's internal IP.
     
  17. Oh no, kagdb is still down.
     
  18. Cirom

    Cirom Bison Rider

    Messages:
    162
     
  19. Coookie

    Coookie Shopkeep Stealer

    Messages:
    81
    First point, I'm not only french, I'm Polish, English (PL + FR as my native languages).
    Next point, I only said that I bought it, because I were downloading Linux Disk for 3 hours, that's like buying it (boring...)
    Third point, You're so epic, thanks ! :D
     
  20. master4523

    master4523 Masterful KAG Guard Global Moderator Tester
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    378
    On your debian, open a console and type: ifconfig
    Look for the internal IP (usually 192.168.x.x)
    Use this IP in kscript_config.cfg
    Make sure that your KAG server has sv_tcpr set to 1
     
Mods: Downburst, Mazey