L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 02:00:39 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: New: Bebot Local Items database w/Icons!
Pages: 1 ... 3 4 [5] 6 7 8   Go Down
« previous next »
Print
Author Topic: New: Bebot Local Items database w/Icons!  (Read 10226 times)
0 Members and 1 Guest are viewing this topic.
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Re: New: Bebot Local Items database w/Icons!
« Reply #60 on: December 19, 2006, 08:23:33 AM »

Quote from: buff on December 19, 2006, 03:52:34 AM
downloaded jj's sql file but when tried to run it to mysql, it will give me error msg
not sure if it was just me or someone else got same problem?

As always, when you are having a problem and it gives an error message.... post the error message! We're not psychic Smiley
Logged

Eternalist
General of The Syndicate
Khalem
BeBot Founder
Administrator
Grandmaster
********
Offline Offline

Gender: Male
Posts: 670



WWW
Re: New: Bebot Local Items database w/Icons!
« Reply #61 on: December 19, 2006, 02:41:49 PM »

Quote from: buff on December 19, 2006, 03:52:34 AM
downloaded jj's sql file but when tried to run it to mysql, it will give me error msg
not sure if it was just me or someone else got same problem?

I'll bite, just cause i haven't had dinner yet Smiley

Sorry, i cannot find error msg "error msg" anywhere, are you sure the error msg you saw said "error msg"? Smiley

Anyways, as Malosar said, help us help you Smiley
Logged

BeBot Founder and Fixer Kingpin
Madman coder and destroyer of good code
Sammajos
Freshman
*
Offline Offline

Posts: 9


Re: New: Bebot Local Items database w/Icons!
« Reply #62 on: December 19, 2006, 04:08:12 PM »

so many Items on this SQL File are double inside.

#1062 - Duplicate entry '202920' for key 1



Edit: ok, i erase the Primary key for lowid and now is ok.
« Last Edit: December 19, 2006, 04:23:09 PM by Sammajos » Logged
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Re: New: Bebot Local Items database w/Icons!
« Reply #63 on: December 19, 2006, 04:41:02 PM »

Your supposed to drop the table before you import. It's a full dump, not a new items dump. Erasing the primary key will only slow down queries and cause problems with possible duplictes in future.
Logged

Eternalist
General of The Syndicate
Sammajos
Freshman
*
Offline Offline

Posts: 9


Re: New: Bebot Local Items database w/Icons!
« Reply #64 on: December 20, 2006, 03:20:19 PM »

