Jump to content

President

Members
  • Posts

    51
  • Joined

  • Last visited

Posts posted by President

  1. Anyone can u help me?

    i have a problem like this . .

    i try to store my item called "Morpheus Shawl" to storage.

    first the item can be store, after that i open my kafra.. the item was lost . . but in my database that item is already store to kafra.

    check this :

    noitem.png

    that's my kafra . . no item . .

    but in database :

    indatabaseihavemanymore.png

    i have it? anyone can help to fix it?

    *only armor and weapon section has been error

  2. Anyone can u help me?

    i have a problem like this . .

    i try to store my item called "Morpheus Shawl" to storage.

    first the item can be store, after that i open my kafra.. the item was lost . . but in my database that item is already store to kafra.

    check this :

    noitem.png

    that's my kafra . . no item . .

    but in database :

    indatabaseihavemanymore.png

    i have it? anyone can help to fix it?

    *only armor and weapon section has been error

  3. i have one item...

    called aura

    if i used aura --> the color of aura is black

    but if i used aura + robo eye = the color of aura change to blue ... is it possible..

    in case i already include new blue aura sprite . .

    this is my script . .

    if (isequipped(18172)) { atcommand "@changelook 3 1256" }

    is it correct?

    *1256 is my blue aura sprite

  4. Problem : i already make an anti bot checker,but i want make an update with this condition : how we know player stay at one map, i don't want my player stay more than 5 minutes in this map, so every 5 minute my bot checker should be ask the code to him/her...

    OnNPCKillEvent:
    if(getgmlevel() > 0) end;
    set @kill,@kill+1;
    if(@kill >= rand(81,100)) goto Check;
    end;
    
    

    what a command should i added on that script, before i goto Check?

    anyone can help me?

    Thanks for helping me... Sorry for my bad english

  5. show your script that disable 3rd job class...

    anyway,if you know how to script..then just make use of this..

    OnPCLoadMapEvent:
    if( strcharinfo(3) == "mapname" && Class >= 4054 ){
    mes "You cant Join this WOE";
    sleep2 3000;
    warp "prontera",155,181;
    }
    end;
    

    just something similar...with the usage of OnPCLoadMapEvent

    @EvilPuncker

    OnTouch Event Label are not enough to fix his problem....

    large trigger area...able to work...but if i am not mistaken...there might have some issue with large trigger area..

    and i cant recall what it's ....

    //WOE BABY
    prontera,146,163,6 script Baby Castles 729,{
    if (Class >=4023 && Class <=4045 || Class >= 4095 && Class <= 4113 ) {
    menu "GO ! ! ! ",M_Warp,"Cancel",canceling;
    
    M_Warp:
    warp "n_castle",102,102;
    close;
    
    canceling:
    close;
    
    } else {
    mes "You're not Baby Dude...";
    mes "Out Yeah. . . ";
    emotion e_hmm;
    emotion e_wah,1;
    close;
    }
    }
    n_castle,102,107,5 script cocolatoz 729,{
    mes "[Chocolatoz]";
    mes "Hello,"+strcharinfo(0)+" Can i help you?";
    next;
    menu "Back To Prontera Please",-,"Cancel",LEnd;
    
    warp "prontera",155,179;
    close;
    LEnd:
    mes "[Chocolatoz]";
    mes "Ok...";
    close;
    }
    

    For emistry : thats the script for teleport to n_castle (that script checked players job) but

    how to make restricted in ncastle_gef, ncastle_pay, ncastle_pront, ncastle_alde if the leader of the guild using emergency call. . .?

  6. Problem : i Have a WOE For Baby Class. but , For Example in 1 guild has ONE job Lord Knight and all the player is baby class. The leader of that guild want to use Emergency call. . in this case normally Lord Knight refused for WOE baby,but, the fact : THE Lord Knight Just Call into that castle. how to handle this?

    Sorry for my bad english

  7. no just wanna make 1 place to vend.. but i need 10 Lines..

    is it correct?

    //===== eAthena Script =======================================
    //= Market Place
    //===== By ===================================================
    //= Lupus
    //===== Version ==============================================
    //= 1.1
    //===== Compatible With ======================================
    //= eAthena 5760+
    //===== Description ==========================================
    //= This script should move vending crowds from Prontera
    //= streets to a suitable market place. Save your traffic 8)
    //===== Comments =============================================
    //=1.0 unknown
    //=1.1 Optimized it, Removed labels. [spre]
    //============================================================
    
    
    prontera,144,174,3 script Market Place 857,{
    mes"[Market Place]";
    mes"Tristan III's order: ^FF0000Move all the private shops to a special Market Place^000000.";
    next;
     if (select("Yes Please:No") == 2) {
     close;
    }
    // I didn't see the need to check and show venders.... Since it didnt even work
    warp "payon",156,224;
    end;
    }
    
    setcell "payon",162,193,162,273,cell_vending,1; // Line 1
    setcell "payon",165,193,165,273,cell_vending,1; // Line 2
    setcell "payon",168,193,168,273,cell_vending,1; // Line 3
    setcell "payon",171,193,171,273,cell_vending,1; // Line 4
    setcell "payon",149,193,149,273,cell_vending,1; // Line 5
    setcell "payon",146,193,146,273,cell_vending,1; // Line 6
    setcell "payon",143,193,143,273,cell_vending,1; // Line 7
    setcell "payon",140,193,140,273,cell_vending,1; // Line 8
    setcell "payon",137,193,137,273,cell_vending,1; // Line 9
    setcell "payon",134,193,134,273,cell_vending,1; // Line 10
    
    //Market Place settings
    payon mapflag novending
    payon mapflag nowarp
    payon mapflag nowarpto
    payon mapflag noteleport
    payon mapflag nobranch
    payon mapflag noloot
    payon mapflag noskill
    payon mapflag nopenalty
    

    is it correct?

  8. In whatever NPC you like.

    I suggest to put it in the NPC that is going to show the players the line-up.

    i need your correction in my script if i wrong please fix it.

    this is the picture . .

    vending2.png

    and this is my script is it correct? if wrong i need your correction sir..

    //===== eAthena Script =======================================
    //= Market Place
    //===== By ===================================================
    //= Lupus
    //===== Version ==============================================
    //= 1.1
    //===== Compatible With ======================================
    //= eAthena 5760+
    //===== Description ==========================================
    //= This script should move vending crowds from Prontera
    //= streets to a suitable market place. Save your traffic 8)
    //===== Comments =============================================
    //=1.0 unknown
    //=1.1 Optimized it, Removed labels. [spre]
    //============================================================
    
    
    prontera,144,174,3 script Market Place 857,{
    mes"[Market Place]";
    mes"Tristan III's order: ^FF0000Move all the private shops to a special Market Place^000000.";
    next;
     if (select("Yes Please:No") == 2) {
     close;
    }
    // I didn't see the need to check and show venders.... Since it didnt even work
    warp "payon",156,224;
    end;
    }
    
    setcell "payon",162,267,162,267,cell_vending,1;
    setcell "payon",162,269,162,269,cell_vending,1;
    setcell "payon",162,271,162,271,cell_vending,1;
    setcell "payon",162,273,162,273,cell_vending,1;
    
    //Market Place settings
    payon mapflag novending
    payon mapflag nowarp
    payon mapflag nowarpto
    payon mapflag noteleport
    payon mapflag nobranch
    payon mapflag noloot
    payon mapflag noskill
    payon mapflag nopenalty
    

    only that cell can vending..

    thanks for helping sir

  9. Hi nyoonyoto,

    I believe this is an answer to your question? If there is a better answer anyone please post.

    Quoting from script_commands.txt

    *setcell "<map name>",<x1>,<y1>,<x2>,<y2>,<type>,<flag>;

    Each map cell has several 'flags' that specify the properties of that cell.

    These include terrain properties (walkability, shootability, presence of water),

    skills (basilica, land protector, ...) and other (NPC nearby, no vending, ...).

    Each of these can be 'on' or 'off'. Together they define a cell's behavior.

    This command lets you alter these flags for all map cells in the specified

    (x1,y1)-(x2,y2) rectangle. The 'flag' can be 0 or 1 (0:clear flag, 1:set flag).

    The 'type' defines which flag to modify. Possible options include cell_walkable,

    cell_shootable, cell_basilica. For a full list, see const.txt.

    Basically set the map to have the novending mapflag and then have an npc "set cells" on which cells you can vend on using the x1-x2, y1-y2.

    do you have any example script sir?

  10. Hi!

    You can check it at:

    src/map/skill.c:

    case DC_SCREAM:
     sc_start(bl,SC_STUN,(25+5*skilllv),skilllv,skill_get_time2(skillid,skilllv));
     break;
    

    The script sounds fine, they can't stun probally by the renewal mechanics.

    maybe his enemy has stun immune ?

    Orc Hero Card ? High VIT ? other resistance card for stun ?

    this problem is already solved. i'm looking on my server is higher vit. so stun block on player.. hehe thanks all

  11. Then you'll have to set the variable,which you're using with the Mapname like this :
     set .@mapname$,"pvp_y_8-2"; 

    announce ""+strcharinfo(0)+" is BEYOND GODLIKE ["+@PlayersKilledStreak+"]. Someone Toel Gua Dong..  !!!!!! at "+ strcharinfo(3),bc_all,0x00FF00;

    thanks all...it's really help...thanks..

  12. this is about DOTA PVP LADDER

    if (@PlayersKilledStreak > 8) {
     set @PlayersKilledStreak,@PlayersKilledStreak + 1;
     specialeffect2 7;
      soundeffectall "holyshit.wav",0,.@mapname$;
      specialeffect2 72;
      announce ""+strcharinfo(0)+" is BEYOND GODLIKE ["+@PlayersKilledStreak+"]. Someone Toel Gua Dong.. !!!!!!",bc_all,0x00FF00;
      }
     goto L_RESULT;
     }
     end;
    

    i wanna ask how to add a map on my announcer..

    For Example :

    MR X is Beyond Godlike 12. Someone Toe Gua Dong ... :P ! ! ! ! at pvp_y_8-2

    thanks for helping me

×
×
  • Create New...