Clan x86

Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: Xoleum on October 03, 2008, 01:14:51 pm

Title: BLNS through command line?
Post by: Xoleum on October 03, 2008, 01:14:51 pm
Where do I change my BLNS through the command line?
Title: Re: BLNS through command line?
Post by: Lead on October 03, 2008, 02:56:45 pm
Where do I change my BLNS through the command line?

If i'm not mistaken there should be a globalsettings.txt file somewhere.

vi <filename>

make edits, write and exit vi and reload / reconnect and voila!

OBTW, its BNLS.
Title: Re: BLNS through command line?
Post by: Xoleum on October 03, 2008, 03:23:54 pm
Where do I change my BLNS through the command line?

If i'm not mistaken there should be a globalsettings.txt file somewhere.

vi <filename>

make edits, write and exit vi and reload / reconnect and voila!

OBTW, its BNLS.

Found it! Thanks!

Edit: Any of the servers working? None seems to work when opening the bot...
Title: Re: BLNS through command line?
Post by: Lead on October 03, 2008, 05:59:32 pm
Where do I change my BLNS through the command line?

If i'm not mistaken there should be a globalsettings.txt file somewhere.

vi <filename>

make edits, write and exit vi and reload / reconnect and voila!

OBTW, its BNLS.

Found it! Thanks!

Edit: Any of the servers working? None seems to work when opening the bot...

Try pyro.no-ip.biz
Title: Re: BLNS through command line?
Post by: Xoleum on October 03, 2008, 09:17:46 pm
Where do I change my BLNS through the command line?

If i'm not mistaken there should be a globalsettings.txt file somewhere.

vi <filename>

make edits, write and exit vi and reload / reconnect and voila!

OBTW, its BNLS.

Found it! Thanks!

Edit: Any of the servers working? None seems to work when opening the bot...

Try pyro.no-ip.biz

Nope. Not working
Title: Re: BLNS through command line?
Post by: Joe on October 05, 2008, 07:58:49 pm
jbls.org
javaop.com
pyro.no-ip.biz
bnls.valhallalegends.com

If none of those work for you, there's a 99% chance something is wrong on your end.
Title: Re: BLNS through command line?
Post by: Sidoh on October 05, 2008, 08:25:12 pm
vi <filename>

lol.  It's fun to watch people use vi/vim for the first time. :)
Title: Re: BLNS through command line?
Post by: Lead on October 06, 2008, 06:54:12 am
vi <filename>

lol.  It's fun to watch people use vi/vim for the first time. :)

lol. when I was taking intro to linux courses I remember this girl trying to use it. She keep typing and then said "I think I gotta save first before I see my typing, but I can't figure out how to." this was also the girl that in the intro to PC's class layed a video card down on the motherboard and said it was "in"
Title: Re: BLNS through command line?
Post by: Sidoh on October 06, 2008, 11:30:54 am
vi <filename>

lol.  It's fun to watch people use vi/vim for the first time. :)

lol. when I was taking intro to linux courses I remember this girl trying to use it. She keep typing and then said "I think I gotta save first before I see my typing, but I can't figure out how to." this was also the girl that in the intro to PC's class layed a video card down on the motherboard and said it was "in"

