-
Posts
128 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Kirito
-
Eto try mo yung script ni emistry. yan ung gngamit q na item restriction sa ibat ibang map. http://pastebin.com/raw.php?i=tG483Rsz - script Limited Items -1,{ function LimitItems; function CheckItems; OnInit: // GM Level to Bypass set .GMLevel,80; // Check Every X Seconds set .Seconds,5; // Apply on Which Maps and what Zone No. setarray .DisableMap$, // "<mapname>","<zone numbe", "guild_vs1","0", "guild_vs2","1", "guild_vs3","2", "guild_vs4","3", "guild_vs5","4"; for( set .i,0; .i < getarraysize( .DisableMap$ ); set .i,.i + 2 ) setmapflag .DisableMap$[.i],mf_loadevent; end; OnPCLoadMapEvent: if( getgmlevel() >= .GMLevel ) end; set @Exceed,0; for( set .@i,0; .@i < getarraysize( .DisableMap$ ); set .@i,.@i + 2 ) if( strcharinfo(3) == .DisableMap$[.@i] ) LimitItems( atoi( .DisableMap$[.@i+1] ) ); end; function LimitItems { switch( getarg(0) ){ // Case <zone>: CheckItems( <Item>,<Amount>,<Item>,<Amount>,.....,<Item>,<Amount> ); break; Case 0: CheckItems( 607,1 ); break; Case 1: CheckItems( 607,5,608,1 ); break; Case 2: CheckItems( 607,2,608,3,4002,1 ); break; Case 3: CheckItems( 607,5,608,1,4002,1,5022,1 ); break; Case 4: CheckItems( 607,1,608,15,5022,2,7227,10 ); break; default: debugmes "[NPC : "+strnpcinfo(0)+"] - Invalid Zone:"+getarg(0); break; } return; } function CheckItems { for( set .@i,0; getarg( .@i,0 ); set .@i,.@i + 2 ){ set .@Limit,0; for( set .@eq,0; .@eq <= 10; set .@eq,.@eq + 1 ) for( set .@slot,0; .@slot <= getequipcardcnt( .@eq ); set .@slot,.@slot + 1 ) if( getequipcardid( .@eq,.@slot ) == getarg(.@i) ) set .@Limit,.@Limit + 1; set .@Limit,.@Limit + countitem( getarg(.@i) ); if( .@Limit > getarg(.@i+1) ){ set @Exceed,1; mes "[ ^FF0000Limit : ^0000FF"+getarg(.@i+1)+"^000000 ] "+getitemname( getarg(.@i) ); } } if( @Exceed ){ mes "Please ensure all the Items above didnt reach the Limit as stated above."; close2; warp "SavePoint",0,0; deltimer strnpcinfo(0)+"::OnPCLoadMapEvent"; }else{ addtimer ( .Seconds * 1000 ),strnpcinfo(0)+"::OnPCLoadMapEvent"; end; } return; } }
-
[Free Release] Botanic Dark Garden Prontera
Kirito replied to Olrox's topic in Maps & 3D Modeling Showcase
(10/10) Yeah! I'm using that on my server. I'll be waiting for more further release! -
this? 20000,Alchemist_Suit,Alchemist Suit,5,89000,,500,,4,,1,0xFFFFFFFE,7,2,136,,10,1,0,{ changebase 18; },{},{ changebase Class; }
-
Try to check the format of your idnum2itemdesctable,idnum2itemdisplaynametable,idnum2itemresnametable? http://rathena.org/board/topic/61267-help-in-custom-items/
-
http://rathena.org/wiki/Custom_Items
-
try this? 1567,Hardback_C,Refined Hardcover Book,4,1,,0,168,,1,0,0xFFFFFFFF,7,2,2,4,0,0,15,{ bonus bStr,5; bonus bDex,2; bonus bMatkRate,20; },{},{} 0xFFFFFFFF = Every Job? I hope it's help,
-
Pano disable ang isang item ma i send through mail system?
Kirito replied to Pink Guy's topic in Tulong para sa Server
demon57, try mo disabled the @mail command or mail npc. -
[Guide] Syouji's BrowEdit Tutorial Videos
Kirito replied to Syouji's topic in Maps & 3D Modeling Showcase
Syouji, Thank you very much for this such a good tutorial. -
Nice! Thanks! Moree poweerr rAthena! hehe
-
Very nice! This is great. Thanks!
-
So I need to download the 12 parts. ok I'll try it thanks! While I'm downloading the 12parts I tried the Rytech's Decompiled Lua Release 2011-11-22 V2 and 2011-11-22aRagexeRE and I'm having 1 lua file error "Lua FilesChatWndInfoChatWndInfo_F [string "buff"]:10: attempt to call global 'Iter_getTable' (a nil value). " What could be the problem?
-
When I'm trying to open the .exe it's only show the setup.exe again and again. I try other setup but it's same. what could be the problem? I hope someone can help me. Thanks!
-
[Free Release] Botanic Dark Garden Prontera
Kirito replied to Olrox's topic in Maps & 3D Modeling Showcase
Wow! Very nice map! -
Yea! 3rd Class Support.
-
[Free Release] Botanic Dark Garden Prontera
Kirito replied to Olrox's topic in Maps & 3D Modeling Showcase
very nice! -
5/10. for my opinion try to change your font and font style.
-
keep up the good work!
-
Very nice! :)
-
I like your template 4 and I hope you add more button in your template 4 likes Forum Rules and Donation. hehe 9/10!