DOLConfig

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

DOLConfig

Postby Etaew » Sat Jul 07, 2007 1:15 am

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?
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Postby Phazed » Sat Jul 07, 2007 2:26 am

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? :mrgreen:
Image
Image
User avatar
Phazed
DOL Novice
 
Posts: 64
Joined: Sat Jun 30, 2007 5:36 pm
Website: http://phazed.co.nr
Yahoo Messenger: exocomm
Location: Wichita, Kansas

Postby Gothwaite » Sat Jul 07, 2007 3:52 am

whats difficult about server config now?
Gothwaite
DOL Experienced
 
Posts: 171
Joined: Sun Jul 30, 2006 8:49 am

Postby Etaew » Sat Jul 07, 2007 7:22 am

It's not hard, it just can be made easier, but please stay on topic.
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Postby Luhz » Sat Jul 07, 2007 9:31 am

If it's text, regex can do what you need. Regex is amazzingg.
Luhz
Inactive Staff Member
 
Posts: 164
Joined: Sat Dec 02, 2006 8:55 pm

Postby Etaew » Sat Jul 07, 2007 11:24 pm

I eventually implemented this using string splitting, was just far easier in the end.
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Postby bryon » Thu Jul 12, 2007 12:30 am

instead of splitting the string could make each its own string? username one string and so on?
Project Silodaira -
Ports and Jump points √
Ladder √
Dungeons √
Zone Population ~
User avatar
bryon
DOL Expert
 
Posts: 601
Joined: Tue May 01, 2007 6:42 am
Location: Albion, Dark age of Camelot

Postby Etaew » Thu Jul 12, 2007 12:42 am

bryon wrote: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 :-)
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

idea

Postby pyrite1978 » Thu Jul 12, 2007 4:44 am

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.
pyrite1978
DOL Apprentice
 
Posts: 31
Joined: Wed Jul 11, 2007 6:25 am

Postby Luhz » Thu Jul 12, 2007 5:19 am

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.
Luhz
Inactive Staff Member
 
Posts: 164
Joined: Sat Dec 02, 2006 8:55 pm

Postby ZioRed » Thu Jul 12, 2007 7:23 am

Luhz wrote: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 :)
DOL Developer Team
Quick links: Support | Bug Tracker | Browse SVN

Do you like this project and are you a shard admin/developer?
Then please pick up a task from the Missing Features List.
User avatar
ZioRed
Inactive Staff Member
 
Posts: 460
Joined: Thu Dec 29, 2005 11:08 am
Website: http://ziored.spaces.live.com
Location: Italy

Re: DOLConfig

Postby pyrite1978 » Sat Aug 16, 2014 8:14 am

Heh.. I know this is an ancient line.. but ive been away a few minutes... :P 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 :)
pyrite1978
DOL Apprentice
 
Posts: 31
Joined: Wed Jul 11, 2007 6:25 am


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest