Difference between revisions of "NewUserWalkthrough:Page2"
Line 25: | Line 25: | ||
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: | 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" | |
− | + | <blockquote> | |
+ | function SetUpUplink() | ||
+ | <br>{ | ||
+ | <br> UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor1] | ||
+ | <br>} | ||
+ | </blockquote> | ||
+ | You will notice I simply deleted the extra line. | ||
+ | |||
+ | Example 2: Connecting to 5 other computers" | ||
+ | <blockquote> | ||
+ | function SetUpUplink() | ||
+ | <br>{ | ||
+ | <br> UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor1] | ||
+ | <br> UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor2] | ||
+ | <br> UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor3] | ||
+ | <br> UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor4] | ||
+ | <br> UplinkInfo[${UplinkCount:Inc}]:Set[Kannkor5] | ||
+ | <br>} | ||
+ | </blockquote> | ||
+ | More computers, just add more lines. |
Revision as of 13:14, 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).
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.