Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 24.02.2006, 18:28   #1
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default [share]Recipebook

So, first of all, i didn't test that, so i dunno if it will work .

In those files u can find npcdata for recipebook manager (w/o npcpos, i dunno how to make em good ;P ). Html for him and multisell. I think there should be a ai which will check if player is artisan or warsmith (i dunno make that too ).
So, player can trade all mats recipes to one item (recipebook), in which he can find all those recipes. There r four type of recipebooks. First includes all recipes needed to craft Dgrade, 2nd Cgrade and so.. to Agrade. Recipes id's was taken from some share named c3_recipes (or somethin like that.. search ). So file includes itemdata and htmls for those recipebooks. There r also client side files, but i'm not sure if they r ok.
So i wanna ask u: to check if is all ok, make npcpos,npcname,.. for that npc. And also ai, which will check proffesion. thx
and feel free to say, if it is poinless :P
Mattho is offline  
Old 24.02.2006, 18:31   #2
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

It's pretty good, but...
drzoom is offline  
Old 24.02.2006, 20:42   #3
kissas
Архивный участник
 
Join Date: Feb 2006
Posts: 2
Default

but?

Good share, many player are requesting that !!!
Any can confirm that work?
kissas is offline  
Old 24.02.2006, 20:53   #4
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

but... it is not as official
drzoom is offline  
Old 24.02.2006, 21:13   #5
Co0L
Архивный участник
 
Join Date: Dec 2005
Posts: 120
Default

Nice, but...
There is no changes in recipe.txt , it's mean that "Recipe: Leather" needed to craft "Leather" (for example)
Co0L is offline  
Old 24.02.2006, 21:49   #6
kissas
Архивный участник
 
Join Date: Feb 2006
Posts: 2
Default

Quote:
Originally Posted by drzoom
but... it is not as official
yes that is true
kissas is offline  
Old 24.02.2006, 21:53   #7
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

this share is only for dont carry all recipes ... only in one.. is great but.. retail system allows u to craft 1...10..50... 400 items of same recipe... for example... i need to craft 20 crafted leathers... with recipe book i can do it in one click... select quanty and craft ... and not press CREATE 20 times
but this is a great idea to carry all recipes...
i think isn't necesarry check proffesion ... item is not tradeable and not dropable... if other player carry this recipe he can't use... only read recipe if u use hami mod
FidoW is offline  
Old 24.02.2006, 21:56   #8
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

Quote:
Originally Posted by Co0L
There is no changes in recipe.txt
I don't think it is needed, cause from book's html r linked normal recipes. (like from normal recipe)

But maybe will be better if from book will be linked recipes htmls, cause now players can't see needed items, ...
i will try to link em by that way now
and post it here...
Mattho is offline  
Old 24.02.2006, 22:19   #9
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

So i remade htmls for recipebooks. Those htmls links recipes htmls. It is slowest for player to craft, but by that way he can see required items and MP consumption (hard word ).
Dunno what is best, so i left the old one in first post.
Mattho is offline  
Old 25.02.2006, 07:21   #10
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

hmm.. really nice try and effort here
definately like to see how this mod might grow...
it's a much needed item that players need and server admin neglect..
keep up the good work k?

out
Digital is offline  
Old 25.02.2006, 07:38   #11
Co0L
Архивный участник
 
Join Date: Dec 2005
Posts: 120
Default

Part of my recipe.txt:
Code:
recipe_begin	[mk_braided_hemp]	45	level=1	material={{[stem];5}}	catalyst={}	product={{[braided_hemp];1}}	npc_fee={{[rp_braided_hemp];1};{[adena];100}}	mp_consume=10	success_rate=100	item_id=2135	recipe_end
item with id=2135(Recipe: Braided Hemp) needed to craft Braided Hemp. I making similar solution of recipebook and I have a troubles with craft without changing recipe.txt . Secure way to solve this problem - duplicate recipes of resources in recipe.txt with changing ID to unique and item_id to ID of recipebook.
Sorry for my english ops:

Example of my uncompleted solution of recipebook:
Co0L is offline  
Old 25.02.2006, 11:51   #12
xarion
Архивный участник
 
Join Date: Sep 2005
Posts: 220
Default

Thanks for share.

Can anybody share ai for blacksmith_of_mamon?
xarion is offline  
Old 25.02.2006, 14:10   #13
Aikeleer
Архивный участник
 
Join Date: Jun 2005
Posts: 374
Default

Xarion, this topic is about a recipe book, not about your blacksmith. Use the search anyways.
Aikeleer is offline  
Old 25.02.2006, 14:16   #14
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

Co0L > that seems pretty nice.. if i understand right, with that u can craft one or ten of selected materials?
And how i can add img to html?

and about ids.. i dunno that recipes checking if u have a "recipe"
so ty for this info
So if u don't mind i can rewrite htmls to looks like urs (img + 1x/10x craft)
Or just share em to translate :P

And how u solve problem with adding recipes? (i mean for what/how player can obtain that book)
Mattho is offline  
Old 25.02.2006, 14:32   #15
xarion
Архивный участник
 
Join Date: Sep 2005
Posts: 220
Default

Quote:
Originally Posted by Aikeleer
Xarion, this topic is about a recipe book, not about your blacksmith. Use the search anyways.
Sorry but if you are looks to npcdata you can see that rpb_manager have ai parameter of blacksmith_mammon.
xarion is offline  
Old 25.02.2006, 14:46   #16
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

yea, true I used ai blacksmith_mammon, but i'm not sure i have it :P
Cause i dunno much about ai, and in some shares i saw that ai for basic traders (like mammon is)
I think u can use merchant_cgrade (or somethin like that) ai too (lux shop traders) but not sure about that..
Mattho is offline  
Old 25.02.2006, 14:48   #17
xarion
Архивный участник
 
Join Date: Sep 2005
Posts: 220
Default

all looks great, but i can`t open recipebook.
Server ok - no error.
xarion is offline  
Old 25.02.2006, 15:00   #18
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

hmm with that recipebook,... (especially that with 10/1 choice)
there r too many "actions" so won't be there that html exploit?
i dunno too much about it, but i think it was someth with too many links/actions/.. in one html..
cause there r 30 links 30x2= 60 (if there will be choice 1 or 10)
so if some1 know somethin about it post it pls ;P

If that will be problem i think it can be solved with more htmls for one book.. i mean first u choose if u will D,C,B or A recipes and than u can craft em...

EDIT: So, i'm working on recipes.txt, new etcitemgrp, and new book's htmls. In new htmls will be images(i hope), possibility to craft 1 or 10 units. And there will be also showed needed materials and MP. and thx Co0L for ideas (i hope it wouldn't mind that i using em)
Mattho is offline  
Old 26.02.2006, 07:24   #19
knife_sj
Архивный участник
 
Join Date: Feb 2005
Posts: 165
Default

i was who post C3 recipes...
i can make recipe book like Kool rp book if u want is a thing of 5 mins :P

could be 4 books of basic items:
1.)SSD, BSPD, SPD, Matts Lvl 1
2.)SSC, BSPC, SPD, Matts lvl 2
3.)same but for B grade items or lvl 6-7 Craft
4.)same but A items lvl 8

not ai needed... just a multisell that ask for all the recipes in the "book"
ex: 1: (SSD, BSPD, SPD, Matts Lvl 1) all this x1 and u buy the book...
but this just is to get some xtra spaces in wh (or inv) and some time

Example of Book
[img] Item [x1] [x10]

where [x1] is the link to the html of the normal recipe and
[x10] is the link to the html x10 rate result
ex: for
steel x1: 5 iron ore, 5 varnish mp: 10 (guess)
steel x10: 50 iron ore, 50 varnish mp: 100 (guess)

ill do it and post it in a few days... busy with castles geos now :P

Cya
knife_sj is offline  
Old 26.02.2006, 08:29   #20
Co0L
Архивный участник
 
Join Date: Dec 2005
Posts: 120
Default

To prevent HTML exploit, resources must be separated by level, I mean that with Recipebook B you can craft only B-resources and no C or D. item_id in recipe.txt must be linked to the certain recipebook.

Mattho, Good Luck
Co0L is offline  
Old 26.02.2006, 14:07   #21
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

yea, i'm doing it in separate HTMLS, only one book, where u can choose subbooks :P I think it is enough. And i don't want link recipes htmls. I think it slow the craft procedure, so i just link recipes. And in recipebook will be showed needed materials and MP.
Mattho is offline  
Old 26.02.2006, 14:27   #22
Co0L
Архивный участник
 
Join Date: Dec 2005
Posts: 120
Default

U mean, that will be added only one new item (Recipebook)?
Co0L is offline  
Old 26.02.2006, 15:57   #23
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

Basicly..
There will be 4 new items (for low lvl Dorfs).
Same as was in first pack. But now in recipebook htmls will be links to D,C,B and A grade materials htmls. Cause html bug :/
Mattho is offline  
Old 26.02.2006, 16:52   #24
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

not to spoil things but... hope this thread will be of some help

http://l2j.mookins.com/bb/thread.php...e833a644af9ad2
Digital is offline  
Old 27.02.2006, 05:28   #25
Co0L
Архивный участник
 
Join Date: Dec 2005
Posts: 120
Default

Mattho, Separately or with A-book, you can craft B-C-D?
Digital, Thanks, it's interesting
Co0L 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 19:57.