Bringer
-
Content Count
148 -
Joined
-
Last visited
Posts posted by Bringer
-
-
remake
-
[Warning]: HPM:plugin_load: failed to load 'plugins/afk.so', skipping...
-
Your welcome.
Tag the topic as answered ^^
-
checkriding doesn't exists on hercule. To check if the user use a mado or another mount (peco, gryphon or dragon), you should use checkmount() and setmount.
done fixed thanks sir
-
Yep. Therefor, you'll simply check if the player got a falcon and know the skill.
[Error]: script error in file '(DIRECT INPUT)' line 25 column 75
parse_simpleexpr: unmatched ')'
22: close;
23: }
24: case 3:
* 25: if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class != 4054 && Class != 4060 && Class != 4066 && Class != 4073) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
26: setriding;
27: close;
28: }else{
-
poring_w02,86,101,5 script Rental NPC 4_F_JOB_BLACKSMITH,{ mes "[Rental NPC]"; mes "Hi, here you can rent Carts, Falcons, Pecopecos."; next; switch(select("Cart:Falcon:Peco:")) { case 1: if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) { setcart; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 2: if(checkfalcon() == 0 && getskilllv("HT_FALCON")>0) { setfalcon; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 3: if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class != 4054 && Class != 4060 && Class != 4066 && Class != 4073) { setriding; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 4: if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("RK_DRAGONTRAINING")>0) { atcommand strcharinfo(0)+":@mount"; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 5: if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class == 4073 || Class == 4066) { setriding; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 6: if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) { atcommand strcharinfo(0)+":@mount"; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } }}
like that?
-
Well yes, but I need to know the condition you wanna check? If it's just a check for skill, this should be enough:
if(checkfalcon() == 0 && getskilllv("HT_FALCON")>0) { setfalcon; close;}else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close;}
If there's more to check, you'll have to tell me ^^
where i can paste the code here my script
poring_w02,86,101,5 script Rental NPC 4_F_JOB_BLACKSMITH,{ mes "[Rental NPC]"; mes "Hi, here you can rent Carts, Falcons, Pecopecos."; next; switch(select("Cart:Falcon:Peco:")) { case 1: if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) { setcart; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 2: if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) { setfalcon; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 3: if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class != 4054 && Class != 4060 && Class != 4066 && Class != 4073) { setriding; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 4: if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("RK_DRAGONTRAINING")>0) { atcommand strcharinfo(0)+":@mount"; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 5: if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0 && Class == 4073 || Class == 4066) { setriding; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } case 6: if (BaseJob != Job_Merchant && BaseClass == Job_Merchant && checkriding() == 0 && getskilllv("NC_MADOLICENCE")>0 && Class == 4064 || Class == 4058) { atcommand strcharinfo(0)+":@mount"; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; } }}
-
Your test is wrong. Actually your test says:
"if you're base job is not Gunslinger AND if you are a gunslinger and if you don't have a falcon and you know the skill "Falcon Mastery", then get a falcon.
Else blablabla"
Is that what you wanna check?
can you correct it
-
Do you have the skill? If yes, maybe there's a check on your renting npc which verify your class too.
like this?
case 2: if(BaseJob != Job_Gunslinger && BaseClass == Job_Gunslinger && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) { setfalcon; close; }else{ mes "[Rental NPC]"; mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill."; close; }
-
WOR - War over Rune
1. The NPC will broadcast " War Of Rune Registration will start at 5 minutes "
2. After 5 minutes, the NPC will broadcast again " War Of Rune registration has been started you may now register! in 5 minutes"
3. Player can start registering, after clicking the NPC "War of rune" it have 2 choices "Join or Leave"
4. If they choose join they will randomize join 50% to Green and 50% to Red Team
ex.
You will be in Green Team!
*(change the cloth color to green - To show he is in green team.
else
You will be in Red Team!
*(Change the cloth color to red - To show he is in Red Team.
5. After 5 minutes, The npc will broadcast "War of Rune Registration has been ended"
at the same time all Green Team
the 2 teams will have their own room
then there will be an npc they can talk to to enter the arena
if they die they goe back to their respective rooms
exiting WoR was allowed but not allowed to rejoin
the npc inside the respective team's rooms
will have an option
to show the current scores of the teams
their total kills and deaths
at the end
each members from the winning team will receive 50 bonus kill points
all the players who joined will be warped to a non-pk area
the npc for exit will be there and gives them 20 Cash Points
warped to protnera
players from the same team can attack each other
so they need to make parties
there is always 1 player who is colored brown from the 2 teams
the king
when he is killed
he gives more points than normal players
when a brown player dies he will be replaced by a teammate as soon as the teammate enters the arena.
Thank you in advance! -
@@Alayne about this
-Gives Falcon Mastery Skill
i try to rent a falcon on my breed npc but the npc cant give me falcon
-
how to add this on my server Sir new on Plugin
-
i just follow this guide i got errorCC atcommand.catcommand.c: In function 'atcommand_afk':atcommand.c:3510: warning: implicit declaration of function 'clif_updatestatus'atcommand.c:3511: error: 'struct <anonymous>' has no member named 'logout'atcommand.c:3512: warning: implicit declaration of function 'clif_authfail_fd'make[1]: Leaving directory `/home/trincli0371/trunk/src/map'make[1]: *** [obj_sql/atcommand.o] Error 1make: *** [map_sql] Error 2/*==========================================* @afk by [cr0wmaster]* Features: 1z required to use. Venders are forbidden to use this command.*------------------------------------------*/ACMD(afk){nullpo_retr(-1, sd);if (sd->vender_id) //check if that player's vending [cr0wmaster]{clif->message(fd, "You can't use this command while you're vending.");}elseif(sd->status.zeny >= 1) { sd->status.zeny += -1; clif_updatestatus(sd, SP_ZENY); sd->state.logout = 1;clif_authfail_fd(fd, 15); } else { clif->message(fd, "You do not have enough money to use this command."); clif->message(fd, "@afk failed."); }return true;}
i follow this guide
The first part you can add after this: (Line 3591)
*
*------------------------------------------*/
ACMD(reloaditemdb)
{
nullpo_retr(-1, sd);
itemdb_reload();
clif->message(fd, msg_txt(97)); // Item database has been reloaded.
return true;
}and the second part, search this: (line 9713)
and add this line:
You need to compile.
-
just the effect of this weapon sirThat's a bit...You shoudl reformulate your asking to be a bit more "sympathic" to obtain an answer...
What do you need exactly? The script only, The database entry value?
-
A very good long range and support weapon. This weapon is very weak in close quarters due to it's slow fire and large size. However, if it has the time it needs it can cause massive damage to the enemy.-High Chance to cause bleeding on the enemy-Long Range-Pierces DEF-Slightly slows movement speed-Increases Hit Rate-Gives Falcon Mastery Skill-Gives user level 2 Detecting-+400% Damage with tracking skill-Grants bash skill level 7Class :^777777 Weapon^000000Equipped On :^777777 Both Hands^000000Atk :^777777 77^000000Weight :^777777 150^000000Applicable Job :^777777 Gunslinger^000000Very light and easy to handle.This weapon is in a fight for the lead for the best close quarters weapons with the custom shotgun.Also it aim very well around the body and performing the Desperado move.-SP Consumption +50%-Blinds by low chance-Pierces DEF-Increase Desperado Damage by 30%-Very small chance to drain 5% of enemys sp.-Small chance to drain 10% of your sp.Class :^777777 Weapon^000000Equipped On :^777777 Both Hands^000000Atk :^777777 50^000000Weight :^777777 80^000000Applicable Job :^777777 Gunslinger^000000A very heavy but powerful gun.Due to it's heavy weight you cannot use it to hit people.The best suppresive weapon there is.-Change to auto-guard self.-Slows Movement Speed-Drake Effect-Chance of stunning enemy when attacking.-Unstrippable-Pierces DEFClass :^777777 Weapon^000000Equipped On :^777777 Both Hands^000000Atk :^777777 100^000000Weight :^777777 400^000000Applicable Job :^777777 Gunslinger^000000A great close quarters weapon. Also this weapon is the best weapon for attacking multiple enemys or getting in close to make one hard single hit on an enemy.-All shots are spread shots.-Grants level 7 bash.-Chance to autoguard self.-Small chance to silence enemy+200% SP Consumption.+200% Damage with Spread shot skill.+30% Damage with Full Buster skill.-Pierces DEF.-Additional damage on ghost propertyClass :^777777 Weapon^000000Equipped On :^777777 Both Hands^000000Atk :^777777 100^000000Weight :^777777 200^000000Applicable Job :^777777 Gunslinger^000000 -
SC_PROTECTWEAPON 72SC_PROTECTSHIELD 73SC_PROTECTARMOR 74SC_PROTECTHELM 75
https://github.com/HerculesWS/Hercules/blob/master/db/const.txt
sc_start SC_PROTECTWEAPON,600000,5;
sc_start SC_PROTECTSHIELD,600000,5;
sc_start SC_SC_PROTECTARMOR,600000,5;
sc_start SC_SC_PROTECTHELM,600000,5;
like this sir?
-
once i FCP myself getting stone curse not FCP anyone?
Askydun,82,108,5 script Hunyango 450,{ mes "[Hunyango]"; mes "Hey I can give you Full Chemical Protection for "+.amount+" "+getitemname(7139)+""; mes "So do you want Full Chemical Protection?"; next; if(select("Yes:No") == 2) close; if(countitem(.item) < .amount) { mes .n$; mes "Sorry you don't have enough glistening coat"; } mes "[Chemical protector]"; mes "Thank you, you will be chemically protected now"; close2; delitem .item,.amount; skilleffect 479,0; sc_start SC_CP_ARMOR,600000,5; sc_start SC_CP_WEAPON,600000,5; sc_start SC_CP_SHIELD,600000,5; sc_start SC_CP_HELM,600000,5; end;OnInit: set .item,7139; //Item you want to use set .amount,1; //The amount of items you want end;}Askydun mapflag nowarpAskydun mapflag noteleportAskydun mapflag nomemoAskydun mapflag nogo Askydun mapflag nodropAskydun mapflag noicewallAskydun mapflag nobranch
-
how to reduce the damage of Final Strike?
-
bump
-
Quincy Bow Decription
Enhanced Range, Critical +15, Dex +15, 100%+ Damage against ghosts.
Buster Description
Dex-10, Hit-20, Pierces Defense of opponent, Enables the power to change weapon element, 35% chance to double attack, Autocast Meteor Storm lvl 7 upon attacking.
Id: 1748 AegisName: "Quincy_Bow" Name: "Quincy Bow" Type: 4 Buy: 2500 Weight: 600 Atk: 160 Range: 5 Slots: 4 Job: 0x000A0848 Loc: 34 WeaponLv: 11 EquipLv: 4 Refine: true View: 11 Script: <" bonus2 bAddEle,Ele_Ghost,100; bonus bLongAtkRate,15; bonus bDex15; ">},{ Id: 1198 AegisName: "Buster_Sword" Name: "Buster Sword" Type: 4 Buy: 20 Atk: 220 Range: 1 Slots: 4 Job: 0x00004080 Loc: 34 WeaponLv: 3 EquipLv: 4 Refine: true View: 3 Script: <" bonus bDex,-10; bonus bHit,-10; bonus bIgnoreDefRace,RC_DemiHuman; skill "TF_DOUBLE",1; bonus bDoubleRate,30; bonus2 bIgnoreMdefRate,7,100; bonus3 bAutoSpellWhenHit,"WZ_METEOR",7,200; skill "TK_SEVENWIND",4; ">},)
-
ohh my bad sir i forgot to say my problem so the correct script isif(BaseClass == Job_Mage){ bonus2 bMagicAddRace,RC_DemiHuman,15;}else if(BaseClass == Job_Archer){ bonus bLongAtkRate,3;}else if(BaseClass == Job_Merchant){ bonus2 bSkillAtk,"CR_ACIDDEMONSTRATION",20;}
please describe your problem next timeId: 2630
AegisName: "Brysinggamen"
Name: "Brisingamen"
Type: 5
Buy: 20
Weight: 1500
Def: 1
Loc: 136
EquipLv: 94
Refine: false
Script: <"
bonus bStr,6;
bonus bAgi,6;
bonus bVit,6;
bonus bInt,6;
bonus bLuk,10;
bonus bMdef,5;
if(BaseClass == Job_Mage)
{
bonus2 bMagicAddRace,RC_DemiHuman,15;
}
else if(BaseClass == Job_Archer)
{
bonus bLongAtkRate,3;
}
else if(BaseClass == Job_Merchant)
{
bonus2 bSkillAtk,"CR_ACIDDEMONSTRATION",20;
}
-
[^008800Mage Class^000000]Increases magical attack by 20%.[^008800Archer Class^000000]Ranged Attack Damage + 20%.[^008800Creator Class^000000]Increases damage when using skill Acid Demontration by 20%.Class :^777777 Accessory^000000Defense :^777777 1^000000Weight :^777777 150^000000Required Level :^777777 94^000000Applicable Job :^777777 Every Job^000000Id: 2630 AegisName: "Brysinggamen" Name: "Brisingamen" Type: 5 Buy: 20 Weight: 1500 Def: 1 Loc: 136 EquipLv: 94 Refine: false Script: <" bonus bStr,6; bonus bAgi,6; bonus bVit,6; bonus bInt,6; bonus bLuk,10; bonus bMdef,5; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Merchant) bonus bLongAtkRate,3; bonus2 bMagicAddRace,RC_DemiHuman,15; bonus2 bSkillAtk,"CR_ACIDDEMONSTRATION",20;
-
change it to
if ( !skill_num && tstatus->flee2 && rnd()%1000 < tstatus->flee2 )
then double check open and close bracket if they are all match..for easy checking use diff merge tool...
still miss
-
Hello how to remove miss of Sacrifice SKill on high flee player
Rate 999/80
Help about this script to edit
in Script Support
Posted
1.The NPC Called Team DeathMatch
2.any GM Team can active or trigger to open this Event Menu is
7 vs 7 up to 12vs 12
Team Deathmatch Cancelled
3.Every 2mins during event will be automatic regroup near on there crystal
4.on the event every kill will be counted
5.Only 1 Round NO Guardian and wall or basilica on the crystal
6. Winners will get 7pcs Valkyrie's Gift ID# 7840 AND 2pcs Crystal Key ID# 7839
7. Loser get 2pcs Valkyrie's Gift ID# 7840