Jump to content

rans

Members
  • Content Count

    358
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by rans


  1. well yes currently im using search and replace but sometimes if i have a wrong script it does not show the error in map-server
    it only show [warning] pc bonus unknown type
    no reference where to fix but i know its in script for example i put bonus bMaktrate instead of bMatkRate , when i use that equip itl show the warning. 
    so sometimes im finding it hard to search and error with pc bonus. or case errors.


  2. Hi guys,
    I was wondering if there is a online converter or software that will correct all wrong case of script
    for example my item_db2.conf has a lot of wrong case like bonus bstr,1; (where it should be bonus bStr,1;)
    the script or software will automatically fix the wrong case.

    This would be very helpful even on npc. (also helpful if you are switching from rathena or eathena) ty.


  3. Hi there is there anyone who knows how to write sql script?
    well my server started with @allskill command. i want that to remove but how can i remove all skills of char in server with sql script? also their skill points will be reset to (127 something like that the default skill pts for 99/70) 

    please help ty


  4. As the title anyone know?

    //==========Guild.conf===========//

    // Restart guild skills cooldown by relog? (Note 1)
    // When "no", you relog with the same cooldown remaining as from when you
    // logged out, "yes" restarts the cooldown upon login to its full duration.
    guild_skill_relog_delay: no

    This setting is not the answer.. 
    When set to yes it only restart the Cooldown does not refresh. (much longer)
    when set to no it pause the cooldown when u are log out. does not refresh.

    please help me TY

  5. Hi there can i request a custom enchanter?
    i mean only work if i have the item to be compounded on my equip

    Example: npc will only work if i have the +3stats orb(id 9999) and i want it to compund on 3rd slot of my mink coat. 

    i found other script but their script works without the orb in my inventory. i want to make a requirement. 
    Thanks 


  6. Hi there, i've tried the current emergency call settings.

    // Restart guild skills cooldown by relog? (Note 1)
    // When "no", you relog with the same cooldown remaining as from when you
    // logged out, "yes" restarts the cooldown upon login to its full duration.
    guild_skill_relog_delay: no

    id like to make that if i log out the cooldown timer is still running. 
    whats happening is if i log out the colldown will pause. is it possible to make that? some players are switching characters after they Ecall.
    (I dont want the reset cooldown when relog) i just wanted a continues cooldown.

  7. hi is it possible to create an npc that will change the owner of castle? for exapmle the castle is owned by guild a. and I want to take over that castle (gm guild) well I dont want to use @agitstart and manually destroy the emp. is there an npc script that will allow me.to change.the ownership of every castle? ty


  8. Hi there.

    Can anyone tell me which script command should i use if i want to check like if he is equipping 2 cards.

    I only know the if(isquipped(xxxx)) but i don't know how to make it count on example if im wearing 3 doppel card it would grant me max atkspd. 

    TY



    nvm solved:
     if( isequippedcnt( xxxx) )


  9. Hi, 
    How can i properly see the code? even i copy paste in in notepad its still mess up.

    all old codes from hercules forum are mess up just like this

    -    script    test1235678    -1,{end;OnInit:    bindatcmd "flooritem", strnpcinfo(0)+"::OnFI", 60,90; ;    end;OnFI:    .@hditemid = atoi(.@atcmd_parameters$[0]);     .@damount = atoi(.@atcmd_parameters$[1]);    if ( !.@damount ) {        message strcharinfo(0), "@flooritem <Itemid or itemname> <amount>";        end;    }    if ( .@damount < 0 ) {        message strcharinfo(0), "@flooritem -> Invalid amount";        end;     }    if ( getitemname(.@hditemid) == "null" && !searchitem(.@temp[0],.@atcmd_parameters$[0]) ) {        message strcharinfo(0), "@alootnoitem -> Invalid Item ID";        end;     }    if(.@temp[0])        .@dropitemid = .@temp[0];    else        .@dropitemid = .@hditemid;    .@r = (sqrt(.@damount) > 16 ? 16 :sqrt(.@damount));    getmapxy(.@m$,.@px,.@py,0);    .@min_x =((.@px-.@r) < 1?1:(.@px-.@r));    .@max_x =((.@px+.@r) > 512 ? 512:(.@px+.@r));    .@min_y =((.@py-.@r) < 1?1:(.@py-.@r));    .@max_y =((.@py+.@r) > 512 ? 512:(.@py+.@r));        freeloop(1);    for(.@j=0;.@j< .@damount;.@j++) {        while (checkcell(.@m$[.@i],.@px=rand(.@min_x, .@max_x),.@py=rand(.@min_y , .@max_y), cell_chknopass));        makeitem .@dropitemid,1,.@m$,.@px,.@py;    }    freeloop(0); end;}


    from topic http://herc.ws/board/topic/10571-shower-command-please/?hl=flooritem#entry62560


  10. Hi there,
    If its possible to add the 

    @cloneequip <char_id>   @cloneequip "<char name>"       'Clone' other player's equipments then equip them.

     

    and
     

     
    @clonestat <char_id>   @clonestat "<char name>"       'Clone' other player's stats.


    commands from rathena. 
    this is very helpful command when you are troubleshooting some bug in equipment. 
    TY.


  11.  

    @@Ranz

     

    depends on your setting here: conf/battle/items.conf

     

    // Unequip the equipments that has disabled by map_zone_db.conf ?
    // 0 : disabled equipments and cards are nullify (official)
    // 1 : disabled equipments are unequip, disabled cards are nullify
    // 2 : disabled equipments are nullify, disabled cards will caused the equipment to unequip
    // 3 : disabled equipments are unequip, disabled cards will caused the equipment to unequip (1+2)
    unequip_restricted_equipment: 0

    My settings in that is 3

     

    the situation is when i use @pvpon the item will not automatically off. but if i manually take it off and try to put it back. i cant equip it. 

     

    thats why im going to use a script with loop check so it will automatically nude the equipment when it detects a pvp mapflag.

×
×
  • Create New...

Important Information

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