Jump to content

Scanty

Members
  • Posts

    69
  • Joined

  • Last visited

  • Days Won

    2

Community Answers

  1. Scanty's post in callfunc not working for item was marked as the answer   
    function script a_box_visu { set aboxqual, rand(1,2); if (a_boxqual == 1) { setarray [email protected]_boxarray[0] ,31214,31215,31221,31229,31233,31244,31255,31267,31272,31273,31276,31279,31287,31292,31294,31298,31301 ,31303,31310,31313,31314,31318,31324,31326,31327,31334,31337,31338,31342,31345,31347,31348,31349,31355 ,31361,31363,31364,31372,31378,31380,31381,31387,31389,31393,31396,31398,31399,31435,31436,31440,31446 ,31448,31456,31457,31459,31460,31465,31467,31474,31480,31481,31490,31491,31492,31493,31495,31512,31516 ,31521,31524,31526,31527,31528,31529,31532,31537,31541,31547,31553,31555,31557,31559,31560,31573,31574 ,31575,31576,31577,31578,31579,31580,31581,31582,31583,31584,31585,31586,31587,31588,31592,31608,31615 ,31616,31623,31625,31631,31635,31636,31642,31648,31650,31651,31663,31672,31673,31682,31684,31692,31714,31724; } if(a_boxqual == 2) { setarray [email protected]_boxarray[0] ,31725,31726,31730,31740,31742,31747,31750,31754,31757,31758,31764,31765,31775,31780 ,31788,31789,31793,31799,31803,31811,31812,31813,31815,31816,31835,31836,31840,31842 ,31850,31858,31865,31879,31883,31890,31894,31900,31905,31908,31914,31933,31946,31952 ,31953,31969,31982,32004,32015,32021,32064,32066,32067,32071,32075,32079,32098,32099 ,32100,32154,32157,32160,32173,32177,32216,32222,32225,32244,32269,32277,32278,32279 ,32297,32310,32311,32322,32340,32355,32359,32367; } set $a_boxid, rand(getarraysize([email protected]_boxarray[0])); getitem [email protected]_boxarray[$a_boxid],1; announce strcharinfo(0) + " acabou de obter um(a) " + getitemname([email protected]_boxarray[$a_boxid]) + " na Caixa Especial de Visuais.", bc_all; } You got this error.

    I just put the '{' 
    function script a_box_visu {  
  2. Scanty's post in SSh Console error was marked as the answer   
    sudo yum install devtoolset-7-gcc devtoolset-7-gcc-c++ Then
     
    scl enable devtoolset-7 bash Now try to compile.
     
    See this:
    Install on Centos rAthenaWiki
     
  3. Scanty's post in R> itemscript for my server Mantuea was marked as the answer   
    2524,Valkyrie_Manteau,Valkyrian Manteau,4,0,,500,,4,,1,0xFFFFFFFE,63,2,4,,0,1,0,{ if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Gunslinger||BaseClass==Taekwon) { bonus bFlee2,2+(getequiprefinerycnt(EQI_GARMENT)*3); } else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief||BaseClass==Job_Ninja||Baseclass==Acolyte) bonus bShortWeaponDamageReturn,1+(getequiprefinerycnt(EQI_GARMENT)*3); },{},{} db/pre-re or re folder/item_db.txt
    Also you can see the script if u want in ratemyserver.net or just in your item_db
     
     

  4. Scanty's post in translate the rare drop phrase in the game (announce drop mvp card) was marked as the answer   
    conf/msg_conf/map.msg.conf
    Line: 541
    541: '%s' got %s's %s (chance: %0.02f%%) Before:
    541: '%s' got %s's %s (chance: %0.02f%%)
    After: 
    541: [ '%s' ] got [ %s' ] the item [ %s ] with (chance: %0.02f%%)
    Save and @reload msgconf.
  5. Scanty's post in Wedding dress and tuxedo was marked as the answer   
    Open db/re/item_buyingstore.txt
    Comment line 1772
    //7170 //Tuxedo Idk why tuxedo it's ETC item, when you change the script... tuxedo it became equipable, that's why
  6. Scanty's post in Npc Hide on use was marked as the answer   
    - script Flower#0::iceflower -1,{ if (readJeff >= 1) { set [email protected],20; if (countitem(6381)) { // Field Shovel set [email protected],[email protected] - 18; } progressbar "ffffff",[email protected]; set [email protected],rand(1,15); if ([email protected] == 1) set [email protected],18747; else if ([email protected] == 2) set [email protected],518; // Honey else if ([email protected] == 3) set [email protected],514; // Grape else if ([email protected] == 4) set [email protected],510; // Blue Herb else if ([email protected] == 5) set [email protected],7018; // Young Twig else if ([email protected] == 6) set [email protected],7871; // Bean Bag else if ([email protected] == 7) set [email protected],19541; // Costume Romantic White Flower [0] [Costume Lower Head] else if ([email protected] == 8) set [email protected],6079; // Flower Of Alfheim else if ([email protected] == 9) set [email protected],7871; // Bean Bag else if ([email protected] == 10) set [email protected],905; // Stem else if ([email protected] == 11) set [email protected],7018; // Young Twig else if ([email protected] == 12) set [email protected],12293; // Dried Yggdrasilberry Heilt 20% SP else if ([email protected] == 13) set [email protected],12292; // Unripe Yggdrasilberry Heilt 20% HP else if ([email protected] == 14) set [email protected],7871; // Bean Bag else if ([email protected] == 15) set [email protected],7033; // Poison Spore getitem [email protected],1; delitem 6381,1; initnpctimer; disablenpc strnpcinfo(0); end; OnTimer180000: enablenpc strnpcinfo(0); stopnpctimer; end; } mes ".........."; close; } ice_dun01,242,80,4 duplicate(iceflower) Flower#1 527 ice_dun01,53,73,4 duplicate(iceflower) Flower#2 527 ice_dun01,289,74,4 duplicate(iceflower) Flower#3 527 ice_dun01,239,81,4 duplicate(iceflower) Flower#4 527 OnTimer180000 = 3 minutes to show again the npc.
  7. Scanty's post in Job Class Extra Drops was marked as the answer   
    - script Drop_extra -1,{ OnNPCKillEvent: if( rand( 100 ) <= 3 && (Class == Job_Knight || Class == Job_Lord_Knight || Class == Job_Rune_Knight_T)) { { [email protected]_id = F_Rand( 7097,1034 ); getitem [email protected]_id,1; } end; } if( rand( 100 ) <= 3 && (Class == Job_Sage || Class == Job_Professor || Class == Job_Sorcerer_T)) { { [email protected]_id = F_Rand( 904,946 ); getitem [email protected]_id,1; } end; } if( rand( 100 ) <= 3 && (Class == Job_Blacksmith || Class == Job_Whitesmith || Class == Job_Mechanic_T)) { { [email protected]_id = F_Rand( 999,984 ); getitem [email protected]_id,1; } end; } if( rand( 100 ) <= 3 && (Class == Job_Alchemist || Class == Job_Creator || Class == Job_Genetic_T)) { { [email protected]_id = F_Rand( 7135,7136 ); getitem [email protected]_id,1; } end; } if ( rand( 100 ) <= 3 && (Class == Job_Assassin || Class == Job_Assassin_Cross || Class == Job_Guillotine_Cross_T)) { { [email protected]_id = F_Rand( 7155,7003 ); getitem [email protected]_id,1; } end; } }  
  8. Scanty's post in I want All monsters to drop a Specific Item but im failing was marked as the answer   
    @Emistry Code:
     
    OnNPCKillEvent: if ( rand( 2 ) ) { [email protected]_id = F_Rand( 501,502,503,504,505 ); getitem [email protected]_id,1; } end; Just change:
    - script Poring_Coin -1,{ OnNPCKillEvent: if ( rand( 100 ) <= 90 ) { [email protected]_id = F_Rand( 7539 ); getitem [email protected]_id,1; } end; } Steps:
    1) Create a txt in npc/custom/allmonstersdrop.txt
    2) Put the code.
    3) Save the file.
    4) open  ...\rathena\npc\scripts_custom.conf
    5) add npc: npc/custom/allmonstersdrop.txt
    6)  type @reload script ingame
    7). kill monsters.
  9. Scanty's post in How to make Tao Gunka Scrolls and Orc Lord Scroll can increase the remaining time? (Re-Open) was marked as the answer   
    stackable:
    { bonus_script "{ bonus bMaxHPrate,100; bonus bDefRate,-50; bonus bMdefRate,-50; }",180,2048,0,SI_MVPCARD_TAOGUNKA; } increase remaning time:
    { bonus_script "{ bonus bMaxHPrate,100; bonus bDefRate,-50; bonus bMdefRate,-50; }",180,1024,0,SI_MVPCARD_TAOGUNKA;}  
    doc/script_commands.txt 
     
    *bonus_script "<script code>",<duration>{,<flag>{,<type>{,<status_icon>{,<char_id>}}}}; This command will attach a script to a player for a given duration, in seconds. After that time, the script will automatically expire. The same bonus cannot be stacked. By default, this bonus will be stored on `bonus_script` table when player logs out. Flags (bitmask): 1 : Remove when dead. 2 : Removable by Dispell. 4 : Removable by Clearance. 8 : Remove when player logs out. 16 : Removeable by Banishing Buster. 32 : Removable by Refresh. 64 : Removable by Luxanima. 128 : Remove when Madogear is activated or deactivated. 256 : Remove when receive damage. 512 : Script is permanent, cannot be cleared by bonus_script_clear. 1024: Force to replace duplicated script by expanding the duration. 2048: Force to add duplicated script. This flag cannot be stacked with 1024, if both are defined, 1024 will be checked first and ignore this flag. Types: This will be used to decide negative or positive buff for 'debuff_on_logout'. 0: Ignore the buff type and won't be removed if the flag is not &8 (Default) 1: Buff 2: Debuff Status_icon: See "Status Icon" section in 'db/const.txt'. Default is SI_BLANK (-1).  
  10. Scanty's post in Hamachi Server was marked as the answer   
    Download this data folder.
     
    Then, open "Data" Folder, and search this file "clientinfo.xml" 
     
    <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <desc>Ragnarok Client Information</desc> <servicetype>korea</servicetype> <servertype>primary</servertype> <connection> <display>Local</display> <address>ip hamachi</address> <port>6900</port> <version>46</version> <langtype>0</langtype> <registrationweb>www.ragnarok.com</registrationweb> <loading> <image>loading00.jpg</image> <image>loading01.jpg</image> <image>loading02.jpg</image> <image>loading03.jpg</image> <image>loading04.jpg</image> </loading> </connection> </clientinfo> What exe version are you using? like 2016-02-03aRagexeRE or something like that.. Sorry for my bad english. You can sent me PM and i help you by tools like teamviewer or skype, what ever u want.
×
×
  • Create New...

Important Information

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