Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quest help (from m:rpge)
#6
No answer just yet I'm afraid, just a couple more questions.

Is the ByRef passing neccesary further on in the code? surely just using Player(index).Char(Player(index).CharNum).Level etc would work okay, I'm not really familiar with m:RPGe code.

And, not so much a question, more of a suggestion on how to find out why it isn't working.
You probably already know how to debug, but please, humour me and just check through the following. Without all the code to follow I need to pinpoint the exact area in the code that isn't working;
Open the server in the VB IDE and set a Breakpoint on the Call StartQuest(index, Npc(MapNpc(GetPlayerMap(index), i).Num).QuestID) line of code from your first post and run the server in debug mode.
Now start up the client and click on an npc that you know has a quest linked to it, the server should now break and pause on the Call to StartQuest. (If the server doesn't break the problem is somewhere else in the code.)
Using F8 step through the code and find out at which point in StartQuest or SetCurrentQuest the code fails.

Get back to me with the results and we'll take it from there, thnxs.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)