This will be updated every 2-3 days. Newest core edits in blue
Latest Updates- Final Edition for 2 Months!
BattlegroundMgr.h (Ascent-world folder)
To change the levels that players can enter battlegrounds
MailSystem.cpp (Ascent-World folder)/* get level grouping for player */
static inline uint32 GetLevelGrouping(uint32 level)
{
if(level < 10)
return 0;
else if(level < 20)
return 1;
else if(level < 30)
return 2;
else if(level < 40)
return 3;
else if(level < 50)
return 4;
else if(level < 60)
return 5;
else if(level < 70)
Change the 3600 to the number of seconds you want to wait before sending mail
if(!sMailSystem.MailOption(MAIL_FLAG_DISABLE_HOUR_DELAY_FOR_ITEMS))
msg.delivery_time += 3600; // 1hr
MailSystem.cpp (Ascent-World folder)
Change the 30 to the number of days before mail expieres
Master.cpp (Ascent-World folder)if(!sMailSystem.MailOption(MAIL_FLAG_NO_EXPIRY))
msg.expire_time = (uint32)UNIXTIME + (TIME_DAY * 30);
To make custom message in red appear, change this:
to#endif
printf("nCopyright (C) 2005-2007 Ascent Team. http://www.ascentemu.com/n");
printf("This program comes with ABSOLUTELY NO WARRANTY, and is FREE SOFTWARE.n");
printf("You are welcome to redistribute it under the terms of the GNU Afferon");
printf("General Public License, either version 3 or any later version. For an");
printf("copy of this license, see the COPYING file provided with this distribution.n");
Log.Line();
Object.cpp (Ascent-World folder)printf("nCopyright (C) 2005-2007 Ascent Team. http://www.ascentemu.com/n");
printf("This program comes with ABSOLUTELY NO WARRANTY, and is FREE SOFTWARE.n");
printf("You are welcome to redistribute it under the terms of the GNU Afferon");
printf("General Public License, either version 3 or any later version. For an");
printf("copy of this license, see the COPYING file provided with this distribution.n");
Log.Color(TRED);
printf("MY MESSAGE GOES HERE IN RED TO THE WORLDn");
Log.Color(TNORMAL);
Log.Line();
Edit this to change the speeds in-game:
Player.cpp (Ascent-World folder)m_walkSpeed = 2.5f;
m_runSpeed = 7.0f;
m_base_runSpeed = m_runSpeed;
m_base_walkSpeed = m_walkSpeed;
m_flySpeed = 7.0f;
m_backFlySpeed = 4.5f;
m_backWalkSpeed = 4.5f; // this should really be named m_backRunSpeed
m_swimSpeed = 4.722222f;
m_backSwimSpeed = 2.5f;
m_turnRate = 3.141593f;
Edit the maximum time you can be underwater without dying
Player.cpp (Ascent-world folder)m_UnderwaterTime += (p_time * 10);
Edit the number after the + sign to edit the # of talent points after they level. You will also have to uncomment this section
ReputationHandler.cpp (Ascent-World folder)uint32 curTalentPoints = GetUInt32Value(PLAYER_CHARACTER_POINTS1);
SetUInt32Value(PLAYER_CHARACTER_POINTS1,curTalentPoints+1);
Example: 21000= Exalted i think..Change to number you wish it to be
Stats.cpp (Ascent-World folder)static int32 STANDING_TO_RANK[8] = {-36000, -6000, -3000, 3000, 6000, 12000, 21000, 1000};
Change numbers 2.0, 2.0, 2.5 to the number of xp bonus that you want for killing this type of creature
Common.h (Ascent-Shared folder)switch(victimI->Rank)
{
case 0: // normal mob
break;
case 1: // elite
xp *= 2.0f;
break;
case 2: // rare elite
xp *= 2.0f;
break;
case 3: // world boss
xp *= 2.5f;
break;
Change this and uncomment it if you wish to make a repack
Storage.h (Ascent-Shared folder)#define REPACK "Moocow's Repack"
#define REPACK_AUTHOR "Trelorn"
#define REPACK_WEBSITE www.google.com
Edit the 200000 with 999999 to raise the item cap
CharacterHandler.cpp (Ascent-World folder)#define STORAGE_ARRAY_MAX 200000
Allow players to create names with characters other than just letters by editing this, just move the banned chars you want them to be able to use to the allowed chars:
ChatHandler.cpp (Ascent-World folder)static const char * bannedCharacters = "tvbfanr"\'? <>[](){}_=+-|/!@#$%^&*~`.,0123456789";
static const char * allowedCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
Change GM autoreply, so if you want them to post on forums or something like that rather than opening a ticket like the message says. Edit inside qoutation marks:
ChatHandler.cpp (Ascent-World folder)string Reply = "This Game Master does not currently have an open ticket from you and did not receive your whisper. Please submit a new GM Ticket request if you need to speak to a GM. This is an automatic message.";
Delete "|| !_player->isAlive" to allow people to speak when dead.
if(!_player->IsInWorld() || !_player->isAlive())
WarsonGulch.cpp (Ascent-World folder)
Change the sound when someone scores
WarsongGulch.cpp (Ascent-World folder)PlaySoundToAll( plr->GetTeam() ? SOUND_HORDE_SCORES : SOUND_ALLIANCE_SCORES );
Change amount of honor after you score with the flag
plr->m_bgScore.BonusHonor += 82;
HonorHandler::AddHonorPointsToPlayer(plr, 82);
Guild.cpp (Ascent-World folder)
Change the rank names to whatever you wish (In parenthesis)
GuildRank * leaderRank = CreateGuildRank("Guild Master", GR_RIGHT_ALL, true);
CreateGuildRank("Officer", GR_RIGHT_ALL, true);
CreateGuildRank("Veteran", GR_RIGHT_DEFAULT, false);
CreateGuildRank("Member", GR_RIGHT_DEFAULT, false);
GuildRank * defRank = CreateGuildRank("Initiate", GR_RIGHT_DEFAULT, false);
EyeOfTheStorm.cpp (Ascent-World folder)
Change the numbers to how ever many points you want them to get. Example:For them to control 4 towers and change it to 25 points every
2 seconds I would change the 10 to a 25
[code]
1 tower controlled = 1 point/tick (0.5 points per second)
2 towers controlled = 2 points/tick (1 point per second)
4 towers controlled = 10 points/tick (5 points per second)
[code]
uint32 pointspertick[5] = { 0, 1, 2, 5, 10 };
DuelHandler.cpp (Ascent-World folder)
Change the 3000 to whatever you want the duel cooldown to be (Remember its in milliseconds)
WorldPacket data( SMSG_DUEL_COUNTDOWN, 4 );
data << uint32( 3000 );
SendPacket( &data );
_player->DuelingWith->m_session->SendPacket( &data );BattlegroundMgr.cpp (Ascent-World folder)_player->m_duelCountdownTimer = 3000;
Change this to another number to allow lower levels in Arenas
if((*itx)->lastLevel < 70)
AscentConfig.h (Ascent-Shared folder)
Remove the slashes to enable voicechat
CharacterHandler.cpp (Ascent-World folder)//#define VOICE_CHAT 1
To change message on logon to server
#ifdef WIN32
_player->BroadcastMessage("Server: %sOpenAscent %s r%u/%s-Win-%s %s(www.openascent.com)", MSG_COLOR_WHITE, BUILD_TAG,
BUILD_REVISION, CONFIG, ARCH, MSG_COLOR_LIGHTBLUE);
#else
_player->BroadcastMessage("Server: %sOpenAscent %s r%u/%s-%s %s(www.openascent.com)", MSG_COLOR_WHITE, BUILD_TAG,
BUILD_REVISION, PLATFORM_TEXT, ARCH, MSG_COLOR_LIGHTBLUE);
Thats it for now!
Simply drop by later to get some updates.
-SectorSeven