![]() |
[Share] Small client patch for view mob drop/spoil in game
This is a small php script for generate client *.dat files with mob drop/spoil info for viewing in game.
Information for this patch is read from l2dp database, but little having remade script, possible take information from npcdata.txt straight. This is not my idea, i simply modified it :) new werison of patch placed on post https://postpacific.mmorpg-game.onli...r=asc&start=30 P.S. Sorry my bad english :) |
Great idea! ;)
This will help players a lot! |
Gaikotsu:
Wow, very nice! Thank you for share, Gaikotsu! I'll try it today. ^_^ //rus ВыглÑдит очень клаÑÑно! Молодчина, что и могу Ñказать. :) |
Quote:
|
Gaikotsu:
On this forum use a UTF8, not CP-1251 encoding! //sorry for offtop// |
Quote:
|
Gaikotsu:
Script is not full... This script is need db, with table 'drops', but i can't find it... This error is appear, when I launch your script (dbuname, dbpass and dbhost is edited, as dbname i set 'Lin2world', is this correct?): I use php4+apache1.3.33+mssql2000 with last servicepack. Code:
Connect to database...Write data... |
Quote:
didnt test it, but maybe he's talking about l2jdp... |
But l2jdp is work on with MySQL, not with MSSQL...
I need an version of script, to work on with npcdata.txt. I know about php too little... And I can't remade it. |
Share plz your l2db base backup. :D
|
ahh.. i finally understand what his trying to say :P
it reads off client dat files for monster currently in view? then using the name goes into l2datapack and retrieve the drop information and shows it in a window in the client.. nice idea really.. too bad we cant get the actual drop info from l2 off.. else..... ;) u know what i meant eh? |
Yes we can get drops from npcdata file, is very simle, if i get free min i will write php script for it and post here.
Gaikotsu can you post the structure of you drop table? |
Wait 1-2 days, iI shall write version, not using databases, but using only npcdata.txt
|
actually digital it just create a new passive skill called "drop" for every monster.
Everything is in client files. |
hmm it seems nice but...
how do i use it? |
i'll wait for easyiest script^^
|
Here is the script to make db of drops from npcdata.txt , i dont know strukture of Gaikotsu table is diferent from main table and Gaikotsu script need to be remaked or main.
Step1: Creat tables from npcedit[1].sql.gz work whit mysql Step2: Edit config.php Insert your npcdata.txt in the same directory wher is the script Step3: Launche the script dropstomysql.php And that is you have you current drops in mysql database. |
pompinis:
$result=mssql_query("..."); As you see, this script is connecting to MSSQL, not in MySQL... |
Quote:
|
Many of these errors is appear... :(
Code:
Total NPC's: 3868 |
Quote:
|
can someone share npcgrp or what file it from PPC npcdata? :)
|
pompinis:
Thanks, I manualy find this problem. Check your chance in table... As integer. But need to set as floating value. Or I'm incorrect? Mattho: If I solve this problem, I share a script with eng\rus manual. If you want. ;) |
Quote:
|
i asked for edited file^^
lazy to play with scripts... but if it will phps with npcdata > mysql > npcgrp i'll try it :P |
Deleted
|
Modified Gaikotsu script for C3 version to work whit my DB.
Fixed LoadDataFile() function in Gaikotsu script. Step1: Put the drop_patch.php in te sam directory where is my dropstomysql script. Step2: Put the Files skillname-e.txt, npcgrp.txt and skillgrp.txt in the same directory (Files needed in Unicode format) Step3: Launche drops_pach.php it will create new files in ANSI format whit drops inserted. Last Step: Change new files in Unicode format, encode and put in system directory of your l2. |
i still can't get it works :(
so if someone have it running can make me those clientfiles? :) (c4 will be good :P ) thx |
Modified Gaikotsu script for C4 version to work whit my DB.
Fixed LoadDataFile() function in Gaikotsu script. Step1: Remove simbol ’ or replase simbo ’ to simbol ' from skillname-e.txt before making next step. Change this line in skillname-e.txt if you have that simbols. Code:
skill_begin skill_id = 1342 skill_level = 1 name = [Light Vortex] desc = [바람의 차원으로 연결되는 소용돌이를 일으킨다. 바람 속성 공격을 가하는 동시에 순간적으로 적의 바람 속성 공격에 대한 내성, 이동속도/공격속도/마법속도를 감소시키고 MP를 계속 감소시킨다. 오버히트 가능. 위력 140.] c4_attr2 = [none] c4_attr3 = [none] skill_endCode:
skill_begin skill_id = 1342 skill_level = 1 name = [Light Vortex] desc = [] c4_attr2 = [none] c4_attr3 = [none] skill_endPut the drop_patch.php in te sam directory where is my dropstomysql script. Step3: Put the Files skillname-e.txt, npcgrp.txt and skillgrp.txt in the same directory (Files needed in Unicode format) Step4: Launche drops_pach.php it will create new files in ANSI format whit drops inserted. Last Step: Change new files in Unicode format, encode and put in system directory of your l2. |
Maby any1 can put here link with full scripted c3 system?
|
New version of patch (for C3 and C4), reads necessary given straight from npcdata.txt
Rules of the use: 1. Unpack files in any directory 2. In file drop_patch.php to indicate used by you client of the play (variable $client_ver) 3. Copy to subfolder SERVER two files from your server: item_pch.txt and npcdata.txt (in ANSI format) Attention: as separators in file npcdata.txt must be a symbols to tabulations. 4. Run script drop_patch.php. 5. Got three files (npcgrp.txt, skillgrp.txt, skillname-e.txt) encode in utility L2ClientDat and put got dat-files in system directory of your l2. For some version of the client possible to come in addition to encode got dat-files by utility l2encdec. P.S. Sorry my very bad english :) Вложения из исходного сообщения (сами файлы в копии отсутствуют): drop_patch_148.rar — 569671 байт |
Big THX again!
GJ, Gaikotsu!!! |
Quote:
|
Quote:
skill_begin skill_id = 40544 skill_level = 1 name = [Drop] desc = [none] skill_end skill_begin skill_id = 40545 skill_level = 1 name = [Spoil] desc = [none] skill_end desc = [none] for all? wtf? |
asaszz, lol save the npcdata.txt and item_pch as ansi not as unicode ))
Gaikotsu, tnx great tool.. |
i saved in ansi and i got this!
|
if you have it ansi then it's ok cose npc have no drop or spoil..
the rest is fine took like 2 mins for script to run.. |
His english is confusing
4. Run script drop_patch.php. How do i run it in the first place? Do i need webserver with php installed just to get this to work? And would that also allow me to upload the whole lot to a other webhost and have my client connect to it over the internet? That would allow me to easily add this to all my clients for my server. |
Yes, you need an apache+php4 (not 5) with uncommented module php_mssql.dll in your php.ini (located in %systemroot% or c:\windows\).
This script (drop_patch.php), with all included to this pack folders, needs to be uploaded in the dir, located in web-server documents root directory, as example: wwwroot. |
maybe im blind but where can i download this pack?i cant find any link...
|
| All times are GMT. The time now is 23:02. |