Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.11.2005, 14:54   #1
PhDoc
Архивный участник
 
Join Date: May 2005
Posts: 30
Default Base params for new unknown NPC? Easy. By level only.

Level NPC affect on some params: exp, sp, opg_hp, org_mp, base_physical_attack, base_defend, base_magic_attack and base_magic_defend. Just build (ex. in Excel) graph HP by LEVEL.
Im make some equation with good prediction and php-script. Its here.

Tune its as u wish %)

PS. Sry for my funny english.

Full new version here: https://postpacific.mmorpg-game.onli...?p=24319#24319
PhDoc is offline  
Old 01.11.2005, 21:30   #2
wton
Архивный участник
 
Join Date: May 2005
Posts: 463
Default

thanks, probandolo ^^
wton is offline  
Old 02.11.2005, 00:24   #3
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

nice one
hamidouch is offline  
Old 02.11.2005, 15:47   #4
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

gooooooooooooood lord!
top-gear is offline  
Old 11.11.2005, 00:52   #5
dar55
Архивный участник
 
Join Date: Aug 2005
Posts: 180
Default

this table real level - exp. I think need change script in this table.
<rus> вообщем есть предложение поправить скрипт используя эти данные, просто параметр у мобов exp= ххх это и есть его реальный левел. Т.е. если установлен левел 60, а из за погрешности в формуле, эксп слетает ниже(а оно вроде так и есть, что погрешность минусовая), то левел будет 58, или даже 57.
Вот например у Анакима на картинке с 80 левелом, реальный уровень 77.
Я бы мож и поправил, но слабовато у меня с ПХП...я этот скрипт на VB переделал..Т.к. после нажатия кнопочки make у меня кроме очистки формы, нифига хорошего не происходило <rus>
dar55 is offline  
Old 11.11.2005, 19:17   #6
PhDoc
Архивный участник
 
Join Date: May 2005
Posts: 30
Default

See real level of Anakim here:
http://bbs.lineage2.co.kr/gameInfoIn...onsterId=10286
<rus>Главное, чтобы опыта не было больше, чем положено по уровню. И потом, откуда табличные данные для больших левелов? Их же не было в С1. В том-то и проблема...</rus>
PhDoc is offline  
Old 11.11.2005, 23:38   #7
dar55
Архивный участник
 
Join Date: Aug 2005
Posts: 180
Default

<rus>до 70 левела брал из стандартных параметров моба до 70 уровня, с 70 по 80 гмом,хотя возможно стоило брать с 60, но я поверил мобам до карика...разве на 68 левел моба не нашлось, снял гмом....А насчет что больше хуже, тут ты не прав, в зависимости от левела, можно в плюс уходить довольно значительно, т.е. попадать в промежуток между от этого левела до следующего, но никак не ниже, даже на 1 или выше на 1 от реального значения эксп...Реально, если есть необходимость снятия данных с 20 по 70, я позаморачиваюсь полчасика и дам точные значения...в данной таблице все округлено до целого числа в большую сторону<rus>
dar55 is offline  
Old 16.11.2005, 13:31   #8
PhDoc
Архивный участник
 
Join Date: May 2005
Posts: 30
Default New version

Final release PHP scripts for make records in npcdata.txt. Main script - npcdata.php.
Get file here: http://www.mytempdir.com/265108

1. Now npcdata.php show mob picture from http://www.lineage2.co.kr by id. Use for get info about mobs weapon.
2. Added simple drop/sweep constructor. Start from npcdata.php.
3. Added AI generator for party/alone mobs. Start from npcdata.php.
4. All scripts can get external data from .txt files:
- drop_info.txt Info about drop from some new C3 mobs (without chances and counts). Parsed from http://www.lineage2.co.kr Format: npc_id<tab>item_id<tab>0/1. Use in drop/sweep constructor.
- items.txt List of items. Make from serverside itemdata.txt. Format: item_id<tab>item_name<tab>default_price<tab>crysta l_type<tab>crystal_cnt. Use in drop/sweep constructor.
- npc_info.txt Info about new C3 mobs. Parsed from http://www.lineage2.co.kr Format: npc_id<tab>npc_level<tab>HP<tab>MP. Use in npcdata.php
- npc_prop.txt Info about all mobs from client/server files. Format: npc_id<tab>npc_name<tab>list_passive_skills<tab>co llision_radius<tab>collision_height. Use in npcdata.php.
- npc_skills.txt Info about active mob skills from clientside file mobskillanimgrp.dat. Format: npc_id<tab>npc_name<tab>skill_id<tab>skill_sid. Use in AI generator.
- s_data.txt Skill list from serverside skilldata.txt. Format: skill_id<tab>skill_level<tab>skill_sid. Use in npcdata.php and AI generator.

Be happy %)
PhDoc is offline  
Old 16.11.2005, 20:18   #9
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

good job guys - thanks for sharing
Firedaemon is offline  
Old 18.11.2005, 10:26   #10
PhDoc
Архивный участник
 
Join Date: May 2005
Posts: 30
Default

Quote:
Originally Posted by Firedaemon
good job guys - thanks for sharing
Thx. Errors? Ideas? :roll:
PhDoc is offline  
Old 18.11.2005, 11:10   #11
avatard
Архивный участник
 
Join Date: Feb 2005
Posts: 100
Default

awesome, keep it up! thanks!
avatard is offline  
Old 18.11.2005, 13:52   #12
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

Sweet work
Working just fine.
Flamestrike is offline  
Old 18.11.2005, 14:12   #13
Fiend
Архивный участник
 
Join Date: Nov 2005
Posts: 1
Default

impressive well done and thanx for sharing
Fiend is offline  
Old 21.11.2005, 01:05   #14
hacik
Архивный участник
 
Join Date: Nov 2005
Posts: 20
Default

I have some errors
npcdata.php
Notice: Undefined variable: g in C:\Inetpub\wwwroot\npc\npcdata.php on line 426

Notice: Undefined variable: w in C:\Inetpub\wwwroot\npc\npcdata.php on line 533

Notice: Undefined variable: resnpc in C:\Inetpub\wwwroot\npc\npcdata.php on line 844

ai.php
Notice: Undefined variable: w in C:\Inetpub\wwwroot\npc\ai.php on line 60


Notice: Undefined variable: resai in C:\Inetpub\wwwroot\npc\ai.php on line 377


downloaded http://www.mytempdir.com/265108
hacik is offline  
Old 21.11.2005, 02:01   #15
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

That's awesome! Nice work. :wink:
flakka is offline  
Old 21.11.2005, 14:00   #16
PhDoc
Архивный участник
 
Join Date: May 2005
Posts: 30
Default Fix

to hacik: add in top of npcdata.php and ai.php this line: ini_set('error_reporting', E_ALL ^ E_NOTICE);

Fix some errors in make_drop.php (lost one "}" in additional_make_multi_list) ops:
Just replace old file from http://www.mytempdir.com/265108 with that:
PhDoc is offline  
Old 22.11.2005, 02:17   #17
hacik
Архивный участник
 
Join Date: Nov 2005
Posts: 20
Default

Ok tnx work fine i fixed by my self make_drop.php Is perfect can you add (like in drop) Ai.php frame list for all skills
hacik is offline  
Old 22.11.2005, 15:12   #18
PhDoc
Архивный участник
 
Join Date: May 2005
Posts: 30
Default

Quote:
Originally Posted by hacik
Ok tnx work fine i fixed by my self make_drop.php Is perfect can you add (like in drop) Ai.php frame list for all skills
Nice %) I will try do it.
PhDoc is offline  
Old 23.11.2005, 03:01   #19
asus_kpo
Архивный участник
 
Join Date: Sep 2005
Posts: 8
Default

Good Work...
Thx
asus_kpo is offline  
Old 30.11.2005, 20:37   #20
hacik
Архивный участник
 
Join Date: Nov 2005
Posts: 20
Default

so what is happen to the script ??
hacik is offline  
Old 30.11.2005, 23:56   #21
Nurgl
Архивный участник
 
Join Date: May 2005
Posts: 118
Default

you crazy ! To do drop manually )))
Nurgl is offline  
Old 09.12.2005, 02:00   #22
midnight
Архивный участник
 
Join Date: Jun 2005
Posts: 199
Default

http://www.mytempdir.com/265108 dont work, can you post another link phdoc? thanks
midnight is offline  
Old 10.12.2005, 17:33   #23
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

the file download link doesnt work because they have an expiration on it. can you pin to this topic or upload to a place like www.content-type.com or rapidshare.de
Firedaemon is offline  
Old 10.12.2005, 17:37   #24
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default hosted version

I have a version hosted if any of you want to use/see it. It should be online for quite some time.

http://www.linkdink.com

I have not updated with the latest version yet because the files are no longer available, but as soon as I get them I will update it. I did however replace the drop php with the updated one.

**just add the file name after the domain**
Firedaemon is offline  
Old 15.12.2005, 05:50   #25
Avenger0017
Архивный участник
 
Join Date: Dec 2005
Posts: 7
Default

Nice!
Avenger0017 is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:10.