Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-09-2002, 05:26 AM
strychn
Hill Giant
 
Join Date: Feb 2002
Posts: 129
Default Fix for TRIGGER_ITEM script item

trigger item fix...
changed:

CheckQuests(zone->GetShortName(), "%%item%%", tmp->GetID(), TradeList[0]);

to:

if (tmp->IsNPC()) { CheckQuests(zone->GetShortName(), "%%item%%", tmp->CastToNPC()->GetNPCTypeID(), TradeList[0]);
}}

in client_process.cpp.
Reply With Quote
  #2  
Old 04-12-2002, 04:54 PM
_OZZY_
Hill Giant
 
Join Date: Jan 2002
Location: Shreveport, Louisiana, USA
Posts: 129
Default

I have yet to been able to get this to compile. Would it be possible to attach an updated client_process.cpp here? It would be greatly appreciated.
Reply With Quote
  #3  
Old 04-12-2002, 05:13 PM
strychn
Hill Giant
 
Join Date: Feb 2002
Posts: 129
Default

mmm...
i dont see how you cant get that minor change to compile.
if you cant get that to compile, then i can't see how you could get ANY of the code to compile.
regardless. here is the modified .cpp.
if you still have trouble lemme know, as the post i made, was cut and pasted straight from code i had modified and compiled a very short time before hand.
Reply With Quote
  #4  
Old 04-12-2002, 05:15 PM
strychn
Hill Giant
 
Join Date: Feb 2002
Posts: 129
Default

uhhh...nm.
there is an extra brace in the code i posted i believe.
sorry, but if you didn't realise that the extra brace was causing compile errors, perhaps you should leave the compilation to others.
Reply With Quote
  #5  
Old 04-13-2002, 12:43 AM
TheClaus
Discordant
 
Join Date: Jan 2002
Location: Manteca, CA
Posts: 352
Default

Now that wasn't nice strychn. Some of the best programmers started out with looking at code and not having a clue about it. They learned and asked questions. I realize he didn't post his errors but still he did give it a shot. Most people would of asked for the compiled zone.exe or world.exe instead of just the modified cpp file. I would say for the guy trying to get it to compile always count the braces. That will screw you up everytime.
Reply With Quote
  #6  
Old 04-13-2002, 04:55 AM
Malevolent
Hill Giant
 
Join Date: Mar 2002
Posts: 171
Default

On the other hand, it could have been LISP.

You have an extra ( in there.


=P
Reply With Quote
  #7  
Old 04-13-2002, 05:20 AM
_OZZY_
Hill Giant
 
Join Date: Jan 2002
Location: Shreveport, Louisiana, USA
Posts: 129
Default

Yeah, the comment was inappropriate. But I don't really care. It's been such a long time since I messed with C. I had it back in college 7 or 8 years ago and haven't messed with it since. Yeah, I should've counted the braces, but I decided to take a shortcut and get a compilable copy from someone on here. I am shocked, really. Most people on here are very generous and friendly. I guess every board has its bad side.
Reply With Quote
  #8  
Old 04-13-2002, 06:22 AM
strychn
Hill Giant
 
Join Date: Feb 2002
Posts: 129
Default

yeah. sorry. i shouldn't have been a jerk about it. :(
but, it should compile np without the extra brace. and it should fix the trigger_item. i'm not a bad guy, and usually not an ass...
sorry _ozzy_. (honestly :p)
Reply With Quote
  #9  
Old 04-13-2002, 06:58 AM
_OZZY_
Hill Giant
 
Join Date: Jan 2002
Location: Shreveport, Louisiana, USA
Posts: 129
Default

It's cool. Like I said...it has been a REALLY long time. And yes, it now compiles no problem Thanks.
Reply With Quote
  #10  
Old 04-13-2002, 07:42 AM
strychn
Hill Giant
 
Join Date: Feb 2002
Posts: 129
Default

np. hope it works well
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 03:32 PM.


 

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