Valhalla Legends Forums Archive | Battle.net Bot Development | Does anyone got a BnetAuth.dll that works w/ Windows Server 2003?

AuthorMessageTime
Blood
Okay, I got me a Windows Server 2003 server today, just for random things. I decided to put some of my bots on it, but the version of bnetauth.dll it has for some reason wont work on windows 2003. The same file works with the same exact bot on my home (windows xp), but it just sits at Connecting... on the server. I tried rob's updated bnetauth.dll, and it connects to bnet (which is further than the one I use on XP gets), but it cant connect to MCP for some reason (its a d2 bot btw). Does anyone have anything that could help me? :-/
January 5, 2007, 3:31 AM
warz
[quote author=topaz link=topic=16167.msg162954#msg162954 date=1167971618]
yes
[/quote]

Yeah right, n00b.
January 5, 2007, 4:34 AM
Blood
Sigh, for a second I thought someone was actually gonna help ;-/.
January 5, 2007, 4:40 AM
HdxBmx27
[quote author=Blood link=topic=16167.msg162956#msg162956 date=1167972042]
Sigh, for a second I thought someone was actually gonna help ;-/.
[/quote]It sounds more like a problem with the actual bot then with bnetauth.
Go ask the creator of the bot, and post more info here.
~-~(HDX)~-~
January 5, 2007, 4:52 AM
Blood
[quote author=Hdx link=topic=16167.msg162957#msg162957 date=1167972758]
[quote author=Blood link=topic=16167.msg162956#msg162956 date=1167972042]
Sigh, for a second I thought someone was actually gonna help ;-/.
[/quote]It sounds more like a problem with the actual bot then with bnetauth.
Go ask the creator of the bot, and post more info here.
~-~(HDX)~-~
[/quote]Why does it work with the bnetauth ive already got on XP then ? :-/ Hdx, if you've got aim or msn, ive got the source code... i'd really appreciate it if you'd help? :-/
January 5, 2007, 4:54 AM
HdxBmx27
[quote author=Blood link=topic=16167.msg162958#msg162958 date=1167972854]
[quote author=Hdx link=topic=16167.msg162957#msg162957 date=1167972758]
[quote author=Blood link=topic=16167.msg162956#msg162956 date=1167972042]
Sigh, for a second I thought someone was actually gonna help ;-/.
[/quote]It sounds more like a problem with the actual bot then with bnetauth.
Go ask the creator of the bot, and post more info here.
~-~(HDX)~-~
[/quote]Why does it work with the bnetauth ive already got on XP then ? :-/ Hdx, if you've got aim or msn, ive got the source code... i'd really appreciate it if you'd help? :-/[/quote]Does copying over the BNetAuth.dll file from your XP box fix your Win 2k3 box? If so why the hell are you here?
If not, then its SOMETHING in the actuall bot you are useing, or something in your 2l3 box that is blocking your bot from connecting to the net. Check your firewalls avs, etc...
I don't feel like debugging crap right now, I'm cold and tired (The power has been out for the last 5 hrs. <3 batterys)
~-~(HDX)~-~
January 5, 2007, 4:58 AM
Blood
[quote author=Hdx link=topic=16167.msg162959#msg162959 date=1167973118]
[quote author=Blood link=topic=16167.msg162958#msg162958 date=1167972854]
[quote author=Hdx link=topic=16167.msg162957#msg162957 date=1167972758]
[quote author=Blood link=topic=16167.msg162956#msg162956 date=1167972042]
Sigh, for a second I thought someone was actually gonna help ;-/.
[/quote]It sounds more like a problem with the actual bot then with bnetauth.
Go ask the creator of the bot, and post more info here.
~-~(HDX)~-~
[/quote]Why does it work with the bnetauth ive already got on XP then ? :-/ Hdx, if you've got aim or msn, ive got the source code... i'd really appreciate it if you'd help? :-/[/quote]Does copying over the BNetAuth.dll file from your XP box fix your Win 2k3 box? If so why the hell are you here?
If not, then its SOMETHING in the actuall bot you are useing, or something in your 2l3 box that is blocking your bot from connecting to the net. Check your firewalls avs, etc...
I don't feel like debugging crap right now, I'm cold and tired (The power has been out for the last 5 hrs. <3 batterys)
~-~(HDX)~-~
[/quote]It doesnt fix it, no... but when I use a different bnetauth.dll (the one rob posted here as an updated version) It actually connects to bnet on the 2k3 bot... but cant connect to MCP. BUT with the bnetauth that works 100% on XP, it doesnt even connect to bnet on the 2k3. I dont understand how it could be the bot :-/. I dont have any firewalls on the server, so it HAS to be OS involved I think :-/ I can give you a few $ on paypal if you actually help me get it going 100%... :-/
January 5, 2007, 5:02 AM
warz
[quote author=Blood link=topic=16167.msg162958#msg162958 date=1167972854]
[quote author=Hdx link=topic=16167.msg162957#msg162957 date=1167972758]
[quote author=Blood link=topic=16167.msg162956#msg162956 date=1167972042]
Sigh, for a second I thought someone was actually gonna help ;-/.
[/quote]It sounds more like a problem with the actual bot then with bnetauth.
Go ask the creator of the bot, and post more info here.
~-~(HDX)~-~
[/quote]Why does it work with the bnetauth ive already got on XP then ? :-/ Hdx, if you've got aim or msn, ive got the source code... i'd really appreciate it if you'd help? :-/
[/quote]

it's possible that the dll is not compatible with windows versions older than xp.
January 5, 2007, 5:02 AM
HdxBmx27
[quote author=warz link=topic=16167.msg162961#msg162961 date=1167973376]it's possible that the dll is not compatible with windows versions older than xp.[/quote]Not likly, becuase I have been able to use it off a 2K and a 2K3 box before.
(I'm currently useing it for shits and giggles on a 90 box)
~-~(HDX)~-~
January 5, 2007, 5:08 AM
Blood
[quote author=Hdx link=topic=16167.msg162962#msg162962 date=1167973714]
[quote author=warz link=topic=16167.msg162961#msg162961 date=1167973376]it's possible that the dll is not compatible with windows versions older than xp.[/quote]Not likly, becuase I have been able to use it off a 2K and a 2K3 box before.
(I'm currently useing it for shits and giggles on a 90 box)
~-~(HDX)~-~

[/quote]Well, did you see my posts? I've got no idea what to do :( The ONLY thing changing from my server and my home comp, is the OS...
January 5, 2007, 5:13 AM
warz
What about it does not work? Are you able to properly load the library, and call the functions that it exports? Are the functions returning invalid results? Specify a little here.
January 5, 2007, 5:31 AM
Kp
You should post the bot's record of what it is doing when it fails.  If it is not producing such a record, you should take advantage of having the source and add support for creating a debugging log.  Alternately, you could post some useful information here, such as:
[list]
[*]whether you are an administrator on XP
[*]whether you are an administrator on 2003
[*]what state the bot's network socket is in when it "hangs"
[*]whether the bot always hangs in the same place
[*]the call stack of the thread(s) of the bot at the time it hangs
[*]whether the bot is using the same account/password/cdkey on XP as on 2003
[*]the dependency list of the bnetauth in question
[/list]

If none of these helps, consider using Filemon and/or Regmon to determine whether permissions are causing problems.  As I recall, Windows Server 2003 ships with a significantly more secure configuration, so perhaps your bot is not reacting well to running in a non-permissive environment.
January 5, 2007, 5:33 AM
Blood
[quote author=Kp link=topic=16167.msg162966#msg162966 date=1167975216]
You should post the bot's record of what it is doing when it fails.  If it is not producing such a record, you should take advantage of having the source and add support for creating a debugging log.  Alternately, you could post some useful information here, such as:
[list]
[*]whether you are an administrator on XP
[*]whether you are an administrator on 2003
[*]what state the bot's network socket is in when it "hangs"
[*]whether the bot always hangs in the same place
[*]the call stack of the thread(s) of the bot at the time it hangs
[*]whether the bot is using the same account/password/cdkey on XP as on 2003
[*]the dependency list of the bnetauth in question
[/list]

If none of these helps, consider using Filemon and/or Regmon to determine whether permissions are causing problems.  As I recall, Windows Server 2003 ships with a significantly more secure configuration, so perhaps your bot is not reacting well to running in a non-permissive environment.
[/quote]I was actually thinkinh the same, because ive checked everything you just listed... and nothing changes, account key or anything, I just simply zipped up the bot folder on the xp comp, and sent it to the 2003 one. The bot cant even connect to battle.net, it doesnt get anywhere. I then heard from alot of my friends 2003 is REALLY secure on its own. I contacted my host, asking them to make sure port 6112 isnt firewalled. That could quite possibly fix it, dont you think?
January 5, 2007, 5:55 AM
Topaz
[quote author=Blood link=topic=16167.msg162967#msg162967 date=1167976522]
[quote author=Kp link=topic=16167.msg162966#msg162966 date=1167975216]
You should post the bot's record of what it is doing when it fails.  If it is not producing such a record, you should take advantage of having the source and add support for creating a debugging log.  Alternately, you could post some useful information here, such as:
[list]
[*]whether you are an administrator on XP
[*]whether you are an administrator on 2003
[*]what state the bot's network socket is in when it "hangs"
[*]whether the bot always hangs in the same place
[*]the call stack of the thread(s) of the bot at the time it hangs
[*]whether the bot is using the same account/password/cdkey on XP as on 2003
[*]the dependency list of the bnetauth in question
[/list]

If none of these helps, consider using Filemon and/or Regmon to determine whether permissions are causing problems.  As I recall, Windows Server 2003 ships with a significantly more secure configuration, so perhaps your bot is not reacting well to running in a non-permissive environment.
[/quote]I was actually thinkinh the same, because ive checked everything you just listed... and nothing changes, account key or anything, I just simply zipped up the bot folder on the xp comp, and sent it to the 2003 one. The bot cant even connect to battle.net, it doesnt get anywhere. I then heard from alot of my friends 2003 is REALLY secure on its own. I contacted my host, asking them to make sure port 6112 isnt firewalled. That could quite possibly fix it, dont you think?
[/quote]

I doubt your host would block/filter outgoing TCP connections on certain ports
January 5, 2007, 6:23 AM
MyStiCaL
doesn't the bnetauth.dll have a very bad memory lieak now? maybe you should find a new bot.
January 5, 2007, 6:35 AM
Ringo
[quote author=Blood link=topic=16167.msg162956#msg162956 date=1167972042]
It doesnt fix it, no... but when I use a different bnetauth.dll (the one rob posted here as an updated version) It actually connects to bnet on the 2k3 bot... but cant connect to MCP.[/quote]
You shouldnt need BnetAuth for a realm connetion, other than to hash the realm password in BNCS 0x3E.
Inorder to get to that point in the login, you need to logon an account, so would have done the same hashing on the accounts password.
It sounds like a problem with the bot, rather than BnetAuth.
January 5, 2007, 8:10 AM
JoeTheOdd
[quote author=Hdx link=topic=16167.msg162959#msg162959 date=1167973118]
[quote author=Blood link=topic=16167.msg162958#msg162958 date=1167972854]
[quote author=Hdx link=topic=16167.msg162957#msg162957 date=1167972758]
[quote author=Blood link=topic=16167.msg162956#msg162956 date=1167972042]
Sigh, for a second I thought someone was actually gonna help ;-/.
[/quote]It sounds more like a problem with the actual bot then with bnetauth.
Go ask the creator of the bot, and post more info here.
~-~(HDX)~-~
[/quote]Why does it work with the bnetauth ive already got on XP then ? :-/ Hdx, if you've got aim or msn, ive got the source code... i'd really appreciate it if you'd help? :-/[/quote]Does copying over the BNetAuth.dll file from your XP box fix your Win 2k3 box? If so why the hell are you here?
If not, then its SOMETHING in the actuall bot you are useing, or something in your 2l3 box that is blocking your bot from connecting to the net. Check your firewalls avs, etc...
I don't feel like debugging crap right now, I'm cold and tired (The power has been out for the last 5 hrs. <3 batterys)
~-~(HDX)~-~
[/quote]

You're on your ThinkPad? WTB good battery.
January 5, 2007, 3:18 PM
dRAgoN
BNetAuth worked fine for me while I was on Windows 2003 Server (32Bit), now you never posted which version you're useing, and if your useing the 64Bit I have noidea if it will work on there.
If you're useing the 32Bit version it's mostlikely a problem with the bot itself, or maybe how you have the bot configured.
January 5, 2007, 11:06 PM
Blood
Actuallly, it was the stupid server. My host told me DEP was off, but it wasnt. DEP was screwing it up, it worked fine after I allowed it to pass through DEP. Thanks for the help anyways guys.
January 16, 2007, 5:03 AM

Search