[help]Mob positioning

10/26/2013 18:48 bobet01#1
Hi! I'm working on this hack of moving certain mobs to certain locations so I can kill it with 1 scoop some people say its mob vac or something.. I did some research and found out its somehow related to data35 and data 40 but the problem is I don't even know where to begin with.. I mean what lua should I edit or what part of the lua code should I edit or add. :( can anyone teach me or give me some clues or hints? If it's really secretive pls pm me. I've researching this thing for 4 days but to no avail.
10/27/2013 14:10 Parampaa#2
I used my private Item vac, the mobs get killed automatically somewhere but the drop fall above my head. No need to move to collect drops, for the stage change, it's automatically too.

Just some tips, I manipulated data035, just it. Or if you are 'pro', take a look at data040, learn the function inside. The easiest way is just edit data035. :D
10/27/2013 15:32 bobet01#3
thanks for the tip bro, I guess I will have to study first about data035. Is it related to the START_POS thing? or do I have to add another set of code?
10/27/2013 17:17 Adrian420#4
Code:
STAGE_LIST = {
  DUNGEON_MAP = {
    STAGE0 = {
      SUB_STAGE0 = {118, 67},
      SUB_STAGE1 = {159, 67}
    },
    STAGE1 = {
      SUB_STAGE0 = {229, 67},
      SUB_STAGE1 = {270, 67}
    },
    STAGE2 = {
      SUB_STAGE0 = {332, 67}
    },
    STAGE3 = {
      SUB_STAGE0 = {
        394,
        67,
        TRUE
      }
    }
  },
  STAGE0 = {
    WORLD_ID = WORLD_ID.WI_RUBEN_SWAMP_STAGE1,
    START_MOTION = TRUE,
    READY_NPC = {
      NPC_UNIT_ID.NUI_BENDERS_THIEF,
      NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
      NPC_UNIT_ID.NUI_TREE_KNIGHT,
      NPC_UNIT_ID.NUI_CHICKEN,
      NPC_UNIT_ID.NUI_FAIRY_GUARDIAN,
      NPC_UNIT_ID.NUI_THIEF_THIN_ZERO
    },
    SUB_STAGE0 = {
      START_LINE_SET = 1,
      MAIN_LINE_SET = 2,
      END_LINE_SET = -1,
      GO_TYPE = GO_TYPE.GT_RIGHT,
      CLEAR_COND0 = {
        CLEAR_CONDITION.CC_TIME,
        CLEAR_TIME = 1,
        NEXT_STAGE0 = {
          CLEAR_TYPE.CT_SUB_STAGE,
          0,
          1,
          100
        }
      },
      CURTAIN_GROUP = {
        {
          LINE_INDEX = 11,
          AT_START = FALSE,
          LOOK_LEFT = TRUE
        }
      },
      NPC_GROUP = {
        {
          NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
          START_POS = {1}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
          START_POS = {2}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {7}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {11}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
          START_POS = {13}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_CHICKEN,
          START_POS = {15}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_CHICKEN,
          START_POS = {17}
        }
      },
      TRIGGER_LIST = {}
    },
    SUB_STAGE1 = {
      START_LINE_SET = 1,
      MAIN_LINE_SET = 2,
      END_LINE_SET = -1,
      GO_TYPE = GO_TYPE.GT_RIGHT,
      CLEAR_COND0 = {
        CLEAR_CONDITION.CC_TIME,
        CLEAR_TIME = 1,
        NEXT_STAGE0 = {
          CLEAR_TYPE.CT_STAGE,
          1,
          0,
          100
        }
      },
      CURTAIN_GROUP = {
        {
          LINE_INDEX = 11,
          AT_START = TRUE,
          LOOK_LEFT = FALSE
        }
      },
      NPC_GROUP = {
        {
          NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
          START_POS = {23}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
          START_POS = {24}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {34}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {35}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {36}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_FAIRY_GUARDIAN,
          START_POS = {29}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
          START_POS = {43}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_FAIRY_GUARDIAN,
          START_POS = {47}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {40}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {49}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BOX,
          START_POS = {35},
          ACTIVE = FALSE,
          GAGE_BAR = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_RUBEN_SWAMP_GATE,
          START_POS = {54},
          ACTIVE = FALSE,
          GAGE_BAR = FALSE,
          NO_DROP = TRUE
        }
      },
      TRIGGER_LIST = {}
    }
  },
  STAGE1 = {
    WORLD_ID = WORLD_ID.WI_RUBEN_SWAMP_STAGE2,
    READY_NPC = {
      NPC_UNIT_ID.NUI_BENDERS_THIEF,
      NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
      NPC_UNIT_ID.NUI_TREE_KNIGHT,
      NPC_UNIT_ID.NUI_CHICKEN,
      NPC_UNIT_ID.NUI_FAIRY_GUARDIAN,
      NPC_UNIT_ID.NUI_THIEF_THIN_ZERO
    },
    SUB_STAGE0 = {
      START_LINE_SET = 1,
      MAIN_LINE_SET = 2,
      END_LINE_SET = -1,
      GO_TYPE = GO_TYPE.GT_RIGHT,
      CLEAR_COND0 = {
        CLEAR_CONDITION.CC_TIME,
        CLEAR_TIME = 1,
        NEXT_STAGE0 = {
          CLEAR_TYPE.CT_SUB_STAGE,
          1,
          1,
          100
        }
      },
      CURTAIN_GROUP = {
        {
          LINE_INDEX = 1,
          AT_START = FALSE,
          LOOK_LEFT = TRUE
        }
      },
      NPC_GROUP = {
        {
          NPC_ID = NPC_UNIT_ID.NUI_BENDERS_THIEF,
          START_POS = {6},
          IS_RIGHT = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {7}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BOX,
          START_POS = {13},
          ACTIVE = FALSE,
          GAGE_BAR = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BENDERS_THIEF,
          START_POS = {11},
          IS_RIGHT = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {16}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {20}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {22}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BENDERS_THIEF,
          START_POS = {24},
          IS_RIGHT = FALSE
        }
      },
      TRIGGER_LIST = {}
    },
    SUB_STAGE1 = {
      START_LINE_SET = 1,
      MAIN_LINE_SET = 2,
      END_LINE_SET = -1,
      GO_TYPE = GO_TYPE.GT_RIGHT,
      CLEAR_COND0 = {
        CLEAR_CONDITION.CC_TIME,
        CLEAR_TIME = 1,
        NEXT_STAGE0 = {
          CLEAR_TYPE.CT_STAGE,
          2,
          0,
          100
        }
      },
      CURTAIN_GROUP = {
        {
          LINE_INDEX = 10,
          AT_START = TRUE,
          LOOK_LEFT = FALSE
        }
      },
      NPC_GROUP = {
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {28}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BENDERS_THIEF,
          START_POS = {30},
          IS_RIGHT = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BENDERS_THIEF,
          START_POS = {33},
          IS_RIGHT = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BENDERS_THIEF,
          START_POS = {36},
          IS_RIGHT = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {40}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {45}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {48}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {52}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BOX,
          START_POS = {46},
          ACTIVE = FALSE,
          GAGE_BAR = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_RUBEN_SWAMP_GATE,
          START_POS = {58},
          ACTIVE = FALSE,
          GAGE_BAR = FALSE,
          NO_DROP = TRUE
        }
      },
      TRIGGER_LIST = {}
    }
  },
  STAGE2 = {
    WORLD_ID = WORLD_ID.WI_RUBEN_SWAMP_STAGE3_1,
    READY_NPC = {
      NPC_UNIT_ID.NUI_BENDERS_THIEF,
      NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
      NPC_UNIT_ID.NUI_TREE_KNIGHT,
      NPC_UNIT_ID.NUI_CHICKEN,
      NPC_UNIT_ID.NUI_FAIRY_GUARDIAN,
      NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
      NPC_UNIT_ID.NUI_MONKEY_KING
    },
    SUB_STAGE0 = {
      START_LINE_SET = -1,
      MAIN_LINE_SET = 0,
      END_LINE_SET = -1,
      GO_TYPE = GO_TYPE.GT_NONE,
      CLEAR_COND0 = {
        CLEAR_CONDITION.CC_TIME,
        CLEAR_TIME = 1,
        NEXT_STAGE0 = {
          CLEAR_TYPE.CT_STAGE,
          3,
          0,
          100
        }
      },
      NPC_GROUP = {
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {4}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_ZERO,
          START_POS = {6}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {8}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
          START_POS = {11}
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BENDERS_THIEF,
          START_POS = {13},
          IS_RIGHT = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_MONKEY_KING,
          START_POS = {17},
          FOCUS_CAMERA = TRUE,
          STOP_AT_START_STATE = TRUE,
          SHOW_BOSS_NAME = TRUE,
          MONSTER_GRADE = 2
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_RUBEN_SWAMP_GATE,
          START_POS = {21},
          ACTIVE = FALSE,
          GAGE_BAR = FALSE,
          NO_DROP = TRUE
        }
      },
      TRIGGER_LIST = {}
    }
  },
  STAGE3 = {
    WORLD_ID = WORLD_ID.WI_RUBEN_SWAMP_BOSS_STAGE,
    READY_NPC = {
      NPC_UNIT_ID.NUI_ANCIENT_PPORU,
      NPC_UNIT_ID.NUI_TREE_KNIGHT
    },
    SUB_STAGE0 = {
      START_LINE_SET = -1,
      MAIN_LINE_SET = 0,
      END_LINE_SET = -1,
      GO_TYPE = GO_TYPE.GT_NONE,
      CLEAR_COND0 = {
        CLEAR_CONDITION.CC_TIME,
        CLEAR_TIME = 1,
        NPC_ID = {
          NPC_UNIT_ID.NUI_ANCIENT_PPORU
        },
        NEXT_STAGE0 = {
          CLEAR_TYPE.CT_GAME,
          0,
          0,
          100
        }
      },
      NPC_GROUP = {
        {
          NPC_ID = NPC_UNIT_ID.NUI_ANCIENT_PPORU,
          START_POS = {9},
          HAVE_BOSS_GAGE = TRUE,
          FOCUS_CAMERA = TRUE,
          STOP_AT_START_STATE = TRUE,
          SHOW_BOSS_NAME = TRUE,
          MONSTER_GRADE = 1,
          BOSS_GAUGE_HP_LINES = 1
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
          START_POS = {20},
          ACTIVE = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
          START_POS = {5},
          ACTIVE = FALSE
        },
        {
          NPC_ID = NPC_UNIT_ID.NUI_BOX,
          START_POS = {17},
          ACTIVE = FALSE,
          GAGE_BAR = FALSE
        }
      },
      TRIGGER_LIST = {}
    }
  }
}
This is Dungeon_Ruben_Swamp_Expert.
This is [Only registered and activated users can see links. Click Here To Register...]
You still need to do something in order to receive all drops from every stage.
Good luck.
PS: My autokill is not updated. In case it doesn't work update and try again.
10/28/2013 03:31 bobet01#5
I just noticed that you've change the values on the start, main and end line set could you please tell me why? about the code you gave to me I don't think I might be able to use it since my character is only level 38 lol. but still thanks! a great start for me :D
10/28/2013 09:22 Blowfy#6
Quote:
Originally Posted by bobet01 View Post
I just noticed that you've change the values on the start, main and end line set could you please tell me why? about the code you gave to me I don't think I might be able to use it since my character is only level 38 lol. but still thanks! a great start for me :D
Dude, lol ... think more about it, or you can't understood simply codes :/
10/28/2013 09:44 bobet01#7
Quote:
Originally Posted by Blowfy View Post
Dude, lol ... think more about it, or you can't understood simply codes :/
you really don't have to be harsh on me sir since I'm new to this stuff.. I'm not like you who's really expert on this things.. and I'm not some leecher asking and asking ready made koms.. I'm really making some effort here trial and error stuff. :(
10/29/2013 03:03 davidsam1408#8
for example
STAGE0 = {
WORLD_ID = WORLD_ID.WI_RUBEN_SWAMP_STAGE1,
START_MOTION = TRUE,
READY_NPC = {
NPC_UNIT_ID.NUI_BENDERS_THIEF,
NPC_UNIT_ID.NUI_THIEF_THIN_TOTO,
NPC_UNIT_ID.NUI_TREE_KNIGHT,
NPC_UNIT_ID.NUI_CHICKEN,
NPC_UNIT_ID.NUI_FAIRY_GUARDIAN,
NPC_UNIT_ID.NUI_THIEF_THIN_ZERO
},
SUB_STAGE0 = {
START_LINE_SET = 1,
MAIN_LINE_SET = 2,
END_LINE_SET = -1,
GO_TYPE = GO_TYPE.GT_RIGHT,
CLEAR_COND0 = {
CLEAR_CONDITION.CC_TIME,
CLEAR_TIME = 1,
NEXT_STAGE0 = {
CLEAR_TYPE.CT_SUB_STAGE,
0,
1,
100
}
},
CURTAIN_GROUP = {
{
LINE_INDEX = 11,
AT_START = FALSE,
LOOK_LEFT = TRUE
}
},
NPC_GROUP = {
{
NPC_ID = NPC_UNIT_ID.NUI_TREE_KNIGHT,
START_POS = {1}
},
the tree_knighy will start at position 1
now find the RUBEN_SWAMP_STAGE1 linemap
g_pLineMap:SetLandHeight(-50)
g_pLineMap:SetTeamStartPos(true, D3DXVECTOR3(-1301.9, 780, 0), true, 29)
g_pLineMap:SetTeamStartPos(true, D3DXVECTOR3(-1070.07, 780, 0), true, 29)
g_pLineMap:SetTeamStartPos(true, D3DXVECTOR3(-902.191, 780, 0), true, 29)
g_pLineMap:SetTeamStartPos(true, D3DXVECTOR3(-718.325, 780, 0), true, 29)
g_pLineMap:AddStartPos(1, D3DXVECTOR3(94.6237, 100, 0), false, 4)
you can find the position 1 where it is
11/03/2013 23:15 herohenson#9
ok i think i got things up so ill change all monster position to 1? what about the next stage, i think the posistion is change
11/04/2013 04:05 ubermito#10
guys, How can I edit a dungeon to only spawn 1 type of monster... I've been trying to make changes to the positioning, im good at it, but I cant seem to change the monster
11/04/2013 06:54 herohenson#11
Quote:
Originally Posted by ubermito View Post
guys, How can I edit a dungeon to only spawn 1 type of monster... I've been trying to make changes to the positioning, im good at it, but I cant seem to change the monster
how did you change the positioning mind you help me? im stuck on it
11/04/2013 09:22 Eonan2#12
how about summoning monsters?

Quote:
Originally Posted by herohenson View Post
how did you change the positioning mind you help me? im stuck on it
u can use autokill kom , PM me if u like
11/04/2013 12:16 herohenson#13
Quote:
Originally Posted by Eonan2 View Post
how about summoning monsters?


u can use autokill kom , PM me if u like
check your inbox, i already knew autokill, but i want monster spawn in my position and ed and items will just fall in my position
11/04/2013 12:18 tilapya32#14
Quote:
Originally Posted by Parampaa View Post
I used my private Item vac, the mobs get killed automatically somewhere but the drop fall above my head. No need to move to collect drops, for the stage change, it's automatically too.

Just some tips, I manipulated data035, just it. Or if you are 'pro', take a look at data040, learn the function inside. The easiest way is just edit data035. :D
I'll Keep this in mind

[EDit]:
Wait? Do the item vac is inside data035.kom too?
11/05/2013 02:55 Unknownboy123#15
yes.. I think the Item Vac is in the Data035.kom since I think data040.kom contains the positioning of the mobs. i think?
Well I still studying how to change the position of the both(Item and Mobs)
but is really kind a hard.