ViP Players

JoyRo

New member
Messages
120
Points
0
Location
Netherlands
Emulator
Hello,

At my server i use a platinum coin as exchange for gm lvl 2 ( called ViP Player )

When they talk to a npc they deliver the coin and after relog they get gm status lvl 2.
Can i change that it only gives the status for 1 month?

 
Last edited by a moderator:
HAHAHAHA !!

I just reply a similar topic in rathena forum

https://rathena.org/board/topic/104040-

this topic is much simpler compare to that one

there is no need for the relog

@adjgroup trick can be use here

http://upaste.me/5e9422189014c2ddf

EDIT: .. erm ... someone name @@SEC here ...

have to use upaste ...
Thanx this is looking good than i have 1 more request.

When i became VIP with the account i also had the command

query_sql "insert into `account_data` (`account_id`, `base_exp`, `base_drop`) values ("+getcharid(3)+", 200, 200) ON DUPLICATE KEY UPDATE base_exp=VALUES(base_exp), base_drop=VALUES(base_drop);";

That wil give the vip player a 200% bonus on the exp and drops.

Is it posible to get the bonus exp also for 1 month when i activate vip player.

 
just add

ModExp = 200;ModDrop = 200;below @adjgroup 2and reset them to 100 below @adjgroup 0

 
I don't know if somethings wrong but when I tried this, all of the accounts got affected by the ModExp even if its not on #viptimeleft. lol. how does the ModExp/ModDrop and ModDeath exactly work? does it affect the whole server or? 
default_huh.png
 I'm using a newly cloned git. with just this script. 

oops my mistake. lol put those values at the after the wrong adjgroup

 
Last edited by a moderator:
just add

ModExp = 200;ModDrop = 200;below @adjgroup 2and reset them to 100 below @adjgroup 0
    if ( #viptimeleft )
        atcommand "@adjgroup 2";
        ModExp = 200;ModDrop = 150;
    end;
OnTimeUp:
    #viptimeleft = 0;
    atcommand "@adjgroup 0";
    ModExp = 100;ModDrop = 100;
    end;
}
stil dont work on EXP  / Drops

 
Back
Top