PDA

View Full Version : Base params for new unknown NPC? Easy. By level only.


PhDoc
01.11.2005, 14:54
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.loc-online.com/forum/viewtopic.php?p=24319#24319

wton
01.11.2005, 21:30
thanks, probandolo ^^

hamidouch
02.11.2005, 00:24
nice one

top-gear
02.11.2005, 15:47
gooooooooooooood lord!

dar55
11.11.2005, 00:52
this table real level - exp. I think need change script in this table.
<rus> вообщем есть предложение поправить скрипт используя эти данные, просто параметр у мобов exp= ххх это и есть его реальный левел. Т.е. если установлен левел 60, а из за погрешности в формуле, эксп слетает ниже(а оно вроде так и есть, что погрешность минусовая), то левел будет 58, или даже 57.
Вот например у Анакима на картинке с 80 левелом, реальный уровень 77.
Я бы мож и поправил, но слабовато у меня с ПХП...я этот скрипт на VB переделал..Т.к. после нажатия кнопочки make у меня кроме очистки формы, нифига хорошего не происходило :) <rus>

PhDoc
11.11.2005, 19:17
See real level of Anakim here:
http://bbs.lineage2.co.kr/gameInfoInside/region/listMap.asp?monsterId=10286
<rus>Главное, чтобы опыта не было больше, чем положено по уровню. И потом, откуда табличные данные для больших левелов? Их же не было в С1. В том-то и проблема...</rus>

dar55
11.11.2005, 23:38
<rus>до 70 левела брал из стандартных параметров моба до 70 уровня, с 70 по 80 гмом,хотя возможно стоило брать с 60, но я поверил мобам до карика...разве на 68 левел моба не нашлось, снял гмом....А насчет что больше хуже, тут ты не прав, в зависимости от левела, можно в плюс уходить довольно значительно, т.е. попадать в промежуток между от этого левела до следующего, но никак не ниже, даже на 1 или выше на 1 от реального значения эксп...Реально, если есть необходимость снятия данных с 20 по 70, я позаморачиваюсь полчасика и дам точные значения...в данной таблице все округлено до целого числа в большую сторону<rus>

PhDoc
16.11.2005, 13:31
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>crystal_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>collision_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 %)

Firedaemon
16.11.2005, 20:18
good job guys - thanks for sharing

PhDoc
18.11.2005, 10:26
good job guys - thanks for sharingThx. Errors? Ideas? :roll:

avatard
18.11.2005, 11:10
awesome, keep it up! thanks!

Flamestrike
18.11.2005, 13:52
Sweet work :D
Working just fine.

Fiend
18.11.2005, 14:12
impressive:) well done and thanx for sharing

hacik
21.11.2005, 01:05
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

flakka
21.11.2005, 02:01
That's awesome! :D Nice work. :wink:

PhDoc
21.11.2005, 14:00
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) :oops:
Just replace old file from http://www.mytempdir.com/265108 with that:

hacik
22.11.2005, 02:17
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

PhDoc
22.11.2005, 15:12
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 skillsNice %) I will try do it.

asus_kpo
23.11.2005, 03:01
Good Work...
Thx :D :D :D :D :D

hacik
30.11.2005, 20:37
so what is happen to the script ?? :)

Nurgl
30.11.2005, 23:56
you crazy ! To do drop manually )))

midnight
09.12.2005, 02:00
http://www.mytempdir.com/265108 dont work, can you post another link phdoc? thanks

Firedaemon
10.12.2005, 17:33
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
10.12.2005, 17:37
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**

Avenger0017
15.12.2005, 05:50
Nice! :)

Domzelan
17.12.2005, 12:51
I have a idea!!! PHP script - open npcdata.txt and form have a buttom - click and script chek org_hp and so on atributes - and change it!

PHd can you did it?


rus короче открываешь дату и скрипт меняет там по левелу все хп дефенсы и так далее но не меняет экспу и сп... а можено прям сделать чтобы что хочешь то и меняешь... phd сможешь сделать?