Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/09/13 in Posts

  1. Item Bound System r17351 adds in a new feature which allows characters to have specific items bounded to their account, guild, or party. Suggestion topic: http://rathena.org/board/topic/70372-item-account-bound-proposal/ Features: Items can be bounded 3 different ways. New script commands 'getitembound' and 'getitembound2' creates bounded items. New script command 'countbound' counts number of bounded items, also placing them automatically into an array. New at commands @itembound and @itembound2 used to create bounded items on the fly. Account bound items can be stored in account storage and in cart. Guild bound items can be stored in guild storage and traded to other guild members.When a character leaves or is expelled from the guild, these bounded items are automatically returned to guild storage. Party bound items cannot be stored but only traded to other party members. These are temporary and will be deleted on party deletion or when leaving the party. Credits to Xantara for the initial diff and Lighta for helping with the guild bound system. Please report all issues/bugs in the proper bug report section. Don't forget to update your SQL tables with upgrade_svn17351.sql!
    1 point
  2. Looks dude it's a lot of extra work just to put the variable not spaced out like that... Completely pointless but ... yeah. prontera,155,150,0 script Test 123,{ end; OnInit: set .alphabets$,"VENDING"; set .i,callfunc("str_toarray", .alphabets$, "$@alphabets$[0]"); copyarray .alphabets$[0], $@alphabets$[0], .i; deletearray $@alphabets$[0],128; while( 1 ){ set .@title$,.@title$ + .alphabets$[.@i]; set .@i,.@i + 1; delwaitingroom; waitingroom ""+.@title$,0; sleep 1000; if( .@i % 8 == 0 ) { set .@title$,""; set .@i, 0; } } } ///callfunc "str_toarray", "<string>", "<array output>"; function script str_toarray { sleep2 1; if ( getstrlen( getarg(0) ) > 128 ) return 0; setarray .@char$[ 0 ], " ", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "E", "I", "A", "S", "R", "N", "T", "O", "U", "L", "C", "P", "M", "D", "V", "H", "G", "F", "B", "Y", "Q", "K", "Z", "X", "J", "W", "_", "-"; set .@charsize, getarraysize(.@char$); set .@tmp$, "|~key~|"; set .@str$, .@tmp$ + getarg(0) ; set .@len, getstrlen(getarg(0)); while( .@len>.@s ) { set .@i,0; while( .@i<.@charsize ) { if ( ! ( set(.@l,.@l+1) % 650) ) sleep2 1; if ( compare( .@str$ , .@tmp$ + .@char$[.@i] ) ) { set .@tmp$, .@tmp$ + .@char$[.@i]; set .@arr$[.@s], .@char$[.@i]; break; } set .@i, .@i+1; } if ( .@i == .@charsize ) return 0; else set .@s, .@s+1; } deletearray getd(getarg(1)); copyarray getd(getarg(1)), .@arr$, .@len; return .@len; }
    1 point
  3. If you want to disable it Go to conf/char_athena.conf Find: Pincode_enabled: yes <---- set to no
    1 point
×
×
  • Create New...