Wotlk Content from 68lvl with notice

This patch will notice player if he’ll try to access LK content without achieving 68lvl and will not let to access LK content until 68 level

On third screenshot you can see yellow text in Russian (depends on db locale) : You must be at least 68 level to enter this zone


From: FreedomCore Team <[email protected]>

Date: Thu, 28 Aug 2012 20:27:04 +0400

Subject: [PATCH] Wrath of the Lich King Content from 68lvl

---

diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp

old mode 100755

new mode 100644

index 659b1ab..87ec0c7

--- a/src/server/game/Entities/Player/Player.cpp

+++ b/src/server/game/Entities/Player/Player.cpp

@@ -2134,6 +2134,11 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati


		 return false;									 // normal client can't teleport to this map...

	 }

+ else if((mEntry->Expansion() == 2 && mEntry->MapID != 609) && getLevel() < 68)

+ {

+	 GetSession()->SendAreaTriggerMessage(GetSession()->GetTrinityString(LANG_LEVEL_MINREQUIRED),68);

+	 return false;

+ }

	 else

		 sLog->outDebug(LOG_FILTER_MAPS, "Player %s is being teleported to map %u", GetName(), mapid);


@@ -17020,7 +17025,9 @@ bool Player::LoadFromDB(uint32 guid, SQLQueryHolder *holder)

	 // client without expansion support

	 if (mapEntry)

	 {

-	 if (GetSession()->Expansion() < mapEntry->Expansion())

+ if (GetSession()->Expansion() < mapEntry->Expansion() ||

+	 ((mapEntry->Expansion() == 2 && mapEntry->MapID != 609) && getLevel() < 68))

+

		 {

			 sLog->outDebug(LOG_FILTER_PLAYER_LOADING, "Player %s using client without required expansion tried login at non accessible map %u", GetName(), mapId);

			 RelocateToHomebind();

[ATTACH]588[/ATTACH]

[ATTACH]589[/ATTACH]

[ATTACH]590[/ATTACH]

Nope, not blizzlike, i have traveled to Northrend with level 1 chars on retail.

strange, when played wow 2 years ago and was trying to get to northrend by my 22 level hunter, server just dismoun me from zeppelin coz i was 48 levels below requirements, and second message if you dont own wotlk expansion

Because you did not have the client with the wotlk expansion?

i’ve tried this last week.

with trial account on boat for northrend, when the game load the screen, you will be teleport back to the port of stormwind.

but this happen with trial acocunt (or starter edition), i don’t remenber with normal account.

Darkman

@darkman i think indeed that it was only with a trial account that you have this, so patch should/could be okay if its linked to certain state of the account?

i know maestro, starter edition is a minimal vanilla account for offy. with this you can’t use content of other expansion

i think this “block” of zone is bound with your game istallation, over than “offy account level”:

if a player have installed only vanilla game and play on server wotlk, when he try to use the boat for northrend he return back to the port.

idem if he has tbc installation.

if this player have vanilla client, and worlk key in his account, (i think) he return to the port (because his client don’t have a data for nortrend zone)

if what i write is true, the patch of darki73 can be use as “custom patch” , because who use trinity, usually log his character using complete client with relative expansion.

thats what i think

(sorry my engrish)

Darkman

Nope, i used a full wow 3.3.5a with a trial account and i was unable to reach northrend.

I’ve seen this many times, but, i have no idea what it means… what is idem?

@paradox

i’m sorry, idem is not english

“the same thing happen if” is more appropriate in this case

Darkman

darkman is prolly dutch just like me, since idem is a dutch word like when you mean " the same " or like idem dito " same like "

anyway…

Actually, “idem” is Latin, and means “the same”

ok, even googling it wasn’t giving me a clear answer, thanks, and, continue whatever was going on here before I interrupted…

[OT]

@maestro i’m Italian, not dutch

@Subv thanks for the correction

[/OT]

darkman