lgatoniolo Posted April 7, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 04/03/16 Last Seen: April 7, 2021 Share Posted April 7, 2016 (edited) Hello all, I really need help, I'm looking for 3 days and all the ways that I found did not solve my problem.I want to create a "VIP Pass" on my server and puts it in a Donation Shop.By clicking the " VIP Pass" the player must be sent to the VIP room ( sec_in01 ) in this room are the VIPs NPCs. This "VIP Pass" will last 30 days , after this period should be removed ( deleted ) of player account.NOTE : I found various threads here in the forum but none solved my problem.Could help me with the script and step by step to add it on server? NOTE: I'm using MySQL database.Thank you!!! Edited April 7, 2016 by lgatoniolo Quote Link to comment Share on other sites More sharing options...
0 Secrets Posted April 8, 2016 Group: Developer Topic Count: 36 Topics Per Day: 0.01 Content Count: 588 Reputation: 438 Joined: 01/26/16 Last Seen: Yesterday at 05:54 PM Share Posted April 8, 2016 Add these item db entry to your db/import/item_db.txt 50000,Secret_VIP_Pass_Box,Secret VIP Pass Box,2,20,,0,,,,,0xFFFFFFFF,63,2,,,,,,{ rentitem "Secret_VIP_Pass",2592000; },{},{} 50001,Secret_VIP_Pass,Secret VIP Pass,11,20,,0,,,,,0xFFFFFFFF,63,2,,,,,,{ warp "sec_in01",0,0; },{},{} Use @item 50000 in your server. If you get an "Unknown Item" apple, double click the apple. Now you'll get another "Unknown Item" apple. Double click that, it'll warp you to "sec_in01" map. If you can repeat these steps, you have added these items server-side. You can now add the item id 50000 into your donation shop. To add these items client-side to make it display as actual items (not apple) please follow this guideline on the wiki. https://rathena.org/wiki/Custom_Items Quote Link to comment Share on other sites More sharing options...
0 lgatoniolo Posted April 9, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 04/03/16 Last Seen: April 7, 2021 Author Share Posted April 9, 2016 Perfect secretdataz! I added the above lines in my item_db.txt , as you said appears the first apple "unknown item" (VIP BOX) and when I select it the second apple appears "unknown item" (VIP PASS) . When I select the second apple (VIP PASS) does not take me to the VIP room ( sec_in01 ). You know why? Thank you!!! Quote Link to comment Share on other sites More sharing options...
Question
lgatoniolo
Hello all,
I really need help, I'm looking for 3 days and all the ways that I found did not solve my problem.
I want to create a "VIP Pass" on my server and puts it in a Donation Shop.
By clicking the " VIP Pass" the player must be sent to the VIP room ( sec_in01 ) in this room are the VIPs NPCs.
This "VIP Pass" will last 30 days , after this period should be removed ( deleted ) of player account.
NOTE : I found various threads here in the forum but none solved my problem.
Could help me with the script and step by step to add it on server?
NOTE: I'm using MySQL database.
Edited by lgatonioloThank you!!!
Link to comment
Share on other sites
2 answers to this question
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.