Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. one thing that i am confuse with your idea......why are you checking for 2 items but inside the condition only mentioned 1 item ? Example : if (countitem(909) >= 20 && countitem(935) <= 19) { mes "[^80B584Xyratra^000000]"; mes "I see you have enough jellopies. But i still require "+( 20-countitem(935) )+" more Shells from chonchons."; close; } just do it like this...make it simple...easy for you... //item 1 if( countitem( 512 ) < 10 ){ mes "I need "+( 10 - countitem( 512 ) )+" x "+getitemname( 512 )+"."; } // item 2 if( countitem( 607 ) < 15 ){ mes "I need "+( 15 - countitem( 607 ) )+" x "+getitemname( 607 )+"."; }
  2. like this ? http://pastebin.com/raw.php?i=FssaCcmX refer npcwalkto , npcspeed
  3. because you are checking on more than 1 items...you should use || instead of && otherwise the condition will be bypassed when any 1 of the items has fulfilled the requirements.
  4. change item type to 2 22001,Angeling_Taming_Item,Angeling Taming Item,2,1000,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ pet 1069; },{},{}
  5. if ( countitem(501) < 5 && countitem(502) < 5 ) { should be if ( countitem(501) < 5 || countitem(502) < 5 ) { btw...you are checking on RED POTION while the NPC request for Apples ?
  6. Where? http://subversion.assembla.com/svn/ClientSide/Lua_Project/lubs/
  7. trunk/conf/battle/party.conf // Give additional experience bonus per party-member involved on even-share parties (excluding youself)? // ex. If set to 10, an even-share party of 5 people will receive +40% exp (4 members * 10% exp): // 140% party experience in total, so each member receives 140%/5 = 28% exp (instead of 20%). party_even_share_bonus: 0
  8. 100 = 1x 1000 = 10x 10000 = 100x 800000 = 8000x
  9. the method i show above will auto convert the amount.....auto calculate the max amount a player can get...and exchange it... no input process required.
  10. 10 jellopy = 3 gold .@amount = countitem( 909 ) / 10; getitem 969,( .@amount * 3 ); delitem 909,( .@amount * 10 );
  11. if( countitem( <itemID> ) < amount ){ atcommand "@load"; } refer countitem , atcommand
  12. it's based on Job ID...not sprite id .....
  13. did you missed something ? if(callfunc("checkPermission","2,3,4,5,6,7,8,10,11,99")) { i didnt saw any checkPermission function inside it.. O.O ? btw...New Main Chat System ? isnt that it's still the same except with ban features...??
  14. we dont have bg_reward in rAthena... so we wont know how it work...so...it's almost imposible to help you in this... bg_reward .Defender,7773,.@Reward,0,0,"BG_CON",1,6,.@Won; if the 7773 refer to item_db... then just duplicate few more similar like..and change the item_id bg_reward .Defender,608,.@Reward,0,0,"BG_CON",1,6,.@Won; bg_reward .Defender,512,.@Reward,0,0,"BG_CON",1,6,.@Won; bg_reward .Defender,607,.@Reward,0,0,"BG_CON",1,6,.@Won;
  15. maybe your npc script has limited / altered the skill points ???? by default....it's the behaviour of the script itself......just edit the script....change the success rate..or etc.. *failedremovecards <equipment slot>,<type>; This command will remove all cards from the item found in the specified equipment slot of the invoking character. 'type' determines what happens to the item and the cards: 0 - will destroy both the item and the cards. 1 - will keep the item, but destroy the cards. 2 - will keep the cards, but destroy the item. Whatever the type is, it will also show a failure effect on screen.
  16. what custom client ? what extra features included ? details ? beside, i dont think this is the correct / good place for you to ask for custom clients selling / purchasing ~
  17. swt...there should have error message in your map-server..you should alway refer there...and fix it according to the error...else...show the error... and double check your contents. bouns bLuk,6; should be bonus bLuk,6;
  18. there should have a folder named "upload" ...then you just upload files in that folder to the IP Board directory.... and installation can be done through the admincp.
  19. ...........,{ bonus bStr,5; bonus bLuk,6; bonus2 bAddRace,RC_Dragon,50; bonus bAtk,2*getrefine(); },{},{}
  20. missing some variable... try this.. http://pastebin.com/raw.php?i=8yFzaFMj
  21. Emistry

    Need Help

    trunk/src/config/renewal.h /// game renewal server mode /// (disable by commenting the line) /// /// leave this line to enable renewal specific support such as renewal formulas #define RENEWAL disable it and recompile
  22. http://pastebin.com/raw.php?i=hmfT4TZ0
  23. at 1st topic you said want to remove all skills feature...then now post #7 you wan novice missing skill...which 1 is your exact problems otherwise just switch to rA
  24. load this in your SQL Machine trunk/sql-files/logs.sql
×
×
  • Create New...