Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2013, 05:17 PM
Fadedspirit
Sarnak
 
Join Date: Jan 2007
Posts: 48
Default

Quote:
Originally Posted by Davood View Post
I will list off the sections I have changed:

(bolded)file name
(regular text) functions changed

bot.cpp (2 changes)
[search for the following]
bool Bot::IsValidRaceClassCombo() {
[search for the following]
std::string Bot::RaceIdToString(uint16 raceId) {

client.cpp (2 changes)
[search for the following]
char* Client::GetRacePlural(Client* client) {
[search for the following]
// Race
std::string race_Name = itoa(GetRace());
switch(GetRace())
{

item.cpp (1 change)
[search for the following]
bool Item_Struct::IsEquipable(uint16 Race, uint16 Class_) const

pets.cpp (1 change)
[search for the following]
//handle beastlord pet appearance
if(record.petnaming == 2)
{
switch(GetBaseRace())
{

race.h
I replaced 100% of this file

races.cpp (1 change)
[search for the following]
uint32 GetArrayRace(uint16 race) {


your IDE should be helpful in figuring out what the actual code blocks are that you need to copy.

i pullled those segments without looking at the code.. i have some offline notes. I don't have time right now to actually prepare the code blocks.. but maybe later tonight I can do that if you really want.

An easier solution is to take 100% of my code, and revert attack*.* pets.* and bots.* back to eqemu default. or keep them. your choice.

Errr, races.h you only added 36 new lines of code, so you modified maybe 25% of that file? You didn't replace anything either. I had already done essentially what you did there anyways so, nothing really different there.

Pets.cpp && Bot.cpp won't help me with my issue .

I had also changed GetArrayRace to work with races.h. Right now i'm not sure what the issue is but i'll keep hunting around.

ps: I already tried grabbing your races.cpp, races.h, and client.cpp, but the issue persisted. I also changed Item.cpp from return(IsRace && IsClass); to simply return(IsClass);, so it nullifies that issue right out of the door. Trying to figure out what else might be the issue.
Reply With Quote
  #2  
Old 10-20-2013, 10:13 PM
Fadedspirit
Sarnak
 
Join Date: Jan 2007
Posts: 48
Default

Ok, so something is up with my compiler I think? I intentionally sabotaged my IsEquippable() so it always returned false, yet normal races have no issues with items when I equip them? Their stats are reflected correctly and regen fine.


I'm compiling the code i've been modifying, and pulling from the correct Bin folder. What could be my issue :(?

Am I not supposed to be cleaning, and then building "All_Build" when I modify the source?

Any ideas what my issue could be??
Reply With Quote
  #3  
Old 10-20-2013, 10:34 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

that sounds very strange.

try the following

pull my code - and compile it -

does it work?

if it doesn't there could be a problem in your process. what are you doing exactly to compile it?

clearly something isn't happening if you sabotaged a key process and it still works.

or perhaps you weren't thorough in your testing. when you say the equipment still works for pcs. do you mean that #mystats shows the "normal" stats with the equipment? if it isn't working it will show the naked stats always - but your client doesn't know if it shoudl be working or not and it will always "Work" client side.. the server will tell you teh truth with #mystats
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:33 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3