Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 02.06.2005, 12:16   #51
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

What I meant is:
I converted (-55x -80x -250x 0x -25x) the first file TO 1x rates. Then multiplied it to the current ("after") rates.

If you kill a Doll now, you get an overkill of exp, instead of what you would expect from a 10x rates file. So only after conversion, few c2mobs were not mutated correctly according to the specified rate.

To be honest, I don't think it's the converter anymore. I think all the c2 mobs were added later in the original npcdata.txt, the mobs have too much exp to begin with. But they are effected by your tool. Manual editing is required to have a normal file. Thus I'm concluding that I didn't have a correct file to begin with.

Sorry, thanks for your time Divider. I guess I should be looking for an close to original C2 npcdata.txt file...

BTW PEOPLE: This is the origin of the infamous DOLL EXPLOIT. It is not due to L2 Control.
nepsquare is offline  
Old 02.06.2005, 13:36   #52
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

i think that the C2 mobs in the (55x 80x 250x 0x 25x) file where not at the same rates(must be less then the rest of the file). maybe i sould add some checks on decreasing rates if the new values are valid or not
divider is offline  
Old 02.06.2005, 14:19   #53
Rikku
Архивный участник
 
Join Date: May 2005
Posts: 129
Default Re: L2 Control

Quote:
Originally Posted by divider
Ok for first Hello to everyone guys.
As you noticed this is my first post here and I won’t say but the necessary. To make it short as a lot of you know what it means to have a server and try to make it work properly and find ways to make work on that more easier, I decide to make a little something to help me out with npc_data changes.
So I developed a program that changes rates of adena / drop / xp / sp / spoil as well as some extras (as the amount of items dropped / spoiled etc). Anyway I thought of posting it here so I could help other people that will find it useful, so anyone of you that wants to use it feel free to do so, as well as make suggestions and comment about it. There are some more things on my TO DO list that might be added to the program so if anyone has anything else in mind suggestions / improvements etc just let me know

ps. App requires NET installed

HISTORY
01 June 2005
1) Filters added on ItemData
2) NPCPOS added (if you wonna help open npc-pos and try to find the correct values in the display )

31 May 2005
1) npc_data loading is faster and safer now + some bugs corrected
2) Ai Editor allows to ADD/DELETE/CHANGE BuySell Lists (shops) and Teleport list
3) Item-Set data added ADD/DELETE/CHANGE
4) still need some feedback / ideas

29 May 2005
1) AI Editing Added, you cant save yet

28 May 2005
1) Skilldata editing added (Save PCH2 isnt working yet)

27 May 2005
1) not tested but i think its works on any npc_data files now
2) Rates are applyed to filtered views. means if you select a Min level and a Max level and hit Apply Rates only those npc's will be affected.
3) You can add new NPC or EDIT / DELETE them
4) You can ADD / EDIT / DELETE Drops/Spoils
5) while saving a file the app tryes to fix some minor problems too
Nice little app you have made... I'm my self trying learn programing. Thats great work..
Rikku is offline  
Old 02.06.2005, 15:03   #54
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

divider is offline  
Old 06.06.2005, 21:40   #55
Awhite
Архивный участник
 
Join Date: May 2005
Posts: 13
Default

The copy i got doesn't have any search function
Would be great to add one.
Awhite is offline  
Old 06.06.2005, 22:05   #56
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

hehe ... new version has a lot of search filters but i still didnt tested it much. give it a try and let me know
divider is offline  
Old 07.06.2005, 17:31   #57
Awhite
Архивный участник
 
Join Date: May 2005
Posts: 13
Default

Yeah great filters, but there's a really annying error occuring when loading my skilldata

It happens on formatting, and the reason is that some values from the skills inside my skilldata file are not seperated by a [TAB], but a plain [space]. I had the same problem with your previous versions and tried to fix my own files using Find&Replace function inside our trusty notepad . But after that i got error in server loading the skills although they worked fine on your program.

