Jump to content
  • 0

Using SQL Items


dragonflyy

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  03/20/12
  • Last Seen:  

I have just setup a clean renewal server. I can launch the server and connect to it with my client just fine. However, use_sql_db is set to no. I want to use SQL instead of the text files. When I change use_db_sql to yes, I get lots of errors from the console stating that items do not exists, such as all the renewal items. I checked my SQL tables, specifically item_db_re and it is populated. The item IDs it says do not exists, are in the tables.

There are also errors for mob_IDs not being found, but again they are in the SQL tables under mob_db_re. Is the server not reading from the tables properly?

Attached a screenshot of some of the item errors. This goes on for pages. The server still loads, can log in. When I do an @ii for one of the items, it returns as no item found. I'm not sure what to do here. I know the server is setup for renewal, when I turn off use_sql_db. everything works fine, even the renewal items.

roerrors.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  03/20/12
  • Last Seen:  

Those items were not in the sql table item_db, they are in item_db_re. However, after checking around in the source, I found that there is no refernce to the renewal SQL tables

In inter_athena.conf:

// Map Database Tables
buyingstore_table: buyingstores
buyingstore_items_table: buyingstore_items
item_table: item_db_re
renewal-item_table: item_db_re
item2_table: item_db2_re
renewal-item2_table: item_db2_re
item_cash_table: item_cash_db
item_cash2_table: item_cash_db2
mob_table: mob_db_re
renewal-mob_table: mob_db_re
mob2_table: mob_db2_re
renewal-mob2_table: mob_db2_re
mob_skill_table: mob_skill_db_re
renewal-mob_skill_table: mob_skill_db_re
mob_skill2_table: mob_skill_db2_re
renewal-mob_skill2_table: mob_skill_db2_re
mapreg_table: mapreg
sales_table: sales
vending_table: vendings
vending_items_table: vending_items
market_table: market
roulette_table: db_roulette

The entries for renewal-* are not present in the source code of the map server. The others are. I believe the server is not able to look into these tables. I changed the normal tables, item_db, mob_db, etc. to match the _re tables and it is working now. Not sure if I'm missing somethings because I am no longer using the base item_db table (and others like it) but for now I can run the server with no errors.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1529
  • Reputation:   234
  • Joined:  08/03/12
  • Last Seen:  

4 hours ago, dragonflyy said:

I have just setup a clean renewal server. I can launch the server and connect to it with my client just fine. However, use_sql_db is set to no. I want to use SQL instead of the text files. When I change use_db_sql to yes, I get lots of errors from the console stating that items do not exists, such as all the renewal items. I checked my SQL tables, specifically item_db_re and it is populated. The item IDs it says do not exists, are in the tables.

There are also errors for mob_IDs not being found, but again they are in the SQL tables under mob_db_re. Is the server not reading from the tables properly?

Attached a screenshot of some of the item errors. This goes on for pages. The server still loads, can log in. When I do an @ii for one of the items, it returns as no item found. I'm not sure what to do here. I know the server is setup for renewal, when I turn off use_sql_db. everything works fine, even the renewal items.

roerrors.png

Check in your itemdb... that item 19521,19513,19517 and others .. its it not there in itemdb renewal?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   2
  • Joined:  01/06/14
  • Last Seen:  

im facing thesame problem as this now when i load items/monster db.sql.
been searching around and this is the only related issue to mine that i found but there is no solution
or maybe im still not searching hard enough
but still i hope anyone can help solve this problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...