Tutorials

From ISXWoW

Jump to: navigation, search

Contents

Writing Your First C# Application

This page is a little cluttered, so I made a seperate page for this tutorial, view it here: http://www.isxwow.net/index.php/FirstCSApp

Writing A Proximity Alarm in C#

This is the next step. It covers a lot more than the first tutorial. Page title is AFK alarm but it isn't really GG me. http://www.isxwow.net/index.php/BuildingAFKAlarmCS

A simple bot to serve as an example

To get you going on your way towards making the next mastermind bot, Junior made SimpleBot and gave it away freely at http://www.isxwow.net/forums/viewtopic.php?f=15&t=1506&hilit=

Installing WoWBot/ISXWoW/ISXWarden All In One Simplified Guide

By: --Undrgrnd59 12:43, 5 January 2007 (PST)

Introduction

Okay, so you just installed Innerspace after deciding that Glider just won't cut it anymore. But oh no! It's much harder to setup, if you can't handle copying, pasting, dragging, and downloading, turn away, fast!

Read this page, its important to know if you want continued IS support for WoW: http://www.isxwow.net/index.php/Introduction_To_ISXWoW

Step By Step...

Enough with the lesson, lets just get to botting!

  1. The very first step of course is to install Innerspace. Not much too it, you probably wouldn't have found this FAQ if you haven't already.
  2. Your next step is to install ISXWoW and ISXWarden. You can find those downloads here: http://www.isxwow.net/index.php/Installing_ISXWoW#Download Put the ISXWarden file in your Innerspace/extentions folder. Download the installer for ISXWoW and run it - it will put the files where they need to be.
  3. Now we get to downloading the actual WoWBot. You need to register for the ISXWoW forums (Instructions above) Once your registered and have entered your Lavish Affiliate key (In your forum profile) you can now download WoWBot. Find the title WoWBot in this forum: http://www.isxwow.net/forums/viewforum.php?f=23 At the moment the latest release is WoWBot16h, though this is subject to change as the script is updated. Extract the WoWBot folder from the archive you downloaded it in and place the contents in an Innerspace/Scripts/wowbot folder.
    • Using 16h the files wowbot.iss and variables.iss (along with several subdirectories) should be located in the Innerspace/Scripts/wowbot folder . If you install wowbot to a different folder you will need to keep this in mind when running the script in subsequent steps.
  4. Now, in order for WoWBot to run, it needs a routine file that will tell it how to play your class. Go to this forum: http://www.isxwow.net/forums/viewforum.php?f=21 And download a routine file for your class. Note: some routines are described as being 'for' specific versions of wowbot (ie 'warrior routine for wowbot15') but routines are in fact fairly interchangeable. A routine written for wowbot15 will probably work for wowbot16, etc. When in doubt just download the routine and try it out!
    • Note: The location of the routines file varies by version.
      • For older versions of wowbot the routine file is named routines.iss and is to be placed in a subdirectory defined by the character's name and realm. IE. A character named Somejerk on a realm called Somerealm will need a routines.iss file placed in the wowbot/somerealm/somejerk folder.
      • This was changed in wowbot16. If you are using wowbot16 routine files are named by class and placed in the wowbot/routines folder. IE. If you want to bot a paladin place a routine file in the routines directory and rename it 'paladin.iss', or 'hunter.iss' for a hunter, etc.
  5. Follow the steps here to setup your WoW for Innerspace(This is also explained at http://isxwow.net/index.php/Installing_ISXWoW):
    1. Open the Inner Space configuration window and select Game Configuration
    2. Select World of Warcraft in the drop-down box
    3. Click Startup in the upper right
    4. Click Insert
    5. Click on "New Entry" in the box
    6. Name the entry like ISXWarden instead of New Entry
    7. As command to execute, type "ext ISXWarden"
    8. Click Finished
    9. Click Apply
    10. ISXWarden will now automatically load when World of Warcraft is launched.
  6. Now, right click the Innerspace Icon on your taskbar and open World of Warcraft using the Default Profile. Just as a note you access the console by pressing ~, you can check now that you setup ISXWarden correctly by pressing it and looking for the line saying "ISXWarden version approved by WardenNet".
  7. If it was setup right log into the game and go on your character. Press ~ and type run wowbot/wowbot. It should give you a message about having to make a pathfile now. Follow the on screen instructions until you have successfully made your first path file. (See Path file tutorial)
  8. Run WoWBot again using the command above and now you can finally get to botting!
    • Information on WoWBot settings can be found at: http://isxwow.net/index.php/WoWBot:Configuration
      • These settings are found in the config/WoWBot_charactername.xml file in the WoWBot16 series, or in the servername/charactername/WoWBot_charactername.xml file in version 15 or older. Newer versions of wowbot have GUI options to configure many settings - including selecting and making new paths - so make sure you download an updated version to get the latest features.

Have fun!

Using WoWSkin

Written by mrTero, duplicated from forums to Wiki by UndRgrnD.

Introduction

What is WoWSkin? It is simply a... skin... to replace the lame blue windows that IS uses by default and give them more of a "World of Warcraft" feel, nothing more than changing looks so if you get confused by this your better off just forgetting about it.

Install WoWSkin

First, lets place the WoWSkin in the right directory:- Download WoWSkin from the following location: - http://www.ismods.com/forums/viewtopic.php?t=2436 - Unzip the WoWSkin.zip in your InnerSpace folder. (C:\Program Files\InnerSpace\ or something)

You should now have a folder named WoWSkin in your "\InnerSpace\Interface\" folder. You are doing great Wink Lets move on.

You want to have one of your scripts using WoWSkin instead of the standard "Blue-skin"? Okidoki, so, how to explain this the easiest way .. lets use an example.

Reskinning AutoFish

- Get AutoFish from the following location:
- Autofish on ISXWoW forums (See also Autofish)
- Unzip this somewhere on your computer, as long as its NOT to your "\InnerSpace\Scripts\" folder ^^ Why? well, this version of AutoFish contains and old version of AFKAlarm that you don't want to replace with your new one ^^
- Now, Copy the following folders, and files to your "\InnerSpace\Scripts\" folder:

 Autofish - Folder
Autofish.iss - File

You can delete, or do what ever you want to with the two other files ;o) (AFKAlarm, AFKAlarm.iss)

- Open the file Autofish.iss, i normally use Notepad to read the .iss files. but if you have another editor that you rather want to use, please do. (Autofish.iss is the main file for this script, the main file is, as far as I know, always the file you run to initialize the script in your console, in game ^^ (run afkalarm, or run wowbot/wowbot)
- You do have to search for the script line, that loads the scripts Interface. to do this, please open the search function in your text editor. (for notepad, that would be either: Edit>Search or [Ctrl]+[b])

- Search for "ui -load"
- You should now see a line thats named:

  ui -load Autofish/Interface/AutofishUI.xml

This line loads the ui, or interface if you rather want to call it that. What we have to do, is to edit this one, or add a few things, so that it loads not only the ui, but also the WoWSkin, together with the UI.
- First thing we will add is a line, or a code that will make sure we load WoWskin, so that we later on can use the skin. This is easy, just add the following like in front of the "ui -load" line like this:

  ui -load wowskin/wowskin.xml
  ui -load Autofish/Interface/AutofishUI.xml

This still wont work tho ;P why? because we have to tell the script to load the wowskin together with AutofishUI.xml
- To do this, we will add a new code right after the "ui -load" part.

  ui -load wowskin/wowskin.xml
  ui -load -skin wowskin Autofish/Interface/AutofishUI.xml


Could I explain this any easier? as you can see, all you have to do, is locate the "ui -load" function, and add "ui -load wowskin/wowskin.xml" + "-skin wowskin". You probably have to look for "ui -load" in several files if you are changing the UI for a bigger script.

WoWRadar

A place where I change the skin, is the standard WoWRadar that is a part of ISXWoW.

You normally load that with the following code:

ui -load wowradar

But instead of that, make yourself a script that looks like this:

  ; WoW Radar - World of Warcraft Radar with WoWSkin
  function main()
  {
     ; Unload Interface, b4 load =)
     ui -unload wowradar
     ; Load our user interface elements.
     ui -load wowskin/wowskin.xml
     ui -load -skin wowskin wowradar.xml
  }


Why unload first? Well, just to make it easier- because WoWRadar doesn't unload unless you type that code in console every time. It doesn't help to just hit the "x" in the interface window.

I did some changes in the WoWRadar.xml (Located in your "\InnerSpace\Interface\" folder). But I cant say I remember exactly what I changed.. it was the size of the Radar frame that looked messed up using wowskin... Well, instead of looking for the text I changed, I can just as well post my WoWRadar.xml file, so that you can replace it with your own =)

Edit: The only changes made to the wowradar.xml file are the height and width of the windows:

Search for:
<Window Name='wow radar'>
<Window Name='pvp radar'>

Change in both:
<Width>250</Width>
<Height>250</Height>

Have a good day, hope this helps you out =)

Download WoWRadar.xml : [1]

Note: The original topic and tutorial is http://www.isxwow.net/forums/viewtopic.php?f=20&t=332 - if my webserver is down (Which it may very well be since I host it myself) you can download the WoWRadar.xml there).

Configuring Visual Studio for ISXWoW.NET

Introduction

This Tutorial will help you configure Visual Studio 2005 and create your first .NET application. This tutorial does not cover any .NET languages. (This tutorial will use Visual C# Express Edition)


Configuring the Project for IXSWoW.NET

Once you have Visual Studio loaded, perform the following actions:

  • File -> New Project
  • Choose Windows Application
  • Name: YourProjectName
  • Click OK

At this point you should have your first .NET project! In order to prepare the project to work with ISXWoW.NET perform the following actions:
Configure your application to use a Strong Name (NOTE: This step is not essential/needed. If you are having problems with it, skip it.):

  • Project -> YourProjectName Properties
  • Choose the Signing Tab
  • Check the Checkbox: Sign the Assembly
  • Under the Choose a Strong Name Key File choose New...
  • When the Create A Strong Key Name dialog Box appears choose a Key File Name. You an also choose a password if you desire one.

Now that you have configured your application to use a Strong Name, configure your application to add itself to the Windows Global Assembly Cache automatically

(*Note from OddBall* This following step in italics causes all sorts of errors and is not needed. I highly recommend you skip it. Instead go to your project properties window and click on the "Build" section. Scroll down until you find "Output" and go to "Output Path" and browse to your "Innerspace\.Net Programs\" and click open. This saves you from having to copy your .exe file of your project, from your project folder into the .Net Programs folder of your Innerspace folder after you've built your program. This will make more sense once you reach the end of the tutorial on how to get your character name. For now just skip the step below IN ITALICS.):

* Project -> YourProjectName Properties

* Configure the Post Build Events

* C#: Choose the Build Events Tab

* VB.NET: Choose the Build Events Button on the Compile Tab

* In the Post Build Events Command Line Window, enter the following code:

* "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" /i "$(TargetPath)"

* "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" /l "$(ProjectName)">"$(ProjectDir)name.txt"

*(Update the path of .NET 2.0 to match yours if you choose a different installation directory) When you build your project, You will have a file in your project directory called name.txt. This is the information you will use later to launch your assembly from within Inner Space.)

Configure your application with a reference to the Lavish.InnerSpace.dll library

  • Project -> Add Reference
  • Choose the Browse Tab
  • Browse to your Inner Space installation directory
  • Select the Lavish.InnerSpace.dll file and choose OK


Configure your application with a reference to the ISXWoW.NET library

  • Project -> Add Reference
  • Choose the Browse Tab
  • Browse to your Inner Space installation directory
  • Select the ISXWoW.NET.dll file and choose OK


After following these steps, your project is now ready to begin developing your project!

More Information

Personal tools