Job Quests

09/19/2008 06:22 Akratan#1
Hey ihr...
bin hier zwar schon sehr lange member aber lese mir eig. immer nur alles durch, weil ich es normal ohne hilfe gebacken kriege ;).
Nun mein Problem:
Ich habe mir die Jobquests angeguckt also die .lua datein im server ordner
z.B. hier step 1 von mercenary


Code:
g_dwQuestID = 7001
g_szQuestName = "Step 1 - Collecting materials for the sword"
g_szNPCName = "MaFl_Mustang"

AddQuest(g_dwQuestID,g_szQuestName,0,3)

-- Text button
AddState(g_dwQuestID,0,-1)
SetStartNPC(g_dwQuestID,0,g_szNPCName)
SetStartRequiredLVL(g_dwQuestID,0,15,15)
AddStartRequiredJob(g_dwQuestID,0,"VAGRANT")
AddStartNPCTextButton(g_dwQuestID,0,g_szQuestName,g_dwQuestID,1)

-- Introduction
AddState(g_dwQuestID,1,-1)
SetEndNPC(g_dwQuestID,1,g_szNPCName)
AddEndNPCTextButton(g_dwQuestID,1,g_szQuestName,g_dwQuestID,1)
AddEndNPCDialog(g_dwQuestID,1,"Hello young vagrant! I see, you want to become Mercenary. Being a Mercenary is not an easy task, but I am sure you can manage it and become a loyal fighter for Madrigal!")
AddEndNPCDialog(g_dwQuestID,1,"Well, first you have to get 10 Slains from Lawolfs and 5 Starstones from NyangNyangs in Northern Flaris to sharpen your sword. If you have collected them, come back to me.")
AddEndNPCDialog(g_dwQuestID,1,"Do you accept the hard conditions to be a Mercenary and are going to become one?")
AddEndNPCAnswerButton(g_dwQuestID,1,"BTN_ADD_QUEST","__YES__",g_dwQuestID,2);
AddEndNPCAnswerButton(g_dwQuestID,1,"BTN_DONT_ADD_QUEST","__NO__",g_dwQuestID,0);

-- Getting 10 Slains and 5 Starstones
AddState(g_dwQuestID,2,0)
SetStartNPC(g_dwQuestID,2,g_szNPCName)
AddStartNPCTextButton(g_dwQuestID,2,g_szQuestName,g_dwQuestID,2)
AddStartNPCDialog(g_dwQuestID,2,"You do not have enough Slains and Starstones! You need 10 Slains from Lawolfs and 5 Starstones from NyangNyangs in Northern Flaris.")
SetEndNPC(g_dwQuestID,2,g_szNPCName)
AddEndRequiredItem(g_dwQuestID,2,2956,10)
AddEndRequiredItem(g_dwQuestID,2,2958,5)
AddEndNPCTextButton(g_dwQuestID,2,g_szQuestName,g_dwQuestID,2)
AddEndNPCDialog(g_dwQuestID,2,"Congratulations! You just did the first step of becoming a Mercenary! How did a wise man say one day? One small step for a man, one giant leap for mankind. In this case, it's not for mankind but for you.")
AddEndNPCDialog(g_dwQuestID,2,"You're going to be a Mercenary soon! You only need to smith your sword, but I doubt you can do it yourself. You should meet Bulrox, the smith, in Saintmorning.")
AddEndNPCDialog(g_dwQuestID,2,"How you can get there? Well, take this...")
AddEndNPCAnswerButton(g_dwQuestID,2,"BTN_FINISH_QUEST","__OK__",g_dwQuestID,3)

-- Reward: 3xBlinkwing of Saintmorning + Penya
AddState(g_dwQuestID,3,14)
AddEndRemoveItem(g_dwQuestID,3,2956,10)
AddEndRemoveItem(g_dwQuestID,3,2958,5)
SetEndChangePenya(g_dwQuestID,3,15000)
AddEndAddItem(g_dwQuestID,3,4804,3)
das habe ich dann soweit abgeändert das ich nur 1 Twinkle Stone brauch und nach Step1 sofort Changen müsste,
das sah dann so aus .


Code:
g_dwQuestID = 7001
g_szQuestName = "Step 1 - Collecting materials for the sword"
g_szNPCName = "MaFl_Mustang"

AddQuest(g_dwQuestID,g_szQuestName,0,3)