Hope you do fix that "bug" it has to do with the way it reads the text .
Awhite is offline  
Old 07.06.2005, 21:45   #58
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

ill see what i can do for the loading part, but on saving it will have tabs instead of spaces. try editing manual a few lines of you skilldata file replacing spaces with tabs and see if it is loaded by your server!

dont MASS change the whole file, just the first skill for example and let me know

if you can .. mail me that file or find me in msn so i can check it out.
divider is offline  
Old 14.06.2005, 11:17   #59
-mAn-
Архивный участник
 
Join Date: Mar 2005
Posts: 6
Default

At opening npcpos.txt it is closed with an error:
Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidCastException: Cast from string "parameters	npc_end
npc_begin	[p" to type 'Long' is not valid. ---> System.FormatException: Input string was not in a correct format.
   at Microsoft.VisualBasic.CompilerServices.DecimalType.Parse(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.LongType.FromString(String Value)
   --- End of inner exception stack trace ---
   at Microsoft.VisualBasic.CompilerServices.LongType.FromString(String Value)
   at L2Control.clsTerritory.Parse(String NpcLine)
   at L2Control.modData.LoadSplitData(String BlockStart, String BlockEnd, ArrayList& pTargetArray, String& pBuffer, String pTitle, clsProg& Progress)
   at L2Control.frmNpcPos.LoadTerritory(String& pBuffer, clsProg& Progress)
   at L2Control.frmNpcPos.LoadFile(String Filename)
   at L2Control.frmMain.OpenFile()
   at L2Control.frmMain.mnuOpen_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItem.ShortcutClick()
   at System.Windows.Forms.Menu.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG& msg)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
L2Control
    Assembly Version: 1.0.19xx.xx822
    Win32 Version: 1.0.19xx.xx822
    CodeBase: file:///D:/L2/Beta4-PreTest110405/Script/L2Control.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.xx.xx52.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
RegexAssembly3_0
    Assembly Version: 0.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

At opening skilldata.txt it is closed with an error:
Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: System.FormatException: Input string was not in a correct format.
   at System.Number.ParseInt64(String s, NumberStyles style, NumberFormatInfo info)
   at System.String.System.IConvertible.ToInt64(IFormatProvider provider)
   at System.Convert.ToInt64(Object value)
   at System.Data.Common.Int64Storage.Set(Int32 record, Object value)
   at System.Data.DataColumn.set_Item(Int32 record, Object value)Couldn't store < 10 mp_consume2 = 38> in mp_consume1  Column.  Expected type is Int64.
   at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateSet(Object o, Type& objType, String name, Object[] args, String[] paramnames, Boolean OptimisticSet, CallType UseCallType)
   at Microsoft.VisualBasic.CompilerServices.LateBinding.LateSet(Object o, Type objType, String name, Object[] args, String[] paramnames)
   at L2Control.clsSkill.CopyTo(DataRow& Row)
   at L2Control.frmSkill.LoadFile(String Filename)
   at L2Control.frmMain.OpenFile()
   at L2Control.frmMain.mnuOpen_Click(Object sender, EventArgs e)
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.MenuItemData.Execute()
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
L2Control
    Assembly Version: 1.0.19xx.xx822
    Win32 Version: 1.0.19xx.xx822
    CodeBase: file:///D:/L2/Lineage%202/Server/Serv/Script/L2Control.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
    Win32 Version: 7.xx.xx52.4
    CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.Data
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.43xx.xx3
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
RegexAssembly3_0
    Assembly Version: 0.0.0.0
    Win32 Version: n/a
    CodeBase: 
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.


Why it occurs and how it to avoid?
-mAn- is offline  
Old 14.06.2005, 20:18   #60
divider
Архивный участник
 
Join Date: May 2005
Posts: 39
Default

if possible mail a part or the whole file to me, so i can test it
divider 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 16:08.