tAPI Flankers Dungeon Generator

Discussion in 'Released' started by Flanker, Dec 28, 2014.

  1. Logodum

    Logodum Terrarian

    Yes, mod added ores still spawn.
     
  2. Kefke

    Kefke Steampunker

    That's great! Think I'll give this a try for my next world.
     
  3. Seeabass

    Seeabass Skeletron Prime

    I would guess so, it only makes sense
    EDIT: is the Thorium + mod compatible? It's a really cool mod :D
     
  4. Logodum

    Logodum Terrarian

    Yes it works with Thorium+ mod.
     
  5. Seeabass

    Seeabass Skeletron Prime

    yay
     
  6. Logodum

    Logodum Terrarian

    Most of the mods are not multiplayer compatable. Next time do more research on the mod, if you want to use it in multiplayer.
     
  7. Evsey9

    Evsey9 Terrarian

    Research?
    What :red:ING RESEARCH HAVE COULD I DONE?!
     
  8. Logodum

    Logodum Terrarian

    You could have just asked first, if it's compatable or not.
     
  9. Luna_Steambath

    Luna_Steambath Skeletron

    Hello, I'm one of the developers Tremor mod. Can I help you?

    I used this code to create a spawn monsters:
    public override bool CanSpawn(int x, int y, int type, Player spawnedOn)
    {
    /*return true;
    for(int i=0; i<Main.player.Length; i++)
    {
    if(Main.player==spawnedOn)
    {
    bool spawn = DungeonGen.zoneFleshRuin && !Main.hardMode;
    return spawn;
    }
    }*/
    return false;
    }
    But the monsters just don't spawned, I don't know what the problem is. Help. :(
     
  10. Luna_Steambath

    Luna_Steambath Skeletron

    HELP ;(
     
  11. Flanker

    Flanker Terrarian

    DungeonGen.zoneFleshRuin is an array, it should be:
    bool spawn = DungeonGen.zoneFleshRuin && !Main.hardMode;

    also all code is commented and return true is at the beginning. It should look like that


    public override bool CanSpawn(int x, int y, int type, Player spawnedOn)
    {
    for(int i=0; i<Main.player.Length; i++)
    {
    if(Main.player==spawnedOn)
    {
    bool spawn = DungeonGen.zoneFleshRuin && !Main.hardMode;
    return spawn;
    }
    }
    return false;
    }

    --- Double Post Merged, Jan 29, 2015 ---
    Everthing in brackets dissapeared so maybe you did used it as array. Give me file with code in pm
     
  12. Logodum

    Logodum Terrarian

    Hey Flanker, are you still working on the mod ?
     
  13. Flanker

    Flanker Terrarian

    I didn't do anything with mod yet. A bit busy and tired
     
  14. Flanker

    Flanker Terrarian

    Released new version 1.4.2.
    Fixed crashes on multiplayer or at least a hope it is fixed. It would be great if someone who plays this mod on multiplayer confirm it.
     
  15. MarioKart7z

    MarioKart7z Plantera

    Do you even use Visual Studio bro? it tells you how to fix any errors in the code
     
  16. Kefke

    Kefke Steampunker

    Tools like that help, but they aren't always reliable.
     
  17. Lyra

    Lyra Skeletron

    Whenever I get within spawning range of one of your dungeons, the mod's enemies won't stop spawning anywhere I go, even to another world, until I restart the game, and they're blocking out ordinary mob spawns too, and spawning even when my NPCs should stop it.
     
  18. Flanker

    Flanker Terrarian

    Fixed
     
    Lyra likes this.
  19. Fortune

    Fortune Skeletron Prime

    If you dont mind me asking will this mod be updated to 1.3?