-- Text button
AddState(g_dwQuestID,0,-1)
SetStartNPC(g_dwQuestID,0,g_szNPCName)
SetStartRequiredLVL(g_dwQuestID,0,15,15)
AddStartRequiredJob(g_dwQuestID,0,"VAGRANT")
AddStartNPCTextButton(g_dwQuestID,0,g_szQuestName,g_dwQuestID,1)

-- Introduction
AddState(g_dwQuestID,1,-1)
SetEndNPC(g_dwQuestID,1,g_szNPCName)
AddEndNPCTextButton(g_dwQuestID,1,g_szQuestName,g_dwQuestID,1)
AddEndNPCDialog(g_dwQuestID,1,"Hello young vagrant! I see, you want to become Mercenary. Being a Mercenary is not an easy task, but I am sure you can manage it and become a loyal fighter for Madrigal!")
AddEndNPCDialog(g_dwQuestID,1,"Well, first you have to get 1 Twinkle Stone to sharpen your sword. If you have collected them, come back to me.")
AddEndNPCDialog(g_dwQuestID,1,"Do you accept the hard conditions to be a Mercenary and are going to become one?")
AddEndNPCAnswerButton(g_dwQuestID,1,"BTN_ADD_QUEST","__YES__",g_dwQuestID,2);
AddEndNPCAnswerButton(g_dwQuestID,1,"BTN_DONT_ADD_QUEST","__NO__",g_dwQuestID,0);

-- Getting 1 Twinkle Stone
AddState(g_dwQuestID,2,0)
SetStartNPC(g_dwQuestID,2,g_szNPCName)
AddStartNPCTextButton(g_dwQuestID,2,g_szQuestName,g_dwQuestID,2)
AddStartNPCDialog(g_dwQuestID,2,"You do not have enough Twinkle Stones.")
SetEndNPC(g_dwQuestID,2,g_szNPCName)
AddEndRequiredItem(g_dwQuestID,2,2950,1)
AddEndNPCTextButton(g_dwQuestID,2,g_szQuestName,g_dwQuestID,2)
AddEndNPCDialog(g_dwQuestID,2,"Congratulations! You just did the first step of becoming a Mercenary! How did a wise man say one day? One small step for a man, one giant leap for mankind. In this case, it's not for mankind but for you.")
AddEndNPCDialog(g_dwQuestID,2,"You're going to be a Mercenary soon! You only need to smith your sword, but I doubt you can do it yourself. You should meet Bulrox, the smith, in Saintmorning.")
AddEndNPCDialog(g_dwQuestID,2,"How you can get there? Well, take this...")
AddEndNPCAnswerButton(g_dwQuestID,2,"BTN_FINISH_QUEST","__OK__",g_dwQuestID,3)


-- Reward: Jobchange to Mercenary & stat reset
AddState(g_dwQuestID,3,14)
SetEndResetStats(g_dwQuestID,3,1)
AddEndRemoveItem(g_dwQuestID,3,2957,5)
SetEndSetJob(g_dwQuestID,3,"MERCENARY")
SetEndChangeSkillPoint(g_dwQuestID,3,40)

aber irgendwie macht er danach nichts...
kann es sein das die quest auch so nichts gebracht hätte?


Kann mir einer helfen damit ich die jobquests besser hinkriege ?


Nun zu meinem anderen Problem..
Die Drop Rate
ich habe sie in der worldserver.ini auf 50 gestellt, jedoch merke ich kein Unterschied.
Es dropt genauso wie vorher...
und immer noch selbe penya anzahl.
Wäre nett wenn mir hier auch jemand helfen kann.

Danke
09/19/2008 07:08 .Envy#2
glaube das fällt unter
[Only registered and activated users can see links. Click Here To Register...]
09/19/2008 08:22 Papierlager#3
Hey, wieso sollte das dadrunter fallen? Es geht dort um die Serverfiles. Das man die nicht mehr laden kann. Aber Diskutieren kann doch weiter über die Teile des Programmes. :-\ *denk*
09/19/2008 11:36 Akratan#4
Ich will hier antworten sehen und nicht zeug was mir nichts bringt...
also sind eure posts hier für mich nur wertloser spam^^
nur RICHTIGE antworten die mir helfen ...
danke
09/19/2008 15:40 nono101#5
Dann Probier halt einfach mal Droprate immer höcher zu stellen bis es irgendwann funkt xD
09/20/2008 18:55 Akratan#6
mit job quest hab ich jetzt alles

nur droprate funktioniert einfach nicht..