Jump to content

HD Scripts

Members
  • Posts

    183
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by HD Scripts

  1. Make a equal NPC, but insert this check: if(getcastledata("prtg_cas01",1) == getcharid(2)){ It changes “prtg_cas01” for the castle that to want, and adds buffs below ex: - script GuidBuff::GuildBuff -1,{ if(getcastledata("prtg_cas01",1) == getcharid(2)){ percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; sc_start SC_ASPDPOTION2,360000,0; sc_start SC_STRFood,360000,5; sc_start SC_AGIFood,360000,5; sc_start SC_VITFood,360000,5; sc_start SC_INTFood,360000,5; sc_start SC_DEXFood,360000,5; sc_start SC_LUKFood,360000,5; sc_start SC_HitFood,1200000,30; sc_start SC_FleeFood,1200000,30; sc_start SC_BATKFood,1200000,5; sc_start SC_MATKFood,120000,5; switch ( basejob ) { case Job_Alchemist: set .@spirit, 445; break; case Job_Monk: set .@spirit, 447; break; case Job_Star_Gladiator: set .@spirit, 448; break; case Job_Sage: set .@spirit, 449; break; case Job_Crusader: set .@spirit, 450; break; case Job_SuperNovice: set .@spirit, 451; break; case Job_Knight: set .@spirit, 452; break; case Job_Wizard: set .@spirit, 453; break; case Job_Priest: set .@spirit, 454; break; case Job_Bard: case Job_Dancer: set .@spirit, 455; break; case Job_Rogue: set .@spirit, 456; break; case Job_Assassin: set .@spirit, 457; break; case Job_Blacksmith: set .@spirit, 458; break; case Job_Hunter: set .@spirit, 460; break; case Job_Soul_Linker: set .@spirit, 461; break; default: if ( upper == 1 && baselevel < 70 ) set .@spirit, 494; } if ( .@spirit ) { sc_start4 sc_spirit, 360000, 5, .@spirit,0,0; skilleffect .@spirit, 5; } } if(getcastledata("prtg_cas02",1) == getcharid(2)){ percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; } end; } //add more duplicates here mellina,74,82,5 duplicate(GuildBuff) Guild Buffer#aldeg_cas01 696 //gefg_cas01,<x>,<y>,0 duplicate(GuildBuff) Guild Buff#gefg_cas01 696 //payg_cas01,<x>,<y>,0 duplicate(GuildBuff) Guild Buff#payg_cas01 696 //prtg_cas01,<x>,<y>,0 duplicate(GuildBuff) Guild Buff#prtg_cas01 696
  2. How to do this? Very interesting... Yellow >> Red or Blue *-* plz
  3. Bom, este é um emulador em inglês... Se quer criar um servidor em pt-br basta usar o Cronus.
  4. try this INSERT INTO `woeplayerrank` (`char_id`,`name`,`breaks`) VALUES ('123456','test','1');
  5. 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
  6. both ways working 100%, thanks to malufett and wakoko321 :D
  7. 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 @edit not working yet =/ no errors on map-server on compilation, but not works in game. solution plz? *--* credits for you on this mod
  8. I have a problem with this code, show player level on the char... I swear like this: 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 ----->
  9. -<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
  10. trade getgroupid for getgmlevel
  11. 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
  12. http://upaste.me/186d6472f57cc60 i make, try this
  13. src/map/atcommand.c status_change_start(&sd->bl, SC_AUTOTRADE, 10000, 0, 0, 0, 0, ((timeout > 0) ? min(timeout,battle_config.at_timeout) : battle_config.at_timeout) * 60000, 0);
  14. have an effect on how to add clan members selected? type, an aura limbs, differentiating them
  15. accurate, but does not have a specific area to releases pt-br, in the index of the forum, there is http://rathena.org/board/forum/74-portuguese-support/ but the link launches, goes to the Downloads page ... how to proceed?
  16. Because here we have members of Brazil, can help someone ... if you can not, please advise me
  17. Click on the link to below my scripts on Google Code! Thank's for a members of Cronus Emulator and brAthena Remember: All language of my scripts are PT-BR for translations use the Google Translate
  18. use a script... OnPCLoginEvent: if(group_id > 20) atcommand "@hide"; end;
  19. 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
  20. nice man '-' download plz? *-----* kidding rs
×
×
  • Create New...