Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Modification(S) 2.6 Nova


Richy420Rich
 Share

Recommended Posts

ok I just downloaded your latest release, but when I'm in game I have some small questions:

1.What's admin hotkey
2./questlog doesn't work
3./ressource log doesn't
4.When I create a quest in Quest Editor how can I put it in game?

I know I have alot of question but I'm kinda new here. xd
Link to comment
Share on other sites

  • Replies 406
  • Created
  • Last Reply

Top Posters In This Topic

1\. I removed the admin hot key and replaced it with the online list. You can type /admin to bring up the panel.
2\. Use the items (Quest Scroll and Resource Scroll), My next update will have buttons installed.
3\. ^
4\. Click the Save Quest button after you're finished with the quest before moving onto another NPC.
Link to comment
Share on other sites

Okay so I have made a little progress with my error issue. In the frmMain.log this is what it says:

Line 21: Property Icon in frmMain had an invalid file reference.
Line 2219: Property TextRTF in txtChat had an invalid value.

Here is the sub line 21 is in and 21 is bold:

> Private Sub cmdAAnim_Click()
>     ' If debug mode, handle error then exit out
>     If Options.Debug = 1 Then On Error GoTo errorhandler
>
>     If GetPlayerAccess(MyIndex) < ADMIN_DEVELOPER Then
>        
>         Exit Sub
>     End If
>
>     **SendRequestEditAnimation  <–- Line 20**
>                                                 **<–- Line 21**
>     ' Error handler
>     Exit Sub
> errorhandler:
>     HandleError "cmdAAnim_Click", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext
>     Err.Clear
>     Exit Sub
> End Sub

And here is the same for Line 2219:

> Private Sub picBank_DblClick()
> Dim bankNum As Long
>
>     ' If debug mode, handle error then exit out
>     If Options.Debug = 1 Then On Error GoTo errorhandler
>
>     DragBankSlotNum = 0
>
>     bankNum = IsBankItem(BankX, BankY)
>     If bankNum <> 0 Then
>         If GetBankItemNum(bankNum) = ITEM_TYPE_NONE Then Exit Sub
>        
>             If Item(GetBankItemNum(bankNum)).Type = ITEM_TYPE_CURRENCY Then
>                 CurrencyMenu = 3 ' withdraw
>                 lblCurrency.Caption = "How many do you want to withdraw?"
>                 tmpCurrencyItem = bankNum
>                 txtCurrency.text = vbNullString
>                 picCurrency.Visible = True
>                 txtCurrency.SetFocus
>                 Exit Sub
>             End If
>            
>         WithdrawItem bankNum, 0
>         Exit Sub
>     End If
>    
>     ' Error handler
>     Exit Sub
> errorhandler:
>     **HandleError "picBank_DlbClick", "frmMain", Err.Number, Err.Description, Err.Source, Err.HelpContext<–-- Line 2219**
>     Err.Clear
>     Exit Sub
> End Sub
Link to comment
Share on other sites

Sorry for my English, I am Spanish and do not speak English very well
Use translator.

