![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Overview:
This is web-based Lineage2 informer 0.2 beta. You need to install a database to get it working (it will be created automaticaly, just follow Readme.txt -> install section instructions). in case, this script needed VERY much testing, it's unstable a bit, but in future i will fix it, now i need testers. ![]() Changelog: 0.1 - First alpha version, for bugs testing. 0.2 - Beta version, a lot of bugs and mistakes was fixed. Language file edited a bit. addslashes() was a wrong escape symbols function for mysql queries, so i use the right function - mysql_escape_string(), after that i wasn't see any mistakes in showed results, but if you seen, report to forum. Final exp formula fixed, thanks again to Guaresnay. And installcore.class.php was rewritten a bit. script contain basic security against sql-injections. also it automaticaly convert files from unicode to ansi on the fly. it has l2asm and l2clientdat formats support (i hope), just check config.php. before running a script - read the readme.txt carefully! i will wait for bug reports, ideas, optimization hints and also respects. ![]() Вложения из исходного сообщения (сами файлы в копии отсутствуют): L2Book0.2beta.zip — 14104 байт |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Feb 2007
Posts: 139
|
Great Work!thx for share..
PS: Good coding style
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Oct 2005
Posts: 113
|
Awesome share hel!! Test in progress..
BTW I had some problems with installation, I had to set the memory size to 80mb in php.ini =/ |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Dec 2005
Posts: 156
|
http://bugs.php.net/bug.php?id=39640
:EDIT i tried the latest CVS and the latest stable from the download, tried to set up the max memory from 128 to 256MB but still having this issue :P |
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
I'm using PHP 5.1.6 with Apache 2.2.1 (AppServ 2.5.7).
Quote:
if anyone want, i'm sharing my php.ini. Вложения из исходного сообщения (сами файлы в копии отсутствуют): php.ini-hel.zip — 14761 байт |
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Dec 2005
Posts: 156
|
im using latest xampp with updated (latest) apache + php
:EDIT Code:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2769 bytes) in E:\--== WEB ===--\htdocs\informer\installcore.class.php on line 132 |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
every pack has it's own settings. i don't know what to do with it. there is need experimentation with ini files and other stuff. cause i don't have this error - i can't help. but i will get any hints about this, if anyone solve.
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Feb 2006
Posts: 153
|
localhost
install with memory value=256MB in php.ini -> complete without error iwork hosting undump informer_base and upload scripts (memory value=8Mb) -> all work without any errors =) and no problem OS win xp sp2 in localhost OS freeBSD 6.1 in work hosting php 5.2.2,mysql 5.x.xx |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jun 2006
Posts: 100
|
Thank you hel.
I'm getting alot of errors installing the database.. npcs install:- Code:
Incorrect integer value: '' for column 'itemid' at row 1 Incorrect integer value: 'can_be_attacked=0' for column 'undying' at row 1 Incorrect integer value: '' for column 'itemid' at row 1 Incorrect integer value: '' for column 'itemid' at row 1 Incorrect integer value: '' for column 'itemid' at row 1 Also, Arabic names don't show correctly (I think converting from unicode to ansi does that), I wish there could be a solution for it.. Thanx so much. |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Oct 2005
Posts: 113
|
For all who have the memory error, try changing the allowed memory to 80M just for installation.
Code:
memory_limit = 80M ; Maximum amount of memory a script may consume (8MB) |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
ok, i will rewrite some on install.php and will add config option for disable on the fly convertion. (you will have to manually convert it into ansi)
i think that my script doesn't support it correctly. on my computer i found many small bugs, but not so many as you. i need some relax after alpha release and i will do it. i can't figure, why while selecting values, " - " and " ' " symbol converts to strange symbol, like in dos encoding, and while selecting " * " it will not return a row... -_- it's very important error. because it will cause warnings and errors in queries. i'm thinking, will ini_set('memory_limit','80M'); works, or not. :\ |
|
|
|
|
#12 |
|
Архивный участник
Join Date: Oct 2005
Posts: 113
|
hel, as I see ur not using the final exp formula that I sent you.. For a brown keltir it shows 1292 as the final exp.
Now it's.. PHP Code:
PHP Code:
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Dec 2005
Posts: 156
|
|
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
Quote:
i'll fix it. |
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Oct 2005
Posts: 113
|
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
try to set memory_limit=-1 in php.ini to disable it.
maybe in L2Book version 0.2 beta, ini_set('memory_limit','-1') will work. but i don't know, will that work at runtime, or not... see first post, new version uploaded, it has many things overwritten, and a lot of bugs fixed. but of course it needs for beta testing.
|
|
|
|
|
#17 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 554
|
Hmm...i can't install into SQL.
I do all correct by readme, but... Quote:
Etc etc...in results - DB created, but empty. What's wrong? |
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
did you forget to place decoded npcname-e.txt into script folder?
what are you using for decoding dat files? l2asm or l2clientdat? if l2asm, then show me at least 2-3 lines from output txt. i didn't tested my script with l2asm, cause i don't have encoded dat files and l2asm decoder, but only c4 decoded dat's by clientdat. |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Oct 2005
Posts: 113
|
Dunno if its my file editor or what but I had to change some index numbers for the l2asm way. i.e: it was taking one of the RGB colors for the npcname.
Could be a good idea if you include the versions of file editors that you used for testing. |
|
|
|
|
#20 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
yes, there is need to change indexes of array for decoders compatibility.
"L2(CH4) dat files decoder [2nd Edition]" (3.5.0.1 in product version and 3.0.1.9 in file version, don't know which is correct) it has decoded files, this is what i'm using for script. this is line from npcname-e Code:
npc_begin id=1 nickcolor=default nick=[] name=[Gremlin] npc_end |
|
|
|
|
#21 |
|
Архивный участник
Join Date: Apr 2006
Posts: 100
|
Nice ^^ hehehe
|
|
|
|
|
#22 | |||||
|
Архивный участник
Join Date: May 2007
Posts: 86
|
Quote:
at NPCs INSTALL: Quote:
Quote:
Quote:
Quote:
npcdata.txt, skilldata.txt, skillacquire.txt, itemdata.txt, item_pch.txt are from Storm Pack. What is my problem ? (
|
|||||
|
|
|
|
#23 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
all problems is missing bugreports, all peoples here stays quiet and don't report anything, how i may fix it and grow up my informer? i was many ideas about this project, but noone interested.
ok. sorry for such words, for fix these problems i need small pieces generated by fileedit... create an text document, and put 2-3 lines from npcname-e, itemname-e and skillname-e, then attach it in forum. it will help me understand, what a problem is it. and... thanks for bugreport.
|
|
|
|
|
#24 | |
|
Архивный участник
Join Date: May 2007
Posts: 86
|
Quote:
Sorry dont want to take your time with my problem but your script is great . Thx. Вложения из исходного сообщения (сами файлы в копии отсутствуют): hel.txt — 2095 байт |
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
err, that's not fileedit format, as i can remember.
try setting is_l2asm to 0. |
|
|
|
|