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 07-03-2002, 11:37 AM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default #scribespells <level>

Code:
}
		else if (strcasecmp(sep.arg[0], "#scribespells")==0 ) {
			if(sep.arg[1][0]==0) {
				Message(0,"FORMAT: #scribespells &lt;level>");
			}
			if((sep.arg[1][0] &lt; 1) || (sep.arg[1][0] > 60))
				Message(0,"ERROR: Enter a level between 1 and 60 inclusive."); 
			else {
				Message(0, "Scribing spells to spellbook");
				cout &lt;&lt; "Scribing spells " &lt;&lt; endl;
				int bookcount =0;
				for (int i = 0; i &lt; SPDAT_RECORDS; i++)
				{
					if (spells[i].classes[(pp.class_ - 1)] &lt;= sep.arg[1][0])
					{
						if(bookcount &lt;=255)
						{
							if(spells[1].name[0]!=' ')
{pp.spell_book[bookcount]=i;
							bookcount++;}
						}
					}else break;
				}
			}
		}
put that in zone's client.cpp in the commands.. like line 1697

very horrible way to do it.. but adding spelllists for every class world take a lot of mem.. on every zone server..can't make files when zone reads, because then each zone does it..
Reply With Quote
  #2  
Old 07-04-2002, 09:25 AM
Ariak
Dragon
 
Join Date: Mar 2002
Posts: 633
Default

Good idea!
Reply With Quote
  #3  
Old 07-04-2002, 03:16 PM
kathgar
Discordant
 
Join Date: May 2002
Posts: 434
Default

It works, mostly

It puts all of you spells up to 50.. with a few UNKNOWN SPELLS(i think I got rid of them).. but then there are many spells such as Manabolt.. Mechanic Dislocation I-X.. that I cannot find anywhere in the spdat.eff file.. also.. some others spells get thrown in.. such as Thunderclap.. which is a wizard spell.. to a shaman.. obviously, there is more than just spdat.eff at work here.. need more research


ED
the client is using spells_en.txt for local display.. so spells that aren't in spdat.eff.. but are blank or otherwise invalid, will be displayed differently to the client.. which uses spells_en.. interesting..
Reply With Quote
  #4  
Old 07-23-2002, 05:54 PM
Zio
Hill Giant
 
Join Date: Mar 2002
Posts: 179
Default

Nice. Will make alot of people happy when they don't get castspell and have to summon all their spells.
__________________
death
Reply With Quote
  #5  
Old 07-24-2002, 07:37 AM
Ariak
Dragon
 
Join Date: Mar 2002
Posts: 633
Default

Summoning + Scribing spells up to 60 is ridiculous! It can take an hour. #1 reason I DO NOT play casters, at all.

Hope this will be implemented soon!
Reply With Quote
  #6  
Old 07-27-2002, 11:54 PM
Zio
Hill Giant
 
Join Date: Mar 2002
Posts: 179
Default

yayay. use this on FH server.

All i can say is...

PWN
__________________
death
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:55 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