Look at the SQL File pls and you will see, is not a Primary Key on it. I clear my Items Table and try, to put the SQL inside (without the First Line CREATE TABLE IF NOT EXISTS items (lowid INT, highid INT, lowql INT, highql INT, name VARCHAR(50), icon INT) and become so many Error Message.

And you have some items double inside. Example: In Line 84 is this:

INSERT INTO items VALUES (166277, 166274, 1, 200, "% Add.Rad. Dam. Jobe Cluster - Shiny (Right-Hand)", 36018);

in Line 94 is this:

INSERT INTO items VALUES (166277, 166278, 1, 200, "% Add.Rad. Dam. Jobe Cluster - Shiny (Right-Hand)", 36018);

Primary Key on low id make the Error Message.

Thats the Problem on some other Items.

Sorry for my bad English. I hope, someone can understand me.
« Last Edit: December 20, 2006, 03:23:15 PM by Sammajos » Logged
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Re: New: Bebot Local Items database w/Icons!
« Reply #65 on: December 20, 2006, 03:50:49 PM »

How are you clearing your items db? Are you doing a truncate or drop? If it's just a truncate then it's probably keeping a primary key which you might have had on your old table. It probably should have a primary key anyway so it's best to drop the table and edit the sql file to set the id as primary key and let it do it's thing?
Logged

Eternalist
General of The Syndicate
pusikas
Experienced
****
Offline Offline

Posts: 161


Re: New: Bebot Local Items database w/Icons!
« Reply #66 on: December 20, 2006, 08:50:29 PM »

I can't seem to download the Items.php file from the first post. Is the URL outdated? Takes ages for me, then get a timeout. Or maybe it's just my ISP again...
Logged

Luuv  Bot-Keeper of Vengeance ^^*
Dabaron
Apprentice
***
Offline Offline

Gender: Male
Posts: 145


Re: New: Bebot Local Items database w/Icons!
« Reply #67 on: December 27, 2006, 03:40:59 AM »

One other issue I was seeing is that some of the entries are unable to be added due to name field being too short (no clue how its hitting over 50 characters) per the message I was getting when importing it.  No clue why, but even if I increase the length I still get an error (even went as far as varchar(100))

Edit:
Looked back at old one and it was at 250 so modified this to that and seems to have fixed problem   Wink
« Last Edit: December 27, 2006, 04:11:53 AM by Dabaron » Logged
boogyman
Freshman
*
Offline Offline

Posts: 10


Re: New: Bebot Local Items database w/Icons!
« Reply #68 on: December 27, 2006, 04:52:07 PM »

Quote from: pusikas on December 20, 2006, 08:50:29 PM
I can't seem to download the Items.php file from the first post. Is the URL outdated? Takes ages for me, then get a timeout. Or maybe it's just my ISP again...


I too am having troubles getting this file.

any ideas as to what or where we could get it???
Logged
Xenixa
BeBot Contributor
Expert
*******
Offline Offline

Posts: 307



Re: New: Bebot Local Items database w/Icons!
« Reply #69 on: December 29, 2006, 05:36:21 AM »

Quote from: boogyman on December 27, 2006, 04:52:07 PM
Quote from: pusikas on December 20, 2006, 08:50:29 PM
I can't seem to download the Items.php file from the first post. Is the URL outdated? Takes ages for me, then get a timeout. Or maybe it's just my ISP again...


I too am having troubles getting this file.

any ideas as to what or where we could get it???

Sorry, my PC I ran my FTP server on got a bad case of the "lets blow up the Memory sticks-itus". Working on getting it back up and running. I'll see if I can find some free hosting space else were for the files I served.
Logged

<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky
pusikas
Experienced
****
Offline Offline

Posts: 161


Re: New: Bebot Local Items database w/Icons!
« Reply #70 on: December 29, 2006, 07:18:30 AM »

Can you attach them? I think up to 5MB should work. Rename them to .txt or zip and then attaching them?
Logged

Luuv  Bot-Keeper of Vengeance ^^*
Malosar
Expert
*****
Offline Offline

Posts: 259


WWW
Re: New: Bebot Local Items database w/Icons!
« Reply #71 on: December 29, 2006, 09:11:17 AM »

Is this what your after?
Logged

Eternalist
General of The Syndicate
Xenixa
BeBot Contributor
Expert
*******
Offline Offline

Posts: 307



Re: New: Bebot Local Items database w/Icons!
« Reply #72 on: December 31, 2006, 04:33:20 AM »

My FTP server should be up and running again. May take a bit for the URL to reprop across DNS servers since it went inactive.

BTW, wanted to say thanks to those that kept up with updating the items.sql and also give a friendly pointer. Replace INSERT INTO statements with REPLACE INTO and you won't have to drop tables. Smiley
Logged

<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky
shilli
Freshman
*
Offline Offline

Posts: 5


Re: New: Bebot Local Items database w/Icons!
« Reply #73 on: January 13, 2007, 03:04:21 AM »

hey i have some prob  with boss_loot /boss_name wen i post in chat bossname   Afreet Ellis   i get the bossname up and loc but loot is empty  i have the items db local and i get this error msg

this is from my db(boss-id 1      item-id 1
                         Afreet Ellis    245738)
MySQL error (# 0) on query: SELECT itemid FROM boss_loot WHERE bossid = '1'
Unknown column 'itemid' in 'field list'

Warning: Invalid argument supplied for foreach() in C:\Documents and Settings\ma
rius\Skrivebord\BeBot_0.2.10\modules\boss.php on line 69


« Last Edit: January 13, 2007, 09:23:58 AM by shilli » Logged
Xenixa
BeBot Contributor
Expert
*******
Offline Offline

Posts: 307



Re: New: Bebot Local Items database w/Icons!
« Reply #74 on: January 13, 2007, 07:34:28 AM »

Looks like there is no item-id column in your Boss_Loot Table according to that error.
Logged

<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky
Pages: 1 ... 3 4 [5] 6 7 8   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > Modules for older versions > 0.2.x Custom/Unofficial Modules > Topic: New: Bebot Local Items database w/Icons!
« previous next »
 
Jump to:  

Recent
Change text in remember "...
by gerborg
[November 21, 2008, 05:14:57 PM]

Log playtime from buddys ...
by Temar
[November 20, 2008, 10:33:57 AM]

Vote Core module and Simp...
by Temar
[November 19, 2008, 09:26:52 AM]

Restrict access for one m...
by Organizer
[November 19, 2008, 03:21:19 AM]

Custom / Revised Modules ...
by Elesar1
[November 17, 2008, 03:51:46 PM]

TWC
by Temar
[November 16, 2008, 11:39:12 AM]

Are there any FUN modules...
by Elesar1
[November 15, 2008, 07:39:15 PM]

Call to a member function...
by exxie
[November 15, 2008, 09:29:31 AM]

Ported Modules
by Alreadythere
[November 14, 2008, 06:10:07 PM]

cURL and other non-defaul...
by Temar
[November 14, 2008, 04:11:44 PM]
Stats
Members
Total Members: 1235
Latest: DDDepressionnn
Stats
Total Posts: 11037
Total Topics: 1496
Online Today: 18
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 0
Guests: 24
Total: 24

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.272 seconds with 29 queries. (Pretty URLs adds 0.048s, 4q)
Loading...