Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/29/13 in Posts

  1. right after the header add if ( getgmlevel() < 99 ) end;
    1 point
  2. Ahh, now that I looked at the full script yea, that is the case lol, I just saw kName the first time, and made the assumption based on my experience with Mob_db.txt. *Note to self, don't make assumptions lol*
    1 point
  3. prontera,150,180,5 script rent sample 74,{ mes "input the item id. must be an equipable item."; input .@item_id; .@type = getiteminfo( .@item_id,2 ); if ( .@type == -1 ) { mes "unknown item id"; close; } if ( .@type != 4 && .@type != 5 ) { mes "you can't equip this item."; close; } next; mes "item ^ff0000"+ getitemname( .@item_id ) +"^000000 (^00ff00"+ .@item_id +"^000000)"; mes "input the player name (he must be online)"; input .@name$; .@account_id = getcharid( 3,.@name$ ); if ( .@account_id ) { mes "item sent to "+ .@name$ +" (account id ^ff0000"+ .@account_id +"^000000)"; close2; attachrid .@account_id; rentitem .@item_id, 10;// 10 secs end; } mes .@name$ +" not found"; close; } change the time of the rent in the script rentitem .@item_id, 10;// 10 secs
    1 point
  4. Nope it wasn't about the kName, I thought that query_sql would delete all the values of the array but that's not the case. The compiled menu held the previous data if the new array had less data than the previous array prontera,157,179,0 script Sample 75,{ if ( Zeny < 500000 ) { mes "You don't have 500,000 zeny"; close; } mes "What monster would you like to disguise?"; next; L_back: .@s = select( .alphabet_menu$ ) -1; .@mob = select( getd( ".letter_"+ .@s +"$" ) ) -2; if ( .@mob == -1 ) goto L_back; disguise getd( ".mobid_"+ .@s +"["+ .@mob +"]" ); close2; Zeny -= 500000; end; OnInit: .@count = query_sql( "select distinct left( kName,1 ) as a from mob_db order by a", .@alphabet$ ); .alphabet_menu$ = implode( .@alphabet$, ":" ); for ( .@i = 0; .@i < .@count; .@i++ ) { .@string$ = ".mobid_"+ .@i; .@size = query_sql( "select kName,`ID` from mob_db where left( kName,1 ) = '"+ .@alphabet$[.@i] +"' group by kName asc limit 128", .@tmp$, getd( .@string$ ) ); setd ".letter_"+ .@i +"$", ( .@i ? "^777777Back^000000:" : ":" ) + implode( .@tmp$, ":" ); deletearray .@tmp$, .@size; // debugmes "check len "+ .@alphabet$[.@i] +" : "+ getarraysize( getd( .@string$ ) ); } }
    1 point
  5. Oninit: + setarray .lootidarray[0],501,502,503; + .size = getarraysize(.lootidarray); end; and mes "[Treasurer]"; mes "Alright I will now send you to the Treasure Room, Take Care!."; next; set Zeny,Zeny-1000000; +atcommand "@alootid reset"; +for ( .@i = 0; .@i < .size; .@i++ ) + atcommand "@alootid +"+.lootidarray[.@i]; warp "ordeal_2-2",156,155; emotion 21;
    1 point
  6. if(Sex){rentitem( rand(28103,28104),TIME );} else {rentitem( rand(28101,28102), TIME );}
    1 point
  7. no, about items in your server are not depend on the KRO, its depend on your version of your server emulator, but without the latest KRO, the latest items wont show, and maybe will caused GE. I think data v4.0 is the latest, so maybe the latest items are available.
    1 point
  8. Login to their SolusVM, reset the root password you should be able to login properly now.
    1 point
  9. this ? http://subversion.assembla.com/svn/ClientSide/Translation_Project/
    1 point
  10. IMO, I've just stuck with magenta in all of my current map projects. It provides proper shadows for both colored & non-colored lightmaps & doesnt create a fade-out effect. Yes, you can use no-draw zones and just remove bad lighting at the edges. However, a fast approach is to just use magenta (1x1) border. The choice is really yours tho when it comes down to how you wish to present your map.
    1 point
×
×
  • Create New...