Jump to content

Emistry

Forum Moderator
  • Posts

    10013
  • Joined

  • Days Won

    396

Everything posted by Emistry

  1. but i found a problem when i pass a value of Zeny..like this set .@i$,callfunc( "int_format", Zeny ); the result show like this as you can see..there is 1 extra comma infront of the result....
  2. the script posted by KeyWorld has work... prontera,155,181,5 script Sample 757,{ set .@i$,callfunc( "int_format", 1055183018 ); mes .@i$; close; } function script int_format { set .@int, getarg(0); set .@sep$, getarg(1,","); set .@str$, ""; if ( .@int < 0 ) { set .@int, -.@int; set .@neg, 1; } set .@len, getstrlen(.@int+"") - .@neg; for ( set .@i,0; .@i<.@len; set .@i,.@i+1 ) set .@str$, ( .@i % 3 == 2 && 1 < .@len-1 ? .@sep$ : "" ) + ( .@int / pow(10,.@i) ) % 10 + .@str$; return ( .@neg ? "-" : "" ) + .@str$; } you have to pass the value into the function..... set .@i$,callfunc( "int_format", <Value> ); mes .@i$;
  3. huh ? month reward but cant claim again on next month ??? are you looking for a npc that give Item Monthly ?? try this prontera,155,181,5 script Sample 757,{ // January ~ December Item Lists setarray .ItemID[0],7539,5022,512,607,608,7539,5022,512,607,608,7539,5022; setarray .Amount[0],1,2,3,4,5,6,7,8,9,10,11,12; if( #MonthlyReward != gettime(6) ){ getitem .ItemID[gettime(6)],.Amount[gettime(6)]; set #MonthlyReward,gettime(6); mes "You have grant an item for this month."; }else{ mes "You cant take a reward again this month."; } close; }
  4. Emistry

    Token Loot

    if( getgmlevel() < 80 ) end; only a GM Level 80 or above can start this..........
  5. honestly to said that...i dont like this Anime...somehow i just feel hate it.. O.O i also dunno why ~ >.<
  6. make sure ur TAB usage is correct.. Monster Spawn script format is correct ordeal_1-1,0,0,0,0 monster Golden Dokebi 1110,1000,0,0,0
  7. try this change the setoption blablabla to changebase <class>;
  8. erm....if you dont mind..you can watch comic..xD i have saw some of the RtA Comic book in those comic shop last time...xD haha
  9. what whole file...he already provide you the full script of goddameit.. what you still need ?
  10. erm..try something like this set .itemID,7539; set .Minutes,120; if( !countitem(.itemID) && TimeLeft <= gettimetick(2) ){ mes "You need 1 "+getitemname( .itemID )+" to get access to this dunguen."; }else if( countitem(.itemID) && TimeLeft <= gettimetick(2) ){ delitem .itemID,1; set TimeLeft,gettimetick(2) + ( .Minutes * 60 ); mes "Gained Access for next "+.Minutes+" Minutes."; } warp "mapname",0,0; end; [/codeBOX] perhap other can do better than mine..xD
  11. beside.....you can also edit like this remove this line sd->pvp_point -= 5;
  12. Emistry

    Token Loot

    ? shouldnt need to click ?? my script above.... the GM just need to Whisper the NPC to Start it... and..other Player just need to Click to ENTER and for monster only receive 1 HP...edit your mob_db.txt if you dunno how edit the mob_db.. then go find a mob editor...
  13. ah...thx for correcting it..xD
  14. for the second 1....find any existed freebies script in the Forum... ( 100% existed... use search engine else page by page in script request section.... ) since you want it to give 255 level.... then add in line in the script set BaseLevel,255;
  15. Emistry

    DoTA Runes

    how u load the script ? use @loadnpc ? or like this ? http://rathena.org/wiki/Adding_a_Script and please...next time use codebox to wrap ur long script....
  16. search 1st ? http://rathena.org/board/topic/58230-rgold-room-dokebie-monster-only/page__view__findpost__p__75321 btw..what is 1 gold = resu ????
  17. please use search engine next time... http://rathena.org/board/topic/58230-rgold-room-dokebie-monster-only/page__view__findpost__p__75321
  18. try search 1st next time ??? http://rathena.org/board/topic/57156-request-woe-for-trans-only/page__hl__trans__fromsearch__1
×
×
  • Create New...