How to give (Automatic) new registred Players Donate Items in Storage?

Results 1 to 9 of 9
  1. #1
    Enthusiast jordymisty is offline
    MemberRank
    Aug 2012 Join Date
    42Posts

    How to give (Automatic) new registred Players Donate Items in Storage?



    hehe i hope u can answer me Question: i think its very Simple but i forgot it.D

    How to give (Automatic) new registred Players Donate Items in Storage?

    ty everyone ;D


  2. #2
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: How to give (Automatic) new registred Players Donate Items in Storage?

    ahh i'll explain in short,
    you see INSERT INTO Account in register.php
    below that add INSERT INTO Accountitem .. .

    now use your brain and do it ! i gues nobody supports with full answer

  3. #3
    Enthusiast jordymisty is offline
    MemberRank
    Aug 2012 Join Date
    42Posts

    Re: How to give (Automatic) new registred Players Donate Items in Storage?

    u cant say it better :(

  4. #4
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: How to give (Automatic) new registred Players Donate Items in Storage?

    Quote Originally Posted by jordymisty View Post
    u cant say it better :(
    or u cant understand better?

  5. #5
    ❀◕ ‿ ◕❀ Zujirawa is offline
    MemberRank
    Aug 2004 Join Date
    凸(¬‿¬)凸Location
    473Posts

    Re: How to give (Automatic) new registred Players Donate Items in Storage?

    Quote Originally Posted by Ronny786 View Post
    ahh i'll explain in short,
    you see INSERT INTO Account in register.php
    below that add INSERT INTO Accountitem .. .

    now use your brain and do it ! i gues nobody supports with full answer
    Lol Ronny your are really Cruel!! hehehehe

    Jordymsty, As I remember hmm GO to the Database look for the account or Character >.> (I think I forgot it) LOL What to do. WTF!!

  6. #6
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: How to give (Automatic) new registred Players Donate Items in Storage?

    You could do it two ways. Since it's the account storage, I don't believe they need to have a character made yet. So you could do it by PHP, or edit the stored procedure for when they create a character. Probably easier by PHP

  7. #7
    Apprentice Zilziz is offline
    MemberRank
    May 2011 Join Date
    13Posts

    Re: How to give (Automatic) new registred Players Donate Items in Storage?

    Quote Originally Posted by jordymisty View Post


    hehe i hope u can answer me Question: i think its very Simple but i forgot it.D

    How to give (Automatic) new registred Players Donate Items in Storage?

    ty everyone ;D
    Simple,
    Add and edit this line under the INSERT Account data in your register page :
    mssql_query("INSERT INTO AccountItem (AID,ItemID,RentDate,RentHourPeriod,Cnt) VALUES ('HERE AID','ITEMID',GETDATE(),TIME IN HOURS,COUNT)");

  8. #8
    Proficient Member CoreAI is offline
    MemberRank
    Apr 2013 Join Date
    177Posts

    Re: How to give (Automatic) new registred Players Donate Items in Storage?

    Easily done lol, Ronny's method was perfect.

  9. #9
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: How to give (Automatic) new registred Players Donate Items in Storage?

    ZilZiz's way worked too but i think the best way would be to use how Ronny did it. That worked perfect for me.



Advertisement