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 06-12-2003, 03:26 AM
Yodason
Hill Giant
 
Join Date: Jan 2002
Posts: 205
Default zone quest command.

A command so you can do this zone("zone","x","y","z")
change

Code:
#ifdef GUILDWARS

	strn0cpy(com_list, "if 0|break 1|while 0|spawn 6|dbspawnadd 2|echo 1|summonitem 1|castspell 2|say 1|emote 1|shout 1|depop 1|cumflag 1|flagclient 2|exp 1|level 1|safemove 1|rain 1|snow 1|givecash 4|pvp 1|doanim 1|addskill 2|flagcheck 1|me 1|write 2|settarget 2|follow 1|sfollow 0|save 0|setallskill 1|attack 1|cityfaction 1|report 0|movepc 4|sizeof(com_list));

#else

	strn0cpy(com_list, "if 0|break 1|while 0|spawn 6|dbspawnadd 2|echo 1|summonitem 1|castspell 2|say 1|emote 1|shout 1|depop 1|cumflag 1|flagclient 2|exp 1|level 1|safemove 1|rain 1|snow 1|givecash 4|pvp 1|doanim 1|addskill 2|flagcheck 1|me 1|write 2|settarget 2|follow 1|sfollow 0|save 0|setallskill 1|attack 1|movepc 4|sizeof(com_list));

#endif

#ifdef GUILDWARS2

	strn0cpy(com_list, "if 0|break 1|while 0|spawn 6|dbspawnadd 2|echo 1|summonitem 1|castspell 2|say 1|emote 1|shout 1|depop 1|cumflag 1|flagclient 2|exp 1|level 1|safemove 1|rain 1|snow 1|givecash 4|pvp 1|doanim 1|addskill 2|flagcheck 1|me 1|write 2|settarget 2|follow 1|sfollow 0|save 0|setallskill 1|attack 1|cityfaction 1|report 0|movepc 4|giveguildfunds 1|sayavailablefunds 0|sizeof(com_list));
to
Code:
#ifdef GUILDWARS

	strn0cpy(com_list, "if 0|break 1|while 0|spawn 6|dbspawnadd 2|echo 1|summonitem 1|castspell 2|say 1|emote 1|shout 1|depop 1|cumflag 1|flagclient 2|exp 1|level 1|safemove 1|rain 1|snow 1|givecash 4|pvp 1|doanim 1|addskill 2|flagcheck 1|me 1|write 2|settarget 2|follow 1|sfollow 0|save 0|setallskill 1|attack 1|cityfaction 1|report 0|movepc 4|zone 4|", sizeof(com_list));

#else

	strn0cpy(com_list, "if 0|break 1|while 0|spawn 6|dbspawnadd 2|echo 1|summonitem 1|castspell 2|say 1|emote 1|shout 1|depop 1|cumflag 1|flagclient 2|exp 1|level 1|safemove 1|rain 1|snow 1|givecash 4|pvp 1|doanim 1|addskill 2|flagcheck 1|me 1|write 2|settarget 2|follow 1|sfollow 0|save 0|setallskill 1|attack 1|movepc 4|zone 4|", sizeof(com_list));

#endif

#ifdef GUILDWARS2

	strn0cpy(com_list, "if 0|break 1|while 0|spawn 6|dbspawnadd 2|echo 1|summonitem 1|castspell 2|say 1|emote 1|shout 1|depop 1|cumflag 1|flagclient 2|exp 1|level 1|safemove 1|rain 1|snow 1|givecash 4|pvp 1|doanim 1|addskill 2|flagcheck 1|me 1|write 2|settarget 2|follow 1|sfollow 0|save 0|setallskill 1|attack 1|cityfaction 1|report 0|movepc 4|giveguildfunds 1|sayavailablefunds 0|zone 4|", sizeof(com_list));
and insert this somewehre in the long else if statement
Code:
			else if (strstr(strlwr(arglist[0]),"zone")) {
				if (mob->IsClient())
				//YXZ format because EQEmu coord system is messed up.
				mob->CastToClient()->MovePC(arglist[1], atoi(arglist[3]), atoi(arglist[2]), atoi(arglist[4]));
Reply With Quote
  #2  
Old 06-12-2003, 09:08 PM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

I created movepc to do that last week, I think trump merged it in - if zone is a better name tho it can be changed. :p
Reply With Quote
  #3  
Old 06-12-2003, 11:38 PM
fnemo's Avatar
fnemo
Discordant
 
Join Date: Dec 2002
Posts: 354
Default

lol we use this one in the code of alkora for almost 1 month now. yoda just wanted to realesed most of the change we did and didnt check yours :p

Ps : he cant answer, he left for at least 2 weeks...
__________________
Nemo
Administrator and coder for the World Alkora Server
Reply With Quote
  #4  
Old 06-13-2003, 08:18 AM
Yodason
Hill Giant
 
Join Date: Jan 2002
Posts: 205
Default

actually if you checked my code mine uses zone name not number - avoids a trip looking through the database.
Reply With Quote
  #5  
Old 06-13-2003, 11:08 AM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Hmm, mine was meant to use zonename as well, not number.
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 05:18 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