Jump to content

HD Scripts

Members
  • Posts

    183
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by HD Scripts

  1. 
    OnInit:
    waitingroom "",0;
     OnTimer5000:
      setarray .@Display$,"Room #1 ["+getmapusers("pvp_n_2-3")+"/100]","Room #2 ["+getmapusers("guild_vs2")+"/100]"";
       set .@msg, rand(getarraysize(.@Display$));
       delwaitingroom;
        waitingroom .@Display$[.@msg],0;
         initnpctimer;
    

    try this

  2. As I got? I used the base of BL_MOB, and I was just trying to adapt ...

    but I will try this for user testing ...

    Thank you :D

    @edit

    not working yet =/

    no errors on map-server on compilation, but not works in game.

    solution plz? *--* credits for you on this mod :D

  3. I have a problem with this code, show player level on the char...

    I swear like this:

    screenrathena000-296990.jpg

    Code is here:

    case BL_CHAR:
    {
    struct char_data *md = (struct char_data *)bl;
    nullpo_retv(md);
    
    char charhp[25], *str_p = charhp;
    WBUFW(buf, 0) = cmd = 0x195;
    if( battle_config.show_char_info&1 ){
    str_p += sprintf(str_p, "Lv. %d | ", md->level);
    }
    if( str_p != charhp )
    {
    *(str_p-3) = '\0';
    memcpy(WBUFP(buf,30), charhp, NAME_LENGTH);
    WBUFB(buf,54) = 0;
    memcpy(WBUFP(buf,78), charhp, NAME_LENGTH);
    }
    }
    break;

    wrong code?

    help plz? '----'

    @edit

    Error in the Visual Studio C++ 2010 ----->

    semttulokib.jpg

  4. -<tab>script<tab>Sample<tab>-1,{
    OnPCLoginEvent:
    
    warp "map",x,y;
    atcommand "@option 2";
    sc_start SC_BERSERK,10000000,1;
    mes "Please Red Colour Key in the Code...";
    set .Code,rand(1000,99999);
    mes "^0000FF"+rand(1,9999)+"^FF0000"+.Code+"^0000FF"+rand(1,9999)+"^000000";
    input @Code;
    if( @Code != .Code ){
    atcommand "@kick "+strcharinfo(0);
    } else {
    atcommand "@option 0";
    sc_end SC_BERSERK;
    }
    end;
    }

    try i guess

  5. prontera,155,181,5<tab>script<tab>Sample<tab>757,{

    mes "Go in PVP Room ?";

    if( select("Yes:No") == 2 ) close;

    warp "guild_vs5",0,0;

    announce "[ "+strcharinfo(0)+" ] has joined PVP.",0;

    end;

    OnInit:

    while(1){

    delwaitingroom;

    waitingroom "Users : "+getmapusers("guild_vs5"),0;

    sleep 1000;

    }

    end;

    OnPCKillEvent:

    if(strcharinfo(3) == "guild_vs5"){

    announce strcharinfo(0)+" killed "+killedrid+"!",8;

    end;

    }

    try

  6. Good afternoon;)

    I have a doubt ...

    I think we all know games mmorpg style Grand Fantasia

    If not, here's the site ...

    or rather, the system of rotating ads, there are those games on platforms other than the ragnarok.

    as in the 2d ragnarok, the ad is static, ie, standing up on the screen.

    as in this game, Grand Fantasia, an announcement on the screen moves from right to left.

    I wonder if there is something to be done to stop the same, or something like that.

    I think that is a modification of the source, or even in hexed, but I am not aware of it, here are my idea, if someone wants to study it and perfects it.

    thank you

×
×
  • Create New...