Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 10.07.2007, 19:21   #1
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default [share] SQL First Character Bonus Adena + 2nd Class Q Items Auto Delivery

I have not shared anything in a while, so I figured I would do so since I found a few *slightly useful* things over the past month from other contributions.
YwcGGb,%-%K0KB/sL0ShLMHQRSe)io'.zRK)xn%1
I always give when I take :P

I modified the process when a new character is created;

1. First character on an account gets bonus adena to encourage new players
2. Second class quest items are auto delivered to all toons upon creation.

As always, with most of my shares, if you want the password, just PM me.

You must have shared something in the last 90 days on PP to get the password.

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
lin_CreateChar.rar — 1748 байт
Firedaemon is offline  
Old 10.07.2007, 21:38   #2
RiVaL
Архивный участник
 
Join Date: Apr 2007
Posts: 21
Default

Watch out Fire, Paul got pissed at me for making shares that are passworded. Deleted all my posts. =)
RiVaL is offline  
Old 10.07.2007, 22:06   #3
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

Great! I didn't know how to do this so I worked around it by giving all new characters a "packed item" that unpacks with X number of items when double clicked.

Wish I had this a few months back =) But it is still useful. Thanks
goodtimeshaxor is offline  
Old 10.07.2007, 22:45   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Not too hard really... basic SQL commands...

Something like that ...

Code:
DECLARE @item_type INT
DECLARE @amount INT

SET @item_type = 57
SET @amount = 100000

INSERT INTO user_item (char_id,item_type,amount,enchant,eroded,bless,ident,wished,warehouse) 
VALUES (@char_id,@item_type,@amount,0,0,0,0,0,0)
FidoW is offline  
Old 10.07.2007, 23:43   #5
Aida
Архивный участник
 
Join Date: May 2007
Posts: 69
Default

And here not simpler, you want all that to disfigure procedures of SQL. In setting.txt all is done far simpler and manipulating with classes is possible but not to pour everything in a heap.


setting.txt
Quote:
//플레이어가 처음 시작할 때 가지고 시작하는 장비 리스트
initial_equipment_begin
human_fighter={[squire's_sword];[dagger];[squire's_shirt];[squire's_pants];[tutorial_guide]}
human_magician={[apprentice's_wand];[apprentice's_tunic];[apprentice's_hose];[tutorial_guide]}
elf_fighter={[squire's_sword];[dagger];[squire's_shirt];[squire's_pants];[tutorial_guide]}
elf_magician={[apprentice's_wand];[apprentice's_tunic];[apprentice's_hose];[tutorial_guide]}
darkelf_fighter={[squire's_sword];[dagger];[squire's_shirt];[squire's_pants];[tutorial_guide]}
darkelf_magician={[apprentice's_wand];[apprentice's_tunic];[apprentice's_hose];[tutorial_guide]}
orc_fighter={[squire's_sword];[training_gloves];[squire's_shirt];[squire's_pants];[tutorial_guide]}
orc_shaman={[training_gloves];[apprentice's_tunic];[apprentice's_hose];[tutorial_guide]}
dwarf_apprentice={[union_member's_club];[dagger];[squire's_shirt];[squire's_pants];[tutorial_guide]}
initial_equipment_end
L2server.ini
test_2nd_class=on - ready GM shop with distribution of professions, one time on that business went
Aida is offline  
Old 10.07.2007, 23:46   #6
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

The problem with setting.txt is that you can' set quantity of an item...
m4rk is offline  
Old 11.07.2007, 18:04   #7
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

Quote:
Originally Posted by RiVaL View Post
Watch out Fire, Paul got pissed at me for making shares that are passworded. Deleted all my posts. =)
Well I have always made shares like that to prevent leechers from taking without giving.

Yes Fidow, it is simple, but time saving nonetheless for someone who wants it.
Firedaemon is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:50.