Bastok Mission 9-1

User avatar
myteethareshiny
Posts: 18
Joined: Sun Jun 29, 2014 10:11 pm

Re: Bastok Mission 9-1

Post by myteethareshiny » Wed Jul 23, 2014 11:38 am

Thank you for not ridiculing me for not seeing something obvious like that. I've said it at least a few times before, but this warrants another time: I'm a noob when it comes to scripting.

Thank you so much for the help!
Don't sweat the petty things, and don't pet the sweaty things.

User avatar
myteethareshiny
Posts: 18
Joined: Sun Jun 29, 2014 10:11 pm

Re: Bastok Mission 9-1

Post by myteethareshiny » Wed Jul 23, 2014 1:20 pm

And now I've run into a new problem. Now it's saying "mob <17645794> was not found" when I activate the ??? in Gustav Tunnel. I'm guessing that the mob ID for Gigaplasm is missing, but I wouldn't know how to fix that. Does anyone know what's going on here?
Don't sweat the petty things, and don't pet the sweaty things.

bluekirby0
Developer
Posts: 707
Joined: Sun Jul 22, 2012 12:11 am

Re: Bastok Mission 9-1

Post by bluekirby0 » Wed Jul 23, 2014 2:24 pm

Would also recommend you only "get" the var once per trigger action and store it in a local variable. The way you have it right now the DB can be queried 4 times to do the exact same thing, and generally will be when someone triggers the NPC with none of the quest requirements active.

DB transactions have a lot of overhead so try to minimize them!

As for the mobid you either need to fix the id in the script (it may have changed) or you may need to manually add the entry for that mob to the database. If the first option doesn't work and you don't know how to even start on the second, then wait for gedads or someone else to recap the zone.

gedads
Developer
Posts: 171
Joined: Fri Jan 04, 2013 7:48 pm

Re: Bastok Mission 9-1

Post by gedads » Thu Jul 24, 2014 4:12 pm

INSERT INTO `mob_spawn_points` VALUES ('17645794', 'Gigaplasm', '10116', '-133', '1', '248', '10');
INSERT INTO `mob_spawn_points` VALUES ('17645795', 'Macroplasm', '10130', '-131', '1', '249', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645796', 'Macroplasm', '10130', '-132', '1', '247', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645797', 'Microplasm', '10132', '-133', '1', '247', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645798', 'Microplasm', '10132', '-133', '1', '248', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645799', 'Microplasm', '10132', '-131', '1', '249', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645800', 'Microplasm', '10132', '-133', '1', '248', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645801', 'Nanoplasm', '10133', '-130', '1', '249', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645802', 'Nanoplasm', '10133', '-131', '1', '249', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645803', 'Nanoplasm', '10133', '-133', '1', '248', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645804', 'Nanoplasm', '10133', '-132', '1', '249', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645805', 'Nanoplasm', '10133', '-133', '1', '248', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645806', 'Nanoplasm', '10133', '-131', '1', '248', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645807', 'Nanoplasm', '10133', '-131', '1', '249', '1');
INSERT INTO `mob_spawn_points` VALUES ('17645808', 'Nanoplasm', '10133', '-132', '1', '248', '1');
you should be able to spawn them by adding those pos, only the main one will really pop there, the smaller one pop where their parent died

User avatar
myteethareshiny
Posts: 18
Joined: Sun Jun 29, 2014 10:11 pm

Re: Bastok Mission 9-1

Post by myteethareshiny » Fri Jul 25, 2014 11:16 am

So do I put that in the script for qm2.lua, or do I just enter those values manually? I'm confused.
Don't sweat the petty things, and don't pet the sweaty things.

gedads
Developer
Posts: 171
Joined: Fri Jan 04, 2013 7:48 pm

Re: Bastok Mission 9-1

Post by gedads » Fri Jul 25, 2014 1:20 pm

hi,
no, those are going in mob_spawn_points.sql, you can't spawn a mob without pos.

User avatar
myteethareshiny
Posts: 18
Joined: Sun Jun 29, 2014 10:11 pm

Re: Bastok Mission 9-1

Post by myteethareshiny » Fri Jul 25, 2014 2:32 pm

It worked! Thank you so much for the help! :)
Don't sweat the petty things, and don't pet the sweaty things.

Post Reply