mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Rework OPCharCreate logic with tutorial flag
Hopefully resolves issues with toons on Titanium spawning out of bounds when starting in tutorial. Resolves setting home bind to tutorial and being out of bounds.
This commit is contained in:
@@ -689,7 +689,7 @@ struct CharCreate_Struct
|
||||
/*0076*/ uint32 drakkin_heritage; // added for SoF
|
||||
/*0080*/ uint32 drakkin_tattoo; // added for SoF
|
||||
/*0084*/ uint32 drakkin_details; // added for SoF
|
||||
/*0088*/
|
||||
/*0088*/ uint32 tutorial;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -1038,6 +1038,7 @@ namespace Client62
|
||||
IN(face);
|
||||
IN(eyecolor1);
|
||||
IN(eyecolor2);
|
||||
IN(tutorial);
|
||||
|
||||
FINISH_DIRECT_DECODE();
|
||||
}
|
||||
|
||||
@@ -558,7 +558,7 @@ struct CharCreate_Struct
|
||||
/*0128*/ uint32 face;
|
||||
/*0132*/ uint32 eyecolor1; //its possiable we could have these switched
|
||||
/*0136*/ uint32 eyecolor2; //since setting one sets the other we really can't check
|
||||
/*0140*/ uint32 unknown140;
|
||||
/*0140*/ uint32 tutorial; //assumptions are bad! But guessed
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -4036,12 +4036,7 @@ namespace RoF
|
||||
IN(race);
|
||||
IN(class_);
|
||||
IN(deity);
|
||||
|
||||
if (RuleB(World, EnableTutorialButton) && eq->tutorial)
|
||||
emu->start_zone = RuleI(World, TutorialZoneID);
|
||||
else
|
||||
emu->start_zone = eq->start_zone;
|
||||
|
||||
IN(start_zone);
|
||||
IN(haircolor);
|
||||
IN(beard);
|
||||
IN(beardcolor);
|
||||
@@ -4059,7 +4054,7 @@ namespace RoF
|
||||
IN(WIS);
|
||||
IN(INT);
|
||||
IN(CHA);
|
||||
//IN(tutorial);
|
||||
IN(tutorial);
|
||||
|
||||
FINISH_DIRECT_DECODE();
|
||||
}
|
||||
|
||||
@@ -2705,12 +2705,7 @@ namespace SoD
|
||||
IN(hairstyle);
|
||||
IN(gender);
|
||||
IN(race);
|
||||
|
||||
if (RuleB(World, EnableTutorialButton) && eq->tutorial)
|
||||
emu->start_zone = RuleI(World, TutorialZoneID);
|
||||
else
|
||||
emu->start_zone = eq->start_zone;
|
||||
|
||||
IN(start_zone);
|
||||
IN(haircolor);
|
||||
IN(deity);
|
||||
IN(STR);
|
||||
@@ -2723,6 +2718,7 @@ namespace SoD
|
||||
IN(face);
|
||||
IN(eyecolor1);
|
||||
IN(eyecolor2);
|
||||
IN(tutorial);
|
||||
IN(drakkin_heritage);
|
||||
IN(drakkin_tattoo);
|
||||
IN(drakkin_details);
|
||||
|
||||
@@ -2105,12 +2105,7 @@ namespace SoF
|
||||
IN(hairstyle);
|
||||
IN(gender);
|
||||
IN(race);
|
||||
|
||||
if (RuleB(World, EnableTutorialButton) && eq->tutorial)
|
||||
emu->start_zone = RuleI(World, TutorialZoneID);
|
||||
else
|
||||
emu->start_zone = eq->start_zone;
|
||||
|
||||
IN(start_zone);
|
||||
IN(haircolor);
|
||||
IN(deity);
|
||||
IN(STR);
|
||||
@@ -2123,6 +2118,7 @@ namespace SoF
|
||||
IN(face);
|
||||
IN(eyecolor1);
|
||||
IN(eyecolor2);
|
||||
IN(tutorial);
|
||||
IN(drakkin_heritage);
|
||||
IN(drakkin_tattoo);
|
||||
IN(drakkin_details);
|
||||
|
||||
@@ -1395,6 +1395,7 @@ namespace Titanium
|
||||
IN(face);
|
||||
IN(eyecolor1);
|
||||
IN(eyecolor2);
|
||||
IN(tutorial);
|
||||
|
||||
FINISH_DIRECT_DECODE();
|
||||
}
|
||||
|
||||
@@ -565,7 +565,7 @@ struct CharCreate_Struct
|
||||
/*0064*/ uint32 face; // Could be unknown0076
|
||||
/*0068*/ uint32 eyecolor1; //its possiable we could have these switched
|
||||
/*0073*/ uint32 eyecolor2; //since setting one sets the other we really can't check
|
||||
/*0076*/ uint32 unknown0076; // Could be face
|
||||
/*0076*/ uint32 tutorial;
|
||||
/*0080*/
|
||||
};
|
||||
|
||||
|
||||
@@ -3007,12 +3007,7 @@ namespace Underfoot
|
||||
IN(hairstyle);
|
||||
IN(gender);
|
||||
IN(race);
|
||||
|
||||
if (RuleB(World, EnableTutorialButton) && eq->tutorial)
|
||||
emu->start_zone = RuleI(World, TutorialZoneID);
|
||||
else
|
||||
emu->start_zone = eq->start_zone;
|
||||
|
||||
IN(start_zone);
|
||||
IN(haircolor);
|
||||
IN(deity);
|
||||
IN(STR);
|
||||
@@ -3025,6 +3020,7 @@ namespace Underfoot
|
||||
IN(face);
|
||||
IN(eyecolor1);
|
||||
IN(eyecolor2);
|
||||
IN(tutorial);
|
||||
IN(drakkin_heritage);
|
||||
IN(drakkin_tattoo);
|
||||
IN(drakkin_details);
|
||||
|
||||
Reference in New Issue
Block a user