View Single Post
  #3  
Old 02-11-2016, 06:22 AM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Fixed it.

commented out this is client.cpp so it stopped overwriting entries.

client.cpp
Code:
	/* Will either be the same as home or tutorial */
	// pp.binds[0].zoneId = pp.zone_id;
	// pp.binds[0].x = pp.x;
	// pp.binds[0].y = pp.y;
	// pp.binds[0].z = pp.z;
	// pp.binds[0].heading = pp.heading;
now this works in worlddb.cpp

worlddb.cpp
Code:
	case 1: // Qeynos
	{
		if (in_cc->deity == 201)
		{
			in_pp->x = -370.89;
			in_pp->y = 361.61;
			in_pp->z = -38.22;
			in_pp->zone_id = 45; // qcat
			in_pp->binds[0].zoneId = 2;
			in_pp->binds[0].x = 120;
			in_pp->binds[0].y = 406.14;
			in_pp->binds[0].z = 1.88;
		}
		else
		{
			in_pp->zone_id = 2;	// qeynos2
			in_pp->binds[0].zoneId = 2;	// qeynos2
		}
		break;
	}
For anybody that wants to manually enter. This also fixes the issue of in_pp->binds[0].zoneId = 2; and like entries for all the towns, not being able to work because the code in client.cpp was overwriting it.

Of course rebuild
__________________
Reply With Quote