hahaha, nice.  I think it's almost funnier to watch people who have been using it for a while, but haven't bothered to learn any of the tricks that make it great.  They learn how to switch from command/insert mode, save, quit, search and replace, and that's about it.  It's like common... wtf are you doing using backspace to change a word!  Use cw!  And then they cry because they don't like change.  I guess they aren't voting come November. :(
Title: Re: BLNS through command line?
Post by: Camel on October 06, 2008, 02:00:03 pm
It's fun to watch people use vi/vim for the first time. :)

zomg every time i type d everything disappears

And then they cry because they don't like change.  I guess they aren't voting come November. :(

lol
Title: Re: BLNS through command line?
Post by: Hitmen on October 08, 2008, 12:47:33 pm
They learn how to switch from command/insert mode, save, quit, search and replace, and that's about it.  It's like common... wtf are you doing using backspace to change a word!  Use cw!  And then they cry because they don't like change.  I guess they aren't voting come November. :(
wtf
don't hate
Title: Re: BLNS through command line?
Post by: Xoleum on October 08, 2008, 01:03:52 pm
jbls.org
javaop.com
pyro.no-ip.biz
bnls.valhallalegends.com

If none of those work for you, there's a 99% chance something is wrong on your end.

None of those work. I don't see why it would be something wrong on my end as everything is set correctly. Also the error is pretty clear, it connects to battle net until it gets to blns.

Quote
iRe(Bot): [12:02:51.681] NOTICE: Bot 'iRe(Bot)' has been started.
iRe(Bot): [12:02:51.683] DEBUG: Entering disconnect()
iRe(Bot): [12:02:51.683] DEBUG: Entering connect()
iRe(Bot): [12:02:51.692] INFO: Trying BNLS server: pyro.no-ip.biz
iRe(Bot): [12:02:51.700] INFO: Resolving ip for server: useast.battle.net
iRe(Bot): [12:02:51.705] INFO: Resolves to 12 different addresses
iRe(Bot): [12:02:51.706] INFO: Choosing address 7 [useast.battle.net/63.240.202.127]
iRe(Bot): [12:02:51.706] INFO: Attempting to connect
iRe(Bot): [12:02:51.809] INFO: Connected to /63.240.202.127:6112
iRe(Bot): [12:02:51.810] INFO: Trying BNLS server: pyro.no-ip.biz
iRe(Bot): [12:02:51.813] INFO: Connected to useast.battle.net:6112
iRe(Bot): [12:02:51.814] INFO: Sending protocol byte (0x01).
iRe(Bot): [12:02:51.815] INFO: Switching to Binary protocol.
iRe(Bot): [12:02:51.815] INFO: Sending authorization.
iRe(Bot): [12:02:56.916] WARNING: BNLS server 'pyro.no-ip.biz' returned an error -- this means the server might not be running.
iRe(Bot): [12:02:56.916] WARNING: The error is: java.net.SocketException: Connection timed out
iRe(Bot): [12:02:56.917] INFO: Attempting to use next BNLS server.
Unable to find usable BNLS server
iRe(Bot): [12:02:56.917] WARNING: Out of BNLS servers, defaulting to local hashing.
iRe(Bot): [12:02:56.918] INFO: Authorization sent, waiting for reply.
iRe(Bot): [12:02:56.919] INFO: Beginning to receive packets
iRe(Bot): [12:02:56.959] DEBUG: Logon type: 0
iRe(Bot): [12:02:56.960] DEBUG: Server token: 9aad0fa4
iRe(Bot): [12:02:56.960] DEBUG: UDP Value: 2720132
iRe(Bot): [12:02:56.961] DEBUG: MPQ Time: Mon Mar 05 15:48:24 CST 2007
iRe(Bot): [12:02:56.962] DEBUG: Version Check MPQ: lockdown-IX86-04.mpq
iRe(Bot): [12:02:56.962] DEBUG: Server signature is not present.
iRe(Bot): [12:02:56.972] exceptions.InvalidVersion: CheckRevision is not supported for product STAR.
iRe(Bot): [12:02:56.972] versioning.CheckRevision.checkRevision(CheckRevision.java:51)
iRe(Bot): [12:02:56.972] versioning.Game.checkRevision(Game.java:118)
iRe(Bot): [12:02:56.972] versioning.BNLSWrapper.getVersionCheck(BNLSWrapper.java:121)
iRe(Bot): [12:02:56.972] Login.getAuthCheck(Login.java:152)
iRe(Bot): [12:02:56.972] PluginMain.processedPacket(PluginMain.java:295)
iRe(Bot): [12:02:56.973] pluginmanagers.PluginRegistration.processedIncomingPacket(PluginRegistration.java:722)
iRe(Bot): [12:02:56.973] bot.PacketThread.run(PacketThread.java:179)
Title: Re: BLNS through command line?
Post by: Lead on October 08, 2008, 01:43:16 pm
jbls.org
javaop.com
pyro.no-ip.biz
bnls.valhallalegends.com

If none of those work for you, there's a 99% chance something is wrong on your end.

None of those work. I don't see why it would be something wrong on my end as everything is set correctly. Also the error is pretty clear, it connects to battle net until it gets to blns.

Quote
iRe(Bot): [12:02:51.681] NOTICE: Bot 'iRe(Bot)' has been started.
iRe(Bot): [12:02:51.683] DEBUG: Entering disconnect()
iRe(Bot): [12:02:51.683] DEBUG: Entering connect()
iRe(Bot): [12:02:51.692] INFO: Trying BNLS server: pyro.no-ip.biz
iRe(Bot): [12:02:51.700] INFO: Resolving ip for server: useast.battle.net
iRe(Bot): [12:02:51.705] INFO: Resolves to 12 different addresses
iRe(Bot): [12:02:51.706] INFO: Choosing address 7 [useast.battle.net/63.240.202.127]
iRe(Bot): [12:02:51.706] INFO: Attempting to connect
iRe(Bot): [12:02:51.809] INFO: Connected to /63.240.202.127:6112
iRe(Bot): [12:02:51.810] INFO: Trying BNLS server: pyro.no-ip.biz
iRe(Bot): [12:02:51.813] INFO: Connected to useast.battle.net:6112
iRe(Bot): [12:02:51.814] INFO: Sending protocol byte (0x01).
iRe(Bot): [12:02:51.815] INFO: Switching to Binary protocol.
iRe(Bot): [12:02:51.815] INFO: Sending authorization.
iRe(Bot): [12:02:56.916] WARNING: BNLS server 'pyro.no-ip.biz' returned an error -- this means the server might not be running.
iRe(Bot): [12:02:56.916] WARNING: The error is: java.net.SocketException: Connection timed out
iRe(Bot): [12:02:56.917] INFO: Attempting to use next BNLS server.
Unable to find usable BNLS server
iRe(Bot): [12:02:56.917] WARNING: Out of BNLS servers, defaulting to local hashing.
iRe(Bot): [12:02:56.918] INFO: Authorization sent, waiting for reply.
iRe(Bot): [12:02:56.919] INFO: Beginning to receive packets
iRe(Bot): [12:02:56.959] DEBUG: Logon type: 0
iRe(Bot): [12:02:56.960] DEBUG: Server token: 9aad0fa4
iRe(Bot): [12:02:56.960] DEBUG: UDP Value: 2720132
iRe(Bot): [12:02:56.961] DEBUG: MPQ Time: Mon Mar 05 15:48:24 CST 2007
iRe(Bot): [12:02:56.962] DEBUG: Version Check MPQ: lockdown-IX86-04.mpq
iRe(Bot): [12:02:56.962] DEBUG: Server signature is not present.
iRe(Bot): [12:02:56.972] exceptions.InvalidVersion: CheckRevision is not supported for product STAR.
iRe(Bot): [12:02:56.972] versioning.CheckRevision.checkRevision(CheckRevision.java:51)
iRe(Bot): [12:02:56.972] versioning.Game.checkRevision(Game.java:118)
iRe(Bot): [12:02:56.972] versioning.BNLSWrapper.getVersionCheck(BNLSWrapper.java:121)
iRe(Bot): [12:02:56.972] Login.getAuthCheck(Login.java:152)
iRe(Bot): [12:02:56.972] PluginMain.processedPacket(PluginMain.java:295)
iRe(Bot): [12:02:56.973] pluginmanagers.PluginRegistration.processedIncomingPacket(PluginRegistration.java:722)
iRe(Bot): [12:02:56.973] bot.PacketThread.run(PacketThread.java:179)

It may have to do with that your connecting to starcraft. I'm not sure if iago updated the code to support warden or not...
Title: Re: BLNS through command line?
Post by: Xoleum on October 08, 2008, 01:53:02 pm
jbls.org
javaop.com
pyro.no-ip.biz
bnls.valhallalegends.com

If none of those work for you, there's a 99% chance something is wrong on your end.

None of those work. I don't see why it would be something wrong on my end as everything is set correctly. Also the error is pretty clear, it connects to battle net until it gets to blns.

Quote
iRe(Bot): [12:02:51.681] NOTICE: Bot 'iRe(Bot)' has been started.
iRe(Bot): [12:02:51.683] DEBUG: Entering disconnect()
iRe(Bot): [12:02:51.683] DEBUG: Entering connect()
iRe(Bot): [12:02:51.692] INFO: Trying BNLS server: pyro.no-ip.biz
iRe(Bot): [12:02:51.700] INFO: Resolving ip for server: useast.battle.net
iRe(Bot): [12:02:51.705] INFO: Resolves to 12 different addresses
iRe(Bot): [12:02:51.706] INFO: Choosing address 7 [useast.battle.net/63.240.202.127]
iRe(Bot): [12:02:51.706] INFO: Attempting to connect
iRe(Bot): [12:02:51.809] INFO: Connected to /63.240.202.127:6112
iRe(Bot): [12:02:51.810] INFO: Trying BNLS server: pyro.no-ip.biz
iRe(Bot): [12:02:51.813] INFO: Connected to useast.battle.net:6112
iRe(Bot): [12:02:51.814] INFO: Sending protocol byte (0x01).
iRe(Bot): [12:02:51.815] INFO: Switching to Binary protocol.
iRe(Bot): [12:02:51.815] INFO: Sending authorization.
iRe(Bot): [12:02:56.916] WARNING: BNLS server 'pyro.no-ip.biz' returned an error -- this means the server might not be running.
iRe(Bot): [12:02:56.916] WARNING: The error is: java.net.SocketException: Connection timed out
iRe(Bot): [12:02:56.917] INFO: Attempting to use next BNLS server.
Unable to find usable BNLS server
iRe(Bot): [12:02:56.917] WARNING: Out of BNLS servers, defaulting to local hashing.
iRe(Bot): [12:02:56.918] INFO: Authorization sent, waiting for reply.
iRe(Bot): [12:02:56.919] INFO: Beginning to receive packets
iRe(Bot): [12:02:56.959] DEBUG: Logon type: 0
iRe(Bot): [12:02:56.960] DEBUG: Server token: 9aad0fa4
iRe(Bot): [12:02:56.960] DEBUG: UDP Value: 2720132
iRe(Bot): [12:02:56.961] DEBUG: MPQ Time: Mon Mar 05 15:48:24 CST 2007
iRe(Bot): [12:02:56.962] DEBUG: Version Check MPQ: lockdown-IX86-04.mpq
iRe(Bot): [12:02:56.962] DEBUG: Server signature is not present.
iRe(Bot): [12:02:56.972] exceptions.InvalidVersion: CheckRevision is not supported for product STAR.
iRe(Bot): [12:02:56.972] versioning.CheckRevision.checkRevision(CheckRevision.java:51)
iRe(Bot): [12:02:56.972] versioning.Game.checkRevision(Game.java:118)
iRe(Bot): [12:02:56.972] versioning.BNLSWrapper.getVersionCheck(BNLSWrapper.java:121)
iRe(Bot): [12:02:56.972] Login.getAuthCheck(Login.java:152)
iRe(Bot): [12:02:56.972] PluginMain.processedPacket(PluginMain.java:295)
iRe(Bot): [12:02:56.973] pluginmanagers.PluginRegistration.processedIncomingPacket(PluginRegistration.java:722)
iRe(Bot): [12:02:56.973] bot.PacketThread.run(PacketThread.java:179)

It may have to do with that your connecting to starcraft. I'm not sure if iago updated the code to support warden or not...
I'm trying to connect to Warcraft3 battle.net.
Title: Re: BLNS through command line?
Post by: Lead on October 08, 2008, 02:08:18 pm
jbls.org
javaop.com
pyro.no-ip.biz
bnls.valhallalegends.com

If none of those work for you, there's a 99% chance something is wrong on your end.

None of those work. I don't see why it would be something wrong on my end as everything is set correctly. Also the error is pretty clear, it connects to battle net until it gets to blns.

Quote
iRe(Bot): [12:02:51.681] NOTICE: Bot 'iRe(Bot)' has been started.
iRe(Bot): [12:02:51.683] DEBUG: Entering disconnect()
iRe(Bot): [12:02:51.683] DEBUG: Entering connect()
iRe(Bot): [12:02:51.692] INFO: Trying BNLS server: pyro.no-ip.biz
iRe(Bot): [12:02:51.700] INFO: Resolving ip for server: useast.battle.net
iRe(Bot): [12:02:51.705] INFO: Resolves to 12 different addresses
iRe(Bot): [12:02:51.706] INFO: Choosing address 7 [useast.battle.net/63.240.202.127]
iRe(Bot): [12:02:51.706] INFO: Attempting to connect
iRe(Bot): [12:02:51.809] INFO: Connected to /63.240.202.127:6112
iRe(Bot): [12:02:51.810] INFO: Trying BNLS server: pyro.no-ip.biz
iRe(Bot): [12:02:51.813] INFO: Connected to useast.battle.net:6112
iRe(Bot): [12:02:51.814] INFO: Sending protocol byte (0x01).
iRe(Bot): [12:02:51.815] INFO: Switching to Binary protocol.
iRe(Bot): [12:02:51.815] INFO: Sending authorization.
iRe(Bot): [12:02:56.916] WARNING: BNLS server 'pyro.no-ip.biz' returned an error -- this means the server might not be running.
iRe(Bot): [12:02:56.916] WARNING: The error is: java.net.SocketException: Connection timed out
iRe(Bot): [12:02:56.917] INFO: Attempting to use next BNLS server.
Unable to find usable BNLS server
iRe(Bot): [12:02:56.917] WARNING: Out of BNLS servers, defaulting to local hashing.
iRe(Bot): [12:02:56.918] INFO: Authorization sent, waiting for reply.
iRe(Bot): [12:02:56.919] INFO: Beginning to receive packets
iRe(Bot): [12:02:56.959] DEBUG: Logon type: 0
iRe(Bot): [12:02:56.960] DEBUG: Server token: 9aad0fa4
iRe(Bot): [12:02:56.960] DEBUG: UDP Value: 2720132
iRe(Bot): [12:02:56.961] DEBUG: MPQ Time: Mon Mar 05 15:48:24 CST 2007
iRe(Bot): [12:02:56.962] DEBUG: Version Check MPQ: lockdown-IX86-04.mpq
iRe(Bot): [12:02:56.962] DEBUG: Server signature is not present.
iRe(Bot): [12:02:56.972] exceptions.InvalidVersion: CheckRevision is not supported for product STAR.
iRe(Bot): [12:02:56.972] versioning.CheckRevision.checkRevision(CheckRevision.java:51)
iRe(Bot): [12:02:56.972] versioning.Game.checkRevision(Game.java:118)
iRe(Bot): [12:02:56.972] versioning.BNLSWrapper.getVersionCheck(BNLSWrapper.java:121)
iRe(Bot): [12:02:56.972] Login.getAuthCheck(Login.java:152)
iRe(Bot): [12:02:56.972] PluginMain.processedPacket(PluginMain.java:295)
iRe(Bot): [12:02:56.973] pluginmanagers.PluginRegistration.processedIncomingPacket(PluginRegistration.java:722)
iRe(Bot): [12:02:56.973] bot.PacketThread.run(PacketThread.java:179)

It may have to do with that your connecting to starcraft. I'm not sure if iago updated the code to support warden or not...
I'm trying to connect to Warcraft3 battle.net.

there is a java class file that you may have to edit the verbyte in. iago / joe / anyone else know which file im talking about?

edit:

GameData.java - Joe is too lazy to set a svn up. Its true!

Thats where you make the edits to the version bytes
Title: Re: BLNS through command line?
Post by: Joe on October 09, 2008, 12:48:47 am
GameData.java - Joe is too lazy to set a svn up. Its true!

qft.
Title: Re: BLNS through command line?
Post by: Xoleum on October 09, 2008, 04:25:32 pm
there is a java class file that you may have to edit the verbyte in. iago / joe / anyone else know which file im talking about?

edit:

GameData.java - Joe is too lazy to set a svn up. Its true!

Thats where you make the edits to the version bytes

How would I do this? I have no clue where to get the file or how to edit it. I appreciate all the help, would love to get this bot running on my dedicated server for my DotA clan.
Title: Re: BLNS through command line?
Post by: Lead on October 09, 2008, 08:48:48 pm
there is a java class file that you may have to edit the verbyte in. iago / joe / anyone else know which file im talking about?

edit:

GameData.java - Joe is too lazy to set a svn up. Its true!

Thats where you make the edits to the version bytes

How would I do this? I have no clue where to get the file or how to edit it. I appreciate all the help, would love to get this bot running on my dedicated server for my DotA clan.

Jar files can be extracted. one of the java files in the plugins jar is the GameData.java... update it throw it in the jar and you should be good to go
Title: Re: BLNS through command line?
Post by: Hitmen on October 09, 2008, 08:52:27 pm
Jar files can be extracted. one of the java files in the plugins jar is the GameData.java... update it throw it in the jar and you should be good to go
To someone who doesn't know what you are talking about, that is not going to help them at all :P
Title: Re: BLNS through command line?
Post by: topaz~ on October 09, 2008, 09:10:20 pm
.j are "real" JAR files, .jar are zip files with additional metadata.
Title: Re: BLNS through command line?
Post by: Xoleum on October 09, 2008, 09:29:05 pm
Well, I got it to work. IT connects and everything now. My clan is not yet created so we are on a custom channel. It doesn't do anything though. The plugins are enabled and stuff but it does not adverts, greetings or help commands, etc.
Title: Re: BLNS through command line?
Post by: Camel on October 10, 2008, 02:53:57 pm
Does anyone even read the errors?

Quote
CheckRevision is not supported for product STAR.
Title: Re: BLNS through command line?
Post by: Xoleum on October 10, 2008, 07:13:37 pm
Does anyone even read the errors?

Quote
CheckRevision is not supported for product STAR.

If you check my last reply you would see I learnt now that STAR meant Starcraft so I was using the incorrect game connection. But it was still having problems which I resolved.