Rotflturion Posted September 16, 2011 Share Posted September 16, 2011 @Kocho:> "Kill player" is bug> > need help!!!!"It's not a bug. It's a feature!"[Quotes are for idiots] Link to comment Share on other sites More sharing options...
Murdoc Posted September 17, 2011 Share Posted September 17, 2011 @Rotflturion:> I had the same problem. The answer is simple, and lies in the quest system itself.> > Let's say You got a quest to "Kill 12 walking balls" - make it the 'first task', with no reward when completed. Then just add second task, that's "Go talk to NPC x", and as the target NPC enter the one You got the quest from.> > This should work, tho I have not tested it. If it doesn't, drop me a message and I will tell You where to edit.This doesn't work for whatever reason. If you know how to make it work, that would be awesome! Link to comment Share on other sites More sharing options...
Ultrasnofire Posted September 17, 2011 Share Posted September 17, 2011 when ever someone finnishes a quest the item they are meant to give dosnt get taken away how could i fix it? Link to comment Share on other sites More sharing options...
Kocho Posted September 17, 2011 Share Posted September 17, 2011 EPIC FAIL!!!when I kill another player my missions are completedPlease give me a solution Link to comment Share on other sites More sharing options...
Rotflturion Posted September 17, 2011 Share Posted September 17, 2011 @Murdock:> This doesn't work for whatever reason. If you know how to make it work, that would be awesome!Hum. It does not work, because the Quest type NPC is not in the task check code.You have to add it here I think.```            If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_QUEST Then      HERE---> Call CheckTasks(attacker, QUEST_TYPE_GOTALK, npcNum)              Call ShowQuest(attacker, NPC(npcNum).QuestNum)              Exit Function            End If            If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_FRIENDLY Then              Call CheckTasks(attacker, QUEST_TYPE_GOTALK, npcNum)              Call CheckTasks(attacker, QUEST_TYPE_GOGIVE, npcNum)              Call CheckTasks(attacker, QUEST_TYPE_GOGET, npcNum)            End If```OR, change:```If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_FRIENDLY Then```To```If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_FRIENDLY Or NPC(npcNum).Behaviour = NPC_BEHAVIOUR_QUEST Then```I do not guarantee any of these will work tho. They can produce all kinds of nasty bugs ._. - I will check on how to exactly do that when I finish my system. Link to comment Share on other sites More sharing options...
Kevvin Posted September 17, 2011 Share Posted September 17, 2011 Anyone have a idea how i can add exp to quests ? Link to comment Share on other sites More sharing options...
Murdoc Posted September 18, 2011 Share Posted September 18, 2011 @Rotflturion:> Hum. It does not work, because the Quest type NPC is not in the task check code.> > You have to add it here I think.> ```>             If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_QUEST Then>       HERE---> Call CheckTasks(attacker, QUEST_TYPE_GOTALK, npcNum)>               Call ShowQuest(attacker, NPC(npcNum).QuestNum)>               Exit Function>             End If>             If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_FRIENDLY Then>               Call CheckTasks(attacker, QUEST_TYPE_GOTALK, npcNum)>               Call CheckTasks(attacker, QUEST_TYPE_GOGIVE, npcNum)>               Call CheckTasks(attacker, QUEST_TYPE_GOGET, npcNum)>             End If> ```> OR, change:> ```> If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_FRIENDLY Then> ```> To> ```> If NPC(npcNum).Behaviour = NPC_BEHAVIOUR_FRIENDLY Or NPC(npcNum).Behaviour = NPC_BEHAVIOUR_QUEST Then> ```> I do not guarantee any of these will work tho. They can produce all kinds of nasty bugs ._. - I will check on how to exactly do that when I finish my system.That first bit worked perfectly. Now when I select the 2nd task as "talk to npc" i can use the original npc i talked to to finish it.I'm noticing another issue. If I acquire two quests and I change maps, only the first quest I obtained shows on the quest log, until I cancel it. Its like its hiding underneath…. There must be someway to refresh it so it shows underneath. If anyone knows how to fix this please let me know. Link to comment Share on other sites More sharing options...
PVJsquad Posted September 19, 2011 Share Posted September 19, 2011 I'm sorry there is an error, his quest will not come out, but I have yet to start it please help me**ss:**>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/62f711ca1324e1ad1afcf877e1f7ae54.JPG) Link to comment Share on other sites More sharing options...
erkro1 Posted September 19, 2011 Share Posted September 19, 2011 You already did the quest.. Link to comment Share on other sites More sharing options...
PVJsquad Posted September 19, 2011 Share Posted September 19, 2011 @Erwin:> You already did the quest..not at all, but said it was doing the writing Link to comment Share on other sites More sharing options...
Rob Janes Posted September 19, 2011 Share Posted September 19, 2011 This quest code looks like it was heavily modified from the old SamuMod I released a long time ago, a lot has been added, but some of the same commands and variable names such as 'CurrentCount' are the same. Either we share a brain wave, or I inspired someone to improve upon my old, horrid code. Link to comment Share on other sites More sharing options...
Kocho Posted September 21, 2011 Share Posted September 21, 2011 Kill player dont'work :Splease help me Link to comment Share on other sites More sharing options...
Alatar Posted September 21, 2011 Author Share Posted September 21, 2011 Err… yes I know, I have to fix this. Sorry people, i'm out of time right now. Will work on it soon, but I really don't know if I have the time to make a step-by-step tutorial or to give support daily on the release.@RobJanes:> This quest code looks like it was heavily modified from the old SamuMod I released a long time ago, a lot has been added, but some of the same commands and variable names such as 'CurrentCount' are the same. Either we share a brain wave, or I inspired someone to improve upon my old, horrid code.I haven't seen yours actually, but maybe we share a brain wave lol. Link to comment Share on other sites More sharing options...
Murdoc Posted September 21, 2011 Share Posted September 21, 2011 I have two problems Im hoping someone can help me with. When I change maps the quest log does not refresh properly to show the quests in queue. And also, when completed the quests do not disappear from the quest log. Is it supposed to be that way? If so, how do i change it?If someone could help with these bugs it would be great, because theyre the only ones im noticing. And without these fixes this tutorial loses its potential. Link to comment Share on other sites More sharing options...
Prince Posted September 21, 2011 Share Posted September 21, 2011 This quest system still need more bugs fix. Link to comment Share on other sites More sharing options...
Suppositoire Posted September 21, 2011 Share Posted September 21, 2011 How can I add experience to reward? :confused: Link to comment Share on other sites More sharing options...
Alatar Posted September 22, 2011 Author Share Posted September 22, 2011 @Ultrasnofire:> when ever someone finnishes a quest the item they are meant to give dosnt get taken away how could i fix it?It's not coded… yet. But check this if you want: http://www.touchofdeathforums.com/smf/index.php/topic,70502.msg786374.html#msg786374@Kocho:> EPIC FAIL!!!> > when I kill another player my missions are completed> Please give me a solutionHmmm, I need to test that with another client when I get the time to work on this.@Murdock:> I have two problems Im hoping someone can help me with. When I change maps the quest log does not refresh properly to show the quests in queue.Hmmm, try with adding the a reference to the sub refreshquestlog in the sub handlemapdone.@Murdock:> And also, when completed the quests do not disappear from the quest log. Is it supposed to be that way? If so, how do i change it?Yes, it is supposed to be that way. If you want to remove them you need to find the RefreshQuestLog and remove the "Or QuestCompleted(i)".@Prince:> This quest system still need more bugs fix.Yep :(@Suppositoire:> How can I add experience to reward? :confused:Hmmm, forgot about that :embarrassed: err… you need to code it using the sub EndQuest. Link to comment Share on other sites More sharing options...
Kocho Posted September 22, 2011 Share Posted September 22, 2011 gracias por responder alatar… estoy usando tu sistema se quest en mi juego y va muy bien lo único que falla es el PvP ya que cuando matas a otro jugador se completan todas las questmy game: https://sites.google.com/site/zeldaonlinehdh/Sorry for spanish ^^ Link to comment Share on other sites More sharing options...
erkro1 Posted September 22, 2011 Share Posted September 22, 2011 @Kocho:> gracias por responder alatar… estoy usando tu sistema se quest en mi juego y va muy bien lo único que falla es el PvP ya que cuando matas a otro jugador se completan todas las quest> my game: https://sites.google.com/site/zeldaonlinehdh/> > Sorry for spanish ^^Why are you talking Spanish on a English board and why are you advertising for your game?Anyway, I've seen that this Quest system isn't really finished so I'll take another look in it soon and I'll post more bugfixes. ;) Link to comment Share on other sites More sharing options...
Alatar Posted September 23, 2011 Author Share Posted September 23, 2011 @Kocho:> gracias por responder alatar… estoy usando tu sistema se quest en mi juego y va muy bien lo único que falla es el PvP ya que cuando matas a otro jugador se completan todas las quest> my game: https://sites.google.com/site/zeldaonlinehdh/> > Sorry for spanish ^^Sé que pasa eso, ni bien pueda y tengo tiempo veo si puedo arreglarlo. Pero hablá en inglés que esta no es la sección en español xD.@Erwin:> Why are you talking Spanish on a English board and why are you advertising for your game?> > Anyway, I've seen that this Quest system isn't really finished so I'll take another look in it soon and I'll post more bugfixes. ;)He's talking about the killing-player-error. I think he was talking in spanish because I was the mod of the spanish section (i'm from Argentina), maybe it's for that, I really don't know. On the other hand, yes, please report every single bug, and help for all your work on bug-fixing this by yourself Erwin :) Link to comment Share on other sites More sharing options...
erkro1 Posted September 23, 2011 Share Posted September 23, 2011 I see, and its ok, I'll continue to find and fix bugs. ;)Alright, I've found the player killing bug, this should fix it:**Server side -> modCombat -> PlayerAttackPlayer**Change:```'ALATARCall CheckTasks(attacker, QUEST_TYPE_GOKILL, 0)'/ALATAR```To:```'ALATARCall CheckTasks(attacker, QUEST_TYPE_GOKILL, victim)'/ALATAR``` Link to comment Share on other sites More sharing options...
Murdoc Posted September 24, 2011 Share Posted September 24, 2011 The give item function is not working properly. If you have the item needed the quest will end as it should, but the item still remains in the inventory.Note: The bug-fix for items taken/given at "start" by Erwin does not fix this. Link to comment Share on other sites More sharing options...
erkro1 Posted September 24, 2011 Share Posted September 24, 2011 @Murdock:> The give item function is not working properly. If you have the item needed the quest will end as it should, but the item still remains in the inventory.> > Note: The bug-fix for items taken/given at "start" by Erwin does not fix this.I know, I haven't found a bug fix for it, and the bug-fix for item taken/given works only at start, not at end. ;) Link to comment Share on other sites More sharing options...
Murdoc Posted September 24, 2011 Share Posted September 24, 2011 @Erwin:> I know, I haven't found a bug fix for it, and the bug-fix for item taken/given works only at start, not at end. ;)I just said that basically :-PThe only reason I re-iterated it, is because Alatar was directing to it as a possible fix for this bug, which its obviously not.I also tried to find a possible fix for it by rummaging through the code last night.. I cant see for the life of me why its not taking the item from the player's inventory. Link to comment Share on other sites More sharing options...
Alatar Posted September 24, 2011 Author Share Posted September 24, 2011 @Murdock:> The give item function is not working properly. If you have the item needed the quest will end as it should, but the item still remains in the inventory.> > Note: The bug-fix for items taken/given at "start" by Erwin does not fix this.Oh that, if I remember well it's not coded.PS: I'm starting in my spare time to try to reproduce the bugs and find solutions to them. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now