Page 1 of 1
DOLConfig
PostPosted: Sat Jul 07, 2007 1:15 am
by Etaew
Shortly DOL will be releasing an exe which allows you to change your serverconfig.xml easily.
First question I have, can anyone tell me a nice way to split the relevant info from the connection string? like Host, Username etc. Perhaps a regular expression?
PostPosted: Sat Jul 07, 2007 2:26 am
by Phazed
I can't tell you what you're looking for, however I do have a question...
What's so hard about editing the XML with notepad?

PostPosted: Sat Jul 07, 2007 3:52 am
by Gothwaite
whats difficult about server config now?
PostPosted: Sat Jul 07, 2007 7:22 am
by Etaew
It's not hard, it just can be made easier, but please stay on topic.
PostPosted: Sat Jul 07, 2007 9:31 am
by Luhz
If it's text, regex can do what you need. Regex is amazzingg.
PostPosted: Sat Jul 07, 2007 11:24 pm
by Etaew
I eventually implemented this using string splitting, was just far easier in the end.
PostPosted: Thu Jul 12, 2007 12:30 am
by bryon
instead of splitting the string could make each its own string? username one string and so on?
PostPosted: Thu Jul 12, 2007 12:42 am
by Etaew
instead of splitting the string could make each its own string? username one string and so on?
In the config application, it is displayed in it's own box, which is why when the server config is loaded at the start, it has to be split

idea
PostPosted: Thu Jul 12, 2007 4:44 am
by pyrite1978
This could be a bit off topic as well..
1: i see no harm in makin the config a little more userfriendly, text editable or not,
2: another thing i would like to see, if there isnt already, is a executable .. program for admin to make in-game commands a tad bit easier, for instance, i get realy tired of pounding in /item create some_random_thing_i_realy_want_to_hit_mobs_with_right_now_of_the_ages.
3: also a little more user friendly server screen, opposed to just a command line server screen.
PostPosted: Thu Jul 12, 2007 5:19 am
by Luhz
How would you like to see #2 accomplished? If you want item#25235of_the_ages, I don't know how you could get it without telling the server that.
PostPosted: Thu Jul 12, 2007 7:23 am
by ZioRed
How would you like to see #2 accomplished? If you want item#25235of_the_ages, I don't know how you could get it without telling the server that.
It's really possible with a NPC, just handle a whisper event:
OnInteract:
- say: "Hello, would you like to create a new item? Whisper me the name or part of it"
OnWhisper:
- search for item name LIKE the one specified in the whisper (similar to
/item findid)
- output the result list of items in a chat window and the GM may create the item with 1 click and no command
I have already coded such type of NPC for my previous own shard, if you need it just say to me and I can try to search on disk

Re: DOLConfig
PostPosted: Sat Aug 16, 2014 8:14 am
by pyrite1978
Heh.. I know this is an ancient line.. but ive been away a few minutes...

t answer two, what I had in mind, was a tool.. that in some way resembles what was, ages ago a Administrative tool for the UO shard admins.. a 3rd party progam that interfaces with the client, click a button, select an option/function/command to produce desired effect. in hind site, this may be easier accomplished with a client UI.. but I dont know as im in no way a programmer, or a UI developer.
As I said, My apologies for kickin a dead horse.
Still.. it could be something to consider... would beat having to print out a book of ever growing commands, or have a constant browser open to look at the online list.
Just Ideas
