![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
This is my first work in php.
And I'll thanked all critics. All comments will be good. :P This is a script for creating npcpos from l2j database. Don't forget to convert npcpos.txt from ASCII to Unicode. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
didn't test it yet 'cause i don't have l2j installed atm...
but it seems to be a very nice share and will save us a lot of time
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2006
Posts: 338
|
nice hel , tnx!
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2006
Posts: 22
|
Then i click "next", nothing happens. Maybe incorrect settings of PHP-engine?
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2006
Posts: 14
|
You need to insert the following text after "include('config.php');" in npcpos.php:
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 = 1; |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Mar 2006
Posts: 22
|
Bruenor, thx
![]() This script is useful
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Nov 2005
Posts: 107
|
Dumb question i know.
How u use this? You run it from server side or web-server or what? ![]() Thanks |
|
|
|
|
#8 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
it's a php script...
so yeah, you need a web server
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Nov 2005
Posts: 107
|
There seems to be alot of bugs with it dunno if its just us ;o. did abit of re-writing it also seems to duplicate alot of mobs because of territory names
Nice tho, be cool if u could flush out bugs |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
Xero , your sig is cool but can you resize it please . It's huge
I had once a sig like that to Sorry for the offtopic Hel i didn't test your tool , but i will soon , tnx for the share !!! |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Feb 2006
Posts: 207
|
Didn't test this tool, just look at code, as i understand it takes npc name frome l2jdb - i fing its not good idea. More better to take it directly from npcdata.txt so npcpos will be full compateble this npcdata.
Anyway I have my own tool, writen on delphi |
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2006
Posts: 53
|
nice share =x
i like the suggestion of nn4e... lets make a simple tool that given a npc id, search on l2j database npcpos and then search for correct name on npcdata.txt. thx ^^ |
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
Quote:
|
|
|
|
|
|
#15 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 207
|
Quote:
and its not so superior -its works slow and work olny this text extract by DBManagerPro PS If somebody need this tool i can exchege it for somefing interesting ![]() I olso have l2j->npcdata convertor |
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Sep 2005
Posts: 212
|
OMG! Hel very good tool.
![]() P.S: Some cash
|
|
|
|
|
#17 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
NN4e:
How I can make a tool for different l2jnpc ids and npcdata ids? I make this tool not for complete npcpos.txt, just for helping to make it. Do you think so? (Just rename npc and use it on your own server) Anybody tested my tool? May anybody help to optimizate my tool script? ![]() Remember. This is my first work with php. Quote:
This is my new idea to convert drops from database, and save a lot of time. If you have npcdata with drops converter from db - share it. ![]() This is will be good for many peoples. Koner: Wow, thanks dude!
|
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: May 2006
Posts: 53
|
The id used by l2j is the same used on npcdata.txt, once they are defined on the cliente. Right?
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Ids on unmodified client yes, ids not different, but names on client and l2jdb comletely same...
Correct names by hands.
|
|
|
|
|
#20 | ||
|
Архивный участник
Join Date: Feb 2006
Posts: 207
|
Quote:
Quote:
|
||
|
|
|
|
#21 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
NN4e:
Quote:
![]() Just upload on any hoster, ex. rapidshare.de and send me a link... I'll create my own tool for any, who wants. (for getting back community from toilet to move forward) ![]() Anyway thanks... |
|
|
|
|
|
#22 | |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Quote:
|
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Mar 2006
Posts: 26
|
Concept is interesting but realisation I fear is impossible.
Not only is it impossible to distinguish between siege NPCs (which need specific x/y/z coords), but there's a bunch of parameters for the various functions that isn't figurable on its own. Maybe with a heavily modified l2j db, but that's far too much hassle. |
|
|
|
|
#24 |
|
Архивный участник
Join Date: Mar 2006
Posts: 70
|
i have this message after step 2 : (Failed to get info from DB).
Help. Greetings. |
|
|
|
|
#25 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
katso:
Check config.php or install sql scripts into database. RipperX: LOL. I have found many bugs in scripts, I now optimize code and fix bugs. Fix to major bug (duping 25000 position): Change LIMIT 25000,-1 to LIMIT 25001,-1. Patch coming soon... :P |
|
|
|
|