Jump to content

Ice Bear

Members
  • Posts

    159
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Ice Bear

  1. @AnnieRuru good day mam annie i want to ask how can we add +1 allstats to @costumeitem produced items? search around rathena and hercules no clue at all. thank you in advance mam annie ?
  2. @Easycore sir can you please help me about this error i just follow the step by step procedure in the latest diff file this error pops thank you in advance sir @Easycore
  3. @DemonChuck a simple thanks to @n0tttt will do buddy ?
  4. thank you guys for the answers i hope this helps others who want this functions ?
  5. wow a better way haha thank you so much sir ?
  6. thanks for encouragement and giving idea sir ?
  7. } else if (isloggedin(.@aid[.@j])) { query_sql("SELECT `name` FROM `char` WHERE `account_id` = '"+.@aid[.@j]+"'"),$leadername$; //get the name using the account id query_sql("SELECT `master` FROM `guild` WHERE `master` = '"+$leadername$+"'"),$guildleader$; //match mastername to name if($leadername$ != $guildleader$){ //if not match reward for member only 501 as example and 502 for guild leader if the name matched getitem 501, 1, .@aid[.@j]; } else { getitem 502, 1, .@aid[.@j]; } message rid2name(.@aid[.@j]),"You have been rewarded for conquering "+getcastlename(.Castles$[.@i])+"."; } solved ? thanks sir @pajodex
  8. yes sir .@aid[.@j] = this line of code shows the account id of the player and strcharinfo(0) is for the character name can i use .@aid[.@j] or the account id to fetch its character id but if the account has many character maybe i fetch(SQL) by online state of the character so i can get the exact character id that ask by the getguildmaster( getcharid(2) ) will this work ? im confused right now
  9. it doesnt work [Error]: buildin_strcharinfo: fatal error ! player not attached! [Debug]: Function: strcharinfo (1 parameter): [Debug]: Data: number value=0
  10. i tried same line of code before it doesnt work [Error]: buildin_strcharinfo: fatal error ! player not attached! [Debug]: Function: strcharinfo (1 parameter): [Debug]: Data: number value=0 this pops out still wondering how the script will check if its guild master without attaching the player maybe i should try more test ? until i find answers
  11. in this line how can i make it divided into two category getitem for guild master only and getitem for members only ? im using two boxes for woe prize guild master box ID 45000 and guild member box ID 45001 i want the system check if the player is a guild master then give the guild master box else if the player is a guild member give the guild member box ? for(set .@k,0; .@k<getarraysize(.Reward); set .@k,.@k+2) getitem .Reward[.@k], .Reward[.@k+1], .@aid[.@j];
  12. is it posible to openmail or openrodex via npc? im using 2017 client
  13. i hope this will be answered and ive try to edit this in clif.cpp but something it off i modify the requirement to spin into 1 gold or 1 silver or 1 bronze to play but seems the lucky roulette doesnt follow the src code? i already recompiled my server im using latest rathena rev + 20170614 client if( !sd->roulette.stage && sd->roulette_point.bronze <= 0 && sd->roulette_point.silver <= 0 && sd->roulette_point.gold <= 0 ){ result = GENERATE_ROULETTE_NO_ENOUGH_POINT; }else{ if (!sd->roulette.stage) { if (sd->roulette_point.bronze > 0) { sd->roulette_point.bronze -= 1; pc_setreg2(sd, ROULETTE_BRONZE_VAR, sd->roulette_point.bronze); } else if (sd->roulette_point.silver > 0) { sd->roulette_point.silver -= 1; sd->roulette.stage = 2; pc_setreg2(sd, ROULETTE_SILVER_VAR, sd->roulette_point.silver); } else if (sd->roulette_point.gold > 0) { sd->roulette_point.gold -= 1; sd->roulette.stage = 4; pc_setreg2(sd, ROULETTE_GOLD_VAR, sd->roulette_point.gold); } }
  14. can you share the link eathena site is dead ?
  15. sir @Dastgir is this posible ung 17704?
  16. how can i modify the % damage of magic crasher skill? i want to make it 300% more damage but with the SL_WIZARD BUFFS anyone searching all over the forums but no luck to see one
×
×
  • Create New...