View Full Version : quest::selfcast(spellid)
Monrezz
02-16-2004, 01:01 AM
Perl missing quest::selfcast(spellid)
zone\embparser.cpp ~ Line 391 add:
"sub selfcast{push(@cmd_queue,{func=>'selfcast',args=>join(',',@_)});}"
This allows you to use the command quest::selfcast(spellid) that forces the client to cast a spell on themself, useful for self-only and group spells triggered from the quest.
Monrezz
samandhi
02-16-2004, 01:33 AM
Ahhh I see you got to the bottom of it. So have you tested that to be working? I dont have time ATM to merge that in and test it..
Silly question (still learning As I always seem to point out hehe), I dont need to recompile ALL of zone project with this, but just that one source file, yes?
Monrezz
02-16-2004, 02:26 AM
Yes, merged and works.
And yes - you only need to compile that one file. (unless you've changed a few of the shared files).
If it doesn't compile, just rebuild al. :P
Monrezz
samandhi
02-16-2004, 04:41 AM
Great, thank you... Ill be using that one too on my server.
Monrezz
02-16-2004, 05:25 AM
www.arnold11.karoo.net/Diffs.htm
Any entry in the quest column that doesn't have an entry in the perl column means it isn't supported in perl. Simple fix is to add a line at the bottom of embparser.cpp along the lines of:
"sub <MissingCmd>{push(@cmd_queue,{func=>'<MissingCmd>',args=>join(',',@_)});}"
Then recompile.
Adds all the old avaliable commands in qst format to perl format, using same arguments.
Monrezz
samandhi
02-16-2004, 06:37 AM
Done.. thanks again.
Monrezz
02-16-2004, 06:56 AM
Np :)
I think some were left off because ther are no longer needecd, ie(calc), but there are a few that can be used still I imagine.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.