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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 10-01-2003, 12:34 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

Quote:
Originally Posted by krich
Looks like the section starting with line 412 should have 9979 as the item number for a "worn candle" rather than 18710 which is a human pally note, i think.
Changed. Also I have a couple of others. I think you'll end up with multiple candles in some cases. So I suggest first off moving the line
Code:
' Misc. Items - Candle of the Plaguebringers
DATA 0, 0, 201, 0, 9982
above
Code:
' Misc. items - Worn candle
DATA 0, 0, 212, 0, 9979
DATA 0, 0, 208, 0, 9979
DATA 2, 0, 0, 0, 9979
rather than below it. Then change DoMisc to read
Code:
SUB doMisc
flag% = 1
z = 1
WHILE misc(z, 5) > 0 AND flag% > 0
    IF (misc(z, 1) = 0 OR misc(z, 1) = rac) THEN
	IF (misc(z, 2) = 0 OR misc(z, 2) = cla) THEN
	    IF (misc(z, 3) = 0 OR misc(z, 3) = diety(dty)) THEN
		IF (misc(z, 4) = 0 OR misc(z, 4) = cty) THEN
		    PRINT #1, txt; count; ","; rac; ","; cla; ","; diety(dty); ",";
		    PRINT #1, cty; ","; misc(z, 5); ",1,0);"
		    count = count + 1
		    flag% = 0
		END IF
	    END IF
	END IF
    END IF
    z = z + 1
WEND
END SUB
This makes the candle moved be selected first if it is appropriate and causes DoMisc to only select one item instead of going thru the whole table possibly selecting multiple.

I guess you noticed I really like tables and use them a lot
__________________
Maybe I should try making one of these servers...
Reply With Quote
 

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:59 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