Postado Fevereiro 21, 2014 11 anos estava tentando fazer um bot e como so novo n sei direito e estava dando esse erro agradesso se me ajudarem Warning 1 Namespace or type specified in the Imports 'Tibia' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. Warning 2 Namespace or type specified in the Imports 'Tibia.Objects' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. Warning 3 Namespace or type specified in the Imports 'Tibia.Util' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Postado Fevereiro 21, 2014 11 anos Cara, seja mais específico, diga se está usando alguma biblioteca, etc! Esse erro tá com cara que a biblioteca 'Tibia', não tem método público para poder você importar ela! Mostra seu código aí que eu tento dar uma força pra você...
Postado Fevereiro 21, 2014 11 anos Autor to usando pokemon api '-' ---------do primeiro form---------- Imports Tibia Imports Tibia.Util Imports Tibia.Objects Imports Tibia.Constants Public Class Form1 Public c As Client Public p As Player Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For Each cl In Client.GetClients ComboBox1.Items.Add(cl) Next End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Form2.Show() End Sub End Class --------segundo form-------- Imports Tibia Imports Tibia.Util Imports Tibia.Objects Imports Tibia.Constants Public Class Form2 Dim c As Client Dim p As Player Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load c = Form1.ComboBox1.SelectedItem If c.LoggedIn Then p = c.GetPlayer Form1.Hide() Else Me.Hide() MsgBox("You need choose your character") End If End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click c.Map.FullLightOn() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click c.Map.FullLightOff() End Sub End Class Editado Fevereiro 21, 2014 11 anos por guinaatz (veja o histórico de edições)
Postado Março 14, 2014 11 anos você não importou o tibiaapi.dll pelo que vejo... Solution Explorer -> Nome do Projeto -> Botao direito -> Add References -> Procura sua tibiaapi.dll e Importa Solution Explorer -> Nome do Projeto -> Botao direito -> Add -> Existing Item -> Procura sua tibiaapi.dll e Importa Acredito que seja isso.
Postado Março 14, 2014 11 anos Mude os tíbias para Pokemon... Vc está usando pokemon api n tibia api...
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.