Jump to content

Radian

Members
  • Posts

    1,541
  • Joined

  • Last visited

  • Days Won

    18

Community Answers

  1. Radian's post in Script Request for Leveling was marked as the answer   
    if(getrefine() == 7) skill "AC_DOUBLE",1;  
  2. Radian's post in [Rathena] Healer script problem was marked as the answer   
    I dont think this will work on rAthena since these are not available. the Oridecon_Stone part now
    // automatically turn all oridecon and elunium stone into pure stone to reduce player's weight [email protected] = countitem(Oridecon_Stone); if ( [email protected] >= 5 ) { delitem Oridecon_Stone, [email protected] / 5 * 5; getitem Oridecon, [email protected] / 5; message strcharinfo(0), "Refined "+ ( [email protected] / 5 * 5 ) +" Oridecon Stones, got "+ ( [email protected] / 5 ) +" Oridecons."; } [email protected] = countitem(Elunium_Stone); if ( [email protected] >= 5 ) { delitem Elunium_Stone, [email protected] / 5 * 5; getitem Elunium, [email protected] / 5; message strcharinfo(0), "Refined "+ ( [email protected] / 5 * 5 ) +" Elunium Stones, got "+ ( [email protected] / 5 ) +" Eluniums."; } change that part into this
    // automatically turn all oridecon and elunium stone into pure stone to reduce player's weight [email protected] = countitem(756); if ( [email protected] >= 5 ) { delitem 756, [email protected] / 5 * 5; getitem 984, [email protected] / 5; message strcharinfo(0), "Refined "+ ( [email protected] / 5 * 5 ) +" Oridecon Stones, got "+ ( [email protected] / 5 ) +" Oridecons."; } [email protected] = countitem(757); if ( [email protected] >= 5 ) { delitem 757, [email protected] / 5 * 5; getitem 985, [email protected] / 5; message strcharinfo(0), "Refined "+ ( [email protected] / 5 * 5 ) +" Elunium Stones, got "+ ( [email protected] / 5 ) +" Eluniums."; }  
  3. Radian's post in Removing Ninja, Taekwondo, Gunslinger from Job Master was marked as the answer   
    Since there's no options on doing that on/off thing. I added a new section and replace this part
    case Job_Novice: // First job change Job_Options([email protected]_opt,Job_Swordman, Job_Mage, Job_Archer, Job_Acolyte, Job_Merchant, Job_Thief, Job_Super_Novice, Job_Taekwon, Job_Gunslinger, Job_Ninja); if( .BabyNovice ) Job_Options([email protected]_opt, Job_Baby); break; into this
    case Job_Novice: // First job change Job_Options([email protected]_opt,Job_Swordman, Job_Mage, Job_Archer, Job_Acolyte, Job_Merchant, Job_Thief, Job_Super_Novice); if( .Expanded ) Job_Options([email protected]_opt,Job_Taekwon, Job_Gunslinger, Job_Ninja); if( .BabyNovice ) Job_Options([email protected]_opt, Job_Baby); break; and then on the OnInit: part add this
    .Expanded = true; // Enable Ninja, Taekwon, Gunslinger Class  
  4. Radian's post in euphy quest shop - how to change item color display was marked as the answer   
    Look for ^00FF00 inside the script and replace it with ^0000FF
  5. Radian's post in lvl 99 reward was marked as the answer   
    // -- A very simple script that made by me (Radian) // -- Compatible with rAthena. // -- I don't mind if you want to optimized this // -- just please include me on the credits prontera,35,270,6 script LvL 99 Reward 864,{ if ( .enable_event ) { if ( getcharid(3) > .aid_end ) { mes "[ ^777777Account ID Checker^000000 ]"; mes "I'm sorry you are late to avail this.."; close; } if ( getcharid(3) < .aid_start ) { mes "[ ^777777Account ID Checker^000000 ]"; mes "It's impossible you are below of the id we required to obtained the special event rewards."; close; } if ( BaseLevel < .max_base_level || JobLevel < .max_job_level ) { mes "[ ^00FF00Race Up to Max^000000 ]"; mes "We're sorry you are not qualified yet on this event, please come back when you are base level is "+.max_base_level+" and job level is "+.max_job_level+"."; close; } if ( #Reward == 1 ) { mes "[ ^FF0000Baj^000000 ]"; mes "We apologize that you are not qualified any more to receive or get a special reward from us."; close; } mes "[ ^0000FFCongratulation Note^000000 ]"; mes "We verified that you are qualified and will receive a reward from us."; if(.enable_item_reward) { for ( [email protected] = 0; [email protected] < getarraysize(.reward); [email protected]++ ) for ( [email protected] = 0; [email protected] < getarraysize(.amount); [email protected]++ ) getitem .reward[[email protected]],.amount[[email protected]]; } if(.enable_cash_reward) { #CASHPOINTS += 100; // Replace to your desired amount. dispbottom "You receive 100 Cash points."; } #Reward = 1; announce "Congratulations! "+strcharinfo(0)+" has claimed his reward for Race to 99 Event This event runs until April 4 2021", bc_all; close; OnInit: // ------------------------------------------------------------ \\ .enable_event = 1; // Set 0 = Disable / 1 = Enable (default) .enable_item_reward = 1; // Set 0 = Disable / 1 = Enable (default) .enable_cash_reward = 1; // Set 0 = Disable / 1 = Enable (default) .max_base_level = 99; // Set the maximum base level here. .max_job_level = 70; // Set the maximum job level here. .aid_start = 2000000; // Set the Account ID here where you want to start. [ set this to 0 = disable ] .aid_end = 2000100; // Set the ending Account ID here. [ set this to 0 = disable ] setarray .reward,20737,12210,14002,6316,12211; // Set the rewards here. setarray .amount,1,5,10,10,10; // Set the reward amouns here. waitingroom "99 Reward",0; // Waiting Room. // ------------------------------------------------------------- \\ end; } } @cadz I tried to edit it and didnt run a test
    Did a test on the script its updated now.
  6. Radian's post in Gold Room Capcha was marked as the answer   
    Try this script https://upaste.me/r/a04e54027f405c652
  7. Radian's post in Devotion magic reflect issue was marked as the answer   
    Have you tried setting these inside https://github.com/rathena/rathena/blob/master/conf/battle/skill.conf#L193
    devotion_rdamage: 100 devotion_rdamage_skill_only: no  
  8. Radian's post in Announce MVP Card (item_flag.txt) was marked as the answer   
    You guys are wrong this are not related to the client side, its on this part https://github.com/rathena/rathena/blob/master/conf/battle/items.conf#L132
  9. Radian's post in Run sc_status on all players of map x. was marked as the answer   
    I tried running it and it buffs all the players in the same map.
    prontera,155,161,4 script addrid_test 456,{ monster "prontera",155,161,"Poring",1002,1, strnpcinfo(0) + "::OnAddridKill"; end; OnAddridKill: addrid(1,0,"prontera"); specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; end; }  
  10. Radian's post in Need help with this Npc was marked as the answer   
    change this part
    input [email protected]_amount,0,30000; into this
    input [email protected]_amount,6,30000;  
  11. Radian's post in Login-server status is offline was marked as the answer   
    instead of . i put , on my IP address xxx.xxx.xx.xxx
  12. Radian's post in [Solved] Unusual problem with Idsearch was marked as the answer   
    Apply this patch https://github.com/rathena/rathena/commit/40a4edc4f8fff75ba35b969882edabd17dd4c258
     
  13. Radian's post in FluxCP server status error was marked as the answer   
  14. Radian's post in Strange attack glitch? was marked as the answer   
    https://github.com/rathena/rathena/commit/efd61daeea454b936943430ad8be308df0ca5ca9#comments
  15. Radian's post in how to create global messages to keep repeating on the server? was marked as the answer   
    You dont need to turn off your server just use reloadscript. i tested this on my server and its working just replace this OnMinute54: into OnMinute45:
  16. Radian's post in Problem's with Script_constants. was marked as the answer   
    Just replace those you can see the list here https://github.com/rathena/rathena/blob/master/src/map/script_constants.hpp#L3707
  17. Radian's post in IsEffectHatItem Issue was marked as the answer   
    Is there a specific file?
     
    Edit: Got it thanks man!
  18. Radian's post in How i remove this === in vip voice was marked as the answer   
    go to your trunk/conf/battle/player.conf and you can see this
    // Will display rate information (EXP, Drop, and Death penalty message)? (Note 1) vip_disp_rate: yes just change it to no and that message will not show up anymore.
  19. Radian's post in Having Issue with a script was marked as the answer   
    Nevermind, I forgot that I need 500 WP to exchange. my bad please closed this. thanks!
  20. Radian's post in Adding New costume directory was marked as the answer   
  21. Radian's post in Costume not showed was marked as the answer   
    ClassNum = 107 // means this is the view id number
  22. Radian's post in Izlude bug warp was marked as the answer   
    Then the fix will find those warps inside the npc folder and change the coordinates.
  23. Radian's post in Make Disguise Event Hourly was marked as the answer   
    Change this part :
    OnClock0100: OnClock0200: OnClock0300: OnClock0400: OnClock0500: OnClock0600: OnClock0700: OnClock0800: OnClock0900: OnClock1000: OnClock1100: OnClock1200: OnClock2000: Into this, im pretty sure that this will trigger every minute 59. 1 minute before it starts.
    OnMinute59:  
  24. Radian's post in Healer with Buff/Repair/Identify/Removal of Status Ailments was marked as the answer   
    I dont own this script I saw it while searching before and here try this one.
    //===== Hercules Script ====================================== //= Healer npc //===== By: ================================================== //= AnnieRuru //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= Hercules 2015-12-02 //===== Description: ========================================= //= my custom healer script used on defunt ComelRO //===== Topic ================================================ //= http://herc.ws/board/topic/11193-edite-my-healer-by-annieruru/?hl=healer#entry66007 //===== Additional Comments: ================================= //= ComelRO was a high rate server ... I posted it on eathena forum when it went down //= https://www.eathena.ws/board/index.php?s=&showtopic=274421&view=findpost&p=1504415 //============================================================ prontera,155,185,5 script Healer 1_F_MARIA,{ [email protected] = 10; // how many seconds before the player can heal again if ( @heal_cooldown + [email protected] > gettimetick(2) ) { dispbottom "You need wait for " + ( @heal_cooldown + [email protected] - gettimetick(2) ) + " seconds."; end; } // disable negative buffs ... I out from RO scene for about 4 years, so this is my only known negative buffs sc_end SC_STONE; sc_end SC_FREEZE; sc_end SC_STUN; sc_end SC_SLEEP; sc_end SC_POISON; sc_end SC_CURSE; sc_end SC_SILENCE; sc_end SC_CONFUSION; sc_end SC_BLIND; sc_end SC_BLOODING; sc_end SC_DPOISON; sc_end SC_FEAR; sc_end SC_COLD; sc_end SC_BURNING; sc_end SC_DEEP_SLEEP; sc_end SC_DEC_AGI; sc_end SC_BROKENARMOR; sc_end SC_BROKENWEAPON; sc_end SC_NOEQUIPWEAPON; sc_end SC_NOEQUIPSHIELD; sc_end SC_NOEQUIPARMOR; sc_end SC_NOEQUIPHELM; sc_end SC__STRIPACCESSARY; sc_end SC_PROPERTYUNDEAD; sc_end SC_ORCISH; sc_end SC_BERSERK; sc_end SC_SKE; sc_end SC_SWOO; sc_end SC_SKA; // give players buff ... don't give too much otherwise player wanna spam [email protected] = 300000; // the buff last 5 minutes sc_start SC_INC_AGI, [email protected], 10; sc_start SC_BLESSING, [email protected], 10; // sc_start SC_CONCENTRATION, [email protected], 10; // sc_start SC_IMPOSITIO, [email protected]me, 5; // sc_start SC_SUFFRAGIUM, [email protected], 3; // sc_start SC_KYRIE, [email protected], 10; // sc_start SC_MAGNIFICAT, [email protected], 5; // sc_start SC_GLORIA, [email protected], 5; // sc_start SC_WINDWALK, [email protected], 5; // sc_start SC_ANGELUS, [email protected], 10; // give player's soul link if ( [email protected] = .spirit[BaseJob] ); else if ( Upper & 1 && BaseLevel < 70 ) [email protected] = SL_HIGH; if ( [email protected] ) { sc_start4 SC_SOULLINK, [email protected], 1, [email protected],0,0; skilleffect [email protected], 1; } // automatically turn all oridecon and elunium stone into pure stone to reduce player's weight [email protected] = countitem(Oridecon_Stone); if ( [email protected] >= 5 ) { delitem Oridecon_Stone, [email protected] / 5 * 5; getitem Oridecon, [email protected] / 5; message strcharinfo(0), "Refined "+ ( [email protected] / 5 * 5 ) +" Oridecon Stones, got "+ ( [email protected] / 5 ) +" Oridecons."; } [email protected] = countitem(Elunium_Stone); if ( [email protected] >= 5 ) { delitem Elunium_Stone, [email protected] / 5 * 5; getitem Elunium, [email protected] / 5; message strcharinfo(0), "Refined "+ ( [email protected] / 5 * 5 ) +" Elunium Stones, got "+ ( [email protected] / 5 ) +" Eluniums."; } // repair all player's broken eqiupments repairall; // identify all player's equipments getinventorylist; for( [email protected] = 0; [email protected] < @inventorylist_count; [email protected]++ ) { if ( @inventorylist_identify[[email protected]] == 1 ) continue; else if ( getskilllv(MC_IDENTIFY) == 1 && Sp >= 10 ) heal 0,0; // lol... this is supposed to reduce their SP by 10, whatever else if ( countitem(Spectacles) ) delitem Spectacles,1; else if ( getskilllv(RG_COMPULSION) && Zeny >= ( 100 - ( 5 + 4 * getskilllv(RG_COMPULSION) ) )* 2/5 ) Zeny -= ( 100 - ( 5 + 4 * getskilllv(RG_COMPULSION) ) )* 2/5; else if ( getskilllv(MC_DISCOUNT) && Zeny >= ( 100 - ( 5 + 2 * getskilllv(MC_DISCOUNT) ) )* 2/5 ) Zeny -= ( 100 - ( 5 + 2 * getskilllv(MC_DISCOUNT) ) )* 2/5; else if ( Zeny >= 40 ) Zeny -= 40; else break; delitem2 @inventorylist_id[[email protected]],1,0,0,0,0,0,0,0; getitem @inventorylist_id[[email protected]],1; [email protected]++; } if ( [email protected] ) message strcharinfo(0), "Identified "+ [email protected] +" Items."; // and last, give players heal percentheal 100,100; skilleffect AL_HEAL, MaxHp; skilleffect MG_SRECOVERY, MaxSp; emotion e_lv; @heal_cooldown = gettimetick(2); end; OnInit: .spirit[Job_Alchemist] = SL_ALCHEMIST; .spirit[Job_Monk] = SL_MONK; .spirit[Job_Star_Gladiator] = SL_STAR; .spirit[Job_Sage] = SL_SAGE; .spirit[Job_Crusader] = SL_CRUSADER; .spirit[Job_SuperNovice] = SL_SUPERNOVICE; .spirit[Job_Knight] = SL_KNIGHT; .spirit[Job_Wizard] = SL_WIZARD; .spirit[Job_Priest] = SL_PRIEST; .spirit[Job_Bard] = .spirit[Job_Dancer] = SL_BARDDANCER; .spirit[Job_Rogue] = SL_ROGUE; .spirit[Job_Assassin] = SL_ASSASIN; .spirit[Job_Blacksmith] = SL_BLACKSMITH; .spirit[Job_Hunter] = SL_HUNTER; .spirit[Job_Soul_Linker] = SL_SOULLINKER; end; } Not exactly you asked for but try to look the script and maybe you can apply it to the script you mentioned.
  25. Radian's post in Help with prize machine was marked as the answer   
    Try this one and see if this what you want.
    /* [======================================================================] ____ _ _ ____ | _ \(_) _ _ (_)_ __ ___ | _ \ ___ | | | | |\ \ / /| | '_ \ / _ \ | |_) / _ \ | |_| | | \ V / | | | | | __/ | _ < (_) | |____/|_| \_/ |_|_| |_|\___| |_| \_\___/ _ _ _ _ _ / \ / \ / \ / \ / \ ( R ) ( a ) ( k ) ( a ) ( y ) \_/ \_/ \_/ \_/ \_/ Scripting [======================================================================] Script: Maquina de Premios [======================================================================] Created by: Rakay~ [======================================================================] Actualizaciones: • None. [======================================================================] Version: 1.0 [======================================================================] Description: Maquina que da Premios Random con Chance x 2 Coin [======================================================================] Credits: Este es un Script de uso Libre para Divine, Respetar. Los Creditos del Autor. Rakay~ [======================================================================] */ prontera,136,171,5 script Maquina de Premios 562,{ set [email protected],2; set [email protected]$, "[^008888 Maquina ^000000]"; mes [email protected]$; mes "Hola ^008888"+strcharinfo(0)+"^000000!"; mes "Debes Inserta "[email protected]+" Poring Coin Para Jugar."; mes " "; mes "Deseas Jugar?"; next; if ( select("Insertar Coins:Salir") == 2 ) { mes [email protected]$; mes "Ok, Regresa cuando Quieras Jugar."; close; } //End If mes [email protected]$; if(countitem(7539) < [email protected]){ mes "Lo Siento, Necesitas "[email protected]+" Poring Coin."; close; } set @rand,rand(1,100); //randomize from 1 to 100 delitem 7539,[email protected]; mes "Iniciemos, Buena Suerte!"; mes "..."; sleep2 1000; mes "......"; sleep2 1000; mes "........."; if(@rand < .win_chance){ //check if player randomed a number between 1 to (chance of winning) specialeffect 610; specialeffect2 610; mes " "; mes "Exelente, Atrapaste un ["+.cash_prize+"] cash...Regresa Pronto"; set #cash, #cash + .cash_prize; //Add cash to player dispbottom "You received: "+.cash_prize+" Cash"; close; } else { specialeffect 611; specialeffect2 611; mes " "; mes "Lo Siento, No Atrapaste Nada....Intentalo Nuevamente!"; close; } OnInit: set .cash_prize, 100; set .win_chance, 5; end; }  
×
×
  • Create New...

Important Information

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