nSpawn should theoretically be able to read any and all .NFS excepting any .NFS with 000 in the name. (Explanation: nSpawn converts the NFS coords to in-game coords using it's filename and as we all know 0x<any-number> = 0!
Why should I write spawns with nSpawn
To-date most PSERV developers write their spans via LUA (for things aside of Instanced Dungeons) and for some odd reason mobs spawned via LUA can just ignore .NFA collisions. This will be a big problem for anyone with a 6.2 or lower server.
NFS Spawned mobs can not roam outside of their defined spawn area in the .NFS, this effectively crushes the mobs outside walls issue and provided spawns in the way the GS is used to reading and deploying them.
NFS files are listings of monster spawn areas (we will call them boxes), these boxes have a regionId (pretty much just the position of the box on the list: e.g. 1,2,3,4,5 and on), a count (monsters in this box), four coordinates (Left, Top, Right, Bottom), script trigger (always 0), script length (size of script text) and script text
The boxes script text ( normally like mob(id, #box) ) is a call to the function 'mob(id, left, top, right, bottom) in monster_respawn.lua. [#box being dynamically compiled from the boxes left, top, right, bottom coordinates]
Example: mob( 1900001, #box) <-- belongs to HM Aurumis on m012_007.nfs
Simply start adding rows to your hearts content keeping the following in mind:
REMINDERS:
1. regionIndex = the number of the current row STARTING at 0 (e.g. 0,1,2 etc..)!!!!
2. The scriptLength field must be the total length of your scriptText box! (Failure to abide this will cause errors!!!!)
3. mob(id, #box)'s id corresponds to monster_respawn.lua!!!
Editing Existing NFS
Same as Create, without the creation part. Press File > Load or drag a NFS directly onto nSpawn, once grid is populated, edit to your hearts content!
Notes:
* m005_002.nfs (unknown) caused nSpawn to crash onload
* m007_002.nfs (unknown) is an unused map
* m010_003.nfs (trainee island) will load AND SAVE but you should NOT try to remove the extra location entries and/or attempt to complete them (in 6.2 this will cause gs to insta crash upon loading this nfs)
General Warnings
1. You must have .NET 4.5.1 installed to use nSpawn
2. nSpawn does not edit NPC, this is just a novelty gag from much much older days of Rappelz!
3. Saved .NFS are placed in the /Output/ folder
Special Thanks
C1ph3r somewhat consulting me when he wasn't off doing whatever c1ph3rs do :P Thanks again mate!
Download
Final Words
I will likely post a couple more updates of this tool as I complete them (just novelty functions and the like) if you find a bug that is NOT reading m000_000 or m000_001 or please inform me.
i've got error when i try to save nfs file
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidCastException: Specified cast is not valid.
at nSpawn.gui.saveData()
at nSpawn.gui.saveFile_btn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
[Release] Rappelz Resource Editor 08/02/2013 - Rappelz Private Server - 35 Replies Heyho,
Since it's the 1st of April, I thought about releasing my Resource Editor.
I think the most of you should know what it does, so I don't descripe it anymore further.
It supports 90% of all rdb-files, containing Merge, Import to Database, Save, Open & Load From Database.
Here a little Screenshot:
http://i43.tinypic.com/2gvvkft.jpg