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 12-30-2003, 12:47 AM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default Parser.cpp and Embparser.cpp fixes and additions Updated!

Updated 12-31-2003

This applies to 5.3 DR1 or DR2, they both were the same. Both files were missing several commands that were already coded, as well as some other fixes. See http://www.everquestserver.com/forum...?p=63596#63596 for more information.

Updated and expanded Diffs are posted http://www.everquestserver.com/forum...?p=64036#64036

Includes:
Added commands and variables to perl quests
fixed bug with commas in text
fixed quest::faction so it actually worked right
some other minor stuff
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #2  
Old 12-30-2003, 02:52 AM
Eglin
Hill Giant
 
Join Date: Nov 2003
Posts: 168
Default

Code:
~150:
-	dosub("my_eval", &arg, G_SCALAR|G_DISCARD);
+	dosub("my_eval", &arg, G_SCALAR|G_DISCARD|G_EVAL|G_KEEPERR); //eval/keeperr added for perl bug, ala perlfunc @ fred

-			std::string temp = "wp.";
+			std::string temp = "wp";
Reply With Quote
  #3  
Old 12-30-2003, 02:11 PM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default Re: Parser.cpp and Embparser.cpp fixes and additions

Quote:
Originally Posted by Lurker_005
< if (mob) mob->CastToClient()->SummonItem(atoi(arglist[0]));
---
> if (mob) mob->CastToClient()->SummonItem(atoi(arglist[0]), atoi(arglist[1])); //might be triggering a pereodic bug Lurker_005
685a686
> \\after adding this I would sometimes get data from an item that this summoned showing up after the text of another quest event
Doesn't changing this risk breaking exsiting quests? I'm not sure I see the problem it is fixing.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #4  
Old 12-30-2003, 07:49 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default Re: Parser.cpp and Embparser.cpp fixes and additions

Quote:
Originally Posted by Scorpious2k
Doesn't changing this risk breaking exsiting quests? I'm not sure I see the problem it is fixing.
I checked that this works for quest:summonitem(1001) as well as quest:summonitem(1001,1) Granted I didn't verify that it will not cause problems with the qst format, but it shouldn't.

summonitem is a 2 paramater function with a default for count
Also summoning 5 nonstackable/non-charged items still only results in 1 item
__________________
Please read the forum rules and look at reacent messages before posting.
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 11:31 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3