OP
Riley

Riley

Citizen
I couldn't find any DataPath.cfg in the game files, it was in the config folder. I copied the DataPath file to the Gamefiles folder and then ran the command. In the screenshot it is only an excerpt, the list is much longer
 

Attachments

  • datapath.PNG
    datapath.PNG
    251.4 KB · Views: 8
OP
Riley

Riley

Citizen
God damn... is now seems to work :D

I'll start making a guide for stupids (like me in this project) this weekend ;)
I have two more questions to finish. Can I set the skill pool myself, if so where? For example, rd are officially 700. Can I set them to 800 or 900? Can I set other parameters myself?

How can my friends create an account on my server, or do I have to create one for them? We use the official Enhanced Client. Of course, when I go to Account on the login screen, it goes to the official website.
 
Last edited:

Iomega0318

Vita-Nex Sponsor
There is another config file, most settings can be adjusted this way. PlayerCaps.cfg

As long as your shard is open and setup and account creation is on, by default, they simply have to use your IP address and login like you do and an account will be created automatically for them.
 
OP
Riley

Riley

Citizen
OK, fine. Many Thanks. Can I create a test character? So a character whose skill points I can set to maximum without having to skill them? Is that also edited in a file?
 

Kita

Rookie
Log in with another account once you have your admin account, make a character, once done, log out and log back in with your admin, then use [admin to bring up menu, drill down to your player character from account list, use props to make changes!
 

Iomega0318

Vita-Nex Sponsor
You can use [SetAllSkills ### on your admin or player character to set all skills to whatever you want for testing or 0 to reset.
 
OP
Riley

Riley

Citizen
Log in with another account once you have your admin account, make a character, once done, log out and log back in with your admin, then use [admin to bring up menu, drill down to your player character from account list, use props to make changes!
Uff, Sorry, I dropped out mentally :D I didn't quite get that. I created an account after the server asked me if I wanted to create one. When I started the client and I wanted to create a new account by simply entering different access data, the server said that an account already existed with this IP.

There is another config file, most settings can be adjusted this way. PlayerCaps.cfg
I was looking for a way to raise the skillset from 720 a bit. I also wanted to increase skills like the maximum number of followers from 5 to 6. But in the Playercaps.cfg I could not find this information. Are they stored elsewhere?

You can use [SetAllSkills ### on your admin or player character to set all skills to whatever you want for testing or 0 to reset.
I haven't fully understood that yet :,)
 

Kita

Rookie
There is a IP restriction toggle in the Config folder in Account.cfg, increase so you can have more than one account!

Code:
# Number of accounts allowed to be created from a single IP address
AccountsPerIp=1
 

Kita

Rookie
As to your other two questions, followers is hard coded into the Mobile.cs in the Server files, and the staff commands in game always start with a [(followed by the command and at times arguments or prams) you enter this like you were typing text to talk to other players, you can see all listed commands via [helpinfo, the [setallskills <value to set to> is a command to quickly set all skills to say 120, we use his for testing and staff stuff, its not a proper way to set up players, usually coding in desired settings is far better in the end as setting props blindly could have undesirable effects!
 
OP
Riley

Riley

Citizen
As to your other two questions, followers is hard coded into the Mobile.cs in the Server files, and the staff commands in game always start with a [(followed by the command and at times arguments or prams) you enter this like you were typing text to talk to other players, you can see all listed commands via [helpinfo, the [setallskills <value to set to> is a command to quickly set all skills to say 120, we use his for testing and staff stuff, its not a proper way to set up players, usually coding in desired settings is far better in the end as setting props blindly could have undesirable effects!
OK, I'll try that. I am not a programming expert and unfortunately often have to ask where I can find something and how I can change it. Please be lenient. :)


I tested it and it works. Also opening the overview of all commands. Really great for testing. However, if I wanted to make the basic changes, such as increasing the skill pool from 720 to 900, and the maximum number of followers (pet slots) so that it applies to other players as well, would I have to change that in hard code? Have I understood that correctly?

I found this in the mobile.cs, but the change had no effect:

1674509732682.png
 
Last edited:
OP
Riley

Riley

Citizen
I discovered these cool reward items. Are these rewards already included in the server files? Or do they have to be copied in manually (if so, in which folder)? Since these are Veteran Rewards, can they also be made available immediately?

 

Kita

Rookie
You'll need to recompile the server every time you edit the scripts for it to take hold, and for custom scripts, they go anywhere you want within the scripts folder, unless otherwise stated by the creator of said custom scripts. Make a custom folder in there and place them there for easy look up later. Be mindful that older versions of scripts might not work on the latest version of ServUO, so make sure to test the new additions you add bit by bit, don't get caught adding a ton of stuff, than having a ton of errors to follow!
 
OP
Riley

Riley

Citizen
I only found out today that there are no doors and no NPCs in the world. Then I started the "CreateWorld" command. A lot went through and a lot was created. In the end, doors and NPCs were there, but there was a message about a puzzle (see screenshot).

I have discovered another phenomenon. If I place gold in the bank, I can no longer see it in the bank compartment afterwards. However, when I call up the account balance with "Balance", the NPC says the correct amount.
You'll need to recompile the server every time you edit the scripts for it to take hold, and for custom scripts, they go anywhere you want within the scripts folder, unless otherwise stated by the creator of said custom scripts. Make a custom folder in there and place them there for easy look up later. Be mindful that older versions of scripts might not work on the latest version of ServUO, so make sure to test the new additions you add bit by bit, don't get caught adding a ton of stuff, than having a ton of errors to follow!
Unfortunately I can't do that with the reward items. I copied the items into a subfolder in the Scripts folder and restarted the server. As a gamemaster, can I somehow spawn them to watch them?
 

Attachments

  • Problem_Lich_Puzzle.PNG
    Problem_Lich_Puzzle.PNG
    8.4 KB · Views: 4
  • Gold_Issue.PNG
    Gold_Issue.PNG
    1 MB · Views: 4
Last edited:

Kita

Rookie
Primal Lich puzzle am unclear of, it is one of many UO systems that is auto generated in that create world command. As for banks, that was changed in UO too, no longer is gold deposited like before, now its all an account, again am unclear as I don't play, just code! As for any constructable item/mobile in the game, you can add them with the [add <name of item or mobile>
This should help on what changed in UO since you last played : A Summary for Returning Players – Ultima Online
 
OP
Riley

Riley

Citizen
As for any constructable item/mobile in the game, you can add them with the [add <name of item or mobile>
I tried after copying the reward items to the scripts folder and restarting the server to spawn the Hodded Robe from the reward items but he didn't recognize the item. I've tried various names such as "hoodedrobe" or "shroud".

This should help on what changed in UO since you last played : A Summary for Returning Players – Ultima Online
Thanks for the information.

As for banks, that was changed in UO too, no longer is gold deposited like before, now its all an account
Seems to be like that
 

Kita

Rookie
Check the script for the hood, you need to use the name exactly as it is in the script
Code:
[Constructable] public class <name> () {}
 
OP
Riley

Riley

Citizen
Check the script for the hood, you need to use the name exactly as it is in the script
Code:
[Constructable] public class <name> () {}
I entered this name. Didn't he recognize the objects when starting the server?
 

Attachments

  • Items.PNG
    Items.PNG
    202.1 KB · Views: 3

Kita

Rookie
by the script
Code:
[Add HoodedRobe
should work! Not to repeat myself but you did recompile the server after adding in these scripts?
 
OP
Riley

Riley

Citizen
by the script
Code:
[Add HoodedRobe
should work! Not to repeat myself but you did recompile the server after adding in these scripts?
I do not think so. But I have to say that I don't know how to do it. With setting up this server I'm just learning a lot about it. So I would have to ask you how exactly I recompile the server?
 
OP
Riley

Riley

Citizen
I ran the "dotnet build" command in the docker terminal and then got a bunch of errors and warnings. The errors and warnings result from the reward items. If I take them out of the script folder again, then there are no errors or warnings
What does this 767;1R mean?
 

Attachments

  • Errors.PNG
    Errors.PNG
    555.3 KB · Views: 6
  • Warnings.PNG
    Warnings.PNG
    183.3 KB · Views: 7
  • 767;1R.PNG
    767;1R.PNG
    3.8 KB · Views: 5
Last edited:

PyrO

Moderator
You have 1 playermobile.cs in your distro edits folder (and the subfolder) and you have the normal playermobile.cs
Thats why you have duplicates and thats why it tells you that is already defined
 
OP
Riley

Riley

Citizen
You have 1 playermobile.cs in your distro edits folder (and the subfolder) and you have the normal playermobile.cs
Thats why you have duplicates and thats why it tells you that is already defined
Thanks for the hint. I'm still a little overwhelmed with the project, but it's fun and I'm learning. Bit by bit. Do you know what does this 767;1R mean?
 
OP
Riley

Riley

Citizen
Slowly but surely I'm on the right track and I'm starting to understand what I'm doing here :) I got some reward items to work. With the Hooded Robe (Shroud), there is a phenomenon that the character gets the name "Shrouded Figure". It's gone as soon as I take the robe off again. How can I fix this? What triggers this name change?
 

Attachments

  • Shrouded Figure.PNG
    Shrouded Figure.PNG
    479.5 KB · Views: 5
OP
Riley

Riley

Citizen
What can I fix a bad spawn? When I go to the coordinates as a GameMaster, I'm in nothing. All Black. Is something missing there? Did something not load correctly?

Refreshing the respawns did nothing. Should I delete the world and have it recreated?
 

Attachments

  • Bad Spawn.PNG
    Bad Spawn.PNG
    26.5 KB · Views: 2

Kita

Rookie
Don't worry about the bad spawn, the hood has a mod o change the name when worn, all by design, you can edit this right in the script for the hooded shroud!
 
OP
Riley

Riley

Citizen
When I use that, it tells me it's an invalid command. Got it... [set dex "number"

I´ve to use a space
 
Last edited:

Iomega0318

Vita-Nex Sponsor
Correct, you can also chain those commands by using [Set Int Dex Str 123, this will set each individual stat in one command to that number.
You can also use [Set Int 123 Dex 456 Str 789 to set a different number per stat.
 
OP
Riley

Riley

Citizen
And the cap will be ignored? Are there still titles like "Glorious Lord" and the titles like "Legendary Tamer" and so on? If yes, how are they displayed?
 
Last edited:

Kita

Rookie
You can break cap but not that simple, the game is not designed for breaking caps, no support for high values, it requires more thought than just raising a property!
 
OP
Riley

Riley

Citizen
I'm still struggling with one thing. I play on a 4K monitor. Some things here seem very small. For example, when I killed a monster, the opened inventory (backpack) is very small. I have the UI Scale at 1.0. Can this be increased somehow?
 

Iomega0318

Vita-Nex Sponsor
I don't think using the default client that it can be increased any further, most of us use 3rd party clients like ClassicUO which have additional scaling options built into the client. I don't know if there is an Enhanced 3rd party client available though.
 
OP
Riley

Riley

Citizen
Okay. I will test the ClassicUO Client.
Can the interval when the server saves the world be shortened so that it saves at shorter intervals?
 
Last edited: