mission San d'Oria 7-1

Post Reply
Blackwild
Posts: 14
Joined: Wed Jan 09, 2013 2:00 pm

mission San d'Oria 7-1

Post by Blackwild » Sat Feb 23, 2013 9:49 pm

LUA concerned :

scripts/globals/missions.lua
scripts/zones/Northern_San_dOria/npcs/_6fc.lua
scripts\zones\West_Ronfaure\npcs\qm4.lua
scripts/zones/West_Ronfaure/mobs/Marauder_Dvogzog.lua

SQL concerned

sql/mob_groups.sql
sql/mob_spawn_points.sql
Attachments
mission_San_dOria_7-1.patch
(14.49 KiB) Downloaded 30 times

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

Re: mission San d'Oria 7-1

Post by Ezekyel » Sun Feb 24, 2013 7:58 am

r2730
MISSION: add San d'Oria mission 7-1 (thanx Blackwild)

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

PrBlahBlahtson
Developer
Posts: 539
Joined: Sun Jul 22, 2012 12:17 am

Re: mission San d'Oria 7-1

Post by PrBlahBlahtson » Wed Feb 27, 2013 12:22 am

Your script introduced a bug that makes people jump from Rank 4 to Rank 7. Please check your code more carefully before offering it in the future.

Edit:
player:getCurrentMission(0,17)

That is not how that function works. You feed it a nation (or nation value) and it returns a number. For example:

player:getCurrentMission(SANDORIA) == RANPERRE_S_FINAL_REST

That is the equivalent of:

player:getCurrentMission(0) == 17

Please use the text aliases, as this makes it easier to fix scripts if those values change in the future.

Post Reply