Server Help

Bot Questions - Buy plugin

Anonymous - Thu Jul 22, 2004 5:11 pm
Post subject: Buy plugin
Can someone make me a buy plugin? Not the ones when you buy it, die, and lose it. I need one that when you buy the item, you keep it forever until a bot op resets it.
Dr Brain - Thu Jul 22, 2004 6:07 pm
Post subject:
Do it yourself. It's not as easy as it sounds.
Anonymous - Thu Jul 22, 2004 6:16 pm
Post subject:
I don't know how
CypherJF - Thu Jul 22, 2004 7:34 pm
Post subject:
bummers :/

Dr Brain would know how hard it is icon_wink.gif
Slowking Man - Fri Jul 23, 2004 3:09 am
Post subject:
There's already one for Catid's MERVBot. Go to his site and search for InvBot.
Anonymous - Fri Jul 23, 2004 8:40 am
Post subject:
I said a permanent buy plugin.. not the one that loses it after death
Solo Ace - Fri Jul 23, 2004 9:28 am
Post subject:
What do you "need" it for?
Anonymous - Fri Jul 23, 2004 3:49 pm
Post subject:
zone
Anonymous - Fri Jul 23, 2004 4:58 pm
Post subject:
I believe 50% Packetloss has a buy plugin.. he made one for Mystic Kingdom I believe
D1st0rt - Sat Jul 24, 2004 5:32 pm
Post subject:
theres a TM Mer edit 50% made that saves
Anonymous - Sat Jul 24, 2004 11:56 pm
Post subject:
site?
CypherJF - Sun Jul 25, 2004 12:45 am
Post subject:
mervbot.com
Solo Ace - Sun Jul 25, 2004 9:51 am
Post subject:
HELP! wrote:
zone

What else did you think I thought you *need* it for? icon_rolleyes.gif
I wanted to know which one, but whatever.
Anonymous - Tue Jul 27, 2004 10:01 pm
Post subject:
For the Plugin: TM-Mer edits [04/07/04] ... how come when I unzip creds-mer.zip, points-mer.zip, and ship save.zip , ... everyone of the files gives a buy.ini .. do I just use one of them?
Anonymous - Thu Jul 29, 2004 2:18 pm
Post subject:
Anyone want to help me edit the Plugin: TM-Mer edits [04/07/04] ?
I want it so that when you !buy your item, you can !sell your item, a
!sellprivaction= , and !sellvalue

EX> [Item1]
Name=Repel
Description=Repel
Value=1000
ParamRequired=True
PrivAction0=Item Repel bought for 1000 credits.
PrivAction1=*prize #21
PubAction0=
*EXTRA*
!sellvalue=500
!sellprivaction0=Item Repel sold for 1000 credits.
!sellprivaction1=*prize -#21
D1st0rt - Thu Jul 29, 2004 6:56 pm
Post subject:
from what I understand of how it works, if you do the sell function right you wont need any of that. In the sell command just say ____ Sold for ____, and remove that prize from the list of prizes to be given out.
Anonymous - Thu Jul 29, 2004 11:07 pm
Post subject:
huh?
D1st0rt - Sun Aug 01, 2004 12:05 pm
Post subject:
Not Needed:
HELP! wrote:

*EXTRA*
!sellvalue=500
!sellprivaction0=Item Repel sold for 1000 credits.
!sellprivaction1=*prize -#21


Just an example of what you could do,
Code: Show/Hide

else if(c->check("sell"))
{
    String param;
    param = c->final;
    name = param.split(' ');
    StoreItem *t = FindItem(name.msg);

    if (!t)
    {
        sendPrivate(p, "Unknown item");
        return;
    }

    Credit(t->Value / 2, p->name);

    String msg;
    sprintf(msg,"Item %s sold for %d credits",t->Name, t->Value / 2);
   

Hold on for the next part, I'm still working on it, but basically:

Anonymous - Tue Aug 17, 2004 6:35 pm
Post subject:
Please show the example ini text fot Tm_mer edits, points-buy.dll.
not only it doesnt sell properly, but it also doesnt do anything when you type !buy. Also..none of the other tm_mer edit plugins work for me new_let_it_all_out.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group