Page 1 of 1

spawn movement

Posted: Thu Sep 28, 2017 12:22 pm
by Ememjr
as the spawn move command allows you to move spawns around using the same technology the move house items uses.

does anyone remember where the control is to tell the client that the items can be moved up and down and resized, iir that was an added feature later in the game

i have checked the entermoveobjectmodemsg and nothing in there that i code see changes it

Re: spawn movement

Posted: Thu Sep 28, 2017 4:00 pm
by Jabantiz
There is a packet that needs to be sent before hand that will limit where stuff can be placed, it is currently hardcoded and I do not believe any one has figured out its values. I found it in client.cpp it is OP_MoveableObjectPlacementCriteri

Code: Select all

void Client::SendZoneSpawns(){
	//Allows us to place spawns almost anywhere
	uchar blah[] ={0x00,0x3C,0x1C,0x46,0x00,0x3C,0x1C,0x46,0x00,0x3C,0x1C,0x46};
	EQ2Packet* app = new EQ2Packet(OP_MoveableObjectPlacementCriteri, blah, sizeof(blah));
	QueuePacket(app);

	ClientPacketFunctions::SendSkillSlotMappings(this);
	ClientPacketFunctions::SendGameWorldTime ( this );
	GetCurrentZone()->StartZoneInitialSpawnThread(this);
}

Re: spawn movement

Posted: Thu Sep 28, 2017 4:09 pm
by Ememjr
yes i saw that and changed the values to the values i am collecting and still no go
here is what i have on all my collects

Code: Select all

uchar blah[] = { 0x00, 0x00, 0xF0, 0x41, 0x00, 0x00, 0xAA, 0x42, 0x00, 0x00, 0x2F, 0x43 };
i can pretty much place where i wnt just cant scroll to resize or move up down, only thing i can do is move mouse and get different floor position and rotate

Re: spawn movement

Posted: Thu Sep 28, 2017 4:13 pm
by Ememjr
for curiosity sakes wiil comb through ghost command, maybe something in the spawn limits whether or not it can be resized