![]() |
[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 |
It's pretty good, but...
|
but?
Good share, many player are requesting that !!! Any can confirm that work? |
but... it is not as official:(
|
Nice, but...
There is no changes in recipe.txt , it's mean that "Recipe: Leather" needed to craft "Leather" (for example) |
Quote:
|
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 |
Quote:
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... |
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 :D ).
Dunno what is best, so i left the old one in first post. |
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 |
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_endSorry for my english :oops: Example of my uncompleted solution of recipebook: http://img369.imageshack.us/img369/7269/recbook26hn.jpg |
Thanks for share.
Can anybody share ai for blacksmith_of_mamon? |
Xarion, this topic is about a recipe book, not about your blacksmith. Use the search anyways.
|
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) |
Quote:
|
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.. |
all looks great, but i can`t open recipebook.
Server ok - no error. |
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) |
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 |
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 :) |
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.
|
U mean, that will be added only one new item (Recipebook)?
|
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 :/ |
not to spoil things but... hope this thread will be of some help :)
http://l2j.mookins.com/bb/thread.php...e833a644af9ad2 |
Mattho, Separately or with A-book, you can craft B-C-D?
Digital, Thanks, it's interesting :) |
| All times are GMT. The time now is 15:27. |