MuWeb Shop Query Analizer Scripts

Results 1 to 7 of 7
  1. #1
    Enthusiast Bios is offline
    MemberRank
    Nov 2007 Join Date
    <? include('BIOS'); ?>Location
    27Posts

    Post MuWeb Shop Query Analizer Scripts

    Hi! I hawe write some WebShop scripts for Query Analizer!

    This script manage user credits (example):

    Code:
    update [MEMB_CREDITS] set [credits]=('1000') where [memb___id]=('Bios')
    This script will show you how much credits hawe from selected user (example):

    Code:
    select [credits] as QueryResult from [MEMB_CREDITS] where [memb___id]=('Bios')
    It's not a BIG JOB and if you don't need or don't like this script DON'T POST HERE!
    For beginners this scripts is necessary!


  2. #2
    Proficient Member serrinha is offline
    MemberRank
    Nov 2006 Join Date
    Santa Rita, ParLocation
    195Posts

    Re: [Release] MuWeb Shop Query Analizer Scripts

    to insert correct Isis Crystal and Flame of Condor in Savoy Webshop:

    Original, dont work for me:
    /* Isis Crystal */
    INSERT INTO [WebShop] (id,name,credits,X,Y,type,ex_type,str,agi,luck,skill,hasLevel,default_durability,nrg,cmd,hasOption,optionType,category,stickLevel,maxitop,maxitlv,maxitxl,cansellitem) VALUES (84,'Isis Crystal',0,1,2,14,-1,0,0,0,0,0,1,0,0,0,0,13,0,0,0,0,1);

    /* Condor Flame */
    INSERT INTO [WebShop] (id,name,credits,X,Y,type,ex_type,str,agi,luck,skill,hasLevel,default_durability,nrg,cmd,hasOption,optionType,category,stickLevel,maxitop,maxitlv,maxitxl,cansellitem) VALUES (85,'Condor Flame',0,1,2,14,-1,0,0,0,0,0,1,0,0,0,0,14,0,0,0,0,1);

    so change to:
    /* Isis Crystal */
    INSERT INTO [WebShop] (id,name,credits,X,Y,type,ex_type,str,agi,luck,skill,hasLevel,default_durability,nrg,cmd,hasOption,optionType,category,stickLevel,maxitop,maxitlv,maxitxl,cansellitem) VALUES (52,'Isis Crystal',0,1,2,12,-1,0,0,0,0,0,1,0,0,0,0,13,0,0,0,0,1);

    /* Condor Flame */
    INSERT INTO [WebShop] (id,name,credits,X,Y,type,ex_type,str,agi,luck,skill,hasLevel,default_durability,nrg,cmd,hasOption,optionType,category,stickLevel,maxitop,maxitlv,maxitxl,cansellitem) VALUES (53,'Condor Flame',0,1,2,12,-1,0,0,0,0,0,1,0,0,0,0,14,0,0,0,0,1);

    for me work fine...

    sry bad english.

  3. #3
    Account Upgraded | Title Enabled! Pinoyrealm is offline
    MemberRank
    Jan 2007 Join Date
    Walter MartLocation
    969Posts

    Re: [Release] MuWeb Shop Query Analizer Scripts

    This should be in guide section... Good scripter but not a good poster come on guys

  4. #4
    Member siikaisz is offline
    MemberRank
    Jan 2005 Join Date
    Riga, LatviaLocation
    72Posts

    Re: [Release] MuWeb Shop Query Analizer Scripts

    also in query analyzer we can run shortest way ^^
    Code:
    exec XCredits 'character',100

  5. #5
    Account Upgraded | Title Enabled! AdidasS is offline
    MemberRank
    Jun 2005 Join Date
    SumyLocation
    394Posts

    Re: [Release] MuWeb Shop Query Analizer Scripts

    Bios, ur script is bad, because it SET credit, don't UPDATED

  6. #6
    Account Upgraded | Title Enabled! Kudo^ is offline
    MemberRank
    Jul 2007 Join Date
    PortugalLocation
    425Posts

    Re: [Release] MuWeb Shop Query Analizer Scripts

    Quote Originally Posted by AdidasS View Post
    Bios, ur script is bad, because it SET credit, don't UPDATED
    What's the problem? Just modify it for your needs...

    Anyways, here is the done job:

    PHP Code:
    UPDATE MEMB_CREDITS SET Credits Credits+1000 WHERE memb___id='maxiline' 

  7. #7
    hmmm :D JaneX is offline
    MemberRank
    Jan 2005 Join Date
    918Posts

    Re: [Release] MuWeb Shop Query Analizer Scripts

    Quote Originally Posted by Kudo^ View Post
    What's the problem? Just modify it for your needs...

    Anyways, here is the done job:

    PHP Code:
    UPDATE MEMB_CREDITS SET Credits Credits+1000 WHERE memb___id='maxiline' 
    Hello sir, Do you mind if you could write a script that is similar in this quoted post but with required resets before + 1000 credits? like:

    if Resets != 0 , then give 1000 credit.

    thanks sir xD
    Last edited by JaneX; 04-03-10 at 06:17 AM.



Advertisement