![]() |
|
|
#1 |
|
Архивный участник
Join Date: Feb 2006
Posts: 21
|
in my server players start with 0 adena, so I want players to start with for example 5000 adena. Where should I put this value???
I found something in settings.txt initial_equipment_begin human_fighter={[squire's_sword];[dagger];[squire's_shirt];[squire's_pants]} human_magician={[apprentice's_wand];[apprentice's_tunic];[apprentice's_hose]} elf_fighter={[squire's_sword];[dagger];[squire's_shirt];[squire's_pants]} elf_magician={[apprentice's_wand];[apprentice's_tunic];[apprentice's_hose]} darkelf_fighter={[squire's_sword];[dagger];[squire's_shirt];[squire's_pants]} darkelf_magician={[apprentice's_wand];[apprentice's_tunic];[apprentice's_hose]} orc_fighter={[training_gloves];[squire's_sword];[squire's_shirt];[squire's_pants]} orc_shaman={[apprentice's_wand];[apprentice's_tunic];[apprentice's_hose]} dwarf_apprentice={[union_member's_club];[dagger];[squire's_shirt];[squire's_pants]} initial_equipment_end and I tried to add here like ;[adena]=5000; or ;{[adena];5000}; but didnt work. is this the right place? or where is the right place? and how to do that? Thx for help and know hat I really used searched many times... |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jun 2005
Posts: 374
|
Create another item that everyone gets, edit the tutorial AI so once you made your character the item will be traded in for 5k adena. You can do this if you know your way a bit in AI. Otherwise you can use the multisell and add a new item to the settings.txt that you can trade in for 5k.
|
|
|
|
|
#3 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 21
|
Quote:
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jan 2006
Posts: 82
|
you can, there is a sql procedure for creating char, so use it
|
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 21
|
Quote:
|
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Aug 2005
Posts: 113
|
probably lin2world, he? and probably something like lin_CreateCharacter or so. just browse the stored procs.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Feb 2006
Posts: 21
|
yeah I found it. its in lin2world and its name is lin_CreateChar
I put some INSERT INTO user_item code here and it worked but server console gave some error account.cpp 341 error connol load week play time it doesnt effect game play but does it grow bigger problems in db on following days and when the db gets bigger??? |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jul 2005
Posts: 242
|
it means the char is new so that it cant load week play time.. btw, making players start with adena.. imagine the amount new chars ur server will have just to take hands on the adena :]
|
|
|
|
|
#9 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 21
|
Quote:
And we created some chars before but there was no such an error. Can that error be harmful for db? |
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
Not for the DB, but for the rest of the server :P
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Jul 2005
Posts: 242
|
yes, people will make new chars for free adena.
About error, this is when it tries to calculate the time the player played on the week, but as the char is new, it can't load. This is not harmful |
|
|
|
|