This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TOOL] Valkryst's DressNPCs Handler  (Read 2476 times)

Valkryst

  • Moderators
  • Model Change Addict
  • *****
  • Posts: 224
    • View Profile
    • http://valkryst.com/blog/
[TOOL] Valkryst's DressNPCs Handler
« on: July 30, 2015, 01:47:08 am »
Hey,

After a few days spent working on this program for use by my server's development team, I've got it to the point where I'm ready to release it. All of the features that I've planned to add to the program are currently working, as far as I've tested.

If you have any problems during the setup, have suggestions for the program, find a bug, etc... then just comment below.

Rough Description



This tool allows for easy insertion and updating of both the creature_template_outfits table used by Rochet2's DressNPCs core modification which enables the creation of custom NPCs and the creature_equip_template table.

The program allows for a quick workflow to insert, or update, as many NPCs as you desire. An earlier method, found here, also works, but it's much slower compared to using this program.

How to Setup



Luckily there is very little, if any, setup required to get this program running. The three requirements are as follows.

Requirements



  • You must have Java 8 installed to launch the program.
  • You must have access to an account with nearly full permissions to the creature_template_outfits and creature_equip_template tables of the world database.
  • You must have Rochet2's DressNPCs core modification compiled into your core and setup on your database..

You can download the tool from here and I highly recommend. My blog currently only covers the old method of creating the DressNPCs using a stored procedure/query, but you can follow that tutorial and just enter the values into the program instead of the SQL query. Your server does not require the stored procedure linked in that tutorial.

The Interface



Because the program is still being worked on and fixed up here-and-there, the interface may undergo some changes as development progresses. At the moment it contains all initially conceived features.

The images below may appear quite small. If you wish to view them in their full resolution, then simply right-click on the image and select Open image in new tab. This may only apply to users with the Chrome browser.

In the image below you can see the initial interface of the DressNPCs Screen.



The File dropdown menu allows you to save, or load, the currently entered data. You also have the option of loading data from the database with the Import option. Please be warned that you cannot save your data unless it contains no errors. This was an intentional feature and is not a bug.



The Function dropdown menu allows you to switch to the second part of the DressNPCs Handler tool which allows you to create or update equipment sets for any NPCs that you create. I won't go into detail on how equipment sets work, but you can learn more here.



In the Weapon Handler Screen you can edit up to four equipment sets at once. For more information on how this and the rest of the program works, please read the readme file included with the program.



The Function dropdown menu allows you to switch back to the DressNPCs Screen.



The Settings File



Within the settings file you'll find the saved server address, MySQL port, characters database name, MySQL username, and the interface language. All of these values can be manually edited and it's perfectly fine to just delete the settings file and select everything again through the interface when you launch the program.

The only value in the settings which cannot be changed through the GUI after selecting it is the language. If you wish to change the GUI language, then you'll need to either delete the settings file and launch the program to select it again or change it in the settings file.

Supported Languages



If you wish to contribute a translation in your native language, then please contact me on Skype for the latest files to be translated. It will take at-least an hour of your time to translate everything required.

  • English
  • German

Examples of  Three Settings Files



Code: [Select]
serverAddress=example.com
port=3306
databaseName=characters
username=root
language=English

Code: [Select]
serverAddress=127.0.0.1
port=3306
databaseName=serverA_characters
username=root
language=English

Code: [Select]
serverAddress=123.456.78.9
port=1704
databaseName=characters
username=trinity
language=German

Misc Information



The program should support any version that Rochet2's DressNPCs core modification, but I have only ever tested it on 3.3.5a and I'm not even sure if he has added support for other core versions.

The current program version is 1.3.

Credits



  • Renan ~ Helped to test an earlier version of the program and made a few suggestions on how to better the interface design.
  • Kaev ~ Supplied the German translation for the program.

--------------------------------------------------------

If you want to stay up-to-date with my latest tutorials or if you just want an easier way to view all of my tutorials and releases in one place then take a look at my blog.
« Last Edit: August 01, 2015, 10:03:31 pm by Admin »
MY BLOG IS NOW HERE.

Kaev

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 308
    • View Profile
Re: [TOOL] Valkryst's DressNPCs Handler
« Reply #1 on: July 30, 2015, 07:38:35 am »
I can translate it to german, if you want. :P Just PM me like last time.

Nice work btw! :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Valkryst

  • Moderators
  • Model Change Addict
  • *****
  • Posts: 224
    • View Profile
    • http://valkryst.com/blog/
Re: [TOOL] Valkryst's DressNPCs Handler
« Reply #2 on: July 30, 2015, 07:42:05 am »
Quote from: "Kaev"
I can translate it to german, if you want. :P Just PM me like last time.

Nice work btw! :)

I'll throw you a PM as soon as I get a file written up for all of the components. ^.^

Thanks.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
MY BLOG IS NOW HERE.

Valkryst

  • Moderators
  • Model Change Addict
  • *****
  • Posts: 224
    • View Profile
    • http://valkryst.com/blog/
Re: [TOOL] Valkryst's DressNPCs Handler
« Reply #3 on: August 01, 2015, 10:05:06 pm »
Version 1.3 is out, you can download it from the link in the OP.

  • German language is now supported.
  • A few errors have been ironed out.
  • The project is now on GitHub.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
MY BLOG IS NOW HERE.

MountainLion

  • Moderators
  • Loreweaver
  • *****
  • Posts: 93
    • View Profile
Re: [TOOL] Valkryst's DressNPCs Handler
« Reply #4 on: August 17, 2015, 09:44:26 pm »
Spanish language is supported :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

000aaa

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 1
    • View Profile
Re: [TOOL] Valkryst's DressNPCs Handler
« Reply #5 on: September 24, 2015, 07:27:13 pm »
Nice work :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »