Page 1 of 1

mission San d'Oria 7-1

Posted: Sat Feb 23, 2013 9:49 pm
by Blackwild
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

Re: mission San d'Oria 7-1

Posted: Sun Feb 24, 2013 7:58 am
by Ezekyel
r2730
MISSION: add San d'Oria mission 7-1 (thanx Blackwild)

Thank you :)

Re: mission San d'Oria 7-1

Posted: Wed Feb 27, 2013 12:22 am
by PrBlahBlahtson
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.