Project 1999

Go Back   Project 1999 > Server Issues > Resolved Issues

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-11-2015, 03:31 PM
Lord C Lord C is offline
Large Rat


Join Date: Apr 2015
Posts: 7
Unhappy Shrink Spell

I admit I am not sure what is classic, but it is the greatest travesty in p99 that gnomes are unable to shrink.

I found this thread, it doesn't seem conclusive enough for me: http://www.project1999.com/forums/sh...t=shrink+gnome

I am not asking for much, just 10% smaller would be awesome. Or even less, I don't want to break the game or cause exploits.

I took a look at the eqemu git and found this in Server/mob.cpp line 2240:
https://github.com/EQEmu/Server/blob...7/zone/mob.cpp
Code:
void Mob::ChangeSize(float in_size = 0, bool bNoRestriction) {
	// Size Code
	if (!bNoRestriction)
	{
		if (this->IsClient() || this->petid != 0)
			if (in_size < 3.0)
				in_size = 3.0;


			if (this->IsClient() || this->petid != 0)
				if (in_size > 15.0)
					in_size = 15.0;
	}


	if (in_size < 1.0)
		in_size = 1.0;

	if (in_size > 255.0)
		in_size = 255.0;
	//End of Size Code
	this->size = in_size;
	SendAppearancePacket(AT_Size, (uint32) in_size);
}
I propose something like the following change to implement a new gnome shrink minimum:

Code:
void Mob::ChangeSize(float in_size = 0, bool bNoRestriction) {
	// Size Code
	if (!bNoRestriction)
	{
		if (this->IsClient() || this->petid != 0)
			if (in_size < 3.0 && this->GetRace() != GNOME)
				in_size = 3.0;
			else if (in_size < 2.8 && this->GetRace() == GNOME)
				in_size = 2.8; 


			if (this->IsClient() || this->petid != 0)
				if (in_size > 15.0)
					in_size = 15.0;
	}


	if (in_size < 1.0)
		in_size = 1.0;

	if (in_size > 255.0)
		in_size = 255.0;
	//End of Size Code
	this->size = in_size;
	SendAppearancePacket(AT_Size, (uint32) in_size);
}
This is my first time looking at eqemu source and I do not have a setup to test this change.

If you are involved with p99 and you have any power, I implore you to at least test this out. This would be the best thing to happen to anything... EVER. I will do any coding jobs no one else wants if this happens. Though I am but humble casual scum, I can only pray my voice is heard. Please address this injustice.

Sincerely,
Lord C
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:10 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.