-
Posts
142 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by madtoyz
-
-
settle.
solve
-
thats mean,at the code no need to put itemid and guildname right ?.just put at OnWhisperGlobal only ?
-
replace this with OnWhisperGlobal part....
OnInit: set .Guild$,"NAME"; set .Item,<itemID>; set .Amount,<Amount>; end;
and this code is what for ?
if( getguildname(getcharid(2)) == .Guild$ && getguildmaster(getcharid(2)) == strcharinfo(0) ){ getitem 18601,5;//Red Bred Hat getitem 18603,5;//Black Devil Mask[1] getitem 18509,5;//RWC 2010 Indonesia getitem 18508,5;//Garuda Hat getitem 18599,5;//Black Devil Mask set .Guild$,RENZO; mes "here's your reward."; }else{ mes "Sorry there is nothing you can claim here."; } close;
-
try this...
http://pastebin.com/raw.php?i=j2iqdd1i
give item to 1 Guild by pm the NPC.
[ npc:Sample ] GuildName#ItemID#Amount
this is via admin cmd,
how bout if just put the item in getiitem on script then set name of guild(only leader can redeem it) ?
-
set .Guild$,RENZO;
izit right ?
OnWhisperGlobal: if( getgmlevel() >= 99 ){ if( getitemname(atoi(@whispervar1$)) != "null" && atoi(@whispervar1$) > 0 ){ set .Guild$,@whispervar0$; set .Item,atoi(@whispervar1$); set .Amount,atoi(@whispervar2$); dispbottom "[ Guild Assigned : "+.Guild$+" | Item : "+getitemname(.Item)+" | Amount : "+.Amount+" ]"; }else{ dispbottom "[ Invalid Setup ] : GuildName#ItemID#Amount"; } } end; }
explain this func for me please....because when i try using gm level99,nothing happen
-
prontera,157,187,5 script Guild Redeem Item 757,{ if( getguildname(getcharid(2)) == .Guild$ && getguildmaster(getcharid(2)) == strcharinfo(0) ){ getitem 18601,5;//Red Bred Hat getitem 18603,5;//Black Devil Mask[1] getitem 18509,5;//RWC 2010 Indonesia getitem 18508,5;//Garuda Hat getitem 18599,5;//Black Devil Mask set .Guild$,RENZO; mes "here's your reward."; }else{ mes "Sorry there is nothing you can claim here."; } close; OnWhisperGlobal: if( getgmlevel() >= 99 ){ if( getitemname(atoi(@whispervar1$)) != "null" && atoi(@whispervar1$) > 0 ){ set .Guild$,@whispervar0$; set .Item,atoi(@whispervar1$); set .Amount,atoi(@whispervar2$); dispbottom "[ Guild Assigned : "+.Guild$+" | Item : "+getitemname(.Item)+" | Amount : "+.Amount+" ]"; }else{ dispbottom "[ Invalid Setup ] : GuildName#ItemID#Amount"; } } end; }
when click this NPC....they will say Sorry there is nothing you can claim here...
how the script working ?teach me please
-
can anyone make this one got 4room ?
-
Leader Guild redeem item at NPC
- GM will setup name of guild on the NPC.
- Setup what item will give to the guild.
- Guild leader only can redeem for 1time only and wait until next update from GM to recieve the reward on NPC.
-
using the original NPC in valhalla version
-
what the problem is ?
-
this is
-
what the problem ?
-
save 256bmp on paint
problem is solve,thanks all for information.
but the color is so ugly
-
Have you try to save it in 256 color?
limit of code color is 255.
no 256 in paint
-
this i save use 24bit in photoshop
how make background screenshot become transparent ?
this i save use 16bit in photoshop
-
when i use 16bit and red/blue 255.
i will getting ERROR
-
how make background screenshot become transparent ?
im using this color in paint application
-
problem is solve after i untick "read data folder first" with ShinsDiffPatcher program for diff client hexed 2012-04-10aRagexeRE.
-
yes the scr_logo i already put in data/texture/scr_logo.bmp
-
-
if like this ?
-
im using client 2012-04-10aRagexeRE and diff with ShinsDiffPatcher,
when i press button PrtScrn to screenshot will get ERROR..
Any solution about it ?
-
Try this
after i try it put in my data folder,still same and no change
or i need use this put in my data folder : http://code.google.com/p/renewalproject/downloads/detail?name=2012-04-18%20Lub%2Bsrc%20Files%20%5BTranslated%5D.rar&can=2&q=
or this ? http://svn6.assembla.com/svn/ClientSide/Lua_Project/lua%20files/
-
im using data taken from here : http://rathena.org/board/topic/66962-basic-complete-renewal-data-english-folder/page__hl__%2Bbasic+%2Bdata+%2Bfolder (DATA V2.0)
and using lua taken from here : http://svn6.assembla.com/svn/ClientSide/Lua_Project/lua%20files/ (CLIENTSIDE - Revision 228)
hexed : 2012-04-10aRagexeRE
rAthena Revision 16758
A bunch of Guild item redeem
in Scripting Support
Posted · Edited by madtoyz
- How to use this code for lot guild.
example :
- Setup only Leader guild from LordOfDeath,ArmyOfHeaven,JackFrozen can redeem item from NPC
getitem :
correct me if wrong :