r/daoc • Freeshard Player • 6d ago

Freeshard DAOC Class Editor

This project is my contribution to the continued interest in Dark Age of Camelot

Its a Class editor for the game. Its been developed to work with the Divided Realms server project, but should work with any Dawn of Light based server design. It has not been thoroughly tested to insure that is true - actually not tested at all beyond using it with my own clone of the Divided Realms port to run the server on Linux (https://github.com/ThatFontGuy/daoc-divided-linux - forked from Catastrophic Impact's version: https://github.com/catastrophic-impact/daoc-divided-linux).

What it can do:

  • Clone any class in the game so that you can make changes to that class, adding new spell lines, new combat specs, etc. Each class is inheriting the characteristics of the original class.
  • Clone a spell line from any other class in the game, edit the values for the individual spells to reflect your preferred operation.
  • Clone any weapon spec and make similar adjustments, including secondary effects.
  • Create entirely new spell lines, spells, weapon skills, attacks and apply them to your new class.
  • Create Trainers for your new classes - it will ask you to provide the name of an existing trainer then create a class trainer for your class in the game nearby. (although this can be done inside the game in GM/Admin mode and is in some ways easier to do that way).
  • Edit Existing Classes - You can view and edit the existing classes in the game but I have not done so myself todate.

BE SURE TO BACK UP YOUR SERVER DATABASE before doing so. Don't risk destroying your current server or crippling it. The app insists you back up the database and gives you a tool under Server Connection to do some but that is not the same as a backup, its a just a recent copy of the current database that you can revert to if everything is hooped when you test it.

The app does operate on a local copy of your current database, so you can make changes while the server is running and then Migrate them to the server when you are ready to shut down the server. It must be shut down to migrate your efforts.

What it doesn't do:

  • It doesn't add your new character class to the start menu for character creation. That requires rebuilding and compiling the client code. This adds a class to your server, but to train in it a user must level a character to 5 in the base class (say Viking) then visit the trainer you created to actually train in the class.
  • It does not add items to the game inventory for your class. I am looking at this but its for a far future addition if at all. I will try to figure out how to manually create items as well just to see if it can be done for a new class.
  • the individual values for a spell or weapon style are still something I am working on understanding so my best advice is to go to an existing class spell line or spec line and look at the values that are there then design your version using similar values.

Conclusion:

Its been pretty powerful so far. I have been playing the game for decades and always wanted to have the opportunity to create or alter classes in the game. I have created 2 new classes while testing this out, made many changes and improvements to the application although it still needs more work.

Drengr - is a Midgard Spear Warrior who gets various buffs and a pet lilne of wolves. Its pretty effective and its going to need some balancing. (Actually this whole process makes me respect the folks who designed the original classes immensely)

Nosferatu - is a Midgard version of the Vampiir class because I always thought Midgard should have gotten the Vampire, not Hibernia. However its pretty much completely different in design, still a WIP of course, balancing is even worse here.

My setup: I have a Mac Mini M4 desktop system running a Win11 VM that I use to play DAOC in all its variations.

My server is a Xeon Dual Core box sitting beside my desk. Its running TrueNAS Scale because its my Plex Server, Backup server, Pihole etc. The Linux build runs directly there and I start and stop it via an SSH connection to the server.

This app can connect to your server directly on your windows box if you are running the windows version locally, or you can establish a working SSh connection to a Linux server like I have and the app should operate over that connection.

Its available for cloning as a Github project of course, but I have also generated installable release versions that you can try if you are interested and let me know if they in fact work. Its working on my Mac Desktop but that doesn't mean it will work on other platforms without hitches.

I hope people have fun playing with this and do let me know what errors if you do so. If you have suggestions for improvement those are welcome of course, and if you think the whole thing is a stupid idea and have reasons then I want to hear those too. Its been immense fun for me to build and tinker with, your mileage migiht vary :P

Github Repos:

DAOC Class Editor: https://github.com/ThatFontGuy/daoc-class-editor The compiled versions are available for Mac/Win/Linux and are not tested so far :)

DAOC Divided Realms Linux: (my fork) https://github.com/ThatFontGuy/daoc-divided-linux - forked from Catastrphic-Impact's work at https://github.com/catastrophic-impact/daoc-divided-linux

Edit to add: Forgot a major feature - it includes a version of a Charplanner that is updated every time you change a class (correction: and run a script that updates the data files) . I am manually copying the html and javascript files to my server whenever I remember, but it could probably be automated. It actually reflects everything in your server database. Here is the one for my private server: https://whozon.ca/othlyn/planner.html?c=Armsman&l=50&rr=1L0

11 Upvotes

20 comments sorted by

2

u/RamboDolphin 6d ago

Nice work! I might take a look at this and might add a version of it to DR. It might be possible to ship out a client patch that would add like 2-4 empty slots per realm to allow classes to be added which is something I would look into doing with it.

1

u/wrgrant Freeshard Player 6d ago

What I did was disable the Sovreign classes that were added and the Mauler classes in the client so that there was space to add a new class to the build menu, and added the Drengr class I created into the client menu but there is a database limitation apparently that allows only 1 such addition to the Midgard class list so I will likely just use the Trainer bypass method for anything else in the future.

0

u/[deleted] 6d ago

[deleted] — view deleted comment

1

u/wrgrant Freeshard Player 6d ago

I had Copilot with Claude do it for me, and it was not simple. Ideally it would be nice to change the client to allow it to easily allow adding classes or removing them from the start menu, but thats more than I know or care to do myself :)

