Jump to content

hendra814

Members
  • Posts

    1191
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by hendra814

  1. 4 hours ago, someoneloveyou said:

    i dont know why when i want use commond like item i cant do that maybe something problem in this area, i change permission grup super user become 0 before 1, and i can use commond @go /where but i cant use commond GM, and when i try to login using account with account id number 1-2 or much more always disconnect to server, did you knew why ?

    screenrAthena000.jpg

    try change group level into 99

  2. 1 hour ago, someoneloveyou said:

    hello, wanna help ?, i would add NPC in maintown, but i tired to find the tutorial

    enable npc at npc folder\script-costom.conf

    change

    //npc: npc/custom/warper.txt

    into

    npc: npc/custom/warper.txt

     

    and then restart your server or run command @reloadscript using your GM Account character.

  3. 6 hours ago, Winterfox said:

    Hello,

    it is hard to help you, since you didn't provide the complete script. But I can give you a tip. getpartymembercount and getpartycount aren't functions.

    Later you get the number of people in the party here:
     

    set .@count, $@partymembercount;

    So you basically could move:
     

    if (getpartymembercount(getcharid(1)) != 3 && getpartycount(getcharid(1)) != 3){
    	mes "Desculpe, Você não atende o requesitos, Verifique se sua Party têm 3 pessoas e tente novamente.";
    	close;
    }

    Below above said line and change it to:
     

    if (.@count != 3){
    	mes "Desculpe, Você não atende o requesitos, Verifique se sua Party têm 3 pessoas e tente novamente.";
    	close;
    }

    To achieve what it seems you want it to do.

    try change this line

    if (getpartymembercount(getcharid(1)) != 3 && getpartycount(getcharid(1)) != 3){

    into like this

    if ((getpartymembercount(getcharid(1)) != 3) && (getpartycount(getcharid(1)) != 3)){
  4. On 6/27/2023 at 2:48 AM, AinsLord said:

    is there like an item generator like icabits that generate item_db.yml instead of old item_db.txt

    i know that there is a converter for old txt file to yaml file just wondering if there is like icabits

    application

     

    thanks 🙂

    use yamlupgrade.bat, it will convert from old item_db.txt into yaml version.

  5. 2 hours ago, kpcamber said:

    I updated the texture/effect or texture/ anything to the grf file that Ro will not open.

    But I have tested the original folder that is no problem, so I put it into the grt,

    I also put the sprite in the grf that is no problem, just only if I put the texture file in the grf that it will be not open the Ro.

    If have someone can help me ?

    Please .....

      

    make sure your client not patching with read data folder first option

  6. 21 hours ago, imat1 said:

    Hello Hendra. I was able to fixed my problem. I took airplane rsw, gat and gnd from another server and put it inside mine.

    image.thumb.png.d694503e1dd07ee1434e7f71beb2cc0a.png

    One thing i noticed was the difference of color in this certain file (idk what we call them, i'm no mapper xD)

    image.thumb.png.26c31a80e6bac793056381963256bb77.png

    Note: The red one is from another server and the black one is from kRO data.grf

     

    Again. Thanks for helping me!!! /thx

    thanks forr this sharing information.

    I don't know what's the different, but glad to know your problem already solved.

    • MVP 1
  7. 15 minutes ago, imat1 said:

    What puzzled me more is the difference between @warp and the actual warp from the NPC (from izlude). The error is slightly different.

    image.thumb.png.f1662f938431e13b5f73d31b1cfbd108.png

      Reveal hidden contents

    5 Enable Proxy Support
    8 Custom Window Title
    9 Disable 1rag1 type parameters (Recommended)
    13 Disable Ragexe Filename Check (Recommended)
    14 Disable Hallucination Wavy Screen (Recommended)
    16 Disable Swear Filter
    19 Enable Title Bar Menu (legacy)
    23 Enable /who command (Recommended)
    24 Fix Camera Angles (Recommended)
    28 Increase Headgear ViewID
    30 Increase Zoom Out 50%
    34 Enable /showname (Recommended)
    36 Read msgstringtable.txt (Recommended)
    38 Remove Gravity Ads (Recommended)
    39 Remove Gravity Logo (Recommended)
    40 Restore Login Window (Recommended)
    41 Disable Nagle Algorithm (Recommended)
    43 Always Use Email for Char Deletion
    44 Translate Client (Recommended)
    46 Use Normal Guild Brackets (Recommended)
    47 Use Ragnarok Icon
    48 Use Plain Text Descriptions (Recommended)
    49 Enable Multiple GRFs (Recommended)
    50 Skip License Screen
    53 Use Ascii on All LangTypes (Recommended)
    64 @ Bug Fix (Recommended)
    65 Load Custom lua file instead of iteminfo*.lub (Recommended)
    67 Disable Quake skill effect
    71 Ignore Resource Errors
    72 Ignore Missing Palette Error
    73 Remove Hourly Announce (Recommended)
    74 Increase Screenshot Quality
    75 Enable Flag Emoticons
    84 Remove Serial Display (Recommended)
    90 Enable DNS Support (Recommended)
    91 Disconnect to Login Window
    97 Cancel to Login Window (Recommended)
    105 Hide Nav Button
    108 Hide Booking Button
    110 Hide Achievements Button
    113 Hide Quest Button
    204 Increase Attack Display
    208 Restore Cash Shop Icon
    212 Restore Roulette
    213 Disable Help Message on Login (Recommended)
    214 Restore Model Culling
    227 Change Walk To Delay.
    229 Enable Emblem hover for BG
    230 Always load Korea ExternalSettings lua file (Recommended)
    233 Hide SNS Button
    234 Ignore Lua Errors
    247 Change new char name field height
    253 Skip some hidden menu icon buttons
    256 Use Default Web Browser In Cashshop
    265 Set Shop Button
    270 Change AchievementList*.lub path
    271 Change MonsterSizeEffect*.lub path
    272 Change Towninfo*.lub path
    273 Change PetEvolutionCln*.lub path
    274 Change Tipbox*.lub path
    275 Change CheckAttendance*.lub path
    276 Change OngoingQuestInfoList*.lub path
    277 Change RecommendedQuestInfoList*.lub path
    278 Change PrivateAirplane*.lub path
    282 Change MVP hp bar size
    283 Change fade in/out delay
    286 Hide zero date (1969-01-01) in guild members window
    287 Change character display deletion time
    289 Fix Homunculus attack AI
    290 Hide build info in client (Recommended)
    291 Hide packets from peek (Recommended)
    293 Increase hair style limit for human only in game (old)
    305 Hide tip button
    316 Remove Equipment Swap Button
    325 Remove Equipment Title UI
    338 Additional client validation (Recommended)
    348 Send client flags to server (Recommended)
    362 Fixes the Korean Job name issue with LangType (Recommended)
    404 Use borderless mode in full screen (Recommended)

     

    Sorry, i can't seen your error image.

  8. 27 minutes ago, imat1 said:

     

    Hello! I didn't patch my client with read data folder first.

    image.png.40f4162a09fb3c80481d28eafb35457d.png

    I put airplane.rsw inside my data folder for the sake of peace of mind but to no avail. I'm planning to remove NPCs related to airports for now. 😭

    Note: I tried removing gefenia maps in my grf and it's giving me the same error and when i put them back in, everything's normal.

    I check airplane map already have in data.grf

    are you not using data,grf file?

    image.png.ecf880dac215791fb697d18cec54c9f1.png

  9. 3 hours ago, PreciousChan said:

    @hendra814
    ohh i didnt notice the message "pvp ranking"

    I test the mvp ranking and it was working fine until my players decide to hunt on dungeon / field for bosses then i check out the MVP Ranking NPC and only 1 Player is logging on the npc ranking list 

    What should i do???

    are you mean it's not working if have new player killing MVP

  10. 12 hours ago, PreciousChan said:

    for pvp ranking with sounds is from herc...i think it may not be compatible with my server....
    i only do rathena scripts...

    going to test the mvp ranking ❤️ 

    Thank You very much...

    I hope someone can help me with other scripts ❤️ 

    pvp ranking working on rathena, i put in my server.

    • Upvote 1
  11. 16 minutes ago, namerpus18 said:

    Hi thank you so much.

    60000 = duration right?

    -5 = ?

    5 = ?

    I am looking to it now on sc_config
    It is working thanks 🙂

    i think -5 is every five second the heal will proceed, and 5 is 5% rate of heal amount.

    But i'm not sure, maybe others can explain it.

  12. 1 hour ago, namerpus18 said:

    Hello everyone I just want some guide if how i can make a healing item that has healing per second.

    Like "Recovery Potion" - heal small amount of HP per second for 5 seconds. 

    I looked into "itemheal" but it only has 2 parameters for HP and SP. 

     

    Thank you so much.

    try copy this item

    image.png.3c3c85c7b7e3565d0c3c4d52bd7fa2ea.png

  13. 6 hours ago, PreciousChan said:

    Hello! i am trying to put a ranking npc's on my server

    PVP Ranking - only record the points at pvp arena (drop skull at pvp arena only) (admin can reset the ranking) (if possible with statue) (if possible to have dota sounds)

    MVP Ranking - only record mvp kills on dungeon not on arena

    Alchemist Ranking - Condense White Potion Making
    Taekwon Ranking - Using the Taekwon Skill Taekwon Mission

    if these are paid script please link me to them... Thank You!

    For MVP rangking i recomended this one Link

    for pvp rangking try this script with dota sound link

     

  14. 2 hours ago, hendra814 said:

    for instance_id should i put each instance ID at instance_db.yml like 1 for endless tower

     

    edit:

    working use that script, thanks @pajodex

    here the fixed script

    //===== eAthena Script ======================================= 
    //= AntiBot Login
    //===== By: ================================================== 
    // Create By - Mr.CoolZ
    // Modify By - pizan
    // Modify By - hendra814
    //===== Current Version: ===================================== 
    //= 3.0
    //===== Compatible With: ===================================== 
    //= eAthena
    //===== Description: ========================================= 
    //= AntiBotLogin Script
    //  You can Change The GM lv
    // if (getgmlevel()>=85) goto gm_admin;  ' GM lv i Set on This Script 85 You May Change it '
    //============================================================ 
    prontera.gat,0,0,0	script	AntiBot	-1,{
    
    OnPCLoginEvent:
    set @Fail,0;
    set @killmonster,0;
    set @killcekmin,rand(5,10);
    
    OnNPCKillEvent:
    if ( instance_id(IM_PARTY) || instance_id(IM_CHAR) ) end;
    else{
    set @killmonster,@killmonster+1;
    if (@killmonster >= @killcekmin) {
    	set @killmonster,0;
    	set @killcekmin,rand(5,10);
    cutin "ein_soldier",2;
    if (getgmlevel()>60) goto gm_admin;
    setoption 0x40;
    setoption 0x2000;
    pcblockmove getcharid(3),1;
    mes "Hello, are you a bot ?? if not.. please fill the numbers.";
    atcommand "@noask";
    mes "This is antibot checking.";
    mes "Fill the correct numbers matching with the correct color.";
    attachnpctimer;
    initnpctimer;
    next;
    goto Code;
    
    Code:
    set number1, rand (1000000,9999999);
    set number2, rand (1000000,9999999);
    set number3, rand (1000000,9999999);
    set number4, rand (1000000,9999999);
    set number5, rand (1000000,9999999);
    set number6, rand (1000000,9999999);
    set number00, rand (1000000,9999999);
    set number01, rand (1000000,9999999);
    set number02, rand (1000000,9999999);
    set number03, rand (1000000,9999999);
    set number04, rand (1000000,9999999);
    set number05, rand (1000000,9999999);
    set number06, rand (1000000,9999999);
    set number07, rand (1000000,9999999);
    set number08, rand (1000000,9999999);
    set number09, rand (1000000,9999999);
    set number10, rand (1000000,9999999);
    set number66, rand (1000,9999);
    set number99, rand (100,999);
    
    set @Col, rand (0,6);
    if(@Col == 0) goto colred;
    if(@Col == 1) goto colorg;
    if(@Col == 2) goto colblu;
    if(@Col == 3) goto colvio;
    if(@Col == 4) goto colgre;
    mes "^F5F9FD"+ number99 +"^000000^FFF9EE"+ number66 +"^000000^FF8C00"+ number2 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^F8F8FF"+ number66 +"^000000^F7F7FF"+ number99 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^F5F9FD"+ number99 +"^000000^FFF9EE"+ number66 +"^000000^9400D3"+ number4 +"^000000^F8F8FF"+ number06 +"^000000";
    mes "^F5F9FD"+ number66 +"^000000^F7F7FF"+ number99 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number02 +"^000000";
    mes "^F8F8FF"+ number99 +"^000000^FFF9EE"+ number66 +"^000000^0000FF"+ number3 +"^000000^F8F8FF"+ number01 +"^000000";
    mes "^F5F9FD"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number03 +"^000000";
    mes "^F7F7FF#^F5F9FD#^FFF9FA#^A52A2A####^FFF9EE##^F8F8FF#";
    next;
    input number;
    next;
    goto brochk;
    end;
    
    colgre:
    mes "^FFF9EE"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number04 +"^000000";
    mes "^FFF9FA"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^FFA500"+ number2 +"^000000^F5F9FD"+ number03 +"^000000";
    mes "^F5F9FD"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number00 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^FFF9EE"+ number66 +"^000000^9400D3"+ number4 +"^000000^F5F9FD"+ number01 +"^000000";
    mes "^F7F7FF"+ number66 +"^000000^FFF9FA"+ number99 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number06 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^F5F9FD"+ number66 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^F7F7FF#^FFF9FA#^F5F9FD#^008000####^F5F9FD#^F8F8FF#^FFF9EE##";
    next;
    input number;
    next;
    goto grechk;
    end;
    
    colvio:
    mes "^F7F7FF"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^9400D3"+ number4 +"^000000^F5F9FD"+ number09 +"^000000";
    mes "^F7F7FF"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^FFA500"+ number2 +"^000000^F5F9FD"+ number04 +"^000000";
    mes "^F7F7FF"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number06 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number08 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number01 +"^000000";
    mes "^F5F9FD#^FFF9EE#^FFF9FA#^9400D3####^F8F8FF#^F5F9FD##^F7F7FF##";
    next;
    input number;
    next;
    goto viochk;
    end;
    
    colblu:
    mes "^F8F8FF"+ number01 +"^000000^FFA500"+ number2 +"^000000^F7F7FF"+ number66 +"^000000^F5F9FD"+ number99 +"^000000";
    mes "^FFF9EE"+ number09 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number66 +"^000000^FFF9EE"+ number99 +"^000000";
    mes "^F5F9FD"+ number08 +"^000000^FF0000"+ number1 +"^000000^F7F7FF"+ number66 +"^000000^FFF9EE"+ number99 +"^000000";
    mes "^F8F8FF"+ number07 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number66 +"^000000^F5F9FD"+ number99 +"^000000";
    mes "^FFF9EE"+ number06 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number66 +"^000000^FFF9EE"+ number99 +"^000000";
    mes "^F5F9FD"+ number05 +"^000000^9400D3"+ number4 +"^000000^F7F7FF"+ number66 +"^000000^F5F9FD"+ number99 +"^000000";
    mes "^FFF9EE###^0000FF####^F8F8FF####^F5F9FD#^FFF9FA#^F7F7FF##";
    next;
    input number;
    next;
    goto bluchk;
    end;
    
    colorg:
    mes "^FFF9EE"+ number4 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number07 +"^000000";
    mes "^F8F8FF"+ number3 +"^000000^9400D3"+ number4 +"^000000^F5F9FD"+ number00 +"^000000";
    mes "^F5F9FD"+ number1 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number06 +"^000000";
    mes "^F8F8FF"+ number2 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number04 +"^000000";
    mes "^F5F9FD"+ number5 +"^000000^FF8C00"+ number2 +"^000000^F5F9FD"+ number08 +"^000000";
    mes "^F5F9FD"+ number6 +"^000000^008000"+ number5 +"^000000^F8F8FF"+ number10 +"^000000";
    mes "^F5F9FD#^FFF9EE####^FFA500####^F5F9FD#^F5F9FD####^F7F7FF##^FFF9FA##";
    next;
    input number;
    next;
    goto orgchk;
    end;
    
    colred:
    mes "^F5F9FD"+ number6 +"^000000^A52A2A"+ number6 +"^000000^F8F8FF"+ number10 +"^000000";
    mes "^F8F8FF"+ number5 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number09 +"^000000";
    mes "^F5F9FD"+ number3 +"^000000^9400D3"+ number4 +"^000000^F8F8FF"+ number08 +"^000000";
    mes "^F8F8FF"+ number1 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number07 +"^000000";
    mes "^F5F9FD"+ number2 +"^000000^FFA500"+ number2 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^F8F8FF"+ number5 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number02 +"^000000";
    mes "^F5F9FD##^FF0000####^F8F8FF####^FFF9FA#^FFF9EE#^F7F7FF#";
    next;
    input number;
    next;
    goto redchk;
    end;
    
    redchk:
    if(number < number1 || number > number1) goto LOG_FAIL;
      goto OK; end;
    orgchk:
    if(number < number2 || number > number2) goto LOG_FAIL;
        goto OK; end;
    bluchk:
    if(number < number3 || number > number3) goto LOG_FAIL;
      goto OK; end;
    viochk:
    if(number < number4 || number > number4) goto LOG_FAIL;
          goto OK; end;
    grechk:
    if(number < number5 || number > number5) goto LOG_FAIL;
      goto OK; end;
    brochk:
    if(number < number6 || number > number6) goto LOG_FAIL;
      goto OK; end;
      
    LOG_FAIL:
    if (@Fail <3) {
    mes "Please try it again.";
    set @Fail, @Fail+1;
    next;
    goto Code;
    }
    mes "^FF0000Wrong numbers.^000000.";
    next;
    mes "Bye... Bye...!";
    next;
    warp	"lhz_in03", 260, 261;
    setoption 0x40,0;
    setoption 0x2000,0;
    pcblockmove getcharid(3),0;
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    atcommand "@noask";
    stopnpctimer;
    end;
    
    OK:
    mes "^4233F4"+strcharinfo(0)+"^000000!";
    mes "Thank you for not use bot in this server.";
    announce "Player "+strcharinfo(0)+" Online!!",bc_all;
    setoption 0x40,0;
    setoption 0x2000,0;
    pcblockmove getcharid(3),0;
    sc_start SC_GLORIA,1800000,2;
    sc_start SC_ANGELUS,1800000,10;
    sc_start SC_MAGNIFICAT,1800000,5;
    skilleffect 34,0;
    sc_start SC_BLESSING,1800000,10;
    sc_start SC_INCREASEAGI,1800000,10;
    percentheal 100,100;
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    atcommand "@noask";
    stopnpctimer;
    cutin "ein_soldier",255;
    end;
    
    gm_admin:
    cutin "ein_soldier",255;
    sc_start SC_GLORIA,1800000,2;
    sc_start SC_ANGELUS,1800000,10;
    sc_start SC_MAGNIFICAT,1800000,5;
    skilleffect 34,0;
    sc_start SC_BLESSING,1800000,10;
    sc_start SC_INCREASEAGI,1800000,10;
    percentheal 100,100;
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    stopnpctimer;
    end;
    
    OnTimer30000:
    dispbottom "You failed to answer the question within 30 seconds.";
    warp	"lhz_in03",	260, 261;
    setoption 0x40,0;
    setoption 0x2000,0;
    pcblockmove getcharid(3),0;
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    atcommand "@noask";
    stopnpctimer;
    }
    }
    }
    
    // - The Script
    lhz_in03,260,266,4	script	Bot Checker	75,{
    mes "You failed to prove that you're not a bot";
    mes "to get out from this room";
    mes "you must pay 10.000.000 zeny.";
    next;
    switch(select("Pay:No")) {
    	case 1:
    	if (zeny < 10000000) {
    		mes "You're zeny aren't enough";
    		end;
    	}
    	set zeny, zeny - 10000000;
    	set @Fail, 0;
    	warp lastwarp$,lastwarpx,lastwarpy;
    	end;
    
    	case 2:
    	mes "[ GM Staff ]";
    	mes "Ok, Bye... Bye...";
    	end;
    }
    }
    // - The Mapflags
    lhz_in03	mapflag	nowarpto
    lhz_in03	mapflag	nowarp
    lhz_in03	mapflag	noreturn
    lhz_in03	mapflag	noteleport
    lhz_in03	mapflag	nomemo
    lhz_in03	mapflag	noskill
    lhz_in03	mapflag	noicewall
    lhz_in03	mapflag	nobranch

     

  15. 16 hours ago, pajodex said:

    instead of this, try to use this :
     

    if ( instance_id(IM_PARTY) || instance_id(IM_CHAR) ) end;

     

    for instance_id should i put each instance ID at instance_db.yml like 1 for endless tower

     

    edit:

    working use that script, thanks @pajodex

  16. Buff donation (using zeny)


    Here i want share my modifying script (original script are from floating rate donation script created by lupus)

    to change the duration change at this part (line 206)

    // Up to you whether you want to add an extra hour or not, as otherwise the event will be below 24 hours.
    						$Buff_hours_left = 6;

     

    to change zeny amount at this part  (line 221)

    .targetdonation = 10000;

    you can add or remove buff skills at line 21 ~ 148


    • Submitter
    • Submitted
      05/27/2023
    • Category
    • Video
    • Content Author
      hendra814

     

    • Upvote 1
  17. Need help, how to skip player checking when player doing instance.

    currently i'm used if condition to check instance map, if player at instance map it will skip kill counter.

     but i want this script work for another instance tpp, so instead of check the player at the instance map

    are there have any other script command  ? For check if player doing instance the script will skip the counter

    here the script i'm used.

    //===== eAthena Script ======================================= 
    //= AntiBot Login
    //===== By: ================================================== 
    // Create By - Mr.CoolZ
    // Modify By - pizan
    // Modify By - hendra814
    //===== Current Version: ===================================== 
    //= 3.0
    //===== Compatible With: ===================================== 
    //= eAthena
    //===== Description: ========================================= 
    //= AntiBotLogin Script
    //  You can Change The GM lv
    // if (getgmlevel()>=85) goto gm_admin;  ' GM lv i Set on This Script 85 You May Change it '
    //============================================================ 
    prontera.gat,0,0,0	script	AntiBot	-1,{
    
    OnPCLoginEvent:
    set @Fail,0;
    set @killmonster,1;
    set @killcekmin,rand(500,1000);
    
    OnNPCKillEvent:
    if( strcharinfo(3) == "1@tower" ) end;
    else if ( strcharinfo(3) == "2@tower" ) end;
    else if ( strcharinfo(3) == "3@tower" ) end;
    else if ( strcharinfo(3) == "4@tower" ) end;
    else if ( strcharinfo(3) == "5@tower" ) end;
    else if ( strcharinfo(3) == "1@nyd" ) end;
    else if ( strcharinfo(3) == "2@nyd" ) end;
    else if ( strcharinfo(3) == "1@orcs" ) end;
    else if ( strcharinfo(3) == "2@orcs" ) end;
    else if ( strcharinfo(3) == "1@cata" ) end;
    else if ( strcharinfo(3) == "2@cata" ) end;
    else if ( strcharinfo(3) == "1@spa" ) end;
    else if ( strcharinfo(3) == "1@lhz" ) end;
    else if ( strcharinfo(3) == "1@sara" ) end;
    else if ( strcharinfo(3) == "1@gl_k" ) end;
    else if ( strcharinfo(3) == "2@gl_k" ) end;
    else if ( strcharinfo(3) == "1@cash" ) end;
    else if ( strcharinfo(3) == "1@pump" ) end;
    else if ( strcharinfo(3) == "2@pump" ) end;
    else if ( strcharinfo(3) == "1@xm_d" ) end;
    else if ( strcharinfo(3) == "1@mist" ) end;
    else if ( strcharinfo(3) == "1@ecl" ) end;
    else if ( strcharinfo(3) == "1@ma_c" ) end;
    else if ( strcharinfo(3) == "1@ma_h" ) end;
    else if ( strcharinfo(3) == "1@ma_b" ) end;
    else{
    set @killmonster,@killmonster+1;
    if (@killmonster >= @killcekmin) {
    	set @killmonster,1;
    	set @killcekmin,rand(500,1000);
    cutin "ein_soldier",2;
    if (getgmlevel()>60) goto gm_admin;
    setoption 0x40;
    setoption 0x2000;
    pcblockmove getcharid(3),1;
    mes "Hello, are you a bot ?? if not.. please fill the numbers.";
    atcommand "@noask";
    mes "This is antibot checking.";
    mes "Fill the correct numbers matching with the correct color.";
    attachnpctimer;
    initnpctimer;
    next;
    goto Code;
    
    Code:
    set number1, rand (1000000,9999999);
    set number2, rand (1000000,9999999);
    set number3, rand (1000000,9999999);
    set number4, rand (1000000,9999999);
    set number5, rand (1000000,9999999);
    set number6, rand (1000000,9999999);
    set number00, rand (1000000,9999999);
    set number01, rand (1000000,9999999);
    set number02, rand (1000000,9999999);
    set number03, rand (1000000,9999999);
    set number04, rand (1000000,9999999);
    set number05, rand (1000000,9999999);
    set number06, rand (1000000,9999999);
    set number07, rand (1000000,9999999);
    set number08, rand (1000000,9999999);
    set number09, rand (1000000,9999999);
    set number10, rand (1000000,9999999);
    set number66, rand (1000,9999);
    set number99, rand (100,999);
    
    set @Col, rand (0,6);
    if(@Col == 0) goto colred;
    if(@Col == 1) goto colorg;
    if(@Col == 2) goto colblu;
    if(@Col == 3) goto colvio;
    if(@Col == 4) goto colgre;
    mes "^F5F9FD"+ number99 +"^000000^FFF9EE"+ number66 +"^000000^FF8C00"+ number2 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^F8F8FF"+ number66 +"^000000^F7F7FF"+ number99 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^F5F9FD"+ number99 +"^000000^FFF9EE"+ number66 +"^000000^9400D3"+ number4 +"^000000^F8F8FF"+ number06 +"^000000";
    mes "^F5F9FD"+ number66 +"^000000^F7F7FF"+ number99 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number02 +"^000000";
    mes "^F8F8FF"+ number99 +"^000000^FFF9EE"+ number66 +"^000000^0000FF"+ number3 +"^000000^F8F8FF"+ number01 +"^000000";
    mes "^F5F9FD"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number03 +"^000000";
    mes "^F7F7FF#^F5F9FD#^FFF9FA#^A52A2A####^FFF9EE##^F8F8FF#";
    next;
    input number;
    next;
    goto brochk;
    close;
    
    colgre:
    mes "^FFF9EE"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number04 +"^000000";
    mes "^FFF9FA"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^FFA500"+ number2 +"^000000^F5F9FD"+ number03 +"^000000";
    mes "^F5F9FD"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number00 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^FFF9EE"+ number66 +"^000000^9400D3"+ number4 +"^000000^F5F9FD"+ number01 +"^000000";
    mes "^F7F7FF"+ number66 +"^000000^FFF9FA"+ number99 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number06 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^F5F9FD"+ number66 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^F7F7FF#^FFF9FA#^F5F9FD#^008000####^F5F9FD#^F8F8FF#^FFF9EE##";
    next;
    input number;
    next;
    goto grechk;
    close;
    
    colvio:
    mes "^F7F7FF"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^9400D3"+ number4 +"^000000^F5F9FD"+ number09 +"^000000";
    mes "^F7F7FF"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^FFA500"+ number2 +"^000000^F5F9FD"+ number04 +"^000000";
    mes "^F7F7FF"+ number66 +"^000000^FFF9EE"+ number99 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number06 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number08 +"^000000";
    mes "^FFF9EE"+ number99 +"^000000^F7F7FF"+ number66 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number01 +"^000000";
    mes "^F5F9FD#^FFF9EE#^FFF9FA#^9400D3####^F8F8FF#^F5F9FD##^F7F7FF##";
    next;
    input number;
    next;
    goto viochk;
    close;
    
    colblu:
    mes "^F8F8FF"+ number01 +"^000000^FFA500"+ number2 +"^000000^F7F7FF"+ number66 +"^000000^F5F9FD"+ number99 +"^000000";
    mes "^FFF9EE"+ number09 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number66 +"^000000^FFF9EE"+ number99 +"^000000";
    mes "^F5F9FD"+ number08 +"^000000^FF0000"+ number1 +"^000000^F7F7FF"+ number66 +"^000000^FFF9EE"+ number99 +"^000000";
    mes "^F8F8FF"+ number07 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number66 +"^000000^F5F9FD"+ number99 +"^000000";
    mes "^FFF9EE"+ number06 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number66 +"^000000^FFF9EE"+ number99 +"^000000";
    mes "^F5F9FD"+ number05 +"^000000^9400D3"+ number4 +"^000000^F7F7FF"+ number66 +"^000000^F5F9FD"+ number99 +"^000000";
    mes "^FFF9EE###^0000FF####^F8F8FF####^F5F9FD#^FFF9FA#^F7F7FF##";
    next;
    input number;
    next;
    goto bluchk;
    close;
    
    colorg:
    mes "^FFF9EE"+ number4 +"^000000^A52A2A"+ number6 +"^000000^F5F9FD"+ number07 +"^000000";
    mes "^F8F8FF"+ number3 +"^000000^9400D3"+ number4 +"^000000^F5F9FD"+ number00 +"^000000";
    mes "^F5F9FD"+ number1 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number06 +"^000000";
    mes "^F8F8FF"+ number2 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number04 +"^000000";
    mes "^F5F9FD"+ number5 +"^000000^FF8C00"+ number2 +"^000000^F5F9FD"+ number08 +"^000000";
    mes "^F5F9FD"+ number6 +"^000000^008000"+ number5 +"^000000^F8F8FF"+ number10 +"^000000";
    mes "^F5F9FD#^FFF9EE####^FFA500####^F5F9FD#^F5F9FD####^F7F7FF##^FFF9FA##";
    next;
    input number;
    next;
    goto orgchk;
    close;
    
    colred:
    mes "^F5F9FD"+ number6 +"^000000^A52A2A"+ number6 +"^000000^F8F8FF"+ number10 +"^000000";
    mes "^F8F8FF"+ number5 +"^000000^008000"+ number5 +"^000000^F5F9FD"+ number09 +"^000000";
    mes "^F5F9FD"+ number3 +"^000000^9400D3"+ number4 +"^000000^F8F8FF"+ number08 +"^000000";
    mes "^F8F8FF"+ number1 +"^000000^0000FF"+ number3 +"^000000^F5F9FD"+ number07 +"^000000";
    mes "^F5F9FD"+ number2 +"^000000^FFA500"+ number2 +"^000000^F5F9FD"+ number05 +"^000000";
    mes "^F8F8FF"+ number5 +"^000000^FF0000"+ number1 +"^000000^F5F9FD"+ number02 +"^000000";
    mes "^F5F9FD##^FF0000####^F8F8FF####^FFF9FA#^FFF9EE#^F7F7FF#";
    next;
    input number;
    next;
    goto redchk;
    close;
    
    redchk:
    if(number < number1 || number > number1) goto LOG_FAIL;
      goto OK; close;
    orgchk:
    if(number < number2 || number > number2) goto LOG_FAIL;
        goto OK; close;
    bluchk:
    if(number < number3 || number > number3) goto LOG_FAIL;
      goto OK; close;
    viochk:
    if(number < number4 || number > number4) goto LOG_FAIL;
          goto OK; close;
    grechk:
    if(number < number5 || number > number5) goto LOG_FAIL;
      goto OK; close;
    brochk:
    if(number < number6 || number > number6) goto LOG_FAIL;
      goto OK; close;
      
    LOG_FAIL:
    if (@Fail <3) {
    mes "Please try it again.";
    set @Fail, @Fail+1;
    next;
    goto Code;
    }
    mes "^FF0000Wrong numbers.^000000.";
    next;
    mes "Bye... Bye...!";
    next;
    warp	"lhz_in03", 260, 261;
    setoption 0x40,0;
    setoption 0x2000,0;
    pcblockmove getcharid(3),0;
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    atcommand "@noask";
    stopnpctimer;
    end;
    
    OK:
    mes "^4233F4"+strcharinfo(0)+"^000000!";
    mes "Thank you for not use bot in this server.";
    announce "Player "+strcharinfo(0)+" Online!!",bc_all;
    setoption 0x40,0;
    setoption 0x2000,0;
    pcblockmove getcharid(3),0;
    sc_start SC_GLORIA,1800000,2;
    sc_start SC_ANGELUS,1800000,10;
    sc_start SC_MAGNIFICAT,1800000,5;
    skilleffect 34,0;
    sc_start SC_BLESSING,1800000,10;
    sc_start SC_INCREASEAGI,1800000,10;
    percentheal 100,100;
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    atcommand "@noask";
    stopnpctimer;
    cutin "ein_soldier",255;
    close;
    
    gm_admin:
    cutin "ein_soldier",255;
    sc_start SC_GLORIA,1800000,2;
    sc_start SC_ANGELUS,1800000,10;
    sc_start SC_MAGNIFICAT,1800000,5;
    skilleffect 34,0;
    sc_start SC_BLESSING,1800000,10;
    sc_start SC_INCREASEAGI,1800000,10;
    percentheal 100,100;
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    stopnpctimer;
    close;
    
    OnTimer30000:
    dispbottom "You failed to answer the question within 30 seconds.";
    warp	"lhz_in03",	260, 261;
    setoption 0x40,0;
    setoption 0x2000,0;
    pcblockmove getcharid(3),0;
    sc_end sc_stone;
    sc_end sc_freeze;
    sc_end sc_sleep;
    sc_end sc_curse;
    sc_end sc_silence;
    sc_end sc_confusion;
    sc_end sc_blind;
    sc_end sc_bleeding;
    sc_end sc_decreaseagi;
    sc_end sc_poison;
    sc_end sc_hallucination;
    sc_end sc_stripweapon;
    sc_end sc_striparmor;
    sc_end sc_striphelm;
    sc_end sc_stripshield;
    atcommand "@noask";
    stopnpctimer;
    }
    }
    }
    
    // - The Script
    lhz_in03,260,266,4	script	Bot Checker	75,{
    mes "You failed to prove that you're not a bot";
    mes "to get out from this room";
    mes "you must pay 10.000.000 zeny.";
    next;
    switch(select("Pay:No")) {
    	case 1:
    	if (zeny < 10000000) {
    		mes "You're zeny aren't enough";
    		close;
    	}
    	set zeny, zeny - 10000000;
    	set @Fail, 0;
    	warp lastwarp$,lastwarpx,lastwarpy;
    	close;
    
    	case 2:
    	mes "[ GM Staff ]";
    	mes "Ok, Bye... Bye...";
    	close;
    }
    }
    // - The Mapflags
    lhz_in03	mapflag	nowarpto
    lhz_in03	mapflag	nowarp
    lhz_in03	mapflag	noreturn
    lhz_in03	mapflag	noteleport
    lhz_in03	mapflag	nomemo
    lhz_in03	mapflag	noskill
    lhz_in03	mapflag	noicewall
    lhz_in03	mapflag	nobranch

     

×
×
  • Create New...