Aegis Support Board: Php Invalid Item Drop Checker - Aegis Support Board

Jump to content

ASB News! ASB 5.0 Beta V2 has now been released!. See here for more Info.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Php Invalid Item Drop Checker Check for invalid item names in script!

#1 User is offline   Peter 

  • Advanced Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 264
  • Joined: 30-October 03
  • Gender:Not Telling

Posted 18 April 2006 - 10:33 PM

Hello guys!

Ever had the annoying problem of having invalid items in your monmakingitem table, or your mvp table in the script DB?

Well here is a solution! This script will check for invalid item names, it will also check for duplicate item names, as well as duplicate ID's.

Download here

Configuration

sqlConfig.txt:

First Line: Hostname of SQL server
Second Line: Username for script DB
Third Line: password for script DB
Fourth Line: name of script DB

itemNameMapping.txt

This file is used to correct names from drops, I use this for importing monsters from other databases to my server, the first column (before the ->) is the original name, and the second part is the name in the database. When items are specified in here, an SQL query at the end will be displayed that will help you repair your database.

tableConfig.txt

Specify tables that have items in here, add new tables for new classes if needed, only up to advanced class is covered here by default (can be changed).

Example Output

C:\Aegis\checkItemsDb>php -q checkItemsDb.php
Duplicate Item Name detected (event) - Failure (7234)
Duplicate Item Name detected (event) - Failure (7234)
Duplicate Item Name detected (event) - Failure (7234)
Duplicate Item Name detected (event) - Failure (7234)
Duplicate Item Name detected (event) - Failure (7234)
Duplicate Item Name detected (guest) - job_karma (3134)
Invalid item name (monmakingitem) - Rotar_Zairo_Card (ROTAR_ZAIRO)
Invalid item name (mvp) - Solar_Bead (ARCHANGELING)
Invalid item name (mvp) - Solar_Bead (ARCHANGELING)
Invalid item name (mvp) - Grimtooth (DARK_LORD)
Invalid item name (mvp) - Solar_Bead (DOPPELGANGER)
Invalid item name (mvp) - Solar_Bead (DRACULA)
Invalid item name (mvp) - Two_hand_Ice (DRACULA)
Invalid item name (mvp) - Fashion_Sunglasses (EDDGA)
Invalid item name (mvp) - Two_hand_Dark (HOLLOW_PORING)
Invalid item name (mvp) - Solar_Bead (LORD_OF_DEATH)
Invalid item name (mvp) - Two_hand_Ice (LORD_OF_DEATH)
Invalid item name (mvp) - Loard_Circlet (ORC_LORD)
Invalid item name (mvp) - an_Eye_of_Dullah (OSIRIS)
Invalid item name (mvp) - Solar_Bead (SMOKING_ORC)
Invalid item name (mvp) - Solar_Bead (SMOKING_ORC)
Invalid item name (mvp) - Evangelist (TOAD)
Invalid item name (mvp) - Chef_Hat (VOCAL)
Invalid item name (mvp) - Two_hand_Fire (VOCAL)
0

#2 User is offline   ADDKiD 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 02-May 06

Posted 28 March 2007 - 02:11 AM

Sad, the links broken =(
0

#3 User is offline   kevloth 

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 02-November 06

Posted 29 March 2007 - 03:44 AM

Attached File  checkItemsDb.rar (3.56K)
Number of downloads: 30
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users