Could add multiple drops to the project?
[http://www.touchofdeathforums.com/smf/index.php/topic,61133.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,61133.0.html)
Link to comment
Share on other sites

and how to open quest editor and set npcs to talk? i made one quest but it dont work properly (made in source edit with VB6)… :(

Edit: i made succesfuly npcs talk, but still dont know about quests and where is quest editor
Link to comment
Share on other sites

@Vus:

> and how to open quest editor and set npcs to talk? i made one quest but it dont work properly (made in source edit with VB6)… :(
>
> Edit: i made succesfuly npcs talk, but still dont know about quests and where is quest editor

The quest editor is on the server under the Control tab if you downloaded Modification(S) Nova.. There is no quest editor for Modification(S) Advanced.

As for quest, You set the NPC's behaviour to Scripted if they will be having a quest.
Link to comment
Share on other sites

n00b, please, help me!

I have the same error as Zetasis.

But the error is only in frmMain, when I try to save him…

(Sorry my bad english, I'm brazilian!)

Please, help me T.T I loved your engine, and I want to use '-'

Ah, and the error occured in Nova and Advanced!
Link to comment
Share on other sites

Got this one bugging me -_-

Downloaded Modification(S) 2.4 Nova and it become this after start the client.
[![](http://s1.postimage.org/mrpvz8uc/untitled.jpg)](http://postimage.org/image/mrpvz8uc/)

I did install Eclipse Library Files and also Origins Library Files. I have DirectX 10\.
Help please :D

Thanks,
Prince
Link to comment
Share on other sites

@DarkKang:

> n00b, please, help me!
>
> I have the same error as Zetasis.
>
> But the error is only in frmMain, when I try to save him…
> (Sorry my bad english, I'm brazilian!)
>
> Please, help me T.T I loved your engine, and I want to use '-'
>
> Ah, and the error occured in Nova and Advanced!

Yeah I still haven't been able to figure this one out. I don't know if n00b even knows the problem. Again though, nice edit. Just wish I could use it.
Link to comment
Share on other sites

You're right Zetasis. I have no clue about any of these errors, as these errors have never happened to me. Only incident I had with VB6 is that is crashed when I tried to compile, and it was constant, but when I reinstalled the VB6\. It stopped crashing.

I'm sorry I can't be of any help to this..
Link to comment
Share on other sites

N00B, if I don't ask very much…

Can you give me the quest/speech system? I view your Quest/Item/Tile Script System topic, but I want the quest system that are in this engine, with speech box, and don't a sample "msg".

If you want, can you give me plz? *--*

(Sorry my bad english...)
Link to comment
Share on other sites

@DarkKang:

> N00B, if I don't ask very much…
>
> Can you give me the quest/speech system? I view your Quest/Item/Tile Script System topic, but I want the quest system that are in this engine, with speech box, and don't a sample "msg".
>
> If you want, can you give me plz? *--*
>
> (Sorry my bad english...)

You can copy/paste the things in your engine, but then you need to know how to find the code pieces..
Link to comment
Share on other sites

@DarkKang:

> N00B, if I don't ask very much…
>
> Can you give me the quest/speech system? I view your Quest/Item/Tile Script System topic, but I want the quest system that are in this engine, with speech box, and don't a sample "msg".
>
> If you want, can you give me plz? *--*
>
> (Sorry my bad english...)

You may wanna check this tutorial out if you want the quest system with the speechbox. http://www.touchofdeathforums.com/smf/index.php/topic,69793.0.html
Link to comment
Share on other sites

Thank you very much, n00b/Richy.

So … if I'm not boring ... could give me the quest log? , X

Yes, I know it was very difficult to do, but ... if you can't or will not, no problem!

I just hope that my mistake of using his engine to solve it! : X

(Again, sorry my english, I'm brazilian...)
Link to comment
Share on other sites

@DarkKang:

> Thank you very much, n00b/Richy.
>
> So … if I'm not boring ... could give me the quest log? , X
>
> Yes, I know it was very difficult to do, but ... if you can't or will not, no problem!
>
> I just hope that my mistake of using his engine to solve it! : X
>
> (Again, sorry my english, I'm brazilian...)

I'm sorry but the reason why I released the modified engine is because I didn't feel like typing out tutorials for each system I implemented. If someone else would like to look through the code and use my modded systems in a tutorial then that's fine. Otherwise you'd have to look through my nightmare'ish code and find/port them yourself.
Link to comment
Share on other sites

Alright I uploaded the new stuff, fixed music/sound in both edits. Thanks for the report.

As for the fixing the compiling, I really don't know what to say. DarkKang told me that if you installed WN's library files, it'll work but I have NO clue why WN's lib files are even needed. It's something to try but I doubt it'll work.

I did see that when Yami opened the frmmain in a text editor that frmmain.frx is the 21st line which is the same line you're client errored on, so maybe it has to do with the frmmain.frx file, make sure that it's in your folder if you tried porting, otherwise I really don't know what else could be wrong, as I said, I have not gotten that exact problem at all, I even went to another computer and tried, and it worked with no problem.
Link to comment
Share on other sites

A quick question on your Quest system. In the server modCombat at CanPlayerAttackNpc is it supposed to look like this:
           ```
If NpcX = GetPlayerX(attacker) Then
                If NpcY = GetPlayerY(attacker) Then
                    If Npc(npcNum).Behaviour <> NPC_BEHAVIOUR_FRIENDLY And Npc(npcNum).Behaviour <> NPC_BEHAVIOUR_SHOPKEEPER And Npc(npcNum).Behaviour <> NPC_BEHAVIOUR_SCRIPTED Then
                        CanPlayerAttackNpc = True
                    If Npc(npcNum).Behaviour = NPC_BEHAVIOUR_SCRIPTED Then
                            CanPlayerAttackNpc = False
                            Call QuestScript(attacker, Int(npcNum))
                            Exit Function
                        End If
                        If Len(Trim$(Npc(npcNum).AttackSay)) > 0 Then
                            PlayerMsg attacker, Trim$(Npc(npcNum).Name) & ": " & Trim$(Npc(npcNum).AttackSay), White
                        End If
                    End If
                End If
            End If
        End If
    End If

End Function
```
Is anything wrong with it?
Thanks
-Drakiac
Link to comment
Share on other sites

```
If NpcX = GetPlayerX(attacker) Then
                If NpcY = GetPlayerY(attacker) Then
                    If Npc(npcNum).Behaviour <> NPC_BEHAVIOUR_FRIENDLY And Npc(npcNum).Behaviour <> NPC_BEHAVIOUR_SHOPKEEPER And Npc(npcNum).Behaviour <> NPC_BEHAVIOUR_SCRIPTED Then
                        CanPlayerAttackNpc = True
Else
                    If Npc(npcNum).Behaviour = NPC_BEHAVIOUR_SCRIPTED Then
                            CanPlayerAttackNpc = False
                            Call QuestScript(attacker, Int(npcNum))
                            Exit Function
                        End If
                        If Len(Trim$(Npc(npcNum).AttackSay)) > 0 Then
                            PlayerMsg attacker, Trim$(Npc(npcNum).Name) & ": " & Trim$(Npc(npcNum).AttackSay), White
                        End If
                    End If
                End If
            End If
```
Yeah there was supposed to be an Else called after the first behaviour check. Sorry that came from the tutorial?

EDIT: Guess I did stuff up the tutorial, sorry :(.. Fixed the tutorial and thanks for showing me this.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...