![]() |
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 |
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.
|
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. |
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 |
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 |
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 :) |
that is not a bug its like that in the initial files, see
https://postpacific.mmorpg-game.onli...hp?p=2531#2531 |
---err edit, mom
|
Quote:
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... -.- |
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 :) |
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 >_> |
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. ;) |
Good luck Riane :) I belive you will fix this very nice tool :)
|
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 |
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: |
tell me if it works k?
(dont have a working server yet, cant test them) |
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. :) |
hmmm can we see source? (hope im asking not too much)
|
Works great so far! :D
I'm just trying different rates to see if I can mess up my server, lol. :P |
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}} |
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 |
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 |
hmm it did work on my machine, damn linux, gotta set chmod after uploading >_>
one moment and it will surely work |
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 >_> |
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? |
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! ;) |
one thing still bothers me, can anyone confirm its working?^^
|
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)
|
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? |
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 |
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 |
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 |
thx for the info but you gotta tell me which npcdata you used ^^
i guess projectc2 beta3, gonna look at it |
yes.. project c2 beta 3 i used
|
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! |
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? |
another mobs xp and adena to high. seal angel / guardian angel
|
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? |
Serve yourself:
Oso |
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 22:52. |