Hakutaku spawn script

Post Reply
link
Developer
Posts: 169
Joined: Fri Jul 27, 2012 3:27 pm

Hakutaku spawn script

Post by link » Fri Jul 27, 2012 3:32 pm

Edited: The mob_spawn_points.sql should import correctly.
The ??? will despawn for 15 minutes on trade.

Thanks for the help kjLotus^^
Attachments
Hakutaku.rar
(533.5 KiB) Downloaded 166 times
Last edited by link on Fri Jul 27, 2012 5:44 pm, edited 1 time in total.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Hakutaku spawn script

Post by kjLotus » Fri Jul 27, 2012 4:20 pm

Two comments: the SQL query script is real gnarly (crashed my navicat), I'm assuming you only changed the spawn location of Hakutaku (since it was wrong), so I'd make sure it's in the same format as the one we have now (all you really need to do is change line 29247 to "INSERT INTO `mob_spawn_points` VALUES ('17433009', 'Hakutaku', '8464', '24.000', '25.000', '-306.000', '121');"

Also, the ??? despawns for 15 minutes after you trade it. According to rev. 1538, you can use npc:hideNPC(900) to hide it for 15 minutes.

link
Developer
Posts: 169
Joined: Fri Jul 27, 2012 3:27 pm

Re: Hakutaku spawn script

Post by link » Fri Jul 27, 2012 5:11 pm

Sweet, thanks for that info. ill have another go at it. The timer part seems easy enough.

The mySQL part may be tricky, i use sqlYog to manually change the spawn point values of him, then exported as sql dump. ill try your method and see how we go.

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Hakutaku spawn script

Post by kjLotus » Fri Jul 27, 2012 6:34 pm

Script looks good now. SQL still the same :p

All you really need to do is edit the latest revisions mob_spawn_points.sql line with hakutaku. It's alot more readable (split into zones) than having every insert on one line ;)

Would end up looking like the one I attached
Attachments
mob_spawn_points.7z
(515.17 KiB) Downloaded 164 times

Ezekyel
Developer
Posts: 62
Joined: Sat Jul 21, 2012 11:42 pm

Re: Hakutaku spawn script

Post by Ezekyel » Fri Jul 27, 2012 10:54 pm

New Gilgamesh Server --> http://gilgamesh.servegame.com

Post Reply