Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. something like this ? prontera,155,181,5 script Sample#maxstat 757,{ for( .@i = bStr; .@i <= bLuk; .@i++ ){ .@stat = readparam( .@i ); if( .@stats < 255 ) statusup2 .@i,( 255 - .@stat ); } end; }
  2. this should be change in ur pvp ladder script, not the cluckers.
  3. you dont have to specify the file extension playbgmall "13";
  4. DELETE FROM `login` WHERE `logincount` = 0; ------------------------------ wew..my 6666th post.
  5. just reimport what you have export out from your server previously.
  6. remove this 2 lines OnNPCKillEvent set Checking,1;
  7. try http://upaste.me/r/0bbbdc *annieruru version
  8. load this SQL script ALTER TABLE `guild` ADD COLUMN `woe_def` INT(11) NOT NULL DEFAULT '0' AFTER `skill_point`; go to this npc file npc/guild/agit_main.txt Find this if (!mobcount(strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak")) { monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Emperium",1288,1,"Agit#"+strnpcinfo(2)+"::OnAgitBreak"; } end; change to this if (!mobcount(strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak")) { monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Emperium",1288,1,"Agit#"+strnpcinfo(2)+"::OnAgitBreak"; initnpctimer; } end; OnTimer300000: // 5 minutes .@map$ = strnpcinfo( 2 ); .@guild_id = getcastledata( .@map$,1 ); if( .@guild_id ){ query_sql( "UPDATE `guild` SET `woe_def` = `woe_def` + 1 WHERE `guild_id` = "+.@guild_id ); mapannounce .@map$,"Castle Owner gained 1 points for defending 5 minutes without fail.",bc_all; } setnpctimer 0; end; then, find this OnAgitEnd: if (strnpcinfo(0) == "Gld_Agit_Manager") end; GvgOff strnpcinfo(2); // If the castle has no owner at the end of WoE, do not kill Emperium. if (GetCastleData(strnpcinfo(2),1)) { KillMonster strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak"; } end; and replace with this OnAgitEnd: if (strnpcinfo(0) == "Gld_Agit_Manager") end; GvgOff strnpcinfo(2); // If the castle has no owner at the end of WoE, do not kill Emperium. if (GetCastleData(strnpcinfo(2),1)) { KillMonster strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak"; } query_sql( "SELECT `guild_id`,`woe_def` FROM `guild` ORDER BY `woe_def` DESC LIMIT 1",.@gid,.@point ); announce "GUILD '"+getguildname( .@gid )+"' WON WITH "+.@point+" POINT",bc_all; setcastledata strnpcinfo(2),1,.@gid; end; didnt test...
  9. your solution isnt configure by script. conf/battle/player.conf#L30 // Can a normal player by-pass the skill tree? (Note 1) player_skillfree: no // When set to yes, forces skill points gained from 1st class to be put into 1st class // skills, and forces novice skill points to be put into the basic skill. (Note 1) player_skillup_limit: yes
  10. try disable this line set $@win,rand(1,6); switch($@win) { case 1: donpcevent "Poring#race::OnPoringWin"; break; case 2: donpcevent "Drops#race::OnDropsWin"; break; case 3: donpcevent "Poporing#race::OnPoporingWin"; break; case 4: donpcevent "Marin#race::OnMarinWin"; break; case 5: donpcevent "Pouring#race::OnPouringWin"; break; default: donpcevent "Santa Poring#race::OnSantaWin"; break; } donpcevent "Bet Manager::OnRaceStart"; // <--------------- REMOVE/DISABLE THIS LINE
  11. why not just make use of current settings..? conf/battle/misc.conf // Makes player cannot be attacked when autotrade? (turns player's state.monster_ignore) (Note 1) at_monsterignore: yes
  12. i dont think rAthena have this mapflag ... are you using Hercules? or converting script from Hercules ?
  13. most common tool that you can get around here is secure grf
  14. shut down server and run this query Ex. Free 10,000 Cash UPDATE `global_reg_value` SET `value`=`value` + 10000 WHERE `str` = '#CASHPOINTS'; do a backup before test...
  15. pc_status_def_rate: if value = 50, you need 200 VIT to have STUN immunity if value = 100, you need 100 VIT to have STUN immunity if value = 200, you need 50 VIT to have STUN immunity pc_max_status_def: if value = 10, you can have maximum of 10% STUN immunity if value = 50, you can have maximum of 50% STUN immunity if value = 100, you can have maximum of 100% STUN immunity all the above settings is based on solely your character stats, not equipments nor cards.
  16. find the message here, and edit it. conf/msg_conf or clif_displaymessage( sd->fd,"Whatever message you want to display" );
  17. after you use @unloadnpc <main npc> all the duplicates NPC should have removed together. otherwise use @unloadnpcfile <file path>
  18. instead of PVP .... just simply add the GVG mapflag to all these map. the "PVP" will auto activated when other guild come.. you just need a NPC to help you announce which guild member from other guild have invaded your town as well as add town ownership.
  19. you can try something like this http://upaste.me/r/ad581458753e1bc61 didnt test.
  20. just some trick that you can try to use. http://pastebin.com/raw.php?i=w0Udurc0 use addtimer to check again whether the player has completed the password checking or not.
×
×
  • Create New...