![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Converters pack 1.1 released.
-------- Version 1.1: added droplist converter (create off-like droplist for each mob, you need install a db 'itemname' to database (setted up to $dbname), you may download db 'itemname' from https://postpacific.mmorpg-game.onli...pic.php?t=4992 (Thanks for Firedaemon). fixed $step bug on all scripts (thanks for Bruenor). fixed set_time_limit(30) to set_time_limit(0) and small mistakes on all scripts (thanks for RipperX) -------- Version 1.0: fixed npcpos converter (Gets npc names from npc table l2jdb, autogenerate territory for each mob, autodeletion empty territorries). added petdata converter. added skillacquire converter (Gets class_ids from class_list table l2jdb, smart placing learn spellbooks by using skill_spellbooks table checking, also create itemdata for spellbooks). Вложения из исходного сообщения (сами файлы в копии отсутствуют): l2j_to_off_converters_pack_1.1_217.zip — 9314 байт drops_112.zip — 95727 байт |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Apr 2006
Posts: 100
|
Пасиб.Глянем
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Oh, my mistake:
In skillacquire.php change it: $sbname="[sb_".$skillname."];1"; To: $sbname="{[sb_".$skillname."];1}"; |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2006
Posts: 207
|
Nice tools
check PM
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 57
|
hmm.....how can i use this tool?
anyway thanx for sharing......hel~ |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Dec 2005
Posts: 88
|
share last j server for this
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
tip to hel:
[php:1:3db66e0707]<? set_time_limit(0); ?>[/php:1:3db66e0707] =) Edit: Add RaidBoss Spawn =) |
|
|
|
|
#8 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 207
|
Quote:
h..p://l2jdp.com/nightly/ |
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
RipperX:
Thanks for tip, I was searched this string by hour in the php manual (www.superbest.ru) and finded nothing. ![]() I'll add it in the next version of my pack. --- Why peoples isn't report, works it, or not? ![]() It's just not interesting. :P |
|
|
|
|
#10 | |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Quote:
For example: [php:1:bb0c09070c] .$row["respawn_delay"]."sec npc_end\r\nnpcmaker_end\r\n");} [/php:1:bb0c09070c] and This not work, I get an error. Code:
06/10/2006 03:47:xx.xx1, -_- goblin (2621952) |
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Sec mistake solved. Thanks.
I don't have any idea about "goblin error". ![]() You have switched txt to unicode? |
|
|
|
|
#12 | |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Quote:
|
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
I have a problem with this pack, with previous run without problems, but to this when I press “next” so that it makes the conversion, nothing happens. From already thanks, Hel.
<spanish>Tengo un problema con este pack, con el anterior lo corria sin problemas, pero con este cuando presiono "next" para que realice la conversion, no sucede nada. Desde ya gracias Hel.</spa> |
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
katso:
As Bruenor says: Quote:
|
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
very thx, hel.
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Jun 2006
Posts: 17
|
Nice share !
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
First post updated, new pack released.
Added new converter, fixed older. Let's test it and report here. ![]() Also C4 drops.txt, converted by droplist converter 1.0 added to first post. |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Half day with no comments and only 3 downloads?
I may stop the project, if no one is interested. -_- |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Apr 2006
Posts: 461
|
I think the project is a good idea. I personally don't feel I want to convert L2J data at the moment, but it doesn't mean it's a bad project.
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Jun 2006
Posts: 14
|
I found another bug. Where the website says "you need install a db 'itemname' to database (setted up to $dbname)", I'm not sure whether you meant to display '$dbname' or the name of the database.
In the first case, insert a \ before the $ to prevent it from being treated as a variable name. In the second case, insert include("config.php"); before the echo statement. (Although it is already included in the PAGE_DEFAULT function, it isn't visible elsewhere. I tried moving the include statement to the top of the file, but then it wasn't visible inside PAGE_DEFAULT, so apparently you have to put it in both places.) I also found some more problems related to the fix I posted earlier: 1) Variables do not get assigned a default value when they are first referenced. If you have not previously assigned a value to a variable, trying to get its value results in an error. 2) Sending parameters in the URL does not assign the specified values to your variables. For example, the URL "http://mysite.com/index.php?MyVar=4" does NOT set $MyVar to 4. To get the parameter, use $HTTP_GET_VARS['MyVar'], as demonstrated in my previous post. You moved the code for setting the variables into PAGE_DEFAULT but then called the function after the value of $page is checked. I think the best way to resolve this is to just move Code:
if(isset($HTTP_GET_VARS['step'])) $step=intval($HTTP_GET_VARS['step']); else $step=0; if(isset($HTTP_GET_VARS['page'])) $page=intval($HTTP_GET_VARS['page']); else $page=0; Here are some more fixes: skillacquire.php line 72 Code:
if(isset($skill_book_id[$sid]) and $skill_book_id[$sid]==$sid) {
Code:
$num=0; $cid2=0; $classname_end=""; Code:
$spoil_chance=$drops_row["chance"]/10000; Code:
if($step=="2") $query="SELECT * FROM spawnlist ORDER BY npc_templateid LIMIT 20001,1000000000"; |
|
|
|
|
#21 |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Tip: Add a multiplier to make drops with rates :]
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Dec 2005
Posts: 156
|
tyvm hel for this tools
|
|
|
|
|
#23 | ||||
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Bruenor:
1. "$dbname" not interpretted as variable. (only if I set it like " ".$dbname." ") 2. I don't understand, what you mean about moving include('config.php');. ![]() 1. You mean, I must set default values for variables? 2. Thanks, I see. :P 1. Quote:
2. Quote:
![]() 3. Quote:
4. Quote:
![]() Very big thanks in advance. You're help me a lot. Waiting for your reply. :P 2All I'm noob in php. So don't wait bigger, than I know. :P Pack1.1 reuploaded! |
||||
|
|
|
|
#24 | |||||
|
Архивный участник
Join Date: Jun 2006
Posts: 14
|
All of the corrections that I posted were fixes to error messages that I got.
Quote:
Quote:
Quote:
Quote:
Quote:
Maybe the problem is just that I'm using an old version of php, but it's better to program things for the greatest compatibility. :wink: |
|||||
|
|
|
|
#25 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
I use PHP 4.3.8 + Zend Engine v1.3.0.
I see... Thanks for replies. I'll fix this things, when I can do it. |
|
|
|
|