Item database updater [PHP]

Results 1 to 6 of 6
  1. #1
    Member tampsu is offline
    MemberRank
    Nov 2006 Join Date
    58Posts

    Item database updater [PHP]

    Hello,

    This is just a small script to update whole DB at once, only items thought.. The corresponding box on the left side of a stat is a multiplier, set it to your liking, ex. 30 on str, 30 on agi and 45 on damage and all of your items will have 30x strenght, 30x agility and 45x damage

    20str -> 60str
    20agi -> 60agi
    1-2dmg -> 45-90dmg

    Block (normal) = Block on a gray/white item, so called "base" block of an item

    Block (bonus) = Bonus block
    Block value = Block value

    Edit "konffi.php" as instructed inside.

    Hopefully this helps someone as it has helped me and my friends a lot on our own server :)

    Proved working on MaNGOS 3.3.x and ytdb rev 56x may work on other versions as well.. Try it.

    The coding has been done in finnish language and by me, so incase you might have something you would like to know just ask me :)


    Download: ->clicky<-


    I'm a bit tired so I might have forgotten something but I read this forum regularly incase something was missed I'll most likely notice it soon enough.

    Hopefully you like it! =)


  2. #2
    Apprentice Kensington is offline
    MemberRank
    Apr 2008 Join Date
    22Posts

    Re: Item database updater [PHP]

    Nice idea, but executed badly.

    First of all, your php tags are in the wrong place within your index.php file, they have to be inside the html tags, otherwise the web browser displays it as a txt file.

    Even upon fixing that, it doesn't generate the 'form.php' file correctly.

    You'd be better off either creating an executable or having the page generate an SQL query that users can manually patch into their database.

  3. #3
    Member tampsu is offline
    MemberRank
    Nov 2006 Join Date
    58Posts

    Re: Item database updater [PHP]

    Well, it works just fine for me.. And worked nice for everyone I gave it to already so I don't know what you're complaining about..

  4. #4
    Apprentice Kensington is offline
    MemberRank
    Apr 2008 Join Date
    22Posts

    Re: Item database updater [PHP]

    Quote Originally Posted by tampsu View Post
    Well, it works just fine for me.. And worked nice for everyone I gave it to already so I don't know what you're complaining about..
    I'm not trying to be rude or anything, I'm simply stating that I couldn't get it to work, as whenever I try to run it, I get an error page.

  5. #5
    Account Upgraded | Title Enabled! Germo is offline
    MemberRank
    Jun 2007 Join Date
    248Posts

    Re: Item database updater [PHP]

    Hey looks like it works like you said, but iam getting this when i start the script.
    Notice: Undefined variable: tuloste in C:\xampp\htdocs\index.php on line 86

    Do you know what that means..?

    Chers
    Germo

  6. #6
    Novice Nerdzinhu is offline
    MemberRank
    Aug 2010 Join Date
    1Posts

    Re: Item database updater [PHP]

    you have a screenshot of this item?



Advertisement