Page 1 of 1
Loading a char/shop
Posted: Tue Jan 19, 2010 6:35 am
by warfare
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision
Number: 3825
L2JDP Revision
Number: 6902
Greetings,
need to ask if is possible after creating a character, to load it from db as logging it as shop, instead of using a npc-shop/crafter.
For example, i have a dwarf created and i want to load it every time the server restarts, as online/offline private creation shop. Is it possible?
Regards
Re: Loading a char/shop
Posted: Wed Jan 20, 2010 10:49 am
by jurchiks
what you mean is saving offline shop/craft and loading after restart/shutdown?
it's possible, you need to save the shops in database and reload them after shutdown, but it will take more time to restart, and make the db weight more, also will take additional resources
Re: Loading a char/shop
Posted: Thu Mar 04, 2010 6:02 pm
by lap
you need to save the shops in database and reload them after shutdown
hi,
how can i do this ? because i'm really interested to get a crafter by this way.
thanks in advance,
regards.
Re: Loading a char/shop
Posted: Thu Mar 04, 2010 8:35 pm
by jurchiks
... check how recipe storing is done
Character.properties
# Store/Restore Dwarven Manufacture list
# Keep manufacture shoplist after relog
# Default: False
StoreRecipeShopList = True
follow it in source
Re: Loading a char/shop
Posted: Fri Mar 05, 2010 5:56 am
by lap
Code: Select all
# Store/Restore Dwarven Manufacture list# Keep manufacture shoplist after relog# Default: FalseStoreRecipeShopList = True
done, (i found that by myself how to keep manufacture shop list after 1 hour of search

)
but
what you mean with
follow it in source
could you explain me how to ? is there some java code to write ? because i don't know how a char can be loaded in "private creation shop" when the server restarts.
thanks in advance,
regards.
Re: Loading a char/shop
Posted: Fri Mar 05, 2010 9:55 am
by jurchiks
umm... do you even compile the server?
or you just dl the nightlies?
if it's the second one and you don't know a shit about java, don't bother
Re: Loading a char/shop
Posted: Fri Mar 05, 2010 10:03 am
by _DS_
lap wrote:because i don't know how a char can be loaded in "private creation shop" when the server restarts.
Not supported and no plans to support it due to security issues.
Re: Loading a char/shop
Posted: Fri Mar 05, 2010 4:18 pm
by lap
yes i'm newbie in l2j world, and know nothing about java.
i was just asking if possible or not to do this, so it's above my knowledges.
thanks all for your fast answers.
regards.