1. 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

Windows [KAG Classic] Mysterious KAG Tool (MKT) + add-ons

Discussion in 'Community Dev Corner' started by Ceastel01, Sep 3, 2014.

Mods: Downburst, Mazey
  1. Ceastel01

    Ceastel01 Shark Slayer

    Messages:
    10
    WARNING:This tool is NOT endorsed or sponsored by KAG developers in any way. The KAG Team is not responsible for any damages to your machine caused by the use of this tool. Use at your own risk.

    [​IMG]
    [​IMG]
    Hello,
    I creating this tool to support KAG Classic as much as it's possible.
    It's for SERVER SIDE ONLY

    Last version : v0.08 (21/09/14) [OUTDATED]


    How to use :
    Run your Kag server.
    Then run MKT, select "KAG.exe" from process list.
    Next click "Attach" and "Continue".
    Welcome you are in home ::):
    To enable scripts you have to choose any script from list and then click "Enable"

    Important : before attach close your KAG client ...
    All scripts are also for non-premium servers !

    [v0.08]
    Working scripts :
    Water (basic)
    Water - unlimited oxygen
    Catapult full power
    Catapult unlimited stone
    Day&night cycle (basic)
    Wood Blocks
    Wood Blocks price fix
    BadBed
    Gold nick for all players
    Static players & star as class
    Invert bomb timer
    FlyMod
    Instantly delete blocks after collapse
    After collapse transform blocks into dirt
    Editor ON/OFF . ( when off editor hack doesn't work)
    sv_gold - switch


    Changelog:
    v0.081
    -fix editor switch(?)
    v0.08
    -----------
    -Instantly delete blocks after collapse
    -After collapse transform blocks into dirt
    -Editor ON/OFF .
    -sv_gold - switch
    -----------
    v0.05 :
    ------------
    -BadBed
    -All players gold
    -Static players & star as class
    -Invert bomb timer
    -FlyMod
    ------------
    v0.02 :
    ------------
    -Initial release
    ------------

    New!
    How to add Lanterns, Flyboards , elevators and much more (Windows/Linux)
    [​IMG]
    [​IMG]
    As I found sometime ago we can make items for non-premium even without hacking code.
    With help come to us function "block_collider"
    We can use it on premium serv as much as on normal servs.
    Some flyboards and other items you will be able to download on end of this post

    This is example how should look new item in /Entiltes/Rooms/nameofgamemode_Room.cfg
    longboard; genericblock; Entities/Items/longboard.cfg; GUI/server_icons.png;-; 17; 16; Fly with your friends!; c150;

    How change item to make it workable for non-premium servs also?
    I show it on lantern.cfg
    Go to this file (entities/items/lantern.cfg)
    And open with text editor

    Usualy at 44 line you will have :
    $ball_factory = generic_ball

    Only one thing what you have to do is replace it with :
    $ball_factory = block_collider

    To fix colision effect you should reduce f32_ball_width and f32_ball_height.

    To spawn items use command :
    /rcon addBlob(`genericblock`, `Entities/Items/NameofItem.cfg`, X, Y, 1);
    x, y replace with number for example 400 1400

    How make animated/movement sprite?
    TODO ( you can see how it work in ready files )

    FAQ:
    After turn on day&night cycle script it run too fast.
    Button "set cycles" should help.

    Before enable wood blocks script you have to replace builder_blocks.cfg (in KAG/Base/Rules/ctf/...)
    with a one from this topic (it is in zip pack). After enable scripts on wood blocks switch turn on also price fix & price fix2

    On servs which run with this tool I will be have purple nick.
    Why?
    I wanna to have clear statisctics . It don't give to me admin or anything it's only simply purple nickname.

    Credits ?
    Ceastel & Samrrr ::):


    //EDIT: @mods, go read up in mod forums before you do something. ~Galen
     
    Last edited: Dec 27, 2014
    SnIcKeRs likes this.
  2. PUNK123

    PUNK123 Hella wRangler Staff Alumni Tester

    Messages:
    1,275
    basically porting beta things into classic? ballzy ill give you tht
     
    Asu and Klokinator like this.
  3. Uh... they were always in classic, he's just giving free players premium features of classic. Not sure how ethical it is.
     
    Noburu likes this.
  4. master4523

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

    Messages:
    378
  5. Ceastel01

    Ceastel01 Shark Slayer

    Messages:
    10
    @master4523
    To make it clear I don't made anything bad.
    I created account in 2011 (account with another nick)
    I playing in kag for 3 years it's even more than you so why you insult me for non reason ?!
    You are guard so one more time why you insult me for non reason ?
    I don't care what samrrr or his any friend make they can do what ever they want.
    I know samrrr, it's reason to tell to me 'I'm killing Classic '?
    If you know anyone who make bad things that essentially mean YOU also making bad things ?
    Basicly I don't care about it .
    I know a lot of players who wanted my scripts and I released them.
    Samrrr helped to me with some scripts and big thanks to him for it.
    You have nothing to this or I don't know about something.

    File is clear is dettected by a few weak anti-virus because of process attachment code.
     
  6. Is this for use by servers or players? It could easily, in the wrong hands be used for hacks.
     
  7. Ceastel01

    Ceastel01 Shark Slayer

    Messages:
    10
    It can be use ONLY by server side .
     
  8. Ah, that makes a lot more sense.
     
  9. master4523

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

    Messages:
    378
    I didn't mean for you to take it personally (I'm sorry if you did), and I've never insulted you (quote me if I'm wrong).
    What I actually meant is that samrr doesn't really have a great reputation on KAG's community, and having his name on a program may look a bit suspicious at first.

    Thanks for the clarification though, and good job with the scripts. Do you think it would be possible to add zombies and kegs as well?
     
  10. PUNK123

    PUNK123 Hella wRangler Staff Alumni Tester

    Messages:
    1,275
    i meant it was ballsy he was bringing paid features to the unpaid version and then posting it on the forum
     
    Klokinator likes this.
  11. Ceastel01

    Ceastel01 Shark Slayer

    Messages:
    10
    Update.
    I added small tutorial how make new items on non-premium servers.
    [​IMG]

    Yep my main priority is make almost all paid features to the unpaid version.
    There is nothing to worry about it because I have permission to do it from Geti

    @master4523
    My english is crappy but enought to understand what you wrote...
    I know bad reputacion of samrrr. I wrote this program by myself and I can assure there is not a virus etc. . I gave samrrr nick on creator list because of him big help with some scripts inside program.
    About zombies, kegs.
    I never tried before but I think there can be way with transforming items with "block_collider" fuction (like in first post)
     
  12. bunnie

    bunnie Haxor Tester

    Messages:
    1,319
    Really? We would like more proof... At least me, because... premium things for non-premiums? Kinda weird, even if server-side only. To be honest, these who paid for these features in classic can feel that it's unfair. Also, geti doesn't really support classic, so im curious if this is true?
     
    Elf likes this.
  13. you seeing this thread should be enough of a proof
     
  14. PUNK123

    PUNK123 Hella wRangler Staff Alumni Tester

    Messages:
    1,275
    i find it unfair because i bought premium for perks like this but if geti is ok with less incentive for people to throw him money then i guess i can get over it
     
  15. Klokinator

    Klokinator Such Beta
    1. Aphelion's Roleplay

    Messages:
    1,443
    People having water and wood blocks in classic won't really devalue the more rock-solid bugless version of kag we have on steam. I mean, it's not bugless, but it plays more fluidly and has better FPS. Adding in some features from the paid version won't really kill the main game at all when the animations in classic are clumsier and not half as fluid.
     
  16. Klok, he means premium classic.
     
    Klokinator likes this.
  17. Wargod-Loki

    Wargod-Loki Haxor

    Messages:
    298
    Basicly a good thing, if ur not one of the guys who bought the game :thumbs_up:::P::thumbs_down:
     
  18. Ceastel01

    Ceastel01 Shark Slayer

    Messages:
    10
    Update to v0.05. (check changelog)
    This time I added few features which is ever impossible to do 'normally' with premium servers (flymod etc.)
    [​IMG]
     
    master4523 likes this.
  19. Thats just invis water...?
     
  20. Dargona1018

    Dargona1018 Ballista Bolt Thrower

    Messages:
    569
    Looks more like it's taking the properties of water (being able to float) without drowning.
     
Mods: Downburst, Mazey