Difference between revisions of "NewUserWalkthrough:Page2"

From ISXOgre
Jump to: navigation, search
Line 142: Line 142:
 
<br>function SetUpChars()
 
<br>function SetUpChars()
 
<br>{
 
<br>{
<br>variable int TempCounter=1
 
 
<br>variable int TempCounter=1
 
<br>variable int TempCounter=1
 
<br>CharInfo[${TempCounter},1]:Set[Kannkor]
 
<br>CharInfo[${TempCounter},1]:Set[Kannkor]
Line 156: Line 155:
 
<br>}
 
<br>}
 
</blockquote>
 
</blockquote>
 +
 +
 +
You can always edit this file at any time. Just remember not to share this file with anyone, because it has your toon names, and your username and passwords!
 +
 +
Save the file, and continue on.
  
 
== Navigation ==  
 
== Navigation ==  

Revision as of 13:37, 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.

In the example, it only gives you room for 2 toons. So you copy/paste the following lines. Here is an example of 4 toons with full information (it's obviously fake information, so don't try to log into my account :) ).


function SetUpChars()
{
variable int TempCounter=1
CharInfo[${TempCounter},1]:Set[Kannkor]
CharInfo[${TempCounter},2]:Set[SecretPassword]
CharInfo[${TempCounter},3]:Set[KannkorLoginOne]
CharInfo[${TempCounter},4]:Set[Unrest]

TempCounter:Inc
CharInfo[${TempCounter},1]:Set[KannkorWife]
CharInfo[${TempCounter},2]:Set[SecretPassword]
CharInfo[${TempCounter},3]:Set[KannkorLoginTwo]
CharInfo[${TempCounter},4]:Set[Unrest]

TempCounter:Inc
CharInfo[${TempCounter},1]:Set[KannkorGirlfriend]
CharInfo[${TempCounter},2]:Set[SecretPassword]
CharInfo[${TempCounter},3]:Set[KannkorLoginThree]
CharInfo[${TempCounter},4]:Set[Unrest]

TempCounter:Inc
CharInfo[${TempCounter},1]:Set[KannkorWhore]
CharInfo[${TempCounter},2]:Set[SecretPassword]
CharInfo[${TempCounter},3]:Set[KannkorLoginFour]
CharInfo[${TempCounter},4]:Set[Unrest]
}

If you choose to fill out your toon name only, it would look like this:


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

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

Since you won't be using the auto-login feature, the "Password" field can stay as "Password".


NOTE - If you play with others that know you bot, or people you trust to be on your authorized list, you can add them also. You can have a mix of full information, and Toon name only. For example, here is my toon information, with a friend's toon that gives him authorization. Since I don't know his login information, it won't be used.


function SetUpChars()
{
variable int TempCounter=1
CharInfo[${TempCounter},1]:Set[Kannkor]
CharInfo[${TempCounter},2]:Set[SecretPassword]
CharInfo[${TempCounter},3]:Set[KannkorLoginOne]
CharInfo[${TempCounter},4]:Set[Unrest]

TempCounter:Inc
CharInfo[${TempCounter},1]:Set[Abe] <---- Friends toon name
CharInfo[${TempCounter},2]:Set[Password]
CharInfo[${TempCounter},3]:Set[LoginName]
CharInfo[${TempCounter},4]:Set[ServerName]
}


You can always edit this file at any time. Just remember not to share this file with anyone, because it has your toon names, and your username and passwords!

Save the file, and continue on.

Navigation

Back to Page 1 Introduction

Continue to Page 3 Need a name here