first attempts
the server started, no errors
NPCs seem to react, but literally in one word and there is no display in the server log
Finished (10308 items, 1889 mobiles, 12 customs) (1.30 seconds)
DataPath: d:\uo\
Engine: Dynamic NPC: Version [1.0.0.1]
Regions: Loading...done
World: Loading...
Warning: Data/Binary/Bounds.bin does not exist

0 bounties loaded successfully.
...done (558707 items, 67158 mobiles, 155 customs) (9.15 seconds)
Restricting classic client version to 7.0.98.1. Action to be taken: LenientKick
Restricting enhanced client version to 67.0.59.0 SA. Action to be taken: Kick
[Honesty]: Generating...
[Honesty]: Generation completed in 0.00 seconds.
12:14:00 Xanthos.Utilities.ConfigParser attempting to load Data/AuctionConfig.xml...
12:14:00 Xanthos.Utilities.ConfigParser failed.
12:14:00
UO Architect Server for RunUO 2.0 is listening on port 2594
12:14:00 Joeku's Staff Runebook: Loading...
12:14:00 Account: t... done.
12:14:00 Account: a.. done.
12:14:00 Account: a... done.
12:14:00 Account: z... done.
12:14:00 Account: P... done.
12:14:00 Account: G... done.
12:14:00 Listening: 192.168.0.104:2595
12:14:00 Listening: 127.0.0.1:2595
12:14:00 ----------------------------------------------------------------------
12:14:00 Ping Listener Failed: 0.0.0.0:12000 (In Use)
12:14:01 Warning: 59 bad spawns detected, logged: 'badspawn.log'
12:14:02 Cleanup: Detected 26 inaccessible items, removing..
12:14:02 0x40000C73 "SmokeBomb"
12:14:02 0x40000C91 "SmokeBomb"
12:14:02 0x40000CAF "SmokeBomb"
12:14:02 0x40001038 "SmokeBomb"
12:14:02 0x40001057 "SmokeBomb"
12:14:02 0x40001076 "SmokeBomb"
12:14:02 0x40003156 "SmokeBomb"
12:14:02 0x40003176 "SmokeBomb"
12:14:02 0x40003194 "SmokeBomb"
12:14:02 0x400031B3 "SmokeBomb"
12:14:02 0x400031D4 "SmokeBomb"
12:14:02 0x400223B9 "SmokeBomb"
12:14:02 0x4002246D "SmokeBomb"
12:14:02 0x400224C1 "SmokeBomb"
12:14:02 0x40022520 "SmokeBomb"
12:14:02 0x400225C0 "SmokeBomb"
12:14:02 0x40023E13 "SmokeBomb"
12:14:02 0x40023EAF "SmokeBomb"
12:14:02 0x40023F74 "SmokeBomb"
12:14:02 0x400240F4 "SmokeBomb"
12:14:02 0x40024191 "SmokeBomb"
12:14:02 0x4002CE89 "SmokeBomb"
12:14:02 0x4002CF37 "SmokeBomb"
12:14:02 0x4002CF78 "SmokeBomb"
12:14:02 0x4002CFB7 "SmokeBomb"
12:14:02 0x4002D086 "SmokeBomb"
12:14:09 Client: 0.0.0.0: Connected. [1 Online]
12:14:09 Login: 0.0.0.0: Valid credentials for 'tj'
12:14:09 Client Type: 0.0.0.0: Classic Client
12:14:10 Client: 0.0.0.0: Connected. [2 Online]
12:14:10 Login: 0.0.0.0: Account 'tj' at character list
12:14:10 tj: 2 / 7 [SixthCharacterSlot, ExpansionSA, SeventhCharacterSlot]
12:14:10 Client: 0.0.0.0: Disconnected. [1 Online] [tj]
12:14:10 Client: 0.0.0.0: Entered World (0x3BA "Dreams World")
12:15:06 Cleaning Empty Account Vaults.
12:15:06 0 empty account vaults cleaned up.


Auto-starting with default model: gpt-3.5-turbo

UO OpenAI Server: Running

info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: D:\UODreamsServer



screenshot_2024-03-24_02-15-05.png


1123.png
14:33:30 UOAI: Failed to start UOOpenAI Server: ?? ??????? ????? ????????? ????

but the server is running on what port is it connected?
 
Last edited:
Lets make sure you have the system installed properly, first, the UOOpenAI Server must be in the same folder as the ServUO.exe, the script you install into ServUO will auto start the server. First time Server is ran, you must input a valid api key, and use default gpt if not premium member and using free key! The server talks to OpenAI via a Service Contract, no port designation is used! The ServUO and Server don't directly talk, they both rely on sharing files, that is where the two folder come in that get generated in your ServUO Folder, named AIPrompt and AIResponse! I can't tell from your screenshots if you installed the system properly!
 
Lets make sure you have the system installed properly, first, the UOOpenAI Server must be in the same folder as the ServUO.exe, the script you install into ServUO will auto start the server. First time Server is ran, you must input a valid api key, and use default gpt if not premium member and using free key! The server talks to OpenAI via a Service Contract, no port designation is used! The ServUO and Server don't directly talk, they both rely on sharing files, that is where the two folder come in that get generated in your ServUO Folder, named AIPrompt and AIResponse! I can't tell from your screenshots if you installed the system properly!
Thank you
placed UOOpenAI in the root folder of the server, but my file structure was slightly changed and serv.exe in the serv/output folder moved the UOOpenAI folder into it and the server itself began to rise, but the old server does not close when the restart command is used, the second server rises
Now I get the error too many requests

18:23:01 UOAI: Sent Prompt for Dreams World and Asta: woh are you
18:23:01 UOAI: Response for Dreams World and Asta: Error: TooManyRequests
18:23:01 UOAI: Skipped duplicate file change event for Dreams World_Asta.txt
 
OK, not sure what your doing, This system is standalone, and loosely coupled to the server by start only, I have not added everything to handle every situation, if you close your ServUO server, you must manually close the UO OpenAI server! What ever servuo.exe your using, that is where this server belongs, now if you have a custom set up of how you run your servuo than I might not be able to help, I do not code for edge cases!

Also ... with : 1711306178129.png

That looks like you hit the request limit that OpenAI imposes, specially the free account trial has a limit number of requests / minute! This increases for premium uses but there still are limits! Beyond my control!

 
Last edited:
OK, not sure what your doing, This system is standalone, and loosely coupled to the server by start only, I have not added everything to handle every situation, if you close your ServUO server, you must manually close the UO OpenAI server! What ever servuo.exe your using, that is where this server belongs, now if you have a custom set up of how you run your servuo than I might not be able to help, I do not code for edge cases!

Also ... with : View attachment 23378

That looks like you hit the request limit that OpenAI imposes, specially the free account trial has a limit number of requests / minute! This increases for premium uses but there still are limits! Beyond my control!

It seems like I’m sending just one request after a decent amount of time
I'm afraid buying a subscription from openai will not solve this problem, it looks like the error is the same as on the old version, at least I encounter it for some reason

2-01.png

I asked about the ports, I thought you never know if the data goes through other channels, then maybe the firewall or router is blocking
 
Too Many Requests is a error message from OpenAI API : So the system is communicating with OpenAI, I have had this message before when I made too many requests per minute. I've test my end and unless something is wrong with the free tier, I am lost to a fix! I would need another to confirm this error, so if anyone else out there is using this system, can they confirm one way or another if they have it working or having issues? This would help isolate what the real issue is here! Just looking at your screenshots, I can't see any issues, I would say put it into debug, but that isn't going to expose the issue either. Only one thought I had was the name of your character, try for the sake of testing, test with a character with a single name. please!
 
Too Many Requests is a error message from OpenAI API : So the system is communicating with OpenAI, I have had this message before when I made too many requests per minute. I've test my end and unless something is wrong with the free tier, I am lost to a fix! I would need another to confirm this error, so if anyone else out there is using this system, can they confirm one way or another if they have it working or having issues? This would help isolate what the real issue is here! Just looking at your screenshots, I can't see any issues, I would say put it into debug, but that isn't going to expose the issue either. Only one thought I had was the name of your character, try for the sake of testing, test with a character with a single name. please!
Tomorrow I will try to top up my openai account, I hope this will solve the problem
19:13:16 UOAI: Response for Gambino and Watson: Error: TooManyRequests
19:13:16 UOAI: Skipped duplicate file change event for Gambino_Watson.txt
 
