View Full Version : Adding a new table in the database wtb help
*Alexz*
12-06-10, 07:33 PM
Do you mean your gonna like add a table named custom items that works just like items?
if so its very easy =P
The table has to be the same exact structure as the items table frist off
Thennn you open world.conf
Ctrl+f
LoadAdditionalTables="">
and add the table inside the ""
(for more than one table you separate with commas)
(Not sure if this is in old versions but should be =P)
Do you mean your gonna like add a table named custom items that works just like items?
if so its very easy =P
The table has to be the same exact structure as the items table frist off
Thennn you open world.conf
Ctrl+f
LoadAdditionalTables="">
and add the table inside the ""
(for more than one table you separate with commas)
(Not sure if this is in old versions but should be =P)
I already done that, but i can't reload the table or add items from it. Doesent it require Core edit ? :S
*Alexz*
12-06-10, 08:33 PM
Hmm now sure a few months ago mesox (from whydb) told me i didnt have to edit the core (he explained to me how to do it then i asked if it needs core edts)
Also dose the table load fine on server start up or are there errors? Because that could be the problem
Hmm now sure a few months ago mesox (from whydb) told me i didnt have to edit the core (he explained to me how to do it then i asked if it needs core edts)
Also dose the table load fine on server start up or are there errors? Because that could be the problem
No it aint loading it :S
Config:
<Startup Preloading = "0"
BackgroundLootLoading = "1"
EnableMultithreadedLoading = "1"
LoadAdditionalTables="custom_items">
http://i45.tinypic.com/14lpwye.png
*Alexz*
13-06-10, 11:39 AM
Opps sorry my bad should be
LoadAdditionalTables="custom_items items">
Opps sorry my bad should be
LoadAdditionalTables="custom_items items">
Its working
*Alexz*
13-06-10, 12:37 PM
Yea you would need to edit the core ill take a look at it and see if i can wright a code for it =P
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.