Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   npcdata.txt maker (https://postpacific.loc-online.com/showthread.php?t=378)

Riane 12.04.2005 19:08

npcdata.txt maker
 
ive made a webtool which automatically makes modded npcdata files on user input.
also ive added one of my ideas of a new rate, the "goods rate", if the goods rate is e.g. x2, all basic materials like varnish can drop x2 of the standard amount.
that means if a mob usually drops 1 varnish, it can then drop up to 2 varnish at once, more if the rate is higher.
max drop and spoil % is the maximum of a chance of an itemdrop.
e.g. something drops 25% in standard, x4 drop rates, the drop rate would be 100% now.
set the max% to 90 and the rate will be 90% not 100%.

this script modifies npcdata.txt of your choice, if i forgot to add a file, send it to me, you can also use your very own file with this.

http://riane.ellusion.com.sg/npcdata.php

let me know of more ideas to implement
edit: fixed sina type files

Graveheart 12.04.2005 19:18

Well if you could make a program that could help edit the new mobs stats and drops in a faster way than going over the actuall txt,it would really help.

Riane 12.04.2005 19:23

well i dont know exactly what you mean by this heh >_>

if you add a new mob to your npcdata file, you have to edit all rates for yourself anyways, if you wanna change your whole modded file just select it (last in dropdown)
if youre going to use it more than once or twice, upload it to a webserver and put the url (with http://) in the file box, that should work too.

Digital 12.04.2005 20:15

hmm...too bad i'm in the mist of rushing my memory management assignment...
else i maybe able to come out with a tool for ya grave

probably one that select one row, then a selection list of drops then it'll ask for the drop rates for each... yeah something like that would be good eh?

well.. editing npcdata isnt my forte... and i'm almost done with skilldata, and someone is gonna help me with itemdata.. but ai's a sure killer tho...
and still learning how to use ai scripts :S

Riane 12.04.2005 21:02

ai scripts are the crack for me lol

im actually reading the script when im bored, its really interesting^^

well changing a single row in the npcdata is easy as pie so ... :x

justman 12.04.2005 21:11

Riane sorry but i found bug for the rate :)

npcdata.txt ( my file from post "npcdata.txt all x1")

additional_make_multi_list={{{{[adena];7;10;100}};70};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};[highlight=red:f864bc8457]xx.xx92}[/highlight:f864bc8457];{{{[stem];1;1;75};{[suede];1;1;25}};1.3062}}

npcdata_exp1_sp1_adena1_drop2_re1.txt (only drop x2 with NpcdataControlEn.exe)

additional_make_multi_list={{{{[adena];7;10;100}};70};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};[highlight=red:f864bc8457]xx.xx84}[/highlight:f864bc8457];{{{[stem];1;1;75};{[suede];1;1;25}};2.6124}}

npcdata_x2.txt (all x2 with web tool)

additional_make_multi_list={{{{[adena];14;20;100}};70};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};[highlight=red:f864bc8457]xx.xx92}[/highlight:f864bc8457];{{{[stem];1;2;3.9799};{[suede];1;2;25}};1.3062}}



btw Riane nice web tool :)

Riane 12.04.2005 21:28

that is not a bug its like that in the initial files, see
https://postpacific.loc-online.com/f...hp?p=2531#2531

Riane 12.04.2005 21:28

---err edit, mom

Riane 12.04.2005 21:34

Quote:

Originally Posted by justman
Riane sorry but i found bug for the rate :)

npcdata.txt ( my file from post "npcdata.txt all x1")

additional_make_multi_list={{{{[adena];7;10;100}};70};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};[highlight=red:486841aee0]xx.xx92}[/highlight:486841aee0];{{{[stem];1;1;75};{[suede];1;1;25}};1.3062}}

npcdata_exp1_sp1_adena1_drop2_re1.txt (only drop x2 with NpcdataControlEn.exe)