Tomorrow I will try to top up my openai account, I hope this will solve the problem
I'll be the first to point out that OpenAI and a like have not been 100% stable and very much in flux, the API has been up/down over the years as they refine and build GPT. I know from the forums there, lots of devs have issues with the API, where one day it is good, next bad! So it might not be you, could be them, hard to say! I've been through a few Hundred $ so far playing with the API over the last few years, so it is not 100% friendly to develop for, mistakes can literally cost ya! LOL

PS: So, if you are going to pay, I would suggest, $20-40 top ups, its not monthly like there ChatGPT, so that is a bonus! Since we don't use it for images, it'll last a long time, playing with the images, that burns through the pocketbook!
 
I'll be the first to point out that OpenAI and a like have not been 100% stable and very much in flux, the API has been up/down over the years as they refine and build GPT. I know from the forums there, lots of devs have issues with the API, where one day it is good, next bad! So it might not be you, could be them, hard to say! I've been through a few Hundred $ so far playing with the API over the last few years, so it is not 100% friendly to develop for, mistakes can literally cost ya! LOL

PS: So, if you are going to pay, I would suggest, $20-40 top ups, its not monthly like there ChatGPT, so that is a bonus! Since we don't use it for images, it'll last a long time, playing with the images, that burns through the pocketbook!
I got it bro, thank you, I'll keep it in mind
By the way, I tried to switch to gpt4 the error changed to
19:49:11 UOAI: Sent Prompt for Gambino and Watson: hello
19:49:11 UOAI: Retrying read of D:\UODreamsServer\Output\AIResponse\Gambino_Watson.txt. Attempts left: 4
19:49:11 UOAI: Response for Gambino and Watson: Error: NotFound
19:49:11 UOAI: Skipped duplicate file change event for Gambino_Watson.txt
 
hi bro
replenishing the account solved the problem) everything worked, thank you)
Maybe you can take a look at the topic with the dynamic NPC system, please take a look at the crash log


screenshot_2024-03-25_09-18-13.png
screenshot_2024-03-25_09-18-29.png

Is there any possibility to make this system multilingual? so that the server understands the language in which the request was made and gives an answer in the same language?
 
Last edited:
Ya, the AI probably picked up on the language being used to talk to it and auto converted but I'll still edit the prompts so this is more apparent to the ai when it hears a different language! And to be restricted to replying in said language! As a side note, when you set up a OpenAI account, they use it to store past conversations from said account, so as you use the AI, it'll get more refined to the specifics of your usage, ie: Language!
 
hello bro
need help

error:
13:44:04 Error:
13:44:04 System.IO.IOException: ??????? ?? ????? ???????? ?????? ? ????? "\Output\AIPrompt\Only For Love_Gorrow.txt", ??? ??? ???? ???? ???????????? ?????? ?????????.
   ? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   ? System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   ? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   ? System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   ? System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   ? System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   ? Server.Custom.UOOpenAI.UOOpenAICore.EventSink_Speech(SpeechEventArgs e) ? \Scripts\Custom\UOOpenAI\UOOpenAICore.cs:?????? 92
   ? Server.SpeechEventHandler.Invoke(SpeechEventArgs e)
   ? Server.EventSink.InvokeSpeech(SpeechEventArgs e) ? \Server\EventSink.cs:?????? 2137
   ? Server.Mobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue) ? \Server\Mobile.cs:?????? 5115
   ? Server.Network.PacketHandlers.UnicodeSpeech(NetState state, PacketReader pvSrc) ?\Server\Network\PacketHandlers.cs:?????? 1627
   ? Server.Network.MessagePump.HandleReceive(NetState ns) ? \Server\Network\MessagePump.cs:?????? 344
   ? Server.Network.MessagePump.Slice() ? \Server\Network\MessagePump.cs:?????? 130
   ? Server.Core.Main(String[] args) ? \Server\Main.cs:?????? 731
 
I'll check into this later today, would be nice to know the message that was sent, and what is with all the ?????????????????? . hard to read!
 
Back