Jump to content

croxinuz

Members
  • Posts

    62
  • Joined

  • Last visited

Everything posted by croxinuz

  1. hi sir,i Need help for this you can setting Zeny Penalty on exp.conf // When a player dies (to another player), how much zeny should we penalize them with? // NOTE: It is a percentage of their zeny, so 100 = 1% zeny_penalty: 0 it's work if player killed by another player,but i want Zeny Penalty only work if Player killed by Monster ? sorry for my bad english
  2. i have searching from google,but i don't understand how to make it :s
  3. i have autobackup from sir Brian. #!/bin/bash dbhost='localhost' dbuser='ragnarok' dbpass='ragnarok' dbname='ragnarok' savepath=$(dirname $0) # OR something like '/root/backup' date=`date +%Y-%m-%d_%H%M` month=`date +%Y-%m` filename="$savepath/$month/"$dbname"_"$date".sql" if [[ ! -d "$savepath/$month" ]]; then mkdir -p "$savepath/$month" chmod 700 "$savepath/$month" fi mysqldump --opt --host=$dbhost --user=$dbuser --password=$dbpass $dbname > $filename chmod 400 $filename how to auto delete my backup if date > 3 days. i'm blind to modify this backup script sorry for my bad english >.<
  4. i want to request Advanced Refine showing Refine Rate. when we want to refine,npc can show how much refine rate we get. that is Standart Advanced Refiner script. //===== rAthena Script ======================================= //= Advanced Refiner //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== //= 1.6 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= [Official Conversion] //= Refiner that uses Enriched ores to increase upgrade success. //= After a conversation with Doddler, it's been established that //= the advanced refiner works similar the the "Bubble Gum" item. //= The success percentage is not "increased" however, if it fails //= You get a second try. This tries twice at the same time, //= effectively giving you a re-roll on your attempt. //= - Dialog is only partly official to iRO. //= - Uses the iRO position for this NPC. //===== Additional Comments: ================================= //= 1.0 First Version. [L0ne_W0lf] //= 1.1 Fixed a weird carriage return. o_o [L0ne_W0lf] //= 1.2 Optimizing refine method [Zephyrus] //= 1.3 Typo fixes [Yommy] //= 1.4 Removed unnecessary dialogs [Zephyrus] //= 1.4a Added 'disable_items' command. [Euphy] //= 1.4b Fixed coordinates. [Euphy] //= 1.5 Some official script updates. [Euphy] //= 1.6 Added VIP features. [Euphy] //============================================================ prt_in,52,62,7 script Suhnbi#cash 85,{ disable_items; mes "[Suhnbi]"; mes "I am the Armsmith"; mes "I can refine all kinds of weapons,"; mes "armor and equipment, so let me"; mes "know what you want to refine."; next; setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set .@menu$,""; for(set .@i,1; .@i<=10; set .@i,.@i+1) { if (getequipisequiped(.@i)) { set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@equipped,1; } set .@menu$, .@menu$ + ":"; } if (.@equipped == 0) { mes "[Suhnbi]"; mes "I don't think I can refine any items you have..."; close; } set .@part, select(.@menu$); if (!getequipisequiped(.@part)) //custom check close; if (!getequipisenableref(.@part)) { mes "[Suhnbi]"; mes "Go find another Blacksmith. You can't refine this thing."; close; } if (getequiprefinerycnt(.@part) >= 10) { mes "[Suhnbi]"; mes "Hmm... someone perfected this already. I don't think I can work on it further."; close; } // Make sure you have the neccessary items and Zeny to refine your items // Determines chance of failure and verifies that you want to continue. switch(getequipweaponlv(.@part)) { case 1: callsub S_RefineValidate,1,7620,50,.@part; break; case 2: callsub S_RefineValidate,2,7620,200,.@part; break; case 3: callsub S_RefineValidate,3,7620,5000,.@part; break; case 4: callsub S_RefineValidate,4,7620,20000,.@part; break; default: callsub S_RefineValidate,0,7619,2000,.@part; break; } mes "[Suhnbi]"; mes "Clang! Clang! Clang!"; if (getequippercentrefinery(.@part) > rand(100) || getequippercentrefinery(.@part) > rand(100)) { successrefitem .@part; next; emotion e_no1; mes "[Suhnbi]"; mes "There you go! It's done."; mes "It's been a while since I've made such a fine "+((getequipweaponlv(.@part))?"weapon":"armor")+". You must be happy because it has become stronger!"; close; } failedrefitem .@part; next; emotion (!rand(5))?e_cash:e_omg; mes "[Suhnbi]"; mes "Uuuuuuuuuummmmmph!!!"; next; mes "[Suhnbi]"; mes "..."; mes "....."; mes ".......Huhuhuhuhu~"; mes "........It was your choice and my ability, no regret."; close; S_RefineValidate: set .@price, getarg(2); // If the VIP system is enabled, the prices for non-VIP players are considerably higher. if (getserverdef(VAR_VIP_SCRIPT) && !vip_status(1)) { switch(getarg(0)){ case 0: set .@price, .@price * 10; break; case 1: set .@price, .@price * 40; break; case 2: set .@price, .@price * 50; break; case 3: set .@price, .@price * 2; break; case 4: set .@price, .@price * 2; break; } } mes "[Suhnbi]"; if (getarg(0)) mes "You want to refine a level " + getarg(0) + " weapon?"; mes "To refine that, you'll need to have one ^ff9999" + getitemname(getarg(1)) + "^000000 and " + .@price + " zeny."; mes "Would you like to continue?"; next; if(select("Yes:No") == 1) { if (getequippercentrefinery(getarg(3)) < 100) { if (getarg(0)) { mes "[Suhnbi]"; mes "Wow!!"; mes "This weapon probably"; mes "looks like it's been refined..."; mes "many times..."; mes "It may break if"; mes "you refine it again."; next; mes "And if it breaks,"; mes "you can't use it anymore!"; mes "All the cards in it and the properties ^ff0000will be lost^000000!"; mes "^ff0000Besides, the equipment will break!^000000"; mes "Are you sure you still want to continue?"; next; if(select("Yes:No") == 2) { mes "[Suhnbi]"; mes "Good."; mes "Because if the weapon breaks from unreasonable refining, then I get a bad mood, too."; close; } } else { mes "[Suhnbi]"; mes "Giggle. Giggle. Oh, you have guts, daring to refine this."; mes "You know it's pretty risky, don't you?"; next; mes "If your defensive equipment is broken, you'll never be able to use it again."; mes "Even your cards and your modifications will ^ff0000completely disappear^000000."; //mes "Everything will disappear. As in... GONE!"; mes "Do you really wish to continue?"; next; if(select("Yes:No") == 2) { mes "[Suhnbi]"; mes "What nonsense. You waste my precious time."; mes "Get lost, punk."; close; } } } if (countitem(getarg(1)) > 0 && Zeny > .@price) { delitem getarg(1),1; set Zeny, Zeny - .@price; return; } mes "[Suhnbi]"; mes "Are these all you have?"; mes "I'm very sorry, but I can't do anything without all the materials. Besides, I deserve some payments for my work, don't I?"; close; } mes "[Suhnbi]"; mes "I can't help it even if you're not happy about it..."; close; } thank you for helping ^.^ sorry for my bad english
  5. some one know how to Contact Sirius_white ? i'm almost Crazy because waiting email reply to purchase Harmony License...
  6. hmm.. thor patcher just stuck when downloading patch file,. maybe it's because poor connection in my country.. Lol thank you for answer sir... i hope someone can give me a solution or maybe i will change my patcher using another one sorry for my bad english >.<
  7. it's Possible to make Manual patch for Thor Patcher users ? hmm.... Some time player on my server stuck when patching...
  8. Thank you sir,But it doesn't work i'm get error while recompile
  9. it's possible to disable @duel for clown/bard and dancer/gypsy class. sorry for my bad english.
  10. I want to request an NPC that can combine CostumA and CostumB and produce a New Costum with random chance and random CostumC Range and you can Choose CostumA and CostumB in your inventory without Fix code like setarray .Items[0],1202,1228,5025,2254,1102,1141; it's possible ?
  11. I have Party vs Party Script But,i don't know how to add Reward for Lose Party.. may someone help me ? sorry for my bad english.. prontera,159,184,4 script Team Wars::teamwar 899,{ if (getgmlevel() >= 99){ menu "standard menu",standard,"reset",lend; } standard: set $@members,5; // number of party members change this to your party size you want set $@start,0; getpartymember(getcharid(1)); set @partymembercount,$@partymembercount; if ( $@start == 1 ) { mes "The Sign Ups are currently unavailable because a match is in progress. Don't hesitate to try again in a few minutes!"; close; } if ( @partymembercount == $@members ) { if ( $@TeamID1 == getcharid(1) ) { mes "Do you wish to sign out your team?"; next; if (select("I Give up ~.","Never Say Quit !!")==2) close; announce "Team 1 : [ " + getpartyname($@TeamID1) + " ] has sign out. We need another Party to sign up now!",bc_yellow|bc_map; set $@TeamID1, 0; close; } if ($@TeamID2==getcharid(1)) { mes "Do you wish to sign out your team?"; next; if (select("I Give up ~.","Never Say Quit !!")==2) close; announce "Team 2 : [ " + getpartyname($@TeamID2) + " ] has sign out. We need another Party to sign up now!",bc_yellow|bc_map; set $@TeamID2, 0; close; } mes "Hello "+strcharinfo(0)+" what do you want?"; if (($@TeamID1!=0) && ($@TeamID2!=0)) { mes "The Sign Ups are currently unavailable because a match is in progress. Don't hesitate to try again in a few minutes!"; close; } if ( getpartyleader(getcharid(1),2) != getcharid(0) ) { mes "Only party leader have the right to sign up / out from the game with me.."; close; } mes "Choose your team to register."; switch(select("Red Team - [" + GetPartyName($@TeamID1) + "] :Blue Team - [" + GetPartyName($@TeamID2) + "]")) { case 1: mes "[ Team War ]"; if ($@TeamID1==0 || getpartyname($@TeamID1)=="null") { getpartymember(getcharid(1)),1; getpartymember(getcharid(1)),2; copyarray $@partymembercidt1[0],$@partymembercid[0],$@members; copyarray $@partymemberaidt1[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidt1[.@i],$@partymembercidt1[.@i])) set .@count,.@count+1; } if(.@count < $@members) { mes "You need all your party members to be online to Register"; close; } set $@TeamID1, getcharid(1); initnpctimer; mes "Your Party is now subscribed, good luck!"; announce "Team 1 : [ " +getpartyname($@TeamID1)+ " ] has sign up For the Team War!",bc_blue|bc_map; doevent "teamwar::OnSubscriptionTeam"; close; } else { mes "I'm sorry! Another Team has sign up before you..."; close; } case 2: mes "[ Team War ]"; if ($@TeamID2==0 || getpartyname($@TeamID2)=="null") { getpartymember(getcharid(1)),1; getpartymember(getcharid(1)),2; copyarray $@partymembercidt2[0],$@partymembercid[0],$@members; copyarray $@partymemberaidt2[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidt2[.@i],$@partymembercidt2[.@i])) set .@count,.@count+1; } if(.@count < $@members) { mes "You need all your party members to be online to Register"; close; } set $@TeamID2, getcharid(1); initnpctimer; mes "Your Party is now subscribed, good luck!"; announce "Team 2 : [ " +getpartyname($@TeamID2)+ " ] has sign up For the Team War!",bc_blue|bc_map; doevent "teamwar::OnSubscriptionTeam"; close; } else { mes "I'm sorry! Another Team has sign up before you..."; close; } } } else { mes "[Event Handler]"; mes "Please contact your party leader."; mes "Your team must have a party consisting of "+$@members+" members."; close; } OnSubscriptionTeam: getpartymember($@TeamID2),1; getpartymember($@TeamID2),2; copyarray $@partymembercidtc2[0],$@partymembercid[0],$@members; copyarray $@partymemberaidc2[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidc2[.@i],$@partymembercidtc2[.@i])) set .@countx,.@countx+1; } if(.@countx < $@members) { announce "Team War : "+getpartyname($@TeamID2)+"are not all online the match has been canceled",0; announce "Team War : registration for 2 new teams are now available",0; goto lend; } if ( $@TeamID2 && $@partymembercount != $@members ) { announce getpartyname($@TeamID2) +" has extra party members !", 0; goto lend; } getpartymember($@TeamID1),1; getpartymember($@TeamID1),2; copyarray $@partymembercidtc1[0],$@partymembercid[0],$@members; copyarray $@partymemberaidc1[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidc1[.@i],$@partymembercidtc1[.@i])) set .@countz,.@countz+1; } if(.@countz < $@members) { announce "Team War : "+getpartyname($@TeamID1)+"are not all online the match has been canceled",0; announce "Team War : registration for 2 new teams are now available",0; goto lend; } if ( $@TeamID1 && $@partymembercount != $@members ) { announce getpartyname($@TeamID1) +" has extra party members !", 0; goto lend; } if($@TeamID1!=0 && $@TeamID2!=0){ announce "Team War : We have 2 Teams signed up now : "+getpartyname($@TeamID1)+" and "+getpartyname($@TeamID2)+".",bc_blue|bc_map; set @win1, 0; set @win2, 0; goto Onstart; } end; OnTimer50000: if (($@TeamID1!=0) && ($@TeamID2!=0)) { stopnpctimer; end; } stopnpctimer; set $@TeamID1, 0; set $@TeamID1, 0; announce "Team War : we lack teams to start registration for two teams are now available",0; end; OnStart: warpparty "guild_vs2",89,49,$@TeamID1; warpparty "guild_vs2",11,49,$@TeamID2; set $@start,1; end; lend: stopnpctimer; set $@TeamID1,0; set $@TeamID2,0; set $@start,0; set @win1,0; set @win2,0; set @partymembercount,$@members; announce "Thanks for playing",0; end; OnTimer250000: Announce "Team War : No Party won due to time limit!",0; mapwarp "guild_vs2","prontera",156,191; goto lend; end; OnPCDieEvent: OnPCLogoutEvent: if(strcharinfo(3) != "guild_vs2") end; warp "prontera",156,191; for(set .@i, 0; .@i < $@members; set .@i, .@i + 1) { if ( $@partymembercidt1[.@i] == getcharid(0)) { deletearray $@partymembercidt1[.@i], 1; deletearray $@partymemberaidt1[.@i], 1; if( getarraysize($@partymembercidt1) == 0 ) { set @win2,getarraysize($@partymembercidt2); goto onwin; } } if ( $@partymembercidt2[.@i] == getcharid(0) ) { deletearray $@partymembercidt2[.@i], 1; deletearray $@partymemberaidt2[.@i], 1; if( getarraysize($@partymembercidt2) == 0 ) { set @win1,getarraysize($@partymembercidt1); goto onwin; } } } end; onwin: if (@win1==0) { warpparty "prontera",156,191,$@TeamID1; warpparty "prontera",156,191,$@TeamID2; Announce "Team War :"+GetPartyName($@TeamID2)+" won",0; for ( .@i = 0; .@i < @win2; .@i++ ) getitem 608, 50, $@partymemberaidt2[.@i]; goto lend; } if (@win2==0) { warpparty "prontera",156,191,$@TeamID1; warpparty "prontera",156,191,$@TeamID2; Announce "Team War :"+GetPartyName($@TeamID1)+" won",0; for ( .@i = 0; .@i < @win1; .@i++ ) getitem 608,50, $@partymemberaidt1[.@i]; goto lend; } end; }
  12. may someone help me for auto event npc spawn Random monster on Random map ? exampel like : i want spawn mob with number 1001,1002,1003,1005 random on a random map prontera,morocc,izlude every 30minute. sorry for my bad english
  13. may i show name who was produce the poison bottle ? Like acid bottle or Fire Grenade.. sorry for my bad english
  14. bump... i have this problem too,. but i think this topic is Client & patcher support, not in Client Releases CMIIW
  15. I was add many skill to job 4191,and i got this error, How Can i fix this ?
  16. how to change sacrifice hits ? if i use sacrifice skill, i can Hit With Sacrifice 5 times,i want to change to 2 times only. sorry for my bad english.
  17. May i make All mob have Double Damage ?? ex : if normal Damage poring 100,Drops 200, poporing 300 , ghostring 400 , angeling 500, archangeling 600,ETC i want to chance all damage to poring 200,drops 400,poporing 600, ghostring 400,Angeling 1000, ArchAngeling 1200,ETC sorry for my bad english.
  18. i get this eror when i was compiling,May someone help me ? sorry for my bad english heses -DHAVE_MONOTONIC_CLOCK -DPCRE_SUPPORT -I/usr/include/mysql -I../common - I/usr/include -c -o obj_sql/npc_chat.o npc_chat.c npc_chat.c:17:18: error: pcre.h: No such file or directory npc_chat.c:76: error: expected specifier-qualifier-list before âpcreâ npc_chat.c: In function âfinalize_pcrematch_entryâ: npc_chat.c:111: warning: implicit declaration of function âpcre_freeâ npc_chat.c:111: error: âstruct pcrematch_entryâ has no member named âpcreâ npc_chat.c:112: error: âstruct pcrematch_entryâ has no member named âpcre_extraâ npc_chat.c:114: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c: In function ânpc_chat_def_patternâ: npc_chat.c:318: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:319: error: âstruct pcrematch_entryâ has no member named âpcreâ npc_chat.c:319: warning: implicit declaration of function âpcre_compileâ npc_chat.c:319: error: âPCRE_CASELESSâ undeclared (first use in this function) npc_chat.c:319: error: (Each undeclared identifier is reported only once npc_chat.c:319: error: for each function it appears in.) npc_chat.c:320: error: âstruct pcrematch_entryâ has no member named âpcre_extraâ npc_chat.c:320: warning: implicit declaration of function âpcre_studyâ npc_chat.c:320: error: âstruct pcrematch_entryâ has no member named âpcreâ npc_chat.c: In function ânpc_chat_subâ: npc_chat.c:376: warning: implicit declaration of function âpcre_execâ npc_chat.c:376: error: âstruct pcrematch_entryâ has no member named âpcreâ npc_chat.c:376: error: âstruct pcrematch_entryâ has no member named âpcre_extraâ npc_chat.c:384: warning: implicit declaration of function âpcre_copy_substringâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:390: error: âstruct pcrematch_entryâ has no member named âlabelâ npc_chat.c:392: error: âstruct pcrematch_entryâ has no member named âlabelâ make[1]: *** [obj_sql/npc_chat.o] Error 1 make[1]: Leaving directory `/root/rewrite/src/map' make: *** [map_sql] Error 2 Solved : Sorry , i forget to install yum install pcre-devel
  19. i using 3ceam , and my Disguise NPC Error Like This, 40 : announce "A GM has decided to turn the Disguise Event off. As a result no prizes will be given.",bc_map | bc_blue; * 41 : 'd'eletepset 1; 42 : setnpcdisplay "Disguise Event",795; 43 : close;} 44 : set $@EventON,1; set $@Timer,1; setnpctimer 0; initnpctimer; 45 : set $@ResetCounter,$@ResetCounter+1; i Have Install pcre,But it's still not Work. Sorry For my Bad English. Someone Can Help me ?
  20. i have read eathena forum and found about Race System ... and in that forum,All Link Has broken. may Someone Have script or data or something tutorial about Race System ? i need so http://www.eathena.w...=188303&hl=race Sorry for my bad english bump !
×
×
  • Create New...