Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #31  
Old 06-06-2014, 11:47 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Just open the SLN file.. and hit compile after you have made whatever changes to the source files.
Reply With Quote
  #32  
Old 06-07-2014, 08:56 AM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default

Quote:
Originally Posted by NatedogEZ View Post
Just open the SLN file.. and hit compile after you have made whatever changes to the source files.
Gotcha, thanx. So I recompiled the skill_caps.cpp and entity.cpp





Still no change in-game though. No matter which zone I try there is never anything on track..



Was there another step after recompiling those files?..
Reply With Quote
  #33  
Old 06-07-2014, 03:46 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

You need to select build to build the solution (F7), then you need to copy the newly built executables to your server directory.
Reply With Quote
  #34  
Old 06-07-2014, 05:48 PM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default

Quote:
Originally Posted by lerxst2112 View Post
You need to select build to build the solution (F7), then you need to copy the newly built executables to your server directory.






Still no change. Nothing on track regardless of track skill/distance/zone/mobs. I think the gods are against me..
Reply With Quote
  #35  
Old 06-07-2014, 06:12 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

You know, you could just say you did it, the giant screen shots add nothing to the conversation.
Reply With Quote
  #36  
Old 06-08-2014, 01:19 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

This does work... but there are a few other areas you NEED to change!



client_packet.cpp
Code:
void Client::Handle_OP_TrackTarget(const EQApplicationPacket *app)
{
	int PlayerClass = GetClass();

	if((PlayerClass != RANGER) && (PlayerClass != DRUID) && (PlayerClass != BARD) && (PlayerClass != WARRIOR))
		return;

	if (app->size != sizeof(TrackTarget_Struct))
	{
		LogFile->write(EQEMuLog::Error, "Invalid size for OP_TrackTarget: Expected: %i, Got: %i",
			sizeof(TrackTarget_Struct), app->size);
		return;
	}

	TrackTarget_Struct *tts = (TrackTarget_Struct*)app->pBuffer;

	TrackingID = tts->EntityID;
}

void Client::Handle_OP_Track(const EQApplicationPacket *app)
{
	if(GetClass() != RANGER && GetClass() != DRUID && GetClass() != BARD && GetClass() != WARRIOR)
		return;

	if( GetSkill(SkillTracking)==0 )
		SetSkill(SkillTracking,1);
	else
		CheckIncreaseSkill(SkillTracking, nullptr, 15);

	if(!entity_list.MakeTrackPacket(this))
		LogFile->write(EQEMuLog::Error, "Unable to generate OP_Track packet requested by client.");

	return;
}

Notice all I did was add Warrior to those 2 functions .. plus I added warrior to the one you posted earlier as well..


Hopefully this helps








This is it working on a warrior
Reply With Quote
  #37  
Old 06-08-2014, 08:43 AM
NickW
Sarnak
 
Join Date: Apr 2014
Posts: 72
Default

Quote:
Originally Posted by NatedogEZ View Post
This does work... but there are a few other areas you NEED to change!



client_packet.cpp
Code:
void Client::Handle_OP_TrackTarget(const EQApplicationPacket *app)
{
	int PlayerClass = GetClass();

	if((PlayerClass != RANGER) && (PlayerClass != DRUID) && (PlayerClass != BARD) && (PlayerClass != WARRIOR))
		return;

	if (app->size != sizeof(TrackTarget_Struct))
	{
		LogFile->write(EQEMuLog::Error, "Invalid size for OP_TrackTarget: Expected: %i, Got: %i",
			sizeof(TrackTarget_Struct), app->size);
		return;
	}

	TrackTarget_Struct *tts = (TrackTarget_Struct*)app->pBuffer;

	TrackingID = tts->EntityID;
}

void Client::Handle_OP_Track(const EQApplicationPacket *app)
{
	if(GetClass() != RANGER && GetClass() != DRUID && GetClass() != BARD && GetClass() != WARRIOR)
		return;

	if( GetSkill(SkillTracking)==0 )
		SetSkill(SkillTracking,1);
	else
		CheckIncreaseSkill(SkillTracking, nullptr, 15);

	if(!entity_list.MakeTrackPacket(this))
		LogFile->write(EQEMuLog::Error, "Unable to generate OP_Track packet requested by client.");

	return;
}

Notice all I did was add Warrior to those 2 functions .. plus I added warrior to the one you posted earlier as well..


Hopefully this helps








This is it working on a warrior
It works! Thank you everybody. I seriously love this community. So damn helpful!

Quote:
Originally Posted by lerxst2112 View Post
You know, you could just say you did it, the giant screen shots add nothing to the conversation.
As for the screenshots. If they bother people. I will most definitely stop using them. When people who understand what's going on are trying to help someone who is clueless. In other words me.. They usually assume the person isn't following their directions correctly. And that's why it isn't working for them. The screenshots are my attempt to show exactly how I did what, where, etc.. In case i did screw something up.

That was my thought process anyway..
Reply With Quote
  #38  
Old 07-24-2015, 07:44 AM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

Those screen shots help people like me who do not have the knowhow or experience to do it without a little hand holding. Don't shun it unless you want to keep the community small.

I know I necro'd this... to SHOW you I was researching it before I start a new thread with my own question! BFD, don't read it then...
Reply With Quote
Reply


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 04:23 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3