![]() |
[TOOL] Skillacquire.txt to MSSQL Importer and PHP editor!
* deleted by MoSs*
sorry could not upload anything else... |
Here is a screenshot
(tried to attach it but the forum does not let me :( ) http://www.lineage2.gr/saeditor.jpg |
nice job moss, this php script looks really nice
|
OMG really nice job !!
|
Wow, nice job! :) I'm sure everyone will make good use of this.
|
it doesn't work....
Fatal error: Call to undefined function mb_convert_encoding() in c:\Inetpub\wwwroot\L2ASP\skills\import.php on line 36 but i'm using IIS.... how to make it work ??? |
Hmm you should read the first post more carefully
edit your php.ini file, you need to enable mbstrings (multibyte strings) find this: ;extension=php_mbstring.dll and uncomment it (remove this ; ) |
Well it just occured to me, I can make a version of this without the need of MSSQL
but the drawback will be execution time, every time you reload the page, the skillacquire.txt will have to be parsed which slowes down things, plus every time you edit or add something will be even slower cause first it will need to generate the file, then reload it. What do you think? Should I even bother making a version without MSSQL? |
OMG I feel so stupid, the first version I uploaded had major haste problems! I kind of quick edit it before posting it but I did not see if it worked.
Version 1 will NOT work, major problems! Download v0.2 (first post!) and delete the first version (if you got it) I also added some stuff: - When editing or saving a skill, leading or trailing spaces will be removed. - When filtering for a certain level, the helper skill list on the right will auto scroll to the selected level! Have fun! |
Why not just make it parse the skillacquire from the info on official website? :-)
Wouldnt even be that hard |
O.O really nice job men, i give u some cash ;)
|
MoSs your is a really good job.
Tell me if the error below is my fault as I fear it is : Code:
Notice: Undefined index: skill_name in C:\Inetpub\wwwroot\saeditor\import.php on line 102Thank |
woot nice.
its pretty useful. thx a lot... donatin sum cash ;) |
Most probable reason is that your skillacquire file has either syntax errors, or unknown values... It has to do with the contents of the file for sure.
As I said in the first post, the importer does not do error checking and is not tolerant to syntax errors... It looks like the script was unable to create one of the tables, that stores the info for each class, that's the reason for the unknown index notices... Here try it with this one... syntax error free! |
I've checked our files and the difference is [comment] , rather than the original [?? ?]
Thanks not it worked. :D |
well actually the problem is elsewere the comments does not affect the importer, have in mind that the original skillacquire that i had, had chinese comments like that /* [?? ????] */ and were imported just fine :)
|
it does not work for my: (, this error leaves
http://img355.imageshack.us/img355/7356/phpini23je.jpg |
install the full package of php win32
sorry i will not provide support for php installations www.php.net has everything you need... |
|
im using ur skillacquire in unicode format and i renamed it to : skillacquire.original.txt
|
thanks..
Quote:
but :(.... http://img154.imageshack.us/img154/9732/phpini37wr.jpg no work, :```( |
read the php manual on how to install php extensions...
I am not gonna say it again I WILL NOT PROVIDE PHP INSTALATION INSTRUCTIONS |
ok thanks ;)
|
Moss what about my problem? can u helpme? any idea?
|
and once again your skillacquire.txt probably has some systax errors... in order to try the editor use the one i attached some posts below the first one
|
| All times are GMT. The time now is 15:49. |