gyroguevarra Posted November 16, 2013 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 107 Reputation: 1 Joined: 09/17/13 Last Seen: October 26, 2014 Share Posted November 16, 2013 Yung ganito Quote Link to comment Share on other sites More sharing options...
LuLu Posted November 16, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 398 Reputation: 131 Joined: 11/10/12 Last Seen: October 6, 2024 Share Posted November 16, 2013 make 2 items. 1. the real item 2. the item box make the script of the box with "rentitem" giving to real item with time. Quote Link to comment Share on other sites More sharing options...
gyroguevarra Posted November 16, 2013 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 107 Reputation: 1 Joined: 09/17/13 Last Seen: October 26, 2014 Author Share Posted November 16, 2013 Pano po ba yung script ng box? Newbie pa lang po ako Quote Link to comment Share on other sites More sharing options...
LuLu Posted November 16, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 398 Reputation: 131 Joined: 11/10/12 Last Seen: October 6, 2024 Share Posted November 16, 2013 (edited) Example: 12935,Infiltrator_Box,Infiltrator Box,18,20,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ rentitem 1267,604800; },{},{} rentitem <itemID>,<duration>; rentitem 1267,604800; read this for more info about rentitem [spoiler=rentitem]*rentitem <item id>,<time>;*rentitem "<item name>",<time>;Creates a rental item in the attached character's inventory. The item will expirein seconds and be automatically deleted. When receiving a rental item,the character will receive a message in their chat window. The character willalso receive warning messages in their chat window before the item disappears.This command can not be used to rent stackable items. Rental items cannot bedropped, traded, sold to NPCs, or placed in guild storage. (i.e. trade mask 75)Note: 'delitem' in an NPC script can still remove rental items. Edited November 16, 2013 by LuLu 1 Quote Link to comment Share on other sites More sharing options...
gyroguevarra Posted November 16, 2013 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 107 Reputation: 1 Joined: 09/17/13 Last Seen: October 26, 2014 Author Share Posted November 16, 2013 Nakagawa na po ako 22600,Sleipnir_Box,Sleipnir Box,18,20,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ rentitem 2410,604800; },{},{} Yan po. tapos po? nag @item po ako wala po nalabas Quote Link to comment Share on other sites More sharing options...
Patskie Posted November 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 12 hours ago Share Posted November 16, 2013 @reloaditemdb Quote Link to comment Share on other sites More sharing options...
gyroguevarra Posted November 16, 2013 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 107 Reputation: 1 Joined: 09/17/13 Last Seen: October 26, 2014 Author Share Posted November 16, 2013 Okay na po pero unknown item. Pano po ayusin yung unknown item? Quote Link to comment Share on other sites More sharing options...
Mau Posted November 16, 2013 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 120 Reputation: 3 Joined: 07/04/13 Last Seen: January 10, 2014 Share Posted November 16, 2013 hha edi punta ka sa itemdesctable,itemnum....,iteemdisplay.... itemslottable slotcountable ppala Quote Link to comment Share on other sites More sharing options...
LuLu Posted November 16, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 398 Reputation: 131 Joined: 11/10/12 Last Seen: October 6, 2024 Share Posted November 16, 2013 yep.need mo ilagay yan sa clientside data mo. Quote Link to comment Share on other sites More sharing options...
Patskie Posted November 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 12 hours ago Share Posted November 16, 2013 Edit your client files Quote Link to comment Share on other sites More sharing options...
gyroguevarra Posted November 16, 2013 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 107 Reputation: 1 Joined: 09/17/13 Last Seen: October 26, 2014 Author Share Posted November 16, 2013 (edited) Di ko makita yung itemdesctable and itemdisplay? Meron lang ako itemslotcounttalbe and itemslottable. Edited November 16, 2013 by gyroguevarra Quote Link to comment Share on other sites More sharing options...
LuLu Posted November 16, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 398 Reputation: 131 Joined: 11/10/12 Last Seen: October 6, 2024 Share Posted November 16, 2013 what client do you use? bka iteminfo.lua yan Quote Link to comment Share on other sites More sharing options...
gyroguevarra Posted November 16, 2013 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 107 Reputation: 1 Joined: 09/17/13 Last Seen: October 26, 2014 Author Share Posted November 16, 2013 2013-06-05Ragexe_patched yan po. Meron lang ako itemslotcounttalbe and itemslottable. Quote Link to comment Share on other sites More sharing options...
LuLu Posted November 16, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 398 Reputation: 131 Joined: 11/10/12 Last Seen: October 6, 2024 Share Posted November 16, 2013 yes. it's using iteminfo.lua.add mo dun ung mga clientside data.pra d unknown item no need na ung itemslotcounttalbe and itemslottable. Quote Link to comment Share on other sites More sharing options...
gyroguevarra Posted November 16, 2013 Group: Members Topic Count: 55 Topics Per Day: 0.01 Content Count: 107 Reputation: 1 Joined: 09/17/13 Last Seen: October 26, 2014 Author Share Posted November 16, 2013 Pano po yun sir? Di ko maisip pano sorry ngayon lang po ako nag ganito. Sa itemsinfo.lua na ko mag eedit? Okay na sir. Naayos ko na. TCG shop na lang problem ko sa ngayon. Quote Link to comment Share on other sites More sharing options...
Patskie Posted November 16, 2013 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 12 hours ago Share Posted November 16, 2013 I have made a simple dynamic shop last time. You can use this and post if any error occur : - shop dynamicshop -1,501:20000 prontera,150,150,0 script Dynamic Shop 100,{ callshop "dynamicshop",1; npcshopattach "dynamicshop"; end; OnBuyItem: for ( set .@j, 0; .@j < getarraysize(.items); set .@j, .@j + 2 ) { for ( set .@k, 0; .@k < getarraysize(@bought_nameid); set .@k, .@k + 1 ) { if ( @bought_nameid[.@k] == .items[.@j] ) { if ( checkweight( @bought_nameid[.@k], @bought_quantity[.@k] ) ) { if ( countitem(.currency) < .items[.@j+1] || countitem(.currency) < ( .items[.@j+1] * @bought_quantity[.@k] ) ) dispbottom "You don't have enough " +getitemname(.currency)+ " to purchase this item."; else { delitem .currency, .items[.@j+1] * @bought_quantity[.@k]; getitem @bought_nameid[.@k], @bought_quantity[.@k]; } } else dispbottom "You cannot carry out more items with you"; } } } deletearray @bought_quantity, getarraysize(@bought_quantity); deletearray @bought_nameid, getarraysize(@bought_nameid); end; OnInit: set .currency, 7227; // TCG is used to buy items setarray .items, 4001,5,7227,100; // Usage : <item id>,<price> npcshopitem "dynamicshop",0,0; for ( set .@i, 0; .@i < getarraysize(.items); set .@i, .@i + 2 ) npcshopadditem "dynamicshop",.items[.@i],.items[.@i+1]; end; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.