spell book help
how do i remove disc from the spell book? now that the #melody command is in bards can load disc in there spell bar and use them with no timers with that command. and there is also a zone crash if you twist more then 1 disc.
so we need to remove disc from from the spell book or at the least the bard disc. i tryed setting the lvl on the spell to a lvl that was not obtainable but then they cant get them in there disc window i don't want to remove the disc just take them out of the spell book. |
Sounds like the best solution would be to change the source code for #melody so that it won't allow the use of discs with the command. But, another idea would be to have your spell scriber remove those few disc spells after scribing all spells for bards.
|
i tryed that only command i can find is $client<-UnscribeSpell(slot) but i dont know what slot there in.
so how would i go about removing only them spells? the ids and spells are puretone 4586 deft dance 4516 thousand blades 8030 resestant 4585 fearless 4587 |
I haven't tested this yet, but I think something like this should work:
Code:
$client->UnscribeSpell(4586); |
This is untested, but I think this should work, or should be very close to working if it was added to the source:
questmgr.cpp Code:
void QuestManager::unscribespell(int spell_id, bool update_client=true) { Code:
void unscribespell(int spell_id, bool update_client=true); Code:
XS(XS__unscribespell); Code:
newXS(strcpy(buf, "unscribespell"), XS__unscribespells, file); |
errors errors and more errors :P
Code:
2>.\questmgr.cpp(1708) : error C2065: 'm_pp' : undeclared identifier questmgr.h void unscribespell(); to void unscribespell(int spell_id, bool update_client); althogh i think all calls should prob be set to void unscribespell(int spell_id, bool update_client=true); |
Sorry, wrote that pretty quick just as a possible solution to try. You are right that the questmgr.h line needed to be changed. Also the perlparser.cpp needed an int added to it. I updated the code some to be a bit closer. Though, it still doesn't resolve the error you are getting about m_pp. I think the code would need changes so that it figures out the spell slot for the spell being unscribed. Not sure exactly how to do that. It would probably be easier to just fix #melody. But, the unscribespell would be useful have at some point as well.
|
any clue on how to atlest fix #melody so they cant cast disc or maybe even just have it check the spell reuse timer and interrupt the casting if its not time to cast it?
|
found another prob with melody that needs a fix bad.
spells don't cost mana with melody.. i have a few bards using there high mana cost aoe and not losing mana. i had a song i could not cast because i did not have enough mana casted it using #melody command.. this is a big bug. |
All times are GMT -4. The time now is 01:50 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.