Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: MaDDoG(DA1) on January 19, 2005, 05:31 PM

Title: Runtime error 13 "Object Mismatch"
Post by: MaDDoG(DA1) on January 19, 2005, 05:31 PM
Does anyone know what would be causeing this with my bot. This only happens to other people whom i have sent my bot too, and i do not see any trouble in my code. Does anyone have an idea about what might be causing this?
Title: Re: Runtime error 13 "Object Mismatch"
Post by: Hdx on January 19, 2005, 05:44 PM
First off, What bot is it? @nd off, make suere to put oiption explicit at the top of all your mods/frms itll help. and 3rd Whats the code for when they get the error? (EXA: Form_Load())
E-mail me the bot and i'll look at it.
~-~(HDX)~-~
[email protected]
Title: Re: Runtime error 13 "Object Mismatch"
Post by: UserLoser. on January 19, 2005, 05:45 PM
My idea is only that an object is mismatching with another object
Title: Re: Runtime error 13 "Object Mismatch"
Post by: Yegg on January 19, 2005, 06:13 PM
Or maybe you didn't send them a needed OCX/DLL file?
Title: Re: Runtime error 13 "Object Mismatch"
Post by: Blaze on January 19, 2005, 07:11 PM
I'm guessing thats its your getstuff not being able to find the config that they haven't created yet, but you have.
Title: Re: Runtime error 13 "Object Mismatch"
Post by: MaDDoG(DA1) on January 19, 2005, 07:28 PM
It happens when they load the bot heres what my code for form load

varUsername = GetStuff("Demonic", "Username")
varPassword = GetStuff("Demonic", "Pass")
varServer = GetStuff("Demonic", "Server")
varCDKey = GetStuff("Demonic", "Key")
varLODKey = GetStuff("Demonic", "Key2")
varHomechannel = GetStuff("Demonic", "Home")
varProduct = GetStuff("Demonic", "Client")
varMaster = GetStuff("Demonic", "Master")
varGreet = GetStuff("Demonic", "Greet")
varWhisperGreet = GetStuff("Demonic", "Whisper Join Greet On")
varBotTrigger = GetStuff("Demonic", "BotTrigger")
'txtRealm.Text = GetStuff("Demonic", "Realm")
varLeaveGreet = GetStuff("Demonic", "Leave Greet")
varPingBan = GetStuff("Demonic", "Ping Ban")
varLgreet = GetStuff("Demonic", "Leave Greet On")
varPublicGreet = GetStuff("Demonic", "Join Greet Public On")
varGreet = GetStuff("Demonic", "Greet")
varIdle = GetStuff("Demonic", "Idle Message")
varIdleOn = GetStuff("Demonic", "Idle On")
varIdleTime = GetStuff("Demonic", "Idle Time")

Title: Re: Runtime error 13 "Object Mismatch"
Post by: Yegg on January 19, 2005, 08:05 PM
But is the file that getstuff is retrieving data from in the same directory as the bot?
Title: Re: Runtime error 13 "Object Mismatch"
Post by: Banana fanna fo fanna on January 19, 2005, 08:43 PM
GetStuff has to be the most crappily named, crappily designed function every created.
Title: Re: Runtime error 13 "Object Mismatch"
Post by: MaDDoG(DA1) on January 19, 2005, 09:44 PM
Yes it is in the same directory
Title: Re: Runtime error 13 "Object Mismatch"
Post by: CrAz3D on January 19, 2005, 09:48 PM
Make sure, when distributing your bot, you give the user all of the need dependecy file thingies.  (ie CleanSlateBot.OCX, richtx32,OCX or w/e & so on)
Title: Re: Runtime error 13 "Object Mismatch"
Post by: BaDDBLooD on January 20, 2005, 12:09 AM
Quote from: Banana fanna fo fanna on January 19, 2005, 08:43 PM
GetStuff has to be the most crappily named, crappily designed function every created.

Agreed.
Title: Re: Runtime error 13 "Object Mismatch"
Post by: MaDDoG(DA1) on January 20, 2005, 04:23 PM
Banana fanna fo fanna And BaDD i posted for help not for u too make fun of my code so why dont u go off and not post unless u think u can help me
Title: Re: Runtime error 13 "Object Mismatch"
Post by: MyndFyre on January 20, 2005, 05:19 PM
Quote from: MaDDoG(DA1) on January 20, 2005, 04:23 PM
Banana fanna fo fanna And BaDD i posted for help not for u too make fun of my code so why dont u go off and not post unless u think u can help me


Because we respect them but not necessarily you.
Title: Re: Runtime error 13 "Object Mismatch"
Post by: UserLoser. on January 20, 2005, 05:21 PM
Quote from: MyndFyre on January 20, 2005, 05:19 PM
Quote from: MaDDoG(DA1) on January 20, 2005, 04:23 PM
Banana fanna fo fanna And BaDD i posted for help not for u too make fun of my code so why dont u go off and not post unless u think u can help me


Because we respect them but not necessarily you.

"We"? :P
Title: Re: Runtime error 13 "Object Mismatch"
Post by: MaDDoG(DA1) on January 21, 2005, 11:23 AM
Dont speak for everyone there buddy let them speak for themselves. I could give a shit less weather you respect me or not if u dont respect me then dont help me its that simple.


By the way there was in error in my varibles thanks for the help I just over looked it.
Title: Re: Runtime error 13 "Object Mismatch"
Post by: Blaze on January 21, 2005, 06:18 PM
By the way, way to fit in. You flame some of the highest non-vL members, then try to act tuff? Your having trouble with God Damn Getstuff for crying out loud.
Title: Re: Runtime error 13 "Object Mismatch"
Post by: l)ragon on January 21, 2005, 09:15 PM
Quote from: MaDDoG(DA1) on January 21, 2005, 11:23 AM
Dont speak for everyone there buddy let them speak for themselves. I could give a shit less weather you respect me or not if u dont respect me then dont help me its that simple.


By the way there was in error in my varibles thanks for the help I just over looked it.
You dont seem to want help at all, you have turned your thread upside down and turned into off topic chating.

My advice to you is to contact the auther of the function, or write your own. (or is that to easy for you, glad I could help)