trackxart

Members
  • Content Count

    8
  • Joined

  • Last visited

About trackxart

  • Rank
    Newbie

Recent Profile Visitors

454 profile views
  1. //Base exp setbattleflag("base_exp_rate",[email protected]); After setbattleflag just use this with your message announce "[Floating EXP]: Event has started;
  2. Thanks I will try to edit. Another question is, all my items are in data, only this description is on iteminfo? I have itemInfo.lub and itemInfo_Sak.lub on my System folder.
  3. Hi, First you will need to create 3 custom item into your item_db 30044,VIP_Ticket_7,VIP Ticket 7D,2,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_TicketAddVip7"; },{},{} 30045,VIP_Ticket_15,VIP Ticket 15D,2,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_TicketAddVip15"; },{},{} 30046,VIP_Ticket_30,VIP Ticket 30D,2,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_TicketAddVip"; },{},{} Than you will need to make script with function to add their VIP, so you will need 3 functions here, F_TicketAddvip7, F_TicketAddVip15 and F_TicketAddVip. Function: Inside those function you can use something like these to add 30 days (you will need to duplicate this functions to make the 7 days and 15 days). function script F_TicketAddVip { Query_SQL "SELECT `days` FROM `viptable` WHERE `vipacc_id` = '"+GetCharID(3)+"'", [email protected]; if ([email protected] > 0) { Set [email protected], ([email protected] + 30); Query_SQL "UPDATE `viptable` SET `days`='"[email protected]+"' WHERE `vipacc_id`='"+GetCharID(3)+"'"; Query_SQL "SELECT `group_id` FROM `login` WHERE `account_id`='"+GetCharID(3)+"'", [email protected]; If ([email protected] < 1) Query_SQL "UPDATE `login` SET `group_id`='2' WHERE `account_id`='"+GetCharID(3)+"'"; } Else { Query_SQL "UPDATE `login` SET `group_id`='2' WHERE `account_id`='"+GetCharID(3)+"'"; Query_SQL "SELECT `userid` FROM `login` WHERE `account_id`='"+GetCharID(3)+"'", [email protected]$; Query_SQL "SELECT `email` FROM `login` WHERE `account_id`='"+GetCharID(3)+"'", [email protected]$; Query_SQL "INSERT INTO `viptable` (`vipacc_id`,`vip_id`,`days`,`email`) VALUES ('"+GetCharID(3)+"','"[email protected]$+"','30','"[email protected]$+"')"; } AtCommand "@reloadpcdb"; dispbottom "You received 30 days of VIP Account, congrats!"; specialeffect2 338; End; Return; } You will need this SQL CODE DROP TABLE IF EXISTS `viptable`; CREATE TABLE `viptable` ( `vipacc_id` int(11) unsigned NOT NULL default '0', `vip_id` varchar(255) NOT NULL default '', `days` int(11) NOT NULL default '0', `email` varchar(39) NOT NULL default '', PRIMARY KEY (`vipacc_id`), KEY `name` (`vip_id`) ) ENGINE=MyISAM; INSERT INTO `viptable` (`vipacc_id`, `vip_id`, `days`, `email`) VALUES ('1', 'VIP', '1', '[email protected]'); Dont forget to add the items into your DATA Folder with some sprite too. With this you will have your VIP system with 7,15 and 30 days. To custom aura you could use @Functor system, it's paid custom aura.
  4. Hi, My unidentified items are with korean description, I'm using 2012 hexed. Does anyone knows where can I edit this description? Thanks in advance
  5. You are awesome ❤️ I got one issue but I belive that's because I'm using older rev script:callfunc: function not found! F_InsertComma I removed the F_InsertComma and worked well Also had to put close; otherwise my char get stuck @HD = gettimetick(2) + [email protected]; close; end;
  6. Hi @Luciar, I failed miserably doing, but thanks for trying to help.
  7. Você pode usar o addon do pagseguro para o flux cp, nele o cash vai direto para conta do usuário e você não precisa fazer nada, além de configurar ele.
  8. Hi, I'm currently using a healer on my server and I was wondering if it's possible to show to players how much zenys people (all server) already waste healing (every heal costs 2000 zenys)? To show to people that one simple npc can remove zenys from the server. Thanks in advance