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!
Bastok Mission 9-1
- myteethareshiny
- Posts: 18
- Joined: Sun Jun 29, 2014 10:11 pm
Re: Bastok Mission 9-1
Don't sweat the petty things, and don't pet the sweaty things.
- myteethareshiny
- Posts: 18
- Joined: Sun Jun 29, 2014 10:11 pm
Re: Bastok Mission 9-1
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.
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: Bastok Mission 9-1
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.
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.
Re: Bastok Mission 9-1
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
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
- myteethareshiny
- Posts: 18
- Joined: Sun Jun 29, 2014 10:11 pm
Re: Bastok Mission 9-1
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.
Re: Bastok Mission 9-1
hi,
no, those are going in mob_spawn_points.sql, you can't spawn a mob without pos.
no, those are going in mob_spawn_points.sql, you can't spawn a mob without pos.
- myteethareshiny
- Posts: 18
- Joined: Sun Jun 29, 2014 10:11 pm
Re: Bastok Mission 9-1
It worked! Thank you so much for the help!
Don't sweat the petty things, and don't pet the sweaty things.