![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
I just finished writing this utility not to long ago, it's purpose is to increase the drop quantities of basic crafting components to allow a crafting community to actually exist.
The formulas the program uses are explained in the readme. I have not tested this on a production server as I do not run one, but I have downloaded 2 different NPCDATA.TXT files that claim to be C4 official and the tool has performed flawlessly on them. This was written for the admins of a server I play on so that they could solve lack of materials issues on a 7x server. A side note, this was written quick and dirty so if you try to break it, you probably will (i.e. by entering text instead of a number in the modification factor boxes). The source code is included, which has the makings of a pretty decent NPC class in it. This utility could do alot more if I have the time/motivation to update it. The source code is included. You do need .Net Framework 2.0 You are free to use/distribute/modify this program as long as the source code is included or made available on the same download page as the modified program. Enjoy! Comments welcome! ****Updated**** -v0.5 Forced Program to use English (United States) Regional Settings. This should clear miscellaneous reports of errors interpreting stings. The problem is that .Net tries to use local settings and in some areas ',' and '.' mean very different things. -v0.4 Added Progress Bar Added Multiply Formula -v0.3 Added Ignore formula option. Prevented input of text into Modification Factor boxes. Increased error message verbosity to help end user check for properly formatted NPCDATA. Error message should display the NPC where the error occurred. Started come minor code cleanup & commenting. Included EULA in package. -v0.2 Fixed issue in normalize option that would allow a quantity of 0 to be written. Вложения из исходного сообщения (сами файлы в копии отсутствуют): NPCData QE v0.5.zip — 96261 байт |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2006
Posts: 64
|
is possible dell all Mats in npcdata ? ... help me
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Sep 2006
Posts: 64
|
OMG thxxxx lot
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
i did a bit more testing and found an issue w/ normailize option.
It was a logic error on my part, I guess not enough caffine while coding ;p |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jul 2006
Posts: 81
|
nice job
thanks for the share |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Dec 2006
Posts: 135
|
Excellent! Thanks a lot.
Good work! |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Dec 2006
Posts: 207
|
very good job .
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
v0.3 Released
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jul 2006
Posts: 77
|
thank you very much !
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Nov 2005
Posts: 59
|
It creates a 2kb file, I changed NPCdata to text because it errors in ANSI what am I doing wrong?
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Sorry, but last pack no good.
Components file in unknown regional code, and Main.vb empty 0 kb. |
|
|
|
|
#12 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
|
|
|
|
|
#13 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Quote:
Additionally, if that does not solve your issue examine the NPC that it spits out the error for. Chances are it's improperly formatted. TABS between values, not spaces. |
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Updated v0.5
Should fix errors caused by regional settings. |
|
|
|
|
#15 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
So has anyone found this thing useful?
Can you think of any other features to add? Please post feedback. Thanks! |
|
|
|
|
#16 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
Code:
hmm IM getting this errors.. tried all formulas.. my npcdata is c4 retail 1x .. no tabs.. no spaces.. only 2kb file created.. btw this error only when its in default L2 format (larger filesize) .. when I convert to smaller filesize (unicode to ansi ?? ) im getting no error but program freeze. latest version work OK - Im glad to help you to find where was problems :-) |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Between [gremlin] and level=1, is that a space or a tab?
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Very good share, thanks for it. Its really good, but i think i found a bug: for anyone who used this, please check the "adquire_exp_rate" of the new NPCDATA.txt. I ran this program on the PP-IRC C4 Release, and got the adquire_exp_rate modified by this standard:
Original: adquire_exp_rate = xx.xx (for a lvl 1 gremlin, the 1ºst mob) Parsed One: adquire_exp_rate = 2939 (the same mob, got the "." on "xx.xx" deleted) I used "Multiply" option, but just tested it out with Default one. Be careful about this. Atte Oso |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Please post the original NPC data so i can test.
I tested several versions with the new multiply formula with no descrepancy. Thanks. |
|
|
|
|
#20 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Quote:
Thanks. |
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Ok, for those of you that are having trouble and you NPC data is good, it is your Regional Settings. If you set your Regional settings to English - US you should be fine.
I think I have fixed this in the next release, However I'm far to tired to publish it right now. I'll post it later. I'd really like someone that was having problems to message me though so it could be tested a bit further. I did some testing myself with my regional settings set to places that do not use . to denote fractional numbers and I'm no longer getting errors, but I'd feel better about releasing if it actually field tests ok for someone. -Thanks. |
|
|
|
|
#22 |
|
Архивный участник
Join Date: May 2006
Posts: 78
|
nice work khelben,i tried it out but unfortunately it bugged my npcdata.
it made all mobs do very high damage like 15000 damage and u couldnt kill them. |
|
|
|
|
#23 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Quote:
A couple questions for you. 1. Were you using the latest version, v0.5? 2. What are your regional settings in windows? 3. If you change your regional settings to English - US do you still experience the issue? |
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
World standart is "." for decimal point.
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
Actually in some countries they use "," case in point, Greece and Czechoslovakia
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|