Jump to content
  • 0

Can somebody kind enough tell me the commands... :)


Milky Holmes

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  11/06/12
  • Last Seen:  

1st Request = I'm requesting a command that if someone is equippingan equip which has a Golden Thief Bug Card attached

the NPC will directly refuse... (The equipment must be equipped..) Actually this is for Healer... :) (done)

2nd Request = and I'm actually trying the addtimer but it failed... I want the timer activated only when

AgitStart & AgitStart2 for 2 hour and the timer will be gone when AgitEnd & AgitEnd2 (not yet)

3rd Request = Can anyone give me a script for, all towns and fields are having a snow.. (done)

4th Request = Also can anyone make the Guild's Skill "Emergency Call" can't run/work on guild_vs1-1, guild_vs1-2, guild_vs1-3 & guild_vs1-4 (done)

Edited by Milky Holmes
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  161
  • Reputation:   31
  • Joined:  12/06/11
  • Last Seen:  

Healer by Eurphy

First:

//===== rAthena Script =======================================
//= Healer
//===== By: ==================================================
//= Euphy
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Basic healer script.
//============================================================

-	script	Healer	-1,{
if (isequiped(4127)) { message strcharinfo(0),"The Golden Thief Bug Card blocks the healers magic!"; end;}
set .@Price,0;	// Zeny required for heal
set .@Buffs,0;	// Also buff players? (1: yes / 0: no)
set .@Delay,0;	// Heal delay, in seconds

callfunc "F_ClearGarbage",0;
if (@HD > gettimetick(2)) end;
if (.@Price) {
	message strcharinfo(0),"Healing costs "+.@Price+" Zeny.";
	if (Zeny < .@Price) end;
	if(select("^0055FFHeal^000000:^777777Cancel^000000")==2) close;
	set Zeny, Zeny-.@Price;
}
specialeffect2 313; percentheal 100,100;
if (.@Buffs) {
	specialeffect2 37; sc_start SC_INCREASEAGI,240000,10;
	specialeffect2 42; sc_start SC_BLESSING,240000,10;
}
if (.@Delay) set @HD, gettimetick(2)+.@Delay;
close;
}

alberta,25,240,6	duplicate(Healer)	Healer#alb	909
aldebaran,135,118,6	duplicate(Healer)	Healer#alde	909
amatsu,200,79,4	duplicate(Healer)	Healer#ama	909
ayothaya,207,169,6	duplicate(Healer)	Healer#ayo	909
brasilis,194,221,6	duplicate(Healer)	Healer#bra	909
comodo,184,158,6	duplicate(Healer)	Healer#com	909
dewata,193,175,6	duplicate(Healer)	Healer#dew	909
eclage,105,35,4	duplicate(Healer)	Healer#ecl	909
einbech,142,244,4	duplicate(Healer)	Healer#einbe	909
einbroch,57,202,6	duplicate(Healer)	Healer#einbr	909
dicastes01,201,194,4	duplicate(Healer)	Healer#dic	909
geffen,115,72,6	duplicate(Healer)	Healer#gef	909
gonryun,156,122,6	duplicate(Healer)	Healer#gon	909
hugel,89,150,6	duplicate(Healer)	Healer#hug	909
izlude,125,118,5	duplicate(Healer)	Healer#izl	909
lighthalzen,149,103,6	duplicate(Healer)	Healer#li	909
louyang,225,103,4	duplicate(Healer)	Healer#lou	909
malangdo,226,188,4	duplicate(Healer)	Healer#mal	909
malaya,205,205,6	duplicate(Healer)	Healer#malay	909
manuk,256,176,6	duplicate(Healer)	Healer#man	909
mid_camp,203,289,6	duplicate(Healer)	Healer#mid	909
mora,106,100,6	duplicate(Healer)	Healer#mora	909
morocc,153,97,6	duplicate(Healer)	Healer#mor	909
moscovia,215,194,6	duplicate(Healer)	Healer#mos	909
niflheim,188,180,5	duplicate(Healer)	Healer#nif	909
payon,179,106,4	duplicate(Healer)	Healer#pay	909
prontera,162,193,4	duplicate(Healer)	Healer#pront	909
rachel,125,116,6	duplicate(Healer)	Healer#rac	909
splendide,201,153,4	duplicate(Healer)	Healer#spl	909
thor_camp,249,74,4	duplicate(Healer)	Healer#thor	909
umbala,129,132,4	duplicate(Healer)	Healer#umb	909
veins,217,121,4	duplicate(Healer)	Healer#ve	909
xmas,143,136,6	duplicate(Healer)	Healer#xmas	909
yuno,164,45,4	duplicate(Healer)	Healer#yuno	909

Second: Could you please be more specific?

Third: Either set all maps to the following or ask for a source Modification on the Source Request forum

map_name	mapflag	snow

Fourth: Conf/battle/skill.conf

Change:

emergency_call: 11

To

emergency_call: 10

Edited by garet999
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

1st

if( isequipped( 4128 ) ) end;

refer isequipped

2nd

how you want the timer being attach ? and what is the purpose to add the timer ? more elaboraton please...

if base on what you said in above situation...we gonna make a script that loop through all player in server and attach them to give the timer..

3rd

use setmapflag then give proper mapflag for weathers..

4th

trunk/db/re/skill_nocast_db.txt

and give a correspond mapflag to each map you specified..

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

2nd

use sleep ... not addtimer

addtimer require a player to be attach, while sleep doesn't

OnWhisperGlobal: // activate by GMs

agitstart; agitstart2;

sleep 2 * 60 * 60 * 1000;

agitend; agitend2;

btw ... I feel like this is more like a support question ... not a request :ani_swt3:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  11/06/12
  • Last Seen:  

2nd

use sleep ... not addtimer

addtimer require a player to be attach, while sleep doesn't

OnWhisperGlobal: // activate by GMs

agitstart; agitstart2;

sleep 2 * 60 * 60 * 1000;

agitend; agitend2;

btw ... I feel like this is more like a support question ... not a request :ani_swt3:

for 2nd: I want a NPC make a timer bubble chat when the WoE/SE is active...

because I set the WOE for 2 hours I want it to tick for 2 hours until 00:00:00 then the bubble vanished until the next active WoE/SE period..

I just want to ask can I add mapflag restriction 8 ?

maybe restriction 8 is 4096? because restriction 7 is 2048..

well.. sry if I post in the wrong area /heh maybe requesting some commands I dont know? lol

Thankyou.. :) The rest is working only still having problems on 2nd..

Ah.. and I'm wondering if I type @reloadscript does .conf in conf folder also reloaded? /hmm

e.g. conf/battle/skill.conf or Conf/battle/exp.conf

or do I need to recompile it

Edited by Milky Holmes
Link to comment
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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...