Tales Posted July 4, 2015 Group: Members Topic Count: 163 Topics Per Day: 0.03 Content Count: 319 Reputation: 8 Joined: 02/05/12 Last Seen: January 11, 2016 Share Posted July 4, 2015 Only this... I'm trying to get 7 days vip and the server shows "Debug on npc" and nothing more... dali,119,80,5 script Pegue VIP 110,{ vip_time 10080,"+strcharinfo(0)+"; } Quote Link to comment Share on other sites More sharing options...
Elsa Mist Posted July 4, 2015 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 387 Reputation: 60 Joined: 10/08/13 Last Seen: July 14, 2022 Share Posted July 4, 2015 Only this... I'm trying to get 7 days vip and the server shows "Debug on npc" and nothing more... dali,119,80,5 script Pegue VIP 110,{ vip_time 10080,"+strcharinfo(0)+"; } where is your close/end command? 1 Quote Link to comment Share on other sites More sharing options...
Tales Posted July 4, 2015 Group: Members Topic Count: 163 Topics Per Day: 0.03 Content Count: 319 Reputation: 8 Joined: 02/05/12 Last Seen: January 11, 2016 Author Share Posted July 4, 2015 I put this code only for test... But all my vip system aren't work... My itens that give vip 24298,Vip_7,7 Dias Vip,0,50,,0,,,,,0xFFFFFFFF,63,2,,,,,,{ if (getgroupid() == 2) {delitem 24298,1;} vip_time 60*24*7,strcharinfo(0); dispbottom "Você recebeu 7 dias VIP."; },{},{}My Events...My Npcs... Nothings happens... Just the "Debug at Npc" [DEBUG]: Source (NPC): Quote Link to comment Share on other sites More sharing options...
Lelouch vi Britannia Posted July 4, 2015 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 715 Reputation: 84 Joined: 01/05/12 Last Seen: April 10, 2023 Share Posted July 4, 2015 @vip <time> <player name> Adds or removes VIP time from the specified player. Time parameter format is +/-<value> to alter. y/a = Year, m = Month, d/j = Day, h = Hour, n/mn = Minute, s = Second. Ref: https://rathena.org/board/topic/89848-official-vip-system/ Examples: // VIP Tickets 23300,VIP_Ticket_1_day,VIP Ticket [1 day],2,10000,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ atcommand "@vip +1d/j "+strcharinfo(0)+""; },{},{} 23301,VIP_Ticket_7_day,VIP Ticket [7 day],2,10000,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ atcommand "@vip +7d/j "+strcharinfo(0)+""; },{},{} 23302,VIP_Ticket_15_day,VIP Ticket [15 day],2,10000,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ atcommand "@vip +15d/j "+strcharinfo(0)+""; },{},{} 23303,VIP_Ticket_30_day,VIP Ticket [30 day],2,10000,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ atcommand "@vip +1m "+strcharinfo(0)+""; },{},{} Quote Link to comment Share on other sites More sharing options...
Toshiro Posted July 4, 2015 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 106 Reputation: 29 Joined: 11/08/11 Last Seen: 2 hours ago Share Posted July 4, 2015 I can canform the VIP system seems to be not working (anymore) at all. Even though @vip displays the remaining time, the VIP status is not saved, and vip_status and vip_time just seem to do nothing. Only this... I'm trying to get 7 days vip and the server shows "Debug on npc" and nothing more... dali,119,80,5 script Pegue VIP 110,{ vip_time 10080,"+strcharinfo(0)+"; } The debug output you got was caused because you were trying to use a player named +strcharinfo(0)+ (you either forgot the second " at the beginning and end, or have to remove "+ +" at all) who was not online. Quote Link to comment Share on other sites More sharing options...
Tales Posted July 4, 2015 Group: Members Topic Count: 163 Topics Per Day: 0.03 Content Count: 319 Reputation: 8 Joined: 02/05/12 Last Seen: January 11, 2016 Author Share Posted July 4, 2015 The server's is not save the VIP TIME on MySql, its a source bug? Quote Link to comment Share on other sites More sharing options...
SamMee Posted July 4, 2015 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 11 Reputation: 4 Joined: 12/03/11 Last Seen: October 25, 2023 Share Posted July 4, 2015 (edited) VIP system is not working right now. Server source bug!!!!!... Edited July 4, 2015 by yuranansam Quote Link to comment Share on other sites More sharing options...
Tales Posted July 4, 2015 Group: Members Topic Count: 163 Topics Per Day: 0.03 Content Count: 319 Reputation: 8 Joined: 02/05/12 Last Seen: January 11, 2016 Author Share Posted July 4, 2015 ARGGGGGGGGGGGGGGGGGGGGBub Confirmed. Quote Link to comment Share on other sites More sharing options...
Elsa Mist Posted July 4, 2015 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 387 Reputation: 60 Joined: 10/08/13 Last Seen: July 14, 2022 Share Posted July 4, 2015 The server's is not save the VIP TIME on MySql, its a source bug? VIP system is not working right now. Server source bug!!!!!... try update your git... its working on me. Quote Link to comment Share on other sites More sharing options...
SamMee Posted July 4, 2015 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 11 Reputation: 4 Joined: 12/03/11 Last Seen: October 25, 2023 Share Posted July 4, 2015 The server's is not save the VIP TIME on MySql, its a source bug? VIP system is not working right now. Server source bug!!!!!... try update your git... its working on me. Step 1 Update GIT Next Step 2: config enable VIP System Next Step 3: Compiling server Next Step 4: insert ID 'darksam3' on phpmyadmin Next Step 5: Test ID 'darksam3' Next Step 6: Next Step 7: Next Step 8: Next Step 9: Next Step 10: Next Step 11: relogin Next Step 12: after relogin Server change group_id in SQL to is 0 and vip_time is 0 Code NPC For Test VIP System new_1-1,53,117,3 script VIP 90,{ if (vip_status(1)) { mes "VIP";} else { mes "non-VIP";} mes "VIP Status : " + vip_status(1); mes "VIP Expire : " + vip_status(2); mes "VIP Time Remaining : " + vip_status(3); atcommand "@vip +1d/j "+strcharinfo(0)+""; next; if (vip_status(1)) { mes "VIP";} else { mes "non-VIP";} close2; openstorage; end; } VIP System is not working now!!!!!!! 1 Quote Link to comment Share on other sites More sharing options...
SamMee Posted July 12, 2015 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 11 Reputation: 4 Joined: 12/03/11 Last Seen: October 25, 2023 Share Posted July 12, 2015 Fix Bug Vip Systemfix scr files 'scr/char/char_mapif.c'Find or Go To Line '737' if (operation == 2) { timediff = RFIFOL(fd, 32); val1 = RFIFOL(fd, 36); } else if (operation == 7) sex = RFIFOB(fd, 32); RFIFOSKIP(fd,44); Replace if (operation == 2) { timediff = RFIFOL(fd, 32); val1 = RFIFOL(fd, 36); } else if (operation == 6){ timediff = RFIFOL(fd, 32); val1 = RFIFOL(fd, 36); } else if (operation == 7) sex = RFIFOB(fd, 32); RFIFOSKIP(fd,44); Save and recompileFix VIP System is Working!! 1 Quote Link to comment Share on other sites More sharing options...
Tales Posted July 12, 2015 Group: Members Topic Count: 163 Topics Per Day: 0.03 Content Count: 319 Reputation: 8 Joined: 02/05/12 Last Seen: January 11, 2016 Author Share Posted July 12, 2015 Reference? Quote Link to comment Share on other sites More sharing options...
SamMee Posted July 12, 2015 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 11 Reputation: 4 Joined: 12/03/11 Last Seen: October 25, 2023 Share Posted July 12, 2015 Reference? I have tested pass 100%. 1 Quote Link to comment Share on other sites More sharing options...
Question
Tales
Only this... I'm trying to get 7 days vip and the server shows "Debug on npc" and nothing more...
Link to comment
Share on other sites
12 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.