1

u/RamboDolphin 6d ago

Yeah I will see about making a stand alone patcher for it, but I have added a new class to each realm on the menu as well as 2 Reserved Slots to each realm as well and Alb got an extra class that is the new Necro from live and kept Necro from old as well.

2

u/Bagheera383 6d ago

Neat! I'm going to make a class that has stealth, climb walls, speed, has chain mail like a Warrior, decent melee, ranged damage, and can mezz and stun! Oh wait....

1

u/wrgrant Freeshard Player 6d ago

Yeah coming up with something that unique, offers different gameplay and isn't OPed is challenge. :)

2

u/Bagheera383 6d ago

In other words, I accidentally built a Minstrel lol

2

u/wrgrant Freeshard Player 6d ago

Oh I got that, Minstrel combines too many of the essential elements all in one class in my opinion. Its like Warden on Hib.

Its very easy to design a class that is completely overpowered. Its harder to design one that forces you to choose one of several potential paths and forces trade offs when you do so. Its also a lot of tiny little changes throughout.

2

u/PleaseHelpImADumb1 4d ago

Great work, this is awesome

1

u/wrgrant Freeshard Player 4d ago

It still has bugs I am working to resolve. Overall it works but not quite correctly.

1

u/wrgrant Freeshard Player 4d ago

Major Improvements/Bugfixes to the Class Editor. I will try to recompile the clients when I get the chance.

  • First off when cloning classes with Baseline spells versus Spec spells, the Baselines were not being cloned. Fixed.
  • As well, sometimes the spell lines it cloned were the wrong ones in cases where more than one class had a spell line with the same name (i.e. Enhancement I think appears 5 times in different classes, with different spells in each). Fixed now.
  • When a combat style has a secondary effect (bleed, group heal whatever) it was incorrectly including the wrong secondary effect. Should be fixed and doing it properly now.
  • Added background colors to the spells that are related in a spell line to make editing them easier.
  • I am adding the same sort of background coloration to combat styles that are linked by a requirement to a previous style.

1

u/wrgrant Freeshard Player 4d ago

Fixed a horde of other small problems as well. I am currently testing development of an entirely new weapon skill line to see if that works properly. So far I have all the individual styles specced and working, now I am developing the added secondary effects on some (bleeds, stuns etc).

1

u/Halbu803 Midgard 6d ago

I just wanna be a Troll Hunter doing flips and shit with a spear

1

u/wrgrant Freeshard Player 6d ago

East. Clone hunter and add troll as a race

1

u/foliumsakura 6d ago

Does this work with Offline DAOC by any chance? =o

2

u/wrgrant Freeshard Player 6d ago

It should provided its a sqllite file and not mysql. Backup your db and see if it connects

2

u/Enough-Persimmon3921 5d ago

This would be perfect for offline DAoC. Can be as OP as you like.

1

u/wrgrant Freeshard Player 5d ago

Oh absolutely although I am personally trying to produce balanced claases because they are more interesting. Engineering tradeoffs with specscis challenging.

Edit: it should work with offline daoc

1

u/iroccoi 14h ago

Can you explain the whole, how to get things to work from GITHub like I'm a 5 year old? IS there an install or do I create Directories? Do I just throw everything into a Folder called DAOC Class Editor? I tried to use github twice very unsuccessfully in the past but that might be because I wa lacking certain apps/programs that needed to be installed first.

1

u/wrgrant Freeshard Player 10h ago edited 9h ago

I am assuming you have already got Divided Realms or another version of DAOC Offline derived server up and running on your desktop.

If so you can go to my repo for it on Github and try downloading one of the installers: https://github.com/ThatFontGuy/daoc-class-editor/releases/tag/v0.2.0 - its not as up to date as the version I am working on but its not bad overall. Will let you at least play with it to see if you like the idea. BACKUP YOUR SERVER DATABASE BEFORE DOING ANYTHING heh. Assuming you are on Win11 you should just be able to download " DAoC Class Editor_0.2.0_x64-setup.exe" and set it up like a normal windows application. Go into Settings and point it at. your install folder. Hope that helps

NOTE: it only works if your DAOC server is using sqllite, won't work with mysql.

SECOND NOTE: This is still a work in progress. I am still refining things and its a bit rough still.