Jump to content

mawjustin

Members
  • Posts

    101
  • Joined

  • Last visited

About mawjustin

  • Birthday May 24

Profile Information

Contact Methods

Recent Profile Visitors

965 profile views

Mood

  • Happy
  • Currently Feeling Happy

mawjustin's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

3

Reputation

  1. Hi Team, May I ask for clarification about getitembound3 ? specifically Bound_Account? why is it that I cannot store it in my storage? Is there a way to force this into storage?
  2. I see, I guess I that's the only option for now.
  3. Hi Team, I tried checking on rathena document, but I am unable to find the following, I'm not sure if I am looking in the wrong files or data: 1. How to check Random Option Element either from 1-5? 2. How to check Armor Element? 3. How to check Card slotted element? Thank you in advance.
  4. For IP, time_created, and redeem_time problems use this. /* DROP TABLE IF EXISTS `reward_codes`; DROP TABLE IF EXISTS `reward_logs`; CREATE TABLE IF NOT EXISTS `reward_codes` ( `promo` VARCHAR(26) NOT NULL DEFAULT '', `nameid` INT(11) UNSIGNED NOT NULL DEFAULT '0', `item_name` VARCHAR(50) NOT NULL DEFAULT '', `amount` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0', `time_created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, `limit` INT(10) UNSIGNED NOT NULL DEFAULT '0', `pool` INT(10) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`promo`) ) ENGINE = MYISAM; CREATE TABLE IF NOT EXISTS `reward_logs` ( `account_id` int(11) unsigned NOT NULL default '0', `last_ip` BINARY( 15 ) NOT NULL, `code` VARCHAR( 26 ) NOT NULL, `redeem_time` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, `claim` INT( 10 ) NOT NULL, PRIMARY KEY (`code`) ) ENGINE = MYISAM; */
  5. Hi Team, May I ask what error this is and how to fix it?
  6. I suggest you create a script using OnPCLoginEvent: just to make sure that all will be deleted.
  7. I commented that temporarily. and added deletion of SC_BOSSMAPINFO every login.
  8. Hi Team, Is there a way to stop gepard from detecting @autoattack as bot? https://rathena.org/board/topic/119441-compile-error-autoattack/ Thanks. @Functor may I ask for assistance regarding this matter.
  9. may I ask how will I do this? 61500:61500,{ if (isequipped(61500) <=10) { bonus bStr,1000; } } ? because 61500 can be inserted into non slotted slot 4 item only. and can be slotted to all general equipment .
  10. what if 1 type of card can be equipped in multiple items? example both poring cards can be equipped in upper,middle, and lower headgear? it will duplicate the effects of isequippedcnt()? Hi Team, May I ask why Is the stats not adding to the player? - script ScriptComboCaller -1,{ OnPCStatCalcEvent: if(getequipcardid (EQI_HEAD_TOP,3) == 61500 || getequipcardid (EQI_HEAD_MID,3) == 61500 || getequipcardid (EQI_HEAD_LOW,3) == 61500 || getequipcardid (EQI_ARMOR,3) == 61500 || getequipcardid (EQI_HAND_R,3) == 61500 || getequipcardid (EQI_HAND_L,3) == 61500 || getequipcardid (EQI_GARMENT,3) == 61500 || getequipcardid (EQI_SHOES,3) == 61500 || getequipcardid (EQI_ACC_L,3) == 61500 || getequipcardid (EQI_ACC_R,3) == 61500 ) { callfunc ("Generalis_Arvis"); } if(getequipcardid (EQI_HEAD_TOP,3) == 61501 || getequipcardid (EQI_HEAD_MID,3) == 61501 || getequipcardid (EQI_HEAD_LOW,3) == 61501 || getequipcardid (EQI_ARMOR,3) == 61501 || getequipcardid (EQI_HAND_R,3) == 61501 || getequipcardid (EQI_HAND_L,3) == 61501 || getequipcardid (EQI_GARMENT,3) == 61501 || getequipcardid (EQI_SHOES,3) == 61501 || getequipcardid (EQI_ACC_L,3) == 61501 || getequipcardid (EQI_ACC_R,3) == 61501 ) { callfunc ("Generalis_Mercator"); } } //////////////////////////////////////////////////////// //////////////////////////////////////////////////////// //////////////////////////////////////////////////////// function script Generalis_Arvis { sleep2 10; OnPCStatCalcEvent: setarray .setcomboarray[0],61500; set [email protected],getarraysize( .setcomboarray ); .itmCnt = 0; for ([email protected] = 0;[email protected] < [email protected];[email protected]++) { if(getequipcardid (EQI_HEAD_TOP,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_HEAD_MID,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_HEAD_LOW,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_ARMOR,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_HAND_R,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_HAND_L,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_GARMENT,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_SHOES,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_ACC_L,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_ACC_R,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } } mes "Generalis_Arvis"+ .itmCnt; if (.itmCnt > 10 ) { dispbottom "You have more than 10 parts equipped."; } else { if(.itmCnt >= 2) { bonus bStr,5; } if(.itmCnt >= 3) { bonus bMaxSPrate,5; } if(.itmCnt >= 4) { bonus bMaxHPrate,5; } if(.itmCnt >= 5) { bonus bVariableCastrate,-5; } if(.itmCnt >= 6) { bonus bDelayRate,5; } if(.itmCnt >= 7) { bonus2 bIgnoreDefClassRate,Class_All,5; } if(.itmCnt >= 8) { bonus bAtkRate,5; } return; } } //////////////////////////////////////////////////////// //////////////////////////////////////////////////////// //////////////////////////////////////////////////////// function script Generalis_Mercator { sleep2 10; OnPCStatCalcEvent: setarray .setcomboarray[0],61501; set [email protected],getarraysize( .setcomboarray ); .itmCnt = 0; for ([email protected] = 0;[email protected] < [email protected];[email protected]++) { if(getequipcardid (EQI_HEAD_TOP,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_HEAD_MID,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_HEAD_LOW,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_ARMOR,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_HAND_R,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_HAND_L,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_GARMENT,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_SHOES,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_ACC_L,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } if(getequipcardid (EQI_ACC_R,3) == .setcomboarray[[email protected]] ) { .itmCnt++; } } mes "Generalis_Mercator"+ .itmCnt; if (.itmCnt > 10 ) { dispbottom "You have more than 10 parts equipped."; } else { if(.itmCnt >= 2) { bonus bVit,5; } if(.itmCnt >= 3) { bonus bMaxSPrate,5; } if(.itmCnt >= 4) { bonus bMaxHPrate,5; } if(.itmCnt >= 5) { bonus bVariableCastrate,-5; } if(.itmCnt >= 6) { bonus bDelayRate,5; } if(.itmCnt >= 7) { bonus2 bSubEle,Ele_All,5; } if(.itmCnt >= 8) { bonus bMaxHPrate,5; } return; } } Output shows both, but stats is not adding into the player. May I ask for assistance in where did I go wrong here?
  11. Is there no other way from this? I'm avoiding doing it like that because I have around 60+ scripts like this and it might overload the server
  12. Hi, is there a way for this to stop looping? I mean to only display 1 value and not repeat it multiple times?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.