Hello there!
I've started to script some quests and pick my choice on A Timely Visit. Everything went fine (thanks to bluekirby0's guide on wiki) and i reached the point where i need to spawn the mobs: Giollimette B Feroun and Skeleton Esquire. After i trigger the ??? to spawn them in game i get these errors in game server log: "spawnmob <17203666> not found". So i asked bluekirby0 whats the meaning of this, and said i needed to edit mob_spawnpoints.sql and mob_groups.sql. Did as he said (edited pos_x/y/z, zoneid, spawntype, minlevel, maxlevel) but im still getting the same error. Please help me im clueless.
A Timely Visit (mobs <17203666> and <17203667> not found)
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: A Timely Visit (mobs <17203666> and <17203667> not found
We chatted a bit on IRC, but I'll post the solution here so other people can learn from it as well.
The mobs are at pos 0,0,0. Mobs with 0 for any of the three coordinates just won't spawn, or be found. So the first thing you need to do is move them to the ???'s position, or near it. If you have to use a zero value, just cheat with 0.001 or something. It works. That's all stored in mob_spawn_points.
If you do only that though, Giollimitte B Feroun will be standing around, looking for a fight. In mob_spawn_points, you can see his group is 5756. In mob_groups, 5756 is set to spawn_type 0, which is pretty much just a normal mob. Worse, his respawn time is 0, so he'll repop instantly on death. If you set him to spawn type 128 (force pops), then everything should be alright.
Or at least, this was working:
function onTrigger(player,npc)
SpawnMob(17203666,300):updateEnmity(player);
SpawnMob(17203667,300):updateEnmity(player);
end;
Obviously you'll want to check that the clock is >= 1800 or <= 0600, quest status, etc. But that'll fix your spawning problem
The mobs are at pos 0,0,0. Mobs with 0 for any of the three coordinates just won't spawn, or be found. So the first thing you need to do is move them to the ???'s position, or near it. If you have to use a zero value, just cheat with 0.001 or something. It works. That's all stored in mob_spawn_points.
If you do only that though, Giollimitte B Feroun will be standing around, looking for a fight. In mob_spawn_points, you can see his group is 5756. In mob_groups, 5756 is set to spawn_type 0, which is pretty much just a normal mob. Worse, his respawn time is 0, so he'll repop instantly on death. If you set him to spawn type 128 (force pops), then everything should be alright.
Or at least, this was working:
function onTrigger(player,npc)
SpawnMob(17203666,300):updateEnmity(player);
SpawnMob(17203667,300):updateEnmity(player);
end;
Obviously you'll want to check that the clock is >= 1800 or <= 0600, quest status, etc. But that'll fix your spawning problem
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: A Timely Visit (Completed!)
Thanks to Bluekirby0 and PrBlahBlahtson i've finally finished this quest. Tested and could complete in success. Only one thing is missing for sure: Giollemitte B Feroun wont use Invincible and MAYBE i left out some events (not main events just reminder or something) that needs confirmation. Hope i can see it on DS Test Server soon! ^^
- Attachments
-
- dspt.zip
- (2.68 MiB) Downloaded 293 times
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: A Timely Visit (mobs <17203666> and <17203667> not found
You can get an example of using Invincible from Genbu's script if you would like to get that working as well.
Re: A Timely Visit (Completed!)
Once i've got more info how to add it i'll try it. At the moment i cant get it to work. Added a record in mob_skills.sql same as Genbu's Two_Hour changed family_id and now Game-Server log says: no Two_Hour.lua in scripts/globals/mobskills/. I'm getting confused.
Re: A Timely Visit (Completed!)
Or can someone add that skill to him?The_Kuti wrote:Once i've got more info how to add it i'll try it. At the moment i cant get it to work. Added a record in mob_skills.sql same as Genbu's Two_Hour changed family_id and now Game-Server log says: no Two_Hour.lua in scripts/globals/mobskills/. I'm getting confused.