Postado Março 25, 2012 13 anos Fala ae galera do tibiaking , bom estava tentando fazer um bot com tibiaapi faz tempo que n mexo nesse baguiu loco eu fui tenta fazer ai ao build o projeto ocorreu esses seguintes erros: Error 6 Type 'Client' is not defined. C:\Documents and Settings\Taylor\Configurações locais\Dados de aplicativos\Temporary Projects\TBot²\Form1.vb 7 17 TBot² Error 7 Type 'Player' is not defined. C:\Documents and Settings\Taylor\Configurações locais\Dados de aplicativos\Temporary Projects\TBot²\Form1.vb 8 17 TBot² Error 8 'ClientChooser' is not declared. It may be inaccessible due to its protection level. C:\Documents and Settings\Taylor\Configurações locais\Dados de aplicativos\Temporary Projects\TBot²\Form1.vb 12 13 TBot² Warning 1 The referenced assembly "TibiaAPI" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project. TBot² Warning 2 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. C:\Documents and Settings\Taylor\Configurações locais\Dados de aplicativos\Temporary Projects\TBot²\Form1.vb 1 9 TBot² 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. C:\Documents and Settings\Taylor\Configurações locais\Dados de aplicativos\Temporary Projects\TBot²\Form1.vb 2 9 TBot² Warning 4 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. C:\Documents and Settings\Taylor\Configurações locais\Dados de aplicativos\Temporary Projects\TBot²\Form1.vb 3 9 TBot² Warning 5 Namespace or type specified in the Imports 'Tibia.Constants' 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. C:\Documents and Settings\Taylor\Configurações locais\Dados de aplicativos\Temporary Projects\TBot²\Form1.vb 4 9 TBot² Porque isso aconteçe ? 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 c = ClientChooser.ShowBox p = c.GetPlayer End Sub End Class
Postado Março 25, 2012 13 anos Imports Tibia Imports Tibia.Util Imports Tibia.Objects Public Class Form1 Public p As Player Public c As Client Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load c = ClientChooser.ShowBox p = c.GetPlayer End Sub End Class
Postado Março 25, 2012 13 anos Autor cara deixa , consegui arrumar era poblema no .net framework estava em : .Net Framework 4.0 Client Profile ai mudei para : . Net Framework 4.0 e o bot funciona normalmente thanks Editado Março 25, 2012 13 anos por Mek Fiuchem (veja o histórico de edições)
Postado Março 25, 2012 13 anos Você esta usando o VB 2008? A opção Enable application framework esta marcada? Qual framework você esta usando na aplicação? Propriedades - Compile - Advanced Compile Options
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.