![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
i got this error loading L2Server.exe
Code:
HTML Cache Start [htmlcache.cpp][116] HTML Caching : First ReadFileEx Failed(38) [htmlcache.cpp][16] GetLastError = Une opération d'entrée/sortie avec chevauchement est en cours d'exécution. All HTML cached |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 373
|
Did you edit any html lateley?, thats what should be causing the error you are having.
Yours. EntroX |
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
yes, i am working on custom NPC atm, and that NPC doesn't display HTML i have to display... i check again my *.htm but all seems ok :/
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 373
|
Did you add a html file?, if you did try opening the server without having it into your HTML folder.
Yours. EntroX |
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 216
|
add to Entrox answer...
U can add html later when the server is running to check if it works. All u need to do is disable html caching on l2server and click ingame on that npc which require ur new html. The server should respond with uncached html and if u did all as it should be in ur html the game will open the chat window. If not there is a big chance of client crash or it the chat window will just wont popup. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Here my sources:
ai.obj Code:
class merchant_for_agrade : default_npc parameter_define_begin string fnHi "black_merchanta001.htm" string fnNotEnoughCrystal "black_merchanta100.htm" parameter_define_end handler 3 // TALKED variable_begin "talker" "myself" "_choiceN" "_code" "_from_choice" variable_end shift_sp 1 push_event // talker push_const 32 add fetch_i push_parameter fnHi func_call 43 // func[ShowPage] shift_sp -2 shift_sp -1 handler_end class_end class chiron : merchant_for_agrade class_end Code:
<html><head><body>Tallum Helmet Physical Defense: 69 Price: Alphabets <font color="LEVEL">T</font> - <font color="LEVEL">A</font> - <font color="LEVEL">L</font> Class B Crystal: 2000 and Class A Crystal: 1000 Would you like to purchase this item? <center><a action="bypass -h menu_select?ask=-9&reply=1">OK </a><a action="link chiron001t.htm">Cancel</a> </center></body></html> Code:
<html> <body> You do not have enough crystals to purchase this item. </body> </html> Code:
npc_begin citizen 9000 [chiron] level=70 exp=4296345xx.xx5 acquire_exp_rate=8.24439 undying=1 can_be_attacked=0 acquire_sp=1950 race=human sex=female temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=80 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=999999 org_mp=999999 base_defend=999999 base_magic_attack=999999 base_magic_defend=999999 base_physical_attack=999999 physical_hit_modify=99 physical_avoid_modify=999 base_attack_speed=999 base_reuse_delay=0 base_critical=99 magic_use_speed_modify=999 status={normal} align=-4900 collision_radius=8 collision_height=25.3 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[chiron];{[fnHi] = [chiron001.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
Code:
[chiron] = 1009000 NB: I will try later to set caching html off... |
|
|
|
|
#7 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
OMG i saw i have a 0 byte file in my HTML folder (and i cannot delete it from windows, used by process :/) and i saved my new html files as ANSI :shock: fuck i am very tired, i will tell u if it works better after having deleted my 0 byte file and saved all my html as Unicode :wink: cu
|
|
|
|
|
#8 | |
|
Архивный участник
Join Date: May 2005
Posts: 216
|
Quote:
Enjoy
|
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Good news all works fine now :P
To fix my caching error i just overwrited my 0 byte file in HTML folder by a correct file (BiGBoY ur exe didn't work i had to stop l2server, tx anyway) and to fix my "non html chat display" i just re-saved my custom HTML as UNICODE (and not ANSI) ![]() Ty all for ur answer :wink: |
|
|
|
|
#10 |
|
Архивный участник
Join Date: May 2005
Posts: 373
|
Nice work, im glad you could make it work.
Wich remids me...i gotta now go and fix the mutisell.txt so dwarves ( dual crafters ) wont crash. Yours. EntroX |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
good job
glad u got it workingand thx to bigboy as well for the tool.. helped me delete a couple of silly stuff
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
tx guys
i will use same model to implement a tattoo trader i think i mean u will have to collect dyes to get Tattoo :wink: |
|
|
|
|