Jump to content

Capuche

Developer
  • Posts

    2407
  • Joined

  • Last visited

  • Days Won

    52

Everything posted by Capuche

  1. Try this if ( getcharid(1) ) { .@party_id = getcharid(1); .@map$ = strcharinfo(3); getpartymember .@party_id; getpartymember .@party_id, 2; .@count = $@partymembercount; copyarray .@aid, $@partymemberaid, .@count; copyarray .@name$, $@partymembername$, .@count; for ( ; .@i < $@partymembercount; .@i++ ) if ( getcharid( 0,$@partymembername$[.@i] ) ) { getmapxy .@tmp$, .@x, .@y, 0, $@partymembername$[.@i]; if ( .@tmp$ != .@map$ ) { deletearray .@aid[.@i], 1; deletearray .@name$[.@i], 1; .@count -= 1; } } while ( .@count > 5 ) { .@r = rand( .@count ); deletearray .@aid[.@r], 1; deletearray .@name$[.@r], 1; .@count -= 1; } for ( .@i = 0; .@i < .@count; .@i++ ) { attachrid .@aid[.@i]; set MvpPoint,MvpPoint+.MvpPoint; } } else set MvpPoint,MvpPoint+.MvpPoint; The killer share the points with 5 players in the party, only if the member is online and on the same map
  2. or update your version. This issue is now fixed in r17311 Bug report bugreport:7626
  3. There is the percent heal when heal/revive.. but I believe it would make too much arg
  4. Try a clean version trunk/npc/mobs/bossnia.txt
  5. Add party target and guild target is a good idea. But I would like something to restrict the command for players on some map for guild and party. About the revive flag, I suggest to leave the flag by default to revive + full heal * <revive_flag> : * : 0 => Both (default) * : 1 => Full heal only player alive * : 2 => Revive only dead players /*========================================================================= * Fully Recover a Character's HP/SP * recovery <target>,<character target>,<mapname>,<revive_flag>; [Capuche] * <target> : * 0 - Character * 1 - Character Party * 2 - Character Guild * 3 - Map (Character on map) * 4 - All Characters * <character target> : * <target> : 0-2 => Character's name * <target> : other => Empty * <mapname> : * <target> : 1-3 => Map's name (player attached map's name by default for target 3) * Can be empty for target 1-2 => all map * <revive_flag> : * : 0 => Both (default) * : 1 => Full heal only player alive * : 2 => Revive only dead players *-------------------------------------------------------------------------*/ It's a bit screw up like this... I wonder if your is better finally. But I would prefer a revive flag like mine. How do you feel about it ?
  6. sepecialeffect2 c_start PR_GLORIA,360000,5; if countitem(30012) >= 1){ There are typo errors. Check your mapserv + BS_ADRENALINE is not a sc_bonus
  7. Check your mapserv when you load the script and report your error
  8. are already deleted in.. a revision //378-389 vacíos //NoAsk (rechazar invitaciones)
  9. The guild members must talk to the npc to gain something at the end of the event. You mean if the leader use @guildrecall ? the member which doesn't talk to the npc gained nothing
  10. Except for the 'space to tab', what is your problem for this quest ?
  11. mob_item_ratio doesn't give a new drop, it adjust the current drop of the mob
  12. [Warning]: pc_bonus2: unknown type 1054 7 10! Follow the line : pc_bonus2 : your error is on a bonus2 item script type 1054 : search the const name in db/const.txt which match this type => bDefRate 7 10 : are the value after the type => search bonus2 bDefRate,10,7; Following trunk/doc/item_bonus.txt this item script must follow the typo bonus bDefRate,n;
  13. Add near the other bindatcmd/unbind bindatcmd("partyrecall",strnpcinfo(0)+"::OnBlock"); unbindatcmd("partyrecall"); message strcharinfo(0), .@atcmd_command$+" is blocked during WoE.";
  14. .. the warper : npc\warps\fields\abyss_warper.txt The quest : npc\quests\quests_13_1.txt npc\quests\quests_13_2.txt
  15. Thanks! but it sound like a release while it was a suggestion..
  16. Update french translation follow up r17314 and r17317 http://pastebin.com/pbTCRamh
  17. Try isequippedcnt if( isequippedcnt(13451) == 2 ) bonus bAtk,-999;
  18. Ha then replace if( .@count_ip / 100 != $count_distinct ) { $count_distinct = .@count_ip / 100 ; by if( .@count_ip / 100 != $count_distinct && $count_distinct != 999999999 ) { $count_distinct = 999999999 ;
  19. Update the french translation after feedback ! Thanks Lighta ! http://pastebin.com/pbTCRamh
  20. I'm a bit lazy.. xd Just change .numMaxLevel to $numMaxLevel and if($Rank$ != "") { then it should work
  21. About this command : I have never seen a script using this command, and it's not in any npc script in the svn. Btw a lot of script need to revive dead player and we often use atcommand script resulting an entry in atcommand log, or a trick with warp command. If we don't use it I suggest to customize it a little ? What do you think ? Maybe something like this ?
  22. 5010,Indian_Hair_Piece,Indian Fillet,5,20,,100,,5,,0,0xFFFFFFFF,7,2,256,,0,1,96,{ set MaxWeight, MaxWeight + 5000; },{},{} => weight + 500 Be aware that you'll be able to go past 100% weight capacity when removing the item.
  23. bonus2 bSubEle,Ele_Neutral,5; bonus2 bSubEle,Ele_Water,5; bonus2 bSubEle,Ele_Earth,5; bonus2 bSubEle,Ele_Fire,5; bonus2 bSubEle,Ele_Wind,5; bonus2 bSubEle,Ele_Poison,5; bonus2 bSubEle,Ele_Holy,5; bonus2 bSubEle,Ele_Dark,5; bonus2 bSubEle,Ele_Ghost,5; bonus2 bSubEle,Ele_Undead,5; If not once and for all bonus bStr,rand(1,100); bonus bInt,rand(1,100); bonus bDex,rand(1,100); else I think with permanent variable it should do it.. but the script would be a bit screw up..
  24. The launcher doesn't use idnum2itemdesctable & co. since ~2012-04-10 if I remember It use System/itemInfo.lua http://subversion.assembla.com/svn/ClientSide/Lua_Project/System/ Search in the client forum for more informations http://rathena.org/board/forum/98-client-side/
  25. Client side => num2cardillustnametable.txt Add in your file a line following the typo Item ID#File Name in cardbmp# cardbmp/ Add your illustration in bmp format 300x400
×
×
  • Create New...