View Single Post
Old 06-17-2007, 10:17 AM   #2 (permalink)
Arthanys
Newbie
 
Join Date: Jan 2006
Posts: 37
Default

More important scripts:

In misc\charactercreation.cs

Search for this line:
Code:
BankBox bank = m.BankBox;
And below this put this line:
Code:
m.BankBox.MaxItems = 350;
Now the bank have a limit for 350 itens =)

----------------------------------

In misc\charactercreation.cs
search for these lines:

Code:
CityInfo city = GetStartLocation( args, young );
//CityInfo city = new CityInfo( "Britain", "Sweet Dreams Inn", 1496, 1628, 10, Map.Felucca );
To the players "born" in only a local comment the first line and descomment the second, for e.g. :

*When you comment the line ( put the // in front of the line) is like the line does exist, why no is compiled by the emulator.

Code:
//CityInfo city = GetStartLocation( args, young );
CityInfo city = new CityInfo( "Britain", "Sweet Dreams Inn", 1496, 1628, 10, Map.Felucca );
Now all the char go "born" in britain, look this: 1496, 1628, 10
Is the coordenates, use the command [where in the local to take the coordenates and put int script.
-----------------------------------------

In misc\charactercreation.cs
search for this line:

Code:
m.StatCap = 250;
Below this put this line:

Code:
m.StatCap = 250;
newChar.SkillsCap = 7200;
All the char created instant now go have 720 of skillcap.
If you want to change the stat cap....
*7200 why is 720.0 =)

------------------------------------

In misc\ServerList.cs
search for this line:

Code:
public const string ServerName =
I not remember what comes with the default name... but search for this part of line =)

For e.g. , the name of you shard goes be: Testing Name, so:

Code:
public const string ServerName = "Testing Name";
---------------------------------

in \Misc\Test Center\TestCenter.cs
search for this line:

Code:
private const bool m_Enabled = false;
Example: if you write: set str 100 or set archery 110
And this variable = false, this don't work.

Code:
private const bool m_Enabled = true;
----------------------------------

in misc\AutoSave.cs

Code:
private static TimeSpan m_Delay = TimeSpan.FromMinutes( 5.0 );
Code:
private static TimeSpan m_Delay = TimeSpan.FromMinutes( 30.0 );
Now the world goes save 30 in 30 minutes.

-----------------------------------

Remember: if you modify any scripts, is need to recompile all scripts.

Sorry for my english.. hehehe

Bye!
Arthanys is offline   Reply With Quote