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

Other KScript2 (Linux servers only)

Discussion in 'Modding [KAG]' started by sinitreo, Apr 29, 2014.

  1. sinitreo

    sinitreo Shopkeep Stealer
    1. Zen Laboratories

    Messages:
    66
    Zen Laboratories humbly presents a remake of KScript (originally created by Master4523 and Ardivaba for KAG Classic), with a slightly different approach, compatible with Beta.

    If you ever wanted to have a global ranking system:chicken:, ingame currency:gold_mat:, complete RPG system or special items available only for certain players and personal storages for them :chest:, KScript2 is here to help.

    Features:
    - Easily extendable parsing system
    - Handy services to help you
    - Example mods, which perform common tasks + Knight RPG Demo
    - Clever system of configuration

    Idea:
    KScript2 follows the same idea as the original KScript - parsing the RCON output and writing to it. You can easily extend parsing system to define your own game events, coming from vanilla kag or your own mods. Then you can perform ANY task on your server be it saving/reading to/from external database, requesting weather from the Internet, or just posting a message to your IRC channel. Finally you can either respond to server with your own custom code or make use of handy mods, which do it for you!.
    The entire behavior of KScript2 is defined in mods.

    Stability:
    KScript2 was battle tested on Black Death Servers. The entire global ranking system is done using this utility.

    Roadmap:
    A few helpful mods are already there. Now we will be focusing on documentation, adding new mods, examples and bugfixes. If the concept survives, we will move to more advanced examples and mods.
    You can report bugs and request common mods on the github repository or right in this thread.
    Feel free to post any ideas! :)

    Known Issues:
    Knight RPG Demo may have some weird bug which causes client side errors, when a player spawns.
    Working on fixing it -_-'


    Web, Docs, Getting started
    http://nitreo.github.io/kscript2

    Downloads
    You can either download KScript2 from:
    http://nitreo.github.io/kscript2
    or simply use terminal command:
    Code:
    git clone https://github.com/nitreo/kscript2
     
    Last edited: Apr 30, 2014
  2. voper45

    voper45 Arsonist
    1. Zen Laboratories

    Messages:
    38
    Great job sini :)
     
    LightTab2 likes this.
  3. makmoud98

    makmoud98 You are already DEAD Forum Moderator Staff Alumni Tester

    Messages:
    586
    Well done.
     
  4. sinitreo

    sinitreo Shopkeep Stealer
    1. Zen Laboratories

    Messages:
    66
    Basic ranking example added
     
    LightTab2 likes this.
  5. LightTab2

    LightTab2 Drill Rusher
    1. Zen Laboratories

    Messages:
    83
    Can you post it also on resources?
     
  6. sinitreo

    sinitreo Shopkeep Stealer
    1. Zen Laboratories

    Messages:
    66
    I'll probably do it after i add some good examples. i'm currently a bit busy as always at the end of the semester
     
    spl_itt_ing likes this.
  7. LightTab2

    LightTab2 Drill Rusher
    1. Zen Laboratories

    Messages:
    83
    No problem, I no need to use it, just more person will take look on this, after you`ll post it in resources.
     
  8. Chrispin

    Chrispin KAG Guard Tester

    Messages:
    380
    GJ, but wish it worked for Windows too!!!
     
  9. sinitreo

    sinitreo Shopkeep Stealer
    1. Zen Laboratories

    Messages:
    66
    There is nothing we can do about that, as RCON is only available on Kag Linux server