Emergency Call [ @ecall ]

Kuya Jeo

New member
Messages
596
Points
0
Emulator
A simple script for those who are lazy to click the Emergency Call in Guild Skill
default_tongue.png
:P 
default_tongue.png
 
default_biggrin.png
 

If you want to use this as a main command for ecalling, make the Emergency Call Passive

Find this :

10013,0,0,4,0,0x3,0,1,0,yes,0,0x10,0,none,0, GD_EMERGENCYCALL,Urgent Call
Change to this :
10013,0,0,0,0,0x3,0,1,0,yes,0,0x10,0,none,0, GD_EMERGENCYCALL,Urgent Call
 
but if you don't want to use this as main command, don't make the Emergency Call Passive but you can put this script as alternative for ecalling
 
This script can only use during WoE Time, must be a Guild Master, Only for WoE Maps and Master Emergency Call Guild Skill
 
Link : http://pastebin.com/ZbhMmgqn
 
Last edited by a moderator:
Zratinel said:
hmmm where i can find this??

10013,0,0,4,0,0x3,0,1,0,yes,0,0x10,0,none,0, GD_EMERGENCYCALL,Urgent Call
pre-renewal = trunk/db/pre-re/skill_db.txt

renewal = trunk/db/re/skill_db.txt

 
Last edited by a moderator:
Hi. How can i configure this script if I want it to be available to selected accounts only?

 
Hi. How can i configure this script if I want it to be available to selected accounts only?
What do you mean by selected accounts?

Did you mean specific gm level to access this command?

change from line 12:

bindatcmd "ecall",strnpcinfo(3)+"::OnEmergencyCall"; 
change to:

bindatcmd "ecall",strnpcinfo(3)+"::OnEmergencyCall",99,99; 

the two 99 means:

,<group level>,<group level char>;

so, GM level 99 can only access to this command.

Hope this helps you.

 
Last edited by a moderator:
Bug in script: just relog and cooldown can be bypassed..

 
Last edited by a moderator:
ohh i see. is there any way on how to prevent that from happening? @@Dastgir @@AnnieRuru
If want cooldown to not end upon logout, use this http://upaste.me/0812a8
How to make it so that instead of displaying "Skill Failed, Emergency Call still in Cool Down"; you'll display the time remaining before you can cast emergency call again? ex. ("Cool down still active for 3 minutes 29 seconds") 

This will be a very helpful command with a time notifier. Thanks

 
Last edited by a moderator:
It poses a bug when using the EC skill (from guild skill window) and @ecall command at the same time. 

 
ohh i see. is there any way on how to prevent that from happening? @@Dastgir @@AnnieRuru
If want cooldown to not end upon logout, use this http://upaste.me/0812a8
How to make it so that instead of displaying "Skill Failed, Emergency Call still in Cool Down"; you'll display the time remaining before you can cast emergency call again? ex. ("Cool down still active for 3 minutes 29 seconds") 

This will be a very helpful command with a time notifier. Thanks
Hi there,

You may want to change this line

set .Ecall_Delay,10; //Do not change this

into

set .Ecall_Delay,5; //Do not change this

I believe this is the Casting time (ecall casting time is 5seconds only)

and then go to the //Check Cool Down

make make it something like this

//Check Cool Down
    if( ( getguildmasterid( getcharid(2) ) == getcharid(0) ) &&
        ( Ecall_Delay > gettimetick(2) ) ){
         set .last,  Ecall_Delay - gettimetick(2);
                set .@min,  .last % (24*60*60) % (60*60) / (60);
                set .@sec,  .last % (24*60*60) % (60*60) % (60);
        message strcharinfo(0),"Skill Failed, Emergency Call still in Cool Down";
        message strcharinfo(0),"Wait for "+.@min+" minutes "+.@sec+" seconds";
        end;
    }

Goodluck
default_happy.png


 
Okay another bug to this script
Its not sync with the Actual Guild skill

If your cast was interrupted for example someone attacked you or u cancelled it (pub) the script timer still run and does not cancel so with would not be sync with the actual guild skill.
 

 
Okay another bug to this script

Its not sync with the Actual Guild skill

If your cast was interrupted for example someone attacked you or u cancelled it (pub) the script timer still run and does not cancel so with would not be sync with the actual guild skill.
So how will you able to sync it with the actual guild skill?

 
Okay another bug to this script

Its not sync with the Actual Guild skill

If your cast was interrupted for example someone attacked you or u cancelled it (pub) the script timer still run and does not cancel so with would not be sync with the actual guild skill.
So how will you able to sync it with the actual guild skill?
idk? i ddnt use this cause it has a bug and the author is not active

 
Back
Top