How to search your db for an ID?

Results 1 to 8 of 8
  1. #1
    Grand Master EvilRyu is offline
    Grand MasterRank
    May 2006 Join Date
    ScotlandLocation
    571Posts

    How to search your db for an ID?

    Hi.
    Im running my mangos server with latest sdb. Using sqlyog for db
    Everything works just fine, but if I wanted to say add a tiger mount, I can't figure out how to search for it using sqlyou.

    I don't know enough about sql to know how todo a query, and thats how you seem to search using sqlyog.

    If someone could explain how to search for an item or monster using a query, id be really greatful.


  2. #2
    Member raul.roland is offline
    MemberRank
    Jan 2007 Join Date
    RomaniaLocation
    77Posts
    Use MDH is simple and better

  3. #3
    Grand Master EvilRyu is offline
    Grand MasterRank
    May 2006 Join Date
    ScotlandLocation
    571Posts
    Quote Originally Posted by raul.roland View Post
    Use MDH is simple and better
    I tried mdh, but after inseerting the info it needed, it crashed saying something was wrong with a certain db table.

    But when I run the emu it's all good, not a single error at all, and yes I had mdh updated to the newest.
    Besideds, it would be handy to know how to search via query.

    But if you know why mdh would be giving me an error like that, but all tables in the db report fine then I would start using mdh.

  4. #4
    Elite Member cstk is offline
    Member +Rank
    Mar 2006 Join Date
    URC TuningLocation
    117Posts
    Just type in game .lookupitem/.look and .. that's it

    ex : .look sword

  5. #5
    Grand Master EvilRyu is offline
    Grand MasterRank
    May 2006 Join Date
    ScotlandLocation
    571Posts
    Quote Originally Posted by cstk View Post
    Just type in game .lookupitem/.look and .. that's it

    ex : .look sword
    o.O there is a command for that ingame, im very surprised.

    Im off to try that out, thnx and post result soon:)

  6. #6
    Grand Master EvilRyu is offline
    Grand MasterRank
    May 2006 Join Date
    ScotlandLocation
    571Posts
    Works like a charm.
    I just do .lookupitem $itemname and hey presto a list of items under that name, not sure if it works with cretures yet, but thnx alot!

  7. #7
    Banned Yamachi is offline
    BannedRank
    Oct 2006 Join Date
    Jolly EnglandLocation
    3,515Posts
    I may be wrong, but I think there is also a command to lookup creatures in MangOS. Just type .commands while ingame. Also, you can use phpmyadmin to search for a creature name, then get the ID from the search results.

  8. #8
    Grand Master EvilRyu is offline
    Grand MasterRank
    May 2006 Join Date
    ScotlandLocation
    571Posts
    Quote Originally Posted by Yamachi View Post
    I may be wrong, but I think there is also a command to lookup creatures in MangOS. Just type .commands while ingame. Also, you can use phpmyadmin to search for a creature name, then get the ID from the search results.
    Yamachi, I don't have phpadmin.
    I use: mysql5/sqlyog and run things that way, I don't have any phpadmin or www folder

    I would have to install other stuff for that, and I don't need it for now "only 4 players max"

    But thanks for the info.



Advertisement