Difference between revisions of "NewUserWalkthrough:Page2"

From ISXOgre
Jump to: navigation, search
Line 67: Line 67:
 
<br>CharInfo[${TempCounter},3]:Set[LoginName]
 
<br>CharInfo[${TempCounter},3]:Set[LoginName]
 
<br>CharInfo[${TempCounter},4]:Set[ServerName]
 
<br>CharInfo[${TempCounter},4]:Set[ServerName]
 +
<br>
 
<br>TempCounter:Inc
 
<br>TempCounter:Inc
 
<br>CharInfo[${TempCounter},1]:Set[ToonName]
 
<br>CharInfo[${TempCounter},1]:Set[ToonName]
Line 74: Line 75:
 
<br>}
 
<br>}
 
</blockquote>
 
</blockquote>
 +
 +
Options:
 +
* Fill out everything - Provides full functionality. Including authorization list, auto login, support for Hireg etc.
 +
** Fill out all 4
 +
* Fill out ToonName only - Provides most functionality - Including authorization list. Lose auto login and Hireg support.
 +
** Fill out "ToonName" only
 +
* Fill out nothing - You lose authorization and auto login. I highly don't recommend this if you run more than 1 toon since your bots will not respond to each other if they give commands (since they won't be authorized).
 +
** Fill nothing out.

Revision as of 13:25, 28 April 2010

New User Walkthrough - Page 2: EQ2Chars.inc



EQ2Chars.inc

First thing you have to do, is setup a file called EQ2chars.inc. This file contains private information the bot needs to complete some functions. This file is used for the following reasons:

  • Auto-logging toons in
  • Allowing other toons to give commands (such as making you a leader)
  • Responding to events from characters (such as accepting group invites, or accepting a res)
  • Connecting to other computers via Innerspace's uplink

Navigate to the following directory: /scripts/EQ2OgreCommon/DoNotShareWithOthers/

In here you will find 2 files, Blank.EQ2Chars.inc and readme.txt. First thing you need to do, is rename the file from "Blank.EQ2Chars.inc" to "EQ2Chars.inc". Now edit the file (you can right click -edit).


Setuping up the Uplink

The first function is the Uplink. This allows you to connect to other computers.

The first function you should see is:

function SetUpUplink()
{
UplinkInfo[${UplinkCount:Inc}]:Set[Computername1]
UplinkInfo[${UplinkCount:Inc}]:Set[Computername2]
}

Change the "Computername#" to the names of the other computers you wish to connect too. If you have more than 2 computers, simply add more. Here are a few examples:

Example 1: Connecting to 1 other computer named "Kannkor1"

function SetUpUplink()
{
UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor1]
}

You will notice I simply deleted the extra line.

Example 2: Connecting to 5 other computers"

function SetUpUplink()
{
UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor1]
UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor2]
UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor3]
UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor4]
UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor5]
}

More computers, just add more lines.

Setuping up Character information

The next function is used to setup your character information.

NOTE - You don't technically need to fill this information out. It is 100% secure as only your computer uses this information. You should NEVER share this file with anyone, not even me - ever. If you are not comfortable filling this out, you do not have too. You will just limit some of the functionality. Either way, continue reading as filling out part of the information will add to functionality.

The next function should look like this:


function SetUpChars()
{
variable int TempCounter=1
CharInfo[${TempCounter},1]:Set[ToonName]
CharInfo[${TempCounter},2]:Set[Password]
CharInfo[${TempCounter},3]:Set[LoginName]
CharInfo[${TempCounter},4]:Set[ServerName]

TempCounter:Inc
CharInfo[${TempCounter},1]:Set[ToonName]
CharInfo[${TempCounter},2]:Set[Password]
CharInfo[${TempCounter},3]:Set[LoginName]
CharInfo[${TempCounter},4]:Set[ServerName]
}

Options:

  • Fill out everything - Provides full functionality. Including authorization list, auto login, support for Hireg etc.
    • Fill out all 4
  • Fill out ToonName only - Provides most functionality - Including authorization list. Lose auto login and Hireg support.
    • Fill out "ToonName" only
  • Fill out nothing - You lose authorization and auto login. I highly don't recommend this if you run more than 1 toon since your bots will not respond to each other if they give commands (since they won't be authorized).
    • Fill nothing out.