Jump to content

Jaburak

Members
  • Posts

    1125
  • Joined

  • Days Won

    31

Everything posted by Jaburak

  1. Like this? http://rathena.org/board/topic/79823-zephyrus-housing-system/
  2. Then you should change the skill duration in skill_cast_db.txt
  3. Try this; http://rathena.org/board/topic/66962-basic-complete-renewal-data-english-folder/
  4. http://rathena.org/wiki/Getting_Started
  5. Can you take a screenshot of your RO folder?
  6. Try this; turbo_room,111,131,5 script Asiong Salonga 85,{ if(#alreadywon > 0) { mes "You already won! You can't play anymore!"; close; } Then; P1: mes "10x Oridicon!"; getitem 984,10; set #alreadywon,1; close;
  7. Run as Administrator your client.exe
  8. Jaburak

    NPC

    You can also use this; OnInit: waitingroom "RFYL!",0; end; }
  9. trunk/db/re/mob_db.txt 1002,PORING,Poring,Poring,1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,7227,1000,4001,1
  10. RFYL: - script announce_nvz -1,{ OnMinute05: if(agitcheck() == 1) end; announce "The Novice Vs. Zombie Event will begin in 3 minutes.",0; killmonsterall "quiz_01"; sleep 5000; announce "The NPC 'Novice vs. Zombie' has appeared in Prontera!",0; enablenpc "Novice vs. Zombie"; sleep 55000; announce "Event: Novice Vs. Zombie will begin in 2 minutes. You better get ready!",0; sleep 60000; announce "Event: Novice Vs. Zombie will begin in 1 minute!",0; sleep 30000; mapannounce "quiz_01","In 30 seconds the monster will appear!",0; sleep 25000; announce "Event: Novice Vs. Zombie will begin in ~5~",0; sleep 1000; announce "~4~",0; sleep 1000; announce "~3~",0; sleep 1000; announce "~2~",0; sleep 1000; announce "~1~",0; sleep 1000; announce "Event: 'Novice Vs. Zombie' has begun!!",0,0x00FF00; monster "quiz_01",42,369,"Zombie",1036,4; disablenpc "Novice vs. Zombie"; sleep 10000; monster "quiz_01",42,369,"Zombie-2",1036,10; sleep 10000; monster "quiz_01",42,369,"Zombie-3",1036,10; sleep 10000; monster "quiz_01",42,369,"Zombie-4",1036,10; initnpctimer; end; OnTimer5000: if ( getmapusers("quiz_01") == 0 ) { killmonsterall "quiz_01"; announce "'Novice Vs. Zombie' has ended. All of the Zombies are gone.",0; disablenpc "Prize"; stopnpctimer; end; } else if ( getmapusers("quiz_01") > 1 ) { if ($@NvZCounter >= 5){ switch(rand(0,2)){ case 0: mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; break; case 1: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL alive? Are you sure you're not cheating?",0,0x00FF00; break; case 2: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL ALIVE? Seriously, I'm gonna have to report you.",0,0x00FF00; break; } } else { mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; } sleep 10000; set $@NvZCounter,$@NvZCounter+1; initnpctimer; end; } initnpctimer; end; OnPCDieEvent: getmapxy .@mapnvz$,.@xnvz,.@ynvz,0; if ( .@mapnvz$ == "quiz_01") { sleep2 1; warp "prontera",156,223; atcommand "@alive "+ strcharinfo(0); dispbottom "You have lost..."; } sleep2 1000; if ( .@mapnvz$ == "quiz_01" && getmapusers("quiz_01") == 1 ) { killmonsterall "quiz_01"; mapannounce "quiz_01","You have won, please approach to Prize NPC.",0; enablenpc "Prize"; set $@NvZCounter,0; stopnpctimer; end; } end; } quiz_01,42,369,3 script Prize 72,{ if (sex == 1) { announce "In 'Novice Vs. Zombie', " + strcharinfo (0) + " has won! Let's congratulate him!",0; } else { announce "In 'Novice Vs. Zombie'" + strcharinfo (0) + " has won! Let's congratulate her!",0; }; getitem 30005,100; warp "prontera",156,223; sleep2 250; disablenpc "Prize"; end; } prontera,155,170,3 script Novice vs. Zombie 1015,{ if (BaseLevel > 1) goto L_No; if (class == 0) goto L_event; if (class > 0) goto L_No; L_event: sc_end SC_ALL; percentheal 100,100; atcommand "@storeall"; warp "quiz_01",42,369; close; L_No: mes "[^0000FFNovice Vs. Zombie^000000]"; mes "Brains!!!!!!! D=<"; mes "^696969You are not a level 1 novice! Cheater!^000000"; close; OnInit: disablenpc "Novice vs. Zombie"; disablenpc "Prize"; end; } // mapflag quiz_01 mapflag nocommand 2
  11. Hello, Just want to share my rAthena Userbar, you can use this userbar if you want. Userbar 1: Userbar 2:
  12. Try this one; ACMD_FUNC(afk) { nullpo_retr(-1, sd); if( map[sd->bl.m].flag.autotrade == battle_config.autotrade_mapflag ) { if (!message || !*message) { chat_createpcchat(sd, "(AFK)", "", 1, 1); trade_tradeack(sd,4); sd->state.autotrade = 1; if( battle_config.at_timeout ) { int timeout = atoi(message); 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); } clif_authfail_fd(fd, 15); } if((strlen(message) < 0)||(strlen(message) > 36)) { chat_createpcchat(sd, "(@afk) mail me~", "", 1, 1); trade_tradeack(sd,4); sd->state.autotrade = 1; if( battle_config.at_timeout ) { int timeout = atoi(message); 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); } clif_authfail_fd(fd, 15); } chat_createpcchat(sd, message, "", 1, 1); trade_tradeack(sd,4); sd->state.autotrade = 1; if( battle_config.at_timeout ) { int timeout = atoi(message); 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); } clif_authfail_fd(fd, 15); } else clif_displaymessage(fd, "AFK is not allowed on this map."); return 0; }
  13. // Made by iTouch // ---------------------------------------------------------------------------- // Ultimate PvP Warper ver. 1 // Features: // Baby PvP Room // PvP Square(Every 2 days Random PvP Room) // PvP Nightmare // PvP Lowlvl( Supports 1 - 150 Lvl) // PvP No Potion (Berrys , Ygg seed , Any potions , etc. are restricted) // PvP Non Donator (Got Items are restricted here) // ----------------------------------------------------------------------------- // ver. 2 update idea: // Adding a PvP Room that removes the buffs of the player when entering the room // Adding a PvP Room for GM's Only so GM's will have fun // ----------------------------------------------------------------------------- // Special thanks to: // icescope of eAthena for helping me configuring the error at PvP Square // ----------------------------------------------------------------------------- prontera.gat,157,186,3 script PvP Warper 966,{ if (.pvp_square$=="") donpcevent "Ultimate PVP warper::OnClock0000"; mes "[ملك الحلبة]"; mes "أي غرفة تريد الدخول ؟"; switch(select("PVP Square ["+getmapusers("guild_vs5")+"/20]:PVP Nightmare ["+getmapusers("guild_vs1")+"/20]:PVP Compass ["+getmapusers("pvp_n_5-5")+"/20]")) { case 1: // PVP Square if (getmapusers("guild_vs5") > 99) callsub S_full; warp "guild_vs5",0,0; end; case 2: // PVP Nightmare if (getmapusers("guild_vs1") > 99) callsub S_full; warp "guild_vs1",0,0; end; case 3: // Compass if (getmapusers("pvp_n_5-5") > 99) callsub S_full; if (BaseLevel > 99) { // Edit 150 to any maximum Lvl of a player can enter this room mes "فقط ما بين لفل 1 و 99 يمكنهم الدخول"; close; } warp "pvp_n_5-5",0,0; end; case 4: // PVP NoPotion if (getmapusers("pvp_n_5-5") > 99) callsub S_full; for( set .@i,0; .@i<getarraysize(.NoPotion_ids); set .@i,.@i+1 ) { if (countitem(.NoPotion_ids[.@i])) { mes "You can not bring potions in this pvp."; close; } } warp "pvp_y_8-2",0,0; end; case 5: // Non Donator PVP if (getmapusers("1@orcs") > 99) callsub S_full; for( set .@i,0; .@i<getarraysize(.NoDonator_ids); set .@i,.@i+1 ) { if (countitem(.NoDonator_ids[.@i])) { mes "لا يمكنك استعمال ادوات خرافية في هذه الغرفة"; close; } } warp "1@orcs",0,0; end; Case 6: // Baby PvP Room if (getmapusers("pvp_y_1-2") > 99) callsub S_full; if (class < 4023 || class > 4045) goto L_NotBaby; warp "pvp_y_1-2",0,0; end; L_NotBaby: mes "فقط الاطفال يمكنهم الدخول"; close; } S_full: mes "انا اسفة هذه الغرفة ممتلئة "; mes "تعال لاحقا"; close; //OnInit: // waitingroom " » P v P «",0; end; OnClock0000: // set the "PVP Square" map, based on day of the weeek switch(gettime(4)) { case 0: // Sunday case 1: // Monday set .pvp_square$, "guild_vs5"; break; case 2: // Tuesday case 3: // Wednesday set .pvp_square$, "pvp_n_5-5"; break; case 4: // Thursday case 5: // Friday set .pvp_square$, "guild_vs5"; break; case 6: // Saturday set .pvp_square$, "guild_vs5"; break; } // items not allowed in PVP NoPotion setarray .NoPotion_ids[0], 607, 608; // items not allowed in Non Donator PVP setarray .NoDonator_ids[0], 2410, 1530; end; } - script PvPAnnounce -1,{ OnPCKillEvent: set .@killer$, rid2name(killedrid); // Gets name of who was killed getmapxy(.@mapname$,.@mapx,.@mapy,0); if (strcharinfo(0)==@killer$) { announce strcharinfo(0)+" has suicided.",bc_map,0x72D0D3; } else { announce strcharinfo(0)+" has killed "+.@killer$+"!",bc_map,0x72D0D3; } } moscovia.gat,226,198,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#1 966 askydun.gat,96,113,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#2 966 // Kliwa alberta.gat,110,140,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#3 966 // Kliwa aldebaran.gat,147,115,1 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#4 965 // Kliwa amatsu.gat,207,86,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#5 966 // Kliwa ayothaya.gat,155,117,2 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#6 966 // Kliwa comodo.gat,206,80,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#7 966 // Kliwa einbech.gat,198,83,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#8 966 // Taas Kaliwa einbroch.gat,174,172,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#9 966 // Taas Kaliwa geffen.gat,125,71,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#10 966 gonryun.gat,162,120,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#11 966 hugel.gat,89,151,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#12 966 izlude.gat,134,120,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#13 966 lighthalzen.gat,166,101,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#14 966 louyang.gat,214,120,5 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#15 966 xmas.gat,154,136,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#16 966 morocc.gat,160,97,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#17 966 payon.gat,148,226,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#18 966 rachel.gat,135,115,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#19 966 veins.gat,219,127,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#20 966 yuno.gat,163,170,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#21 966 umbala.gat,106,159,3 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#22 966 poring_c02,139,81,4 duplicate(Ultimate PvP Warper) Ultimate PvP Warper#23 966 // Mapflags guild_vs5 mapflag pvp guild_vs1 mapflag pvp
  14. Seems like you're using eAthena SVN.
  15. File Location: trunk/src/map/atcommand.c Find: ACMD_FUNC(reloadmsgconf) { map_msg_reload(); clif_displaymessage(fd, msg_txt(sd,463)); // Message configuration has been reloaded. return 0; } Add below: ACMD_FUNC(afk) { nullpo_retr(-1, sd); trade_tradeack(sd,4); sd->state.autotrade = 1; if( battle_config.at_timeout ) { int timeout = atoi(message); 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); } clif_authfail_fd(fd, 15); return 0; } Find: AtCommandInfo atcommand_base[] = { Add below: ACMD_DEF(afk),
  16. http://rathena.org/wiki/Getting_Started
  17. <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>korea</servicetype> <servertype>sakray</servertype> <hideaccountlist /><extendedslot /><readfolder /> <connection> <display>darkRO</display> <desc>New Brand Server</desc> <address>My Ip</address> <port>7170</port> <version>25</version> <langtype>1</langtype> <balloon>Klik To Play</balloon> <aid> <admin>2000001</admin> <admin>2000002</admin> <admin>2000003</admin> <admin>2000004</admin> <admin>2000005</admin> </aid> <yellow> <admin>2000001</admin> <admin>2000002</admin> <admin>2000003</admin> <admin>2000004</admin> <admin>2000005</admin> </yellow> </connection> </clientinfo>
  18. For @partyrecall; Find: ACMD_FUNC(partyrecall) { struct map_session_data* pl_sd; struct s_mapiterator* iter; char party_name[NAME_LENGTH]; struct party_data *p; int count; nullpo_retr(-1, sd); memset(party_name, '\0', sizeof(party_name)); memset(atcmd_output, '\0', sizeof(atcmd_output)); Add below: if(agit_flag) { clif_displaymessage(fd, "You cannot use @partyrecall during WoE."); return -1; }
  19. Try; bonus2 bVariableCastrate,"GS_TRACKING",-25;
  20. Jaburak

    Job Buffs

    Like this? prontera,200,180,5 script HealBuffs 798,{ percentheal 100,100; skilleffect 28,6969; skilleffect 34,0; skilleffect 29,0; skilleffect 479,0; sc_start SC_BLESSING,18000000,10; sc_start SC_INCREASEAGI,18000000,10; sc_start SC_CP_WEAPON,18000000,5; sc_start SC_CP_SHIELD,18000000,5; sc_start SC_CP_ARMOR,18000000,5; sc_start SC_CP_HELM,18000000,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, .@time, 5, .@spirit,0,0; skilleffect .@spirit, 5; } }
  21. Everything about installation is in here; http://rathena.org/wiki/Main_Page
×
×
  • Create New...