Page 1 of 1

A Timely Visit (mobs <17203666> and <17203667> not found)

Posted: Sat Jan 19, 2013 9:06 am
by The_Kuti
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. :?:

Re: A Timely Visit (mobs <17203666> and <17203667> not found

Posted: Sat Jan 19, 2013 3:50 pm
by PrBlahBlahtson
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 :)

Re: A Timely Visit (Completed!)

Posted: Sun Jan 20, 2013 5:28 am
by The_Kuti
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! ^^

Re: A Timely Visit (mobs <17203666> and <17203667> not found

Posted: Sun Jan 20, 2013 8:46 am
by bluekirby0
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!)

Posted: Sun Jan 20, 2013 11:44 am
by The_Kuti
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!)

Posted: Mon Jan 21, 2013 4:55 am
by The_Kuti
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. :?: :?: :?: :?:
Or can someone add that skill to him?