Jump to content
Kuya Jeo

Emergency Call [ @ecall ]

Recommended Posts

A simple script for those who are lazy to click the Emergency Call in Guild Skill :P :P  :P  :D 

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
 
Edited by Zhao Chow

Share this post


Link to post
Share on other sites

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

Edited by Zhao Chow

Share this post


Link to post
Share on other sites

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.

Edited by Legend

Share this post


Link to post
Share on other sites

 

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

Edited by Kong

Share this post


Link to post
Share on other sites

 

 

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 ^_^

Share this post


Link to post
Share on other sites

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.
 

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

 

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.