Jump to content

VipLib v1.4b + VipAdmin v1.3a [Updated]


Rafael

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

You're welcome :D

I'm going to college right now, bye =P.

@edit - Takumirai

Released new version. Just update VipLib and download the npc that adds tags: http://codepad.org/3nUfxrbW

If you can't access the link above, here is the code:

function    script    VIP_setPlayerTag    {
   set .prefix$, "[VIP] ";

   if (getcharid (3))
   {
       if (@VIP_UsingTag && !getgroupid())
       {
           atcommand "@fakename";
           set @VIP_UsingTag, 0;
       }
       else if (!@VIP_UsingTag && getgroupid() && $@AM_Vip_IsValidGroup[getgroupid()])
       {
           atcommand "@fakename " + .prefix$ + strcharinfo (0);
           set @VIP_UsingTag, 1;
       }
   }
   return;
}

-    script    VIP_setPlayerTag#init    -1,{
OnInit:
   set $@AM_Vip_CallOnRefresh$[getarraysize ($@AM_Vip_CallOnRefresh$)], "VIP_setPlayerTag";
   end;
}

Edited by Rafael
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

@Rafael

do you have version for eA? Thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

This actually infringes the copyright law. lol

Anyway, nicely done. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

@Will

Made it now (just adapted v1.2b): http://rafaworks.zzl.org/root/scripts/accountmanager/viplib/v1.2b.eA.txt

Use VipAdmin v1.1 instead of v1.2: http://rafaworks.zzl.org/root/scripts/accountmanager/npc/vipadmin/en.v1.1a.txt

Didn't test, if you find any bug please report.

@Valiente

What? O.o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   8
  • Joined:  01/09/12
  • Last Seen:  

It's a nice library.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

@Will

Made it now (just adapted v1.2b): http://rafaworks.zzl...ib/v1.2b.eA.txt

Use VipAdmin v1.1 instead of v1.2: http://rafaworks.zzl...in/en.v1.1a.txt

Didn't test, if you find any bug please report.

@Valiente

What? O.o

I mean it's like you are trying to encourage server owners to earn money from players by giving them VIP/Special Player status in exchange, which really does violate the copyright law (RO franchisers are the only ones, who are allowed to gain income from players). Having to earn money through this script really does violate it.

Anyway, it's not that I'm trying to scare you or anything, most of server owners do this anyway.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

if its counted with the donation system its not. if its a paid subscription then it is. dont know how it works but if its under the donation system its "help funding server".

thats what alot of owners say. mine is donation obtained and ingame so people that cant donate have a chance too

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

I have worked in a lot of servers, who actually use the money for their own personal gain.

Well, we're all not the same. A lot of RO server owners usually abuse the "Donation" term.

It really does make me sick, those servers are down now due to greediness and corruption.

And not trying to be rude, but most of them are Filipino servers.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

@Valiente

I understand what you are saying, but I don't agree. This script just let Game Masters move players to a special group for a specific time. How you use these groups, isn't exactly my problem/fault.

For example, last week I saw a server (I guess it's top2 in top200, but not sure) that gives VIP to players in exchange for a coin. This coin can be obtained in special events, minigames etc.

But how a system where only admins can activate the VIP could be used for something like this? First, you could reward players for bringing their guilds to your server, through this script. You could also organize events in your forums (or ingame events) and reward the winners. If someone contributes to your server (I'm not talking about money), you could also reward them with VIP. Second, VipLib allows anyone to make their own scripts. My topic in Cronus has some different scripts using VipLib (like "points for vip", "vip on first login", "itens that activate vip for a certain time" etc). I intended to translate all these scripts, but I started by VipAdmin (could have been any other of those scripts) and then just lost my will =/, because I really didn't intend to have to make all the scripts. I've developed this library so other people could make their own scripts (and share it). But it isn't what I'm seeing. I ended up having to develop all the scripts we have, nowadays, (shared) for the system. Just saw other people using it for commercial reasons. Like, "I have a client that asks me a VIP system with some features; there's a lib that will make my job easier, so let me use it". Yeah, I know it because, in the first releases, only those guys reported me the bugs of the lib (I released only VipLib first, only released the rest when I saw no one would share scripts based on this lib, so I needed to give it a reason rather then commercial usage).

But, sure, people can also use it to thank for donations. That's why these groups are also called "donaters". I know it looks like "selling", but it isn't totally. If a player helps your server, giving you suggestions, good scripts, good source modifications, new items etc, and it's ok to reward them with VIP, why isn't it when they help your server with money?

I know Game Masters use the money to other things, instead of the server. It's just one of the huge amount of possibilites you could do with this script. And, even in these cases, I think the GMs deserve the money. Follow me: you get $200 a month; you should use it for the server: maybe BUY some new scripts, or some new systems, buy some good ideas, or what else could make your server better. What if YOU develop the scripts, the systems, and YOU have the new ideas? Why can't you pay yourself with the money the server earned? Maybe this is totally wrong, but maybe it's not; if you are dedicating your time to the server, I think you deserve it.

You know I don't know English very well, so sorry for any mistake. If you can also point me the mistakes, so next time I can write it right, thank you =D.

@rafoka

Thanks =D

Edited by Rafael
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   0
  • Joined:  10/21/12
  • Last Seen:  

thanks for the update sir rafael :) good work!

~~~@rafael sir can u change the color of VIP tag name ? into Red or Orange? is that possible?

Edited by rotestserver
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

No, I guess it isn't possible without editing the client.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   0
  • Joined:  10/21/12
  • Last Seen:  

can you post a guide on how to change it? if your not busy :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

I don't know how. Probably would need to disassemble the hexed.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   0
  • Joined:  10/21/12
  • Last Seen:  

@rafael Ok sir thanks for the response! :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

VipAdmin updated. Only change: now, you input username, not account id.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  10/26/12
  • Last Seen:  

i hope i can use it i am planning to have a test server again :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  96
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

How to create vip ticket 7 day, 15 day, and other ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

Sample for 15 days:

30000,vip15,Ticket 15 Days VIP,2,1,,1,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc ("vip_add", 86400 * 15); },{},{}

The only thing that matters here is the script:

callfunc ("vip_add", 86400 * 15);

Just replace the "15" with the number of days.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  96
  • Reputation:   1
  • Joined:  03/07/12
  • Last Seen:  

Ok thk so much

Sample for 15 days:

30000,vip15,Ticket 15 Days VIP,2,1,,1,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc ("vip_add", 86400 * 15); },{},{}

The only thing that matters here is the script:

callfunc ("vip_add", 86400 * 15);

Just replace the "15" with the number of days

How to user can check time left VIP status

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

Talking to VipAdmin in prontera.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

Can i request VIP Shop, VIP Healer, VIP Broadcaster? Thank you

Edited by WillSuranol
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

Well, just give me the scripts and I'll just insert the restrictions...

Make a normal script become a VIP script is easy. Just put this in the beginning:

if (!getgroupid())
{
   mes "You are not VIP.";
   close;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   0
  • Joined:  10/21/12
  • Last Seen:  

@sir rafael, can you add categories in this? like example, normal vip, premium vip, gold vip. and also add some extra bonuses, for normal vip ( +10 all stats and 10%HP/SP) Premium vip (+15 all stats and 13%HP/SP) and gold vip ( +20allstats and 15%HP/SP). if its possible only.

thanks in advanced! :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

@rotest

I'm not sure if there is a way to do it. It would be necessary to have an event updating the stats, and there is no event that does it (I guess). So, I can't do it for you =(. What you could do is to create an item that gives different stats for different players, depending on their VIP group.

About the categories, if you explain me better where you want me to put it I can do.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...