View Single Post
  #1  
Old 02-11-2016, 05:17 AM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default Start_Zones Titanium Manual Entry Help

Ive read through the forums and on wiki and ive seen several times that the Starting zones for titanium is hardcoded. So I have been working with the code and I got most of it working but I noticed even in the entries already in the code for default bind point does not work. I tested it with good erudites, it has them start in city and when they die they goto Tox, this does not work, they go right to their starting point.

Unedited worlddb.cpp
Code:
void WorldDatabase::SetTitaniumDefaultStartZone(PlayerProfile_Struct* in_pp, CharCreate_Struct* in_cc)
{
	switch (in_cc->start_zone)
	{
	case 0: // Erudin
	{
		if (in_cc->deity == 203) // Cazic-Thule Erudites go to Paineel
		{
			in_pp->zone_id = 75; // paineel 
			in_pp->binds[0].zoneId = 75; // broke
		}
		else
		{
			in_pp->zone_id = 24;	// erudnext start zone
			in_pp->binds[0].zoneId = 38;	// tox does not go to tox broke
		}
		break;
	}
Edited worlddb.cpp
Code:
case 1: // Qeynos
	{
		if (in_cc->deity == 201)
		{
			in_pp->x = -370.89; // works
			in_pp->y = 361.61; // works
			in_pp->z = -38.22; // works
			in_pp->zone_id = 45; // qcat works
			in_pp->binds[0].zoneId = 2; // broke
			in_pp->binds[0].x = 120; // broke
			in_pp->binds[0].y = 406.14; // broke
			in_pp->binds[0].z = 1.88; // broke
		}
		else
		{
			in_pp->zone_id = 2;	// qeynos2 
			in_pp->binds[0].zoneId = 2;	// qeynos2 broke
		}
		break;
	}
My manual set loc for starting X Y Z and zone_id = 45 works. The binds.zoneID, binds.x, binds.y, binds.z does not take hold. I have tried all kinds of variations.

I have deleted my starting_zones entries to make sure it loads defaults, which is the hardcode.

I am on titanium, thus why I am hardcoding it.

Any idea why the binds are not taking hold for the bind points and zone?
__________________
Reply With Quote