######################## CREDITS ############################
Ackhole - Idea of concept, Developement
Zyna - Developement, Adaptation to Tux
StinkeSocke - Developement, C++ Support
#############################################################
THIS README EXPLAINS HOW TO INSTALL THE ACKHOLE PROJECT: THE MALL
##### Windows #####
1.STEP ONE : COPY THE FILES AND FOLDERS
You want to copy the folder Ackhole_Portals from
ncdb/Developement/Database/Archive/Funserver/
to
trunk/src/scripts/src
Compile Like normal to produce scripts.
2.STEP TWO : EDIT THE Player.cpp
In order to prevent any PvP in the Mall, we need to add some code blocks to the Player.cpp
Locate the Player.cpp in
trunk/ascent-workd/
Edit it and locate the function
Player::AddToWorld()
Include the following code block as shown below:
void Player::AddToWorld()
{
FlyCheat = false;
m_setflycheat=false;
// check transporter
if(m_TransporterGUID && m_CurrentTransporter)
{
SetPosition(m_CurrentTransporter->GetPositionX() + m_TransporterX,
m_CurrentTransporter->GetPositionY() + m_TransporterY,
m_CurrentTransporter->GetPositionZ() + m_TransporterZ,
GetOrientation(), false);
}
// Begin: Deactivate PVP in Mall
if (GetMapId() == 169)
{
if (IsPvPFlagged())
RemovePvPFlag();
sChatHandler.SystemMessage(GetSession(), "Welcome to the Mall! PvP is prohibited here...");
}
// End: Deactivate PVP in Mall
// If we join an invalid instance and get booted out, this will prevent our stats from doubling :P
if(IsInWorld())
return;
m_beingPushed = true;
Object::AddToWorld();
// Add failed.
if(m_mapMgr == NULL)
{
// eject from instance
m_beingPushed = false;
EjectFromInstance();
return;
}
if(m_session)
m_session->SetInstance(m_mapMgr->GetInstanceID());
}
Now whenever Players enter the Mall PvP toggles off automatically. In order to prevent them from manually
turning it back on we need to do some editing on Player::PvPToggle - locate it in Player.cpp
basically all you need to do here is suround the entire function in an if statement like this
void Player::PvPToggle()
{
if (getMapId() != 169)
{
In here you put the original function
}
}
4.STEP FOUR : COMPILE
You'll need to do a complete recompile on ascent in order to implement the scripts.
If you need help, come see us in IRC Chat, located at irc.ascentemu.com.
Or, go to
http://www.ackholegames.com/IRC/NormalApplet.html for an online chat.
You will need to do the following to get to us.
(In the IRC Window, Type the following two lines, hitting enter/return after each.)
/join #ackhole To get into our channel.
/nick (Nickname) Use your common name, without the ( ), and then ask your question.
I will somewhat support repacks. (Ackhole/Incognito)
Gratz! Have fun and we hope you enjoy...