![]() |
[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.loc-online.com/f...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 |
| All times are GMT. The time now is 15:14. |