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

Dungeons & Zombies Final (dead on arrival)

Discussion in 'Game modes' started by Strathos, Aug 19, 2013.

  1. Strathos

    Strathos KAG Guard Tester

    I thought I would leave this here, where it can Rest In Peace among its comrades rather than rot in my hard drive.

    The GameMode is finished and stable except for one and fatal exception: the server will stop responding every 24 hours or so. This is a big problem for the room system, since decorations and stored coins don't get saved. On the plus side, room ownership (password) is not affected.

    So, what is this about? Dungeons & Zombies is another take on the zombie invasion thing. It's a completely different GameMode than Zombie Fortress (except for the zombies, of course) that focuses on dungeon exploring, surviving and looting and leaves out building and managing migrants.

    You begin your adventure at the 'generic inn', where you can choose between 3 different warrior classes (introducing WarHammer!), buy top notch adventurin' equipment, food (there's cake - zombies love it) and rest to heal your wounds. Twice a day, the dungeon portal opens. If you dare venture in you will find yourself in the darkness of the underworld, where hordes of undead will try eat your brainz. Now I won't brag here, but I'm quite proud of the waves system: the dungeon adapts to the players' performance and will throw at you and your adventuring party (somewhat randomly) more difficult monster according on how fast you kill. The more you kill, the harder it gets but also the more treasure you get! Every time a room spawns zombies, a chest full'o coins appears. The portal to the surface opens once a day and if you manage to get out you can spend your coins on some stuff including personal rooms.

    The rooms system:
    You can buy your own room. Basically you get enough coins, go to an empty room and buy it. You can then set a passcode to which the room will open. Only those that know the code can get inside. Every room has a chest where you can store coins. There's also a bed for restoring your health for fewer coins. Rooms can be decorated with a variety of floating items (sprites).
    Detailed instructions inside the game.
    Setting up your room video: https://www.youtube.com/watch?v=awUotkly2yY

    Other notes:
    *13 zombies types: arm, fastSkeleton, groundChicken, skeleton, flyingChicken, groundGreg, zombie, groundWraith (will knock you out), flyingOrb (this one is original), fireWraith (don't mess with it), flyingGreg, flyingFireWraith (impending doom), ZKnight (you better run!). Each one was carefully tweaked.
    *48 or so rooms for people to inhabit.
    *A few lanterns, including TrueSight - the legendary, plutonium-based light-producing-device.
    *use !timeleft or /timeleft to find out when the portals open

    You will need KScript: https://forum.kag2d.com/threads/kscript-server-scripting-for-kag-classic.12629/
    Unzip D&Z.zip to your Base folder
    Unzip kscript.zip to your kscript folder
    You need to specify the D&Z seclevs path in seclevscfgpath.txt (seclevsmod)
    I think that's about it.

    My big thanks to master4523 for kscript and his eternal patience to my JScript questions. To Ardivaba for trying to pass on me his mad coding skills and his big help in the roomsystem. To Mazey and VanHuek for kindly providing hosting. And to all the testers ( I won't name because I will leave out a lot ).

    P.S. I had some EPIC screenshots, but my hardrive died on me. I actually regret the loss. Picture a group of 7 or so adventurers in a dim room - stars shinning through a gap in the wall. Zombies coming at both sides. Knights holding their ground at the extremes while archers shoot arrows like mad from the center. Bomb explosions. Nasty jumping chickens. Everything at the same time. Awesome.
    P.S.2 If you have no idea how to get this running, let it pass by. It's yesterday's news!
    P.S.3 If you check the code, pardon the mess. This gamemode was basically my drive to learn javascript.

    Some Screenshots:

    I had a ton of fun getting this to work. Hopefully I can bring some ideas to KAG Beta : )

    Attached Files:

    Norris, VanHuek, xChapx and 5 others like this.
  2. This was probably the most successful Modded Classic game mode (other than RPing, which is totally different). This has also gotten me re-interested in KAG :3

    I'm looking forward to studying the error and attempting to fix it. Thank you to all who contributed in making this epic gamemode (Strathos, master4523, Ardivaba and perhaps Mazey), and hopefully, I shall host it within the next day or so on an Australian server!
    Froghead48 and Strathos like this.
  3. Strathos

    Strathos KAG Guard Tester

    Best luck! If it is related to the log sizes, increasing the interval at line 233 should help.
  4. Hella

    Hella The Nightmare of Hair Global Moderator Donator Tester

    This server was definitely incredibly good fun, just as all your game modes are.

    Donkey Kong was also amazing, though. Just saying.
    Froghead48 and Strathos like this.
  5. master4523

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

    Could you please decrement my name by 3?

    This mod brings back good memories. I might host a server for a few days, if anyone's interested.
  6. Strathos

    Strathos KAG Guard Tester

    Thanks, Hella. There's no better reward than seeing players enjoy my stuff.

    Whoops! Fixed.
    I'd definitely play there : )
    buck_eats_toast and Froghead48 like this.
  7. Mazey

    Mazey Haxor Global Moderator Forum Moderator Staff Alumni Donator Official Server Admin

    I remember Master hosting the pre pre pre pre pre-alpha version, you had 3 tunnels at start and you'd get to a room with zombies which you must kill and after you could break some doors and 'race for the chest'. After the chest there were another 3 tunnels which lead to new rooms with more difficult zombies.
    That was really fun lol. By then I think we never thought it was going to be this.

    Also I might be able to run it in the US, I'll see if I got some spare time and some energy.
  8. kiaran

    kiaran Ballista Bolt Thrower
    1. Aphelion's Roleplay

    are you going to do this on beta