Npc in conquerserver v2

08/15/2011 19:30 stiwen#1
Hey guys i have some problem with adding npc's. I wrote similary npc:
Quote:
#include ...\define_data.vb
' By: Hybrid
' Npc: 6297
' Name: GameManger

Imports System
Imports ConquerScriptLinker

Partial Public Class NpcEngine
Public Shared Sub GameManager()
Dim dlg As String() = Nothing

Select Case OptionID
Case 0
ReDim dlg(2)
dlg(0) = "TEXT Hi, I can teleport you to the poker room. Where u can enjoy you salf in the Texas Hold'Zem Poker. Wish you good luck an health."
dlg(1) = "OPTION1 Enter Poker Room"
dlg(2) = "OPTION2 Enter VIP Hall"
dlg(3) = "OPTION-1 Not interested"
Case 1
Teleport(dlg, "@mm 1858 057 061")
Case 2
Teleport(dlg, "@mm 1860 057 061")
End Select

If Not dlg Is Nothing Then
Dialog(dlg)
End If
End Sub
End Class
And i added it to proces.vb. Everything is good but if i try to use this npc in game i get this error and nothing happened. [Only registered and activated users can see links. Click Here To Register...] Can u guys help me? I know for you guys it will be so easy, for me( newbie coder) its very hard :) Very pls :)

guys please help me....