gazzy123
06.10.2007, 18:56
I'm sharing my htmfile creater. It can create .htm files for items,npc's and skills but you need the itemdata.txt, npcdata.txt and item_pch2.txt file from the serverside. I got the idea to make this by looking at hel's great helpfiles for admins so I thought creating a easy way to create and parse the .txt files for all customserver with added stuff.
It's a great way to help your GM's, but the mainly drawdown is that you need the serverside .txt's , but perhaps someone can modify it for clientside.
Also I know the code isn't the cleanest I just made it for creating files fast.
how to use it (the .txt files need to be ansi):
copy npcdata.txt item_pch2.txt skilldata.txt to the same folder as the .php file
create a temp dir with access so that the webserveruser can write to it
then just lauch the .php file and it creates the files and you have to convert the files to unicode to use with the client. use ansi2unicode.exe and write a .bat file to use it on all files.
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 6 October 2007, 18:56. Открыть источник (https://web.archive.org/web/20071016082328id_/http://postpacific.com:80/forums/archive/index.php/t-8759.html).
It's a great way to help your GM's, but the mainly drawdown is that you need the serverside .txt's , but perhaps someone can modify it for clientside.
Also I know the code isn't the cleanest I just made it for creating files fast.
how to use it (the .txt files need to be ansi):
copy npcdata.txt item_pch2.txt skilldata.txt to the same folder as the .php file
create a temp dir with access so that the webserveruser can write to it
then just lauch the .php file and it creates the files and you have to convert the files to unicode to use with the client. use ansi2unicode.exe and write a .bat file to use it on all files.
Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 6 October 2007, 18:56. Открыть источник (https://web.archive.org/web/20071016082328id_/http://postpacific.com:80/forums/archive/index.php/t-8759.html).