PDA

View Full Version : Adding a new table in the database wtb help



Dimman
12-06-10, 06:12 PM
​Delete

*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)

Dimman
12-06-10, 08:24 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)

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

Dimman
13-06-10, 05:17 AM
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">

Dimman
13-06-10, 12:35 PM
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