StealthBot.net: Nexus - A W3GS Client - StealthBot.net

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Nexus - A W3GS Client Public Beta v1.068

#1 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted February 07, 2010 - 08:06 AM

Nexus - A W3GS Client
Adapted from Ribose's Nuke script. He wrote most of it so he deserves most credit for this script.

Author: Neco
Version: v1.074 - Public Beta
Requirements: W3XP, if you try with any other client you run the risk of being banned.
Description: Allows users with a Warcraft III TFT bot to connect to games in the lobby and chat to users within that lobby.
Notes:
  • While in the game lobby, the bot remains in the channel so you do not lose designation and can still talk to users in the channel.

  • This bot works by pretending to have the map, so having the map is not required. In future versions, hopefully I will get a map download option.

  • The purpose of this release is to find bugs with what I have now. If you find any, please reply in this post so I can improve / fix it.

  • There seems to be an problem with joining user-created games. This is due to a slot request and I'm working on it.

  • This client cannot actually be inside a game. There are fail-safes that exit the bot when a countdown starts.

  • USE THIS SCRIPT AT YOUR OWN RISK, BECAUSE IT DEALS WITH PACKETS YOU CAN BE IPBANNED. THIS SHOULD NOT HAPPEN BUT IT IS POSSIBLE.
  • Yes, I realise the scripting is in a really horrible way, but I'm getting there.

Script Usage
How to open the IU
Posted Image
This opens the UI, which is the only way to view the scripts actions.

The Interface
Posted Image

The panel to the left will show lobby information, player colors and teams. Currently, it just shows the ID of players in the lobby.

The central console is where all the actions are displayed.

The chatbar, located under the central console, is where you type messages to send to others in the game lobby. You can use any Stealthbot internal command in this box, but the result will show on the Stealthbot console.

The panel to the right is the game list. You can set the list to autorefresh at certain intervals, or click "Refresh List" to clear the old list and replace it. To connect to a game, simply double-click the item on the list, or enter a gamename in the textbox located underneath the game list.
To disconnect from a game, hit the "Disconnect" button.

Version: v1.075 - Public Beta
Changes:
  • Added the "/cls" command for oblivious. I might add a button for it later. To use, just type "/cls" in the game console window.
  • Removed "[Nexus]" from the AddGChat sub.
  • Fixed the error that you would get if you tried to minimize the window.
  • Messed around with the REQUESTJOIN packet. Its still not completely working but now some games created by users are accepting the bot.

New Download
Attached File  Nexus (2).txt (57.62K)
Number of downloads: 201

Attached File(s)

  • Attached File  Nexus.txt (57.07K)
    Number of downloads: 150

This post has been edited by The-Black-Ninja: February 08, 2010 - 05:40 AM


#2 User is offline   oblivious Icon

  • Full Member
  • PipPipPip
  • Group: Senior Members
  • Posts: 315
  • Joined: October-25 09

Posted February 07, 2010 - 09:08 AM

Quote

You are clueless at coding, there's no way you did this. (I haven't looked at the coding yet, but by judging this... I doubt you coded it.. well know...)


what the

but excellent job Neco, I'm going to try it out on pvpgn servers right now!

View Postoblivious, on 07 February 2010 - 05:06 PM, said:

what the

but excellent job Neco, I'm going to try it out on pvpgn servers right now!



Suggestion: Can you please add a button to clear the window? :) '

I'm getting this error

[5:08:41 PM][Nexus] Game found. Will now attempt to join...
[5:08:41 PM][Nexus] Listening for connections on port xxxxxx.
[5:08:41 PM][Nexus] Connecting to host of <game name>...
[5:08:41 PM][Nexus] Connecting to user at xxx.xxx.xxx.xxx:xxxxxx...
[5:08:41 PM][Nexus] User #1 connected!
[5:08:41 PM][Nexus] Sending join information to host...
[5:08:42 PM][Nexus] Join rejected. The slot you requested was taken.
[5:08:42 PM][Nexus] User #1 disconnected.
[5:08:42 PM][Nexus] The host has closed your connection.
[5:08:42 PM][Nexus] Disconnected.


I've tried connecting to many games.

This post has been edited by oblivious: February 07, 2010 - 09:12 AM


#3 User is offline   Fallen-God Icon

  • Full Member
  • PipPipPip
  • Group: Members
  • Posts: 364
  • Joined: September-11 09

Posted February 07, 2010 - 10:13 AM

haven't looked at it, and probably won't, but seems to be a great step forward for SB.

Nice work Neco and Ribose
Choose Functional.

#4 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted February 08, 2010 - 03:25 AM

View Postoblivious, on 07 February 2010 - 09:08 PM, said:

[5:08:41 PM][Nexus] Game found. Will now attempt to join...
[5:08:41 PM][Nexus] Listening for connections on port xxxxxx.
[5:08:41 PM][Nexus] Connecting to host of <game name>...
[5:08:41 PM][Nexus] Connecting to user at xxx.xxx.xxx.xxx:xxxxxx...
[5:08:41 PM][Nexus] User #1 connected!
[5:08:41 PM][Nexus] Sending join information to host...
[5:08:42 PM][Nexus] Join rejected. The slot you requested was taken.
[5:08:42 PM][Nexus] User #1 disconnected.
[5:08:42 PM][Nexus] The host has closed your connection.
[5:08:42 PM][Nexus] Disconnected.


I've tried connecting to many games.


Thats the error that I was talking about in the notes.

Quote

There seems to be an problem with joining user-created games. This is due to a slot request and I'm working on it.

When you connect to a game, you have to request a slot to join. There must be a way to do this without sending a specific slot but I haven't found it yet.

You can still connect to games hosted by GHost and LC, because they just shove you in the next available slot.

Note: Nothing has been tested on pvpgn servers, so it'd be great if you could tell me some more info about problems.

#5 User is offline   oblivious Icon

  • Full Member
  • PipPipPip
  • Group: Senior Members
  • Posts: 315
  • Joined: October-25 09

Posted February 08, 2010 - 05:22 AM

That's the only I'm problem I'm getting at the moment. Everything else seems to work.
I suppose after you receive the taken slot packet, you just send another one with slot+1? I'm not sure, but wiresharking a wc3 client will probably tell you the answer.

#6 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted February 08, 2010 - 05:45 AM

Version: v1.075 - Public Beta
Changes:
  • Added the "/cls" command to the game chatbar. You can now type it in to clear the text in the console.
  • Fixed the error that you would get it you tried to minimize the form.
  • Messed around with the REQUESTJOIN packet and it not seems to accept the bot. On some occasions the error is still there but its being worked on.
  • Fixed the game refresh timer to start at 0 not 100

New Version


oblivious, I've tried the resend packet thing but the host disconnects you... working on a system that might allow you to keep the connection alive.
Wiresharked the official client, then the bots packet data and there was no real difference. I did make a minor internal IP change that seemed to fix some joining.

This post has been edited by Neco: February 08, 2010 - 05:47 AM


#7 User is offline   oblivious Icon

  • Full Member
  • PipPipPip
  • Group: Senior Members
  • Posts: 315
  • Joined: October-25 09

Posted February 08, 2010 - 05:55 AM

Ok, well, I've kind of started work at the moment so I'll test it in a while.

#8 User is offline   AbsoluteMSTR Icon

  • Newbie
  • PipPip
  • Group: Beta Testers
  • Posts: 88
  • Joined: August-17 09

Posted February 11, 2010 - 11:41 PM

not bad, got disc when i press connect twice to a game thats not there, manually added a game name in. See a lot of potential

#9 User is offline   AbsoluteMSTR Icon

  • Newbie
  • PipPip
  • Group: Beta Testers
  • Posts: 88
  • Joined: August-17 09

Posted February 17, 2010 - 10:36 PM

Quote

Scripting runtime error '424' in Nexus: (line 496; column 0)
Object required: 'Game'
Offending line: >>


i get this error randomly during my usage

#10 User is offline   Tuck Icon

  • Full Member
  • PipPipPip
  • Group: Banned
  • Posts: 587
  • Joined: August-31 09

Posted February 17, 2010 - 10:43 PM

What about me neco? =0
-Tuck

#11 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted February 18, 2010 - 06:29 AM

Version: v1.089 - Public Beta
Changes:
  • Moved the UI around a bit.
  • Added a button that hides the gamelist.
  • Added gamestats, shows the game creator and other WC3 map things.
  • When joining a game and receiving that the game slot is taken, the bot will automatically try to reconnect to another slot.
  • Changed it so that when the bot is disconnected, the form will be closed and unopenable to prevent trying to send packets while disconnected.

New Version


This should fix a few problems. I couldn't recreate the "Game" bug, could you give me some more info (what you were doing at the time ect).

This post has been edited by Neco: February 18, 2010 - 06:32 AM


#12 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted March 01, 2010 - 06:41 AM

Version: v1.124 - Public Beta
Changes:
  • Added the command "/priv <username>". Allows you to send a private ingame message to the specified user.
  • Added command handling. Users in the lobby with the bot can now access commands just like they were in a channel.
  • Moved gamestats around a bit.
  • Added the "<TRIGGER>leave" command that is usable by players in the lobby. Makes the bot disconnect from the game.

New Version
Attached File  Nexus 1.124.txt (64.58K)
Number of downloads: 132

Enjoy :P

#13 User is offline   Tuck Icon

  • Full Member
  • PipPipPip
  • Group: Banned
  • Posts: 587
  • Joined: August-31 09

Posted March 01, 2010 - 04:05 PM

View Postoblivious, on 07 February 2010 - 10:08 AM, said:

I'm getting this error

[5:08:41 PM][Nexus] Game found. Will now attempt to join...
[5:08:41 PM][Nexus] Listening for connections on port xxxxxx.
[5:08:41 PM][Nexus] Connecting to host of <game name>...
[5:08:41 PM][Nexus] Connecting to user at xxx.xxx.xxx.xxx:xxxxxx...
[5:08:41 PM][Nexus] User #1 connected!
[5:08:41 PM][Nexus] Sending join information to host...
[5:08:42 PM][Nexus] Join rejected. The slot you requested was taken.
[5:08:42 PM][Nexus] User #1 disconnected.
[5:08:42 PM][Nexus] The host has closed your connection.
[5:08:42 PM][Nexus] Disconnected.


I've tried connecting to many games.


I think neco fixed this one already but i dont know, since in the join packet you need a "HostCounter" and if the hostcounter is not correct you will recieve
This: (i called HostCounter Slot in my C# example)
                    case 0x05: //Rejected_Join
                        Reader.ReadWord();
                        Reason = Reader.ReadDWord();
                        switch (Reason)
                        {
                            case 0x07: //Try Again
                                Client.Disconnect();
                                Slot = ++Slot % 256;
                                Client.Connect(IP, Port);
                                break;

This post has been edited by Tuck: March 01, 2010 - 04:32 PM

-Tuck

#14 User is offline   AbsoluteMSTR Icon

  • Newbie
  • PipPip
  • Group: Beta Testers
  • Posts: 88
  • Joined: August-17 09

Posted May 06, 2010 - 02:08 AM

was wondering if you were going to add map download?

#15 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted May 06, 2010 - 03:38 AM

This is about 4th on my list of projects so it won't be for a bit yet. I'm completely rewriting it so it uses a unique system to Ribose's old one so... yeah.

#16 User is offline   RoNiN Icon

  • Newbie
  • PipPip
  • Group: Senior Members
  • Posts: 19
  • Joined: September-16 09

Posted May 11, 2010 - 08:06 AM

holy shit what a script

#17 User is offline   AbsoluteMSTR Icon

  • Newbie
  • PipPip
  • Group: Beta Testers
  • Posts: 88
  • Joined: August-17 09

Posted May 19, 2010 - 03:01 AM

will it support some level of scripting, plugin system?

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users