![]() |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
10/05/2006 05:22:xx.xx9, [.\NpcDbSocket.cpp][183] Save NpcBoss[remmel] Warning! MP[927]->MP[1028]
* "Finding Nemo". Found. Code:
territory_begin [dion04_mb2021_01] {{9600;126452;-3732;-3132};{11212;126132;-3732;-3132};{11336;127624;-3732;-3132};{9952;127352;-3732;-3132}} territory_end
npcmaker_begin [dion04_mb2021_01] initial_spawn=all maximum_npc=10
npc_begin [remmel] pos=anywhere total=1 respawn=36hour respawn_rand=24hour dbname=[ikuntai] dbsaving={death_time;parameters} npc_end
npcmaker_end
Code:
territory_begin [dion04_mb2021_01] {{9600;126452;-3732;-3132};{11212;126132;-3732;-3132};{11336;127624;-3732;-3132};{9952;127352;-3732;-3132}} territory_end
npcmaker_begin [dion04_mb2021_01] initial_spawn=all maximum_npc=10
npc_begin [remmel] pos=anywhere total=1 respawn=36hour respawn_rand=24hour dbname=[remmel] dbsaving={death_time;parameters} npc_end
npcmaker_end
Known list: Code:
[ikuntai] dbname=[zombie_lord_crowl] ->[ikuntai] [flamestone_golem] dbname=[iron_giant_totem] ->[flamestone_golem] [remmel] dbname=[ikuntai] ->[remmel] [lizardman_leader_hellion] dbname=[remmel] ->[lizardman_leader_hellion] Non-critical: [master_of_ledflag_shaka] dbname=[master_of_ledflage_shaka] ->[master_of_ledflag_shaka] [mammons_collector_talos] dbname=[mammpns_collector_talos] ->[mammons_collector_talos] [hallate_the_death_lord] dbname=[Hallate_the_death_lord] ->[hallate_the_death_lord] [kernon] dbname=[Kernon] ->[kernon] [bloody_lord_nurka1] dbname=[nurka1] ->[bloody_lord_nurka1] [bloody_lord_nurka2] dbname=[nurka2] ->[bloody_lord_nurka2] |
|
|
|
|
#3 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Fix for "Maker[xxx] doesn't have ai handler. cannot set the ai parameter[xxx]"
Original post. Fix owner by MuNLoK CopyPaste from. ----------- Quote:
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Last release and discussion there: Original thread.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Lineage II Server error:
10/07/2006 18:49:xx.xx9, invalid npc name [gonhirim_magic_golem] at file[.\NPC.cpp], line[6893] * Finding npc. Found this: Code:
npc_begin boss 10431 [flamestone_golem] level=44 npc_begin warrior 864 [__gonhirim_magic_golem] npc_begin warrior 865 [__gonhirims_golem] 1) __gonhirims_golem - this npc disable in C4. "__" - marker for old npc. 2) Code:
[Privates]=[gonhirim_magic_golem:gonhirim_magic_golem:1:6min;gonhirim_magic_golem:gonhirim_magic_golem:1:6min;gonhirims_golem:gonhirims_golem:1:6min;gonhirims_golem:gonhirims_golem:1:6min] 'gonhirim_golem' must be '__gonhirim_golem' * check AI: Next error found: AI classes for Gonhirim Golem's not existing. This npc full has been dissapered from C4. Let's continue... * Found interested npc: Code:
npc_begin boss 10431 [flamestone_golem] npc_begin zzoldagu 10432 [flame_elemental] npc_begin zzoldagu 10433 [spark_elemental] Code:
[Privates]=[gonhirim_magic_golem:gonhirim_magic_golem:1:6min;gonhirim_magic_golem:gonhirim_magic_golem:1:6min;gonhirims_golem:gonhirims_golem:1:6min;gonhirims_golem:gonhirims_golem:1:6min] Code:
[Privates]=[flame_elemental:flame_elemental:1:6min;flame_elemental:flame_elemental:1:6min;spark_elemental:spark_elemental:1:6min;spark_elemental:spark_elemental:1:6min] 10/07/2006 18:49:xx.xx9, invalid npc name [rampage_golem] at file[.\NPC.cpp], line[6893] Make same for this npc. |
|
|
|
|
#6 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Original fix owner by sys[antaris]
CopyPaste ----- Quote:
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Original fix by Stazis
Symptoms: There seems to be a problem with subclass skills, like if you subclass a necromancer. You level to say 52, learn all ur skills etc. Then if u switch back to ur main class then back to your necromancer. Alot of the skills are reset and u have to relearn them. Fix: ok - haven't tested yet but think solving the problem is open user_skill for modify remove old primary key settings mark fields char_id,skill_id, subjob_id and make them PRIMARY KEY - save the table do the same with shortcut_info table. |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
[.\Skill.cpp][793] Unregistered skill(65535-255)
Open ur areadata.txt, search for @s_area_death_whisper3 and change it to @s_area_death_wisper3 |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
invalid unittick! at map (25, 14)
CopyPaste from post by lamnh open ur areadata search unit_tick=5 and chane to unit_tick=9 |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
After an entrance in catacombs you cannot pass in one room.
Because ziggurat teleport Z position below them Z-layer of catacomb. First fix owner by FidoW Code:
npc_begin citizen 8095 [enter_necropolis1] level=70 acquire_exp_rate=0 acquire_sp=0 unsowing=1 clan={} ignore_clan_list={} clan_help_range=300 slot_chest=[] slot_rhand=[] slot_lhand=[] shield_defense_rate=0 shield_defense=0 skill_list={@s_race_undead;@s_full_magic_defence;@s_npc_abnormal_immunity;@s_npc_abnormal_immunity;@s_npc_abnormal_immunity} npc_ai={[enter_necropolis1];{[MoveAroundSocial]=0};{[MoveAroundSocial1]=0};{[MoveAroundSocial2]=0};{[Role]=0};{[SignNumber]=1};{[PosX]=-41567};{[PosY]=209828};{[PosZ]=-5112}} category={} race=etc sex=etc undying=1 can_be_attacked=0 corpse_time=7 no_sleep_mode=0 agro_range=1000 ground_high={120;0;0} ground_low={50;0;0} exp=429634528 org_hp=24xx.xx819 org_hp_regen=7.5 org_mp=1345.8 org_mp_regen=2.7 collision_radius={7;7} collision_height={15;15} str=40 int=21 dex=30 wit=20 con=43 men=10 base_attack_type=sword base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 base_physical_attack=6xx.xx373 base_critical=4 physical_hit_modify=4.75 base_attack_speed=253 base_reuse_delay=0 base_magic_attack=4xx.xx463 base_defend=2xx.xx597 base_magic_defend=2xx.xx847 physical_avoid_modify=0 soulshot_count=0 spiritshot_count=0 hit_time_factor=0.6 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} hp_increase=0 mp_increase=0 safe_height=100 npc_end
'8095 [enter_necropolis1]' to '8102 [enter_necropolis8]' '8114 [enter_catacomb1]' to '8119 [enter_catacomb6]' example: Code:
npc_ai={[enter_necropolis1];{[MoveAroundSocial]=0};{[MoveAroundSocial1]=0};{[MoveAroundSocial2]=0};{[Role]=0};{[SignNumber]=1};{[PosX]=-41567};{[PosY]=209828};{[PosZ]=-5112}}
Code:
npc_ai={[enter_necropolis1];{[MoveAroundSocial]=0};{[MoveAroundSocial1]=0};{[MoveAroundSocial2]=0};{[Role]=0};{[SignNumber]=1};{[PosX]=-41567};{[PosY]=209828};{[PosZ]=-5062}}
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Symptoms:
10/07/2006 18:53:xx.xx4, [.\NPC.cpp][998] Unknown paramter type. npc[ketra_orc_legatus], var[WayPointDelays] 10/07/2006 18:53:xx.xx4, [.\NPC.cpp][998] Unknown paramter type. npc[ketra_orc_legatus], var[WayPoints] 10/07/2006 18:53:xx.xx0, [.\NPC.cpp][998] Unknown paramter type. npc[varka_silenos_general], var[WayPointDelays] 10/07/2006 18:53:xx.xx0, [.\NPC.cpp][998] Unknown paramter type. npc[varka_silenos_general], var[WayPoints] * Finding.... this npc use Code:
class 1 party_leader_patrol : party_leader
parameter_define_begin
waypointstype WayPoints
waypointdelaystype WayPointDelays
parameter_define_end
Code:
npc_ai={[ketra_orc_legatus];{[MoveAroundSocial]=110};{[MoveAroundSocial1]=54};{[MoveAroundSocial2]=110};{[Privates]=[ketra_elite_guard:ketra_elite_guard:1:0;ketra_elite_guard:ketra_elite_guard:1:0]};{[WayPoints]=0};{[WayPointDelays]=0};{[FriendShip1]=@q_ketra_friendship_1};{[FriendShip2]=@q_ketra_friendship_2};{[FriendShip3]=@q_ketra_friendship_3};{[FriendShip4]=@q_ketra_friendship_4};{[FriendShip5]=@q_ketra_friendship_5};{[SoulShot]=100};{[SoulShotRate]=50};{[PhysicalSpecial]=@s_npc_triple_sonic_slash9};{[Buff]=@s_clan_haste2};{[DeBuff]=@s_npc_shackle5};{[DeBuff1]=@s_b_k_stone}}
remove ... {[WayPoints]=0};{[WayPointDelays]=0}; ... because for new waypointstype it params no requires. |
|
|
|
|
#12 |
|
Архивный участник
Join Date: Aug 2006
Posts: 28
|
great work.
really big thnx for it. //rus Извини, если своим постом испортил топик Но работа действительно заслуживает уважения. Могу удалить. |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Aug 2006
Posts: 7
|
Thanks HF..Really great and hard work!!!
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Mar 2006
Posts: 241
|
Credits to Shawnmb.
Defragment Code:
DECLARE Tables CURSOR FOR
SELECT DISTINCT
OBJECT_NAME([id]),
[name]
FROM dbo.sysindexes
WHERE OBJECTPROPERTY([id], 'IsUserTable') = 1
OPEN Tables
DECLARE @database varchar(128)
DECLARE @table varchar(128)
DECLARE @index varchar(128)
SET @database = DB_NAME()
FETCH NEXT FROM Tables INTO @table, @index
WHILE @@FETCH_STATUS = 0
BEGIN
PRINT 'Reindexing table ' +
ISNULL(@table, '<NULL>') +
' on index ' + ISNULL(@index, '<NULL')
IF @table IS NOT NULL AND @index IS NOT NULL
BEGIN
DBCC INDEXDEFRAG(@database, @table, @index)
END
FETCH NEXT FROM Tables INTO @table, @index
END
CLOSE Tables
DEALLOCATE Tables
Code:
DECLARE Tables CURSOR FOR
SELECT DISTINCT
QUOTENAME(TABLE_CATALOG) + '.' +
QUOTENAME(TABLE_SCHEMA) + '.' +
QUOTENAME(TABLE_NAME)
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE'
OPEN Tables
DECLARE @table varchar(128)
FETCH NEXT FROM Tables INTO @table
WHILE @@FETCH_STATUS = 0
BEGIN
PRINT 'Reindexing table ' + ISNULL(@table, '<NULL>')
IF @table IS NOT NULL
BEGIN
DBCC DBREINDEX( @table)
END
FETCH NEXT FROM Tables INTO @table
END
CLOSE Tables
DEALLOCATE Tables
- Tab database by right button, Shrink -> Database (lin2db, lin2world, all) - Set in table preferences 'Simple recovery model'. Just search for it in options Clear logs Code:
Backup log lin2world with truncate_only Go Use lin2world DBCC Shrinkfile (lin2world_log, 1) Go Backup log lin2db with truncate_only Go Use lin2db DBCC Shrinkfile (lin2db_log, 1) Go Thats all about optimizing. I just writed it in quick way, and removed ' + ' which cause error in reindex Original Post: https://postpacific.loc-online.com/f...read.php?t=930 |
|
|
|
|
#15 |
|
Архивный участник
Join Date: May 2005
Posts: 73
|
add to post #2 if know fix this:
https://postpacific.loc-online.com/f...09&postcount=2 10/11/2006 20:34:xx.xx1, [.\NpcDbSocket.cpp][176] Save NpcBoss[gwindorr] Warning! HP[41094]->HP[28875] npcdata: npc_begin boss 10490 [gwindorr] ... npc_end and npc_begin warrior 911 [__gwindorr] ... npc_end - this is not boss and disable in c4. npcpos: npc_begin [gwindorr] pos=anywhere total=1 respawn=36hour respawn_rand=24hour dbname=[gwindorr] dbsaving={death_time;parameters} npc_end in db table npc_boss: gwindorr any idea? |
|
|
|
|
#16 |
|
Архивный участник
Join Date: Sep 2005
Posts: 255
|
Good job HF, really good job.
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Sep 2006
Posts: 114
|
Quite nice HF. I encourge you to continue =)
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Feb 2005
Posts: 159
|
please dont flame this topic to 20+ pages.. just fixes! moder please delete all useless posts from this tread, and thanks to contributors.
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Apr 2006
Posts: 120
|
Do not change lin2world database recovery model if you want to have auto-recoverable database on the server crash (power/whatever). Simple recovery model works if you have 100% working server without power outages and so. Simple recovery model do not recover index errors, this can result in strange l2server shutdowns.
Correct way should be making lin2world log backups, then shrinking logs, all can be done within new SQL2005 maintenance plan. |
|
|
|
|
#21 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 307
|
Quote:
|
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Oct 2005
Posts: 367
|
nice
job
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Mar 2006
Posts: 51
|
=)
you're my hero aEUHAEu |
|
|
|
|
#24 |
|
Архивный участник
Join Date: Jan 2006
Posts: 363
|
very nice... this thread should be archived.
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Finished list.
Share for Pro Developers. If you can use Materials, but not full packs - you will have very good server. Main condition: start pack must be "CN_CH4_ServerScript_ver(0412)_rel(0523)" - use history log and fix all scripts - use AiFixer.rar with last version L2ScriptMaker and fix all func, handlers, fetch_i, push_events in AI.obj - use ai_exports_very_good-english-25092006.rar with last version L2ScriptMaker and fix/translate all Sxxxx message in AI.obj Good luck to work ![]() And thanks to my old friends djvogans, demon, archonus. (Team of friends) ![]() Вложения из исходного сообщения (сами файлы в копии отсутствуют): _script_update_history.rar — 11594 байт AiFixer.rar — 6732 байт ai_exports_very_good-english-25092006.rar — 141282 байт |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|