additional_make_multi_list={{{{[adena];7;10;100}};70};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};[highlight=red:486841aee0]xx.xx84}[/highlight:486841aee0];{{{[stem];1;1;75};{[suede];1;1;25}};2.6124}}

npcdata_x2.txt (all x2 with web tool)

additional_make_multi_list={{{{[adena];14;20;100}};70};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};[highlight=red:486841aee0]xx.xx92}[/highlight:486841aee0];{{{[stem];1;2;3.9799};{[suede];1;2;25}};1.3062}}



btw Riane nice web tool :)

alrite, whats red just means that in Sina server the rates are your red value, which doesnt even exist in meifu (which i used to make the script)
but what really bugs me is this:
};{{{[stem];1;1;75};{[
};{{{[stem];1;1;75};{[
};{{{[stem];1;2;3.9799};{[ with mine, wtf? droprate initial 75 and with x2 with my webtool its 3.9?
i will look into this... -.-

justman 12.04.2005 21:47

Ok i will try to help you :)
see this:

{{{[stem];1;1;75};{[suede];1;1;25}};1.3062}}

1. 1.3062 % is a chance to drop this two ithems general (drop rate)

2. 75 % is a chance to drop stem and 25% to drop suede but this chance is only for which of two ithems will be drop

3. this 1;1 is min and max , if 1;2 can drop max 2 and min 1

Sorry but i have bad english :)

Riane 12.04.2005 22:24

i still dont know why the stem drop rate goes from 75 to 3.9something, tho i dont change that value anywhere in my new script, the error still is there.
ive rewritten the drop part for sina servers, and that number isnt affected at all o.O (and yes my x1 file is correctly 75)

... still working on it, i hate debugging the most of all >_>

flakka 12.04.2005 22:29

Very nice job, Riane! :D

This will come in very handy indeed! Let us know when you update it. I'm gonna keep a close eye on this one. ;)

justman 12.04.2005 22:37

Good luck Riane :) I belive you will fix this very nice tool :)

Riane 12.04.2005 23:04

phew!!!
finally done, everything should work now for sina as for meifu type files, also fixed the bug i posted above with the stem ;)
omg if i'd smoke this would be the perfect moment for one o.O

flakka 12.04.2005 23:42

Sweet! :D

Gonna go fiddle around with it some more. Thanks again for the quick fix! ;)

You can smoke mine - I smoke far too much, lol. But then again, I wouldn't want to be the one to start you on this nasty habit, haha. :lol:

Riane 13.04.2005 00:02

tell me if it works k?
(dont have a working server yet, cant test them)

flakka 13.04.2005 00:06

Will do! :D

Also, you might to let them know to upload their txt file in ANSI if they plan on using their own. I noticed that the first time I used one of the ones from the dropdown menu. I don't think you'd want them to upload a UNICODE file - 8 megs will kill your bandwidth, hehe. Maybe you can do a script to check if they are? Just a suggestion. :)

vaskes 13.04.2005 00:06

hmmm can we see source? (hope im asking not too much)

flakka 13.04.2005 01:26

Works great so far! :D

I'm just trying different rates to see if I can mess up my server, lol. :P

vaskes 13.04.2005 01:56

works improperly set rates to 1x1x1x1
got:
corpse_make_list={{[magic_ring];1;1;1};{[stem];1;1;1}}
must be:
corpse_make_list={{[magic_ring];1;1;xx.xx03};{[stem];1;1;3.9799}}

got
additional_make_multi_list={{{{[adena];7;10;100}};1};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};1};{{{[stem];1;1;75};{[suede];1;1;25}};1}}
must be
additional_make_multi_list={{{{[adena];7;10;100}};70};{{{[apprentice's_shoes];1;1;xx.xx31};{[cloth_shoes];1;1;xx.xx9};{[leather_sandals];1;1;xx.xx9};{[short_gloves];1;1;xx.xx89}};xx.xx92};{{{[stem];1;1;75};{[suede];1;1;25}};1.3062}}

Riane 13.04.2005 11:19

youve set max % to 1, so it doesnt raise over 1 >_>
(maybe try a little harder and read the text behind the inputs next time k?)

also ive set all the rates to standard on page load...

fixed the upload and sina file, but i dont think theres a way to determinate whether its unicode or ansi before uploading it,
anyways PHP doesnt work with unicode (AFAIK) so there will be a plain error filled npcdata.txt...
so save as ansi :P

and btw: gonna make standard and "advanced" settings, heh, stay tuned

flakka 15.04.2005 03:00

Script is messed up. :(

Can't upload a file or use the SINA script from the pull down menu.

Here's the result I get in my text file.



Warning: copy(npcdata.temp.txt): failed to open stream: Permission denied in /home/riane/domains/riane.ellusion.com.sg/public_html/npcdata.php on line 9



Warning: fopen(npcdata.temp.txt): failed to open stream: No such file or directory in /home/riane/domains/riane.ellusion.com.sg/public_html/npcdata.php on line 13



Warning: fread(): supplied argument is not a valid stream resource in /home/riane/domains/riane.ellusion.com.sg/public_html/npcdata.php on line 14



Warning: fclose(): supplied argument is not a valid stream resource in /home/riane/domains/riane.ellusion.com.sg/public_html/npcdata.php on line 15

Riane 15.04.2005 12:40

hmm it did work on my machine, damn linux, gotta set chmod after uploading >_>
one moment and it will surely work

Riane 15.04.2005 12:55

added in chmod, its being upped and opened now, but somehow i dont know why a blank file returns oO, and for sina, i forgot to upload the sina x1 file oO


sorry for the many bugs, im a little ashamed >_>

Riane 15.04.2005 21:50

umm yea lol it worked i was just stupid and tryed a unicode file, ansi works fine, unicode returns empty file.
anyone knows how to open unicode files with php?

flakka 15.04.2005 23:49

Well I tried an ANSI file first, and I got that error. Seems fixed now, thanks! :D

I might have to double check the file because it seems lower - it shows as 817 KB instead of 820 KB after I covert it back to Unicode. This happens after I upload a file.

Other than that, awesome job with the fixes! :D Keep up the great work. I can't wait for the advanced version! ;)

Riane 16.04.2005 10:23

one thing still bothers me, can anyone confirm its working?^^

rykra 20.04.2005 13:03

Riane i got some bugs on your c2beta3 npcdata.txt somo new mobs on the deathpass, cord 51/53 give 800000 xp, rate 15x. i don´t remember the name but is a angel.. ( not archangel)

Riane 20.04.2005 23:16

i dont know any angel on dp -lol-
maybe its a boss
or the original file is already bugged

but i dont think the script is wrong

i took the x1 file from a post here, so the file also should be clean

can you plz give me some more detail?

Digital 25.04.2005 12:53

hmm.. could i request for a mod of the npcdata maker? :p
like... different multipler for different lv groups
e.g
lv1~30 -> 30x
lv31~60 -> 20x
lv61++ -> 10x
something like that :)
shouldnt be too hard.. just have to read the npc level and set the multipler accordingly :)
thx

Riane 25.04.2005 16:26

hmm ok this will be a feature in advanced mode,
i'd apreciate it if i could et some lists compiled with all the dungeon mobs, (if theyre sorted by dungeon its even better)
i could make a feature to double/tripe/etc hp/exp on them

rykra 28.04.2005 12:07

hi riane.. i got some errors.
on death pass monster doll blade die with 1 hit and give MUCH xp and adena.
another problem is cherub's messenger, a lvl 60 (npcdata 15x) got 800000 xp.
if i found another problem, i report here.
ty
and sorry my english

Riane 28.04.2005 14:36

thx for the info but you gotta tell me which npcdata you used ^^
i guess projectc2 beta3, gonna look at it

rykra 28.04.2005 20:18

yes.. project c2 beta 3 i used

nepsquare 29.04.2005 07:08

I used(uploaded) Projectc2 Beta3 final npcdata.txt in ANSI with the additions of strider/wyvern fix, and got these (among others) errors:

05/28/2005 17:11:xx.xx6, [ObjectDB.cpp][168] undefined (or unregistered) Name[pirates_zombie_captain]
05/28/2005 17:11:xx.xx7, invalid npc name [pirates_zombie_captain] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx7, [ObjectDB.cpp][168] undefined (or unregistered) Name[pirates_zombie_captain]
05/28/2005 17:11:xx.xx8, invalid npc name [pirates_zombie_captain] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx8, [ObjectDB.cpp][168] undefined (or unregistered) Name[pirates_zombie_captain]
05/28/2005 17:11:xx.xx0, invalid npc name [pirates_zombie_captain] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx9, [ObjectDB.cpp][168] undefined (or unregistered) Name[cherubs_messenger]
05/28/2005 17:11:xx.xx5, invalid npc name [cherubs_messenger] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx4, [ObjectDB.cpp][168] undefined (or unregistered) Name[cherubs_messenger]
05/28/2005 17:11:xx.xx5, invalid npc name [cherubs_messenger] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx5, [ObjectDB.cpp][168] undefined (or unregistered) Name[cherubs_messenger]
05/28/2005 17:11:xx.xx6, invalid npc name [cherubs_messenger] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx0, [ObjectDB.cpp][168] undefined (or unregistered) Name[baium]
05/28/2005 17:11:xx.xx1, invalid npc name [baium] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx5, [ObjectDB.cpp][168] undefined (or unregistered) Name[zaken]
05/28/2005 17:11:xx.xx1, invalid npc name [zaken] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx1, [ObjectDB.cpp][168] undefined (or unregistered) Name[doll_blader_b]
05/28/2005 17:11:xx.xx6, invalid npc name [doll_blader_b] at file[NpcSocket.cpp], line[141]
05/28/2005 17:11:xx.xx6, [ObjectDB.cpp][168] undefined (or unregistered) Name[doll_blader_b]
05/28/2005 17:11:xx.xx8, invalid npc name [doll_blader_b] at file[NpcSocket.cpp], line[141]

It seems that it only changes the rates for c1 mobs, leaving the c2 ones corrupt. Maybe this can point you in the right direction of finding the solution in your script...

Thanks for making it though!

Riane 29.04.2005 13:31

is the syntax any different from the normal sina files?
oh man, i DO hate debugging
can you give me your lets say cherubs messenger part?

rykra 01.05.2005 07:38

another mobs xp and adena to high. seal angel / guardian angel

fitz_roy 03.05.2005 17:21

Since i am the only one still working with C1 actively as it seems, I'll just report what i've found today:

ALL 1x files are messed up. I downloaded a 1x C1 Sina npcdata (left everything untouched at the load page) and although the XP and Adena are correct, many mats and drops are set at 100% by deafault. Take a look at Samura_longsword_blade for example. 99% at x1 rates?

The only file that ISNT screwed up is the meifu_C1 1x but the problem is that it's missing LOADS of mobs (for example Archon Susceptor and Lesser Giant shooter arent included). I am guessing its not a full npcdata but a cut down version to prevent npcserver crashes when loading on low memory machines.

Can anyone please direct me, if possible, to a CLEAN 1x FULL C1 NPCDATA file?

Osito2Dancer 03.05.2005 18:07

Serve yourself:

Oso

fitz_roy 03.05.2005 19:09

thanks for the offer bud, but its just the same.
Do a search for samurai_longsword and see for yourself. The Weapon drops with nearly 1% chance (which is HUGE) and the blades drop with 99% chance (no comments here). And this is supposed to be the 1x version...

There are tons of weapons and other mats too that have rates out of this world...


All times are GMT. The time now is 16:14.