|
-
Sep 24th, 2002, 06:34 PM
#1
Thread Starter
Frenzied Member
OK , Search One file, And Get a certain number of things out of it...
Hi,
I have two text files,
The one i Have made,
And the one another application install made
My File
VB Code:
; Server Prefs
;
SERVERNAME "The Walks Chat"
WIZARDPASSWORD " \4554545493T\9FN"
GODPASSWORD "lq*\8FU\545459F["
PERMISSIONS 0xA0F
DEATHPENALTY 40
MAXOCCUPANCY 200
ROOMOCCUPANCY 30
MINFLOODEVENTS 30000
MAXSESSIONID 10000
SERVEROPTIONS 0x2
PICFOLDER "E:/Servers/PalaceServer/Palace/Media/"
SYSOP "RT46T395"
URL "palace://thewalks.ods.org:9996"
HTTP_URL "http://www.thewalks.ods.org:88/palace/media/"
AVATAR_URL "http://thewalks.ods.org:88/palace/avatars/"
MACHINETYPE "Windows 4.10, A . Processor: pentium processor."
AUTOANNOUNCE "Hi There. Welcome to The Walks. If you need help Feel free to locate a Wizard or God with a * before their name. You can also connect to realm-ed.co.uk:9998 ."
JAVACLIENTWEBPAGE "http://thewalks.ods.org:88/modules.php?name=InstantPalace"
USEOTHERAVATARSERVER
ROOMSFILE "TheWalks.pat"
END
The installers file
VB Code:
; Server Prefs
;
SERVERNAME "Some Wierd'os Palace Chat Server"
WIZARDPASSWORD "h\93p"
GODPASSWORD "/(OA\15\84o\91q"
PERMISSIONS 0x87F
DEATHPENALTY 120
MAXOCCUPANCY 100
ROOMOCCUPANCY 24
MINFLOODEVENTS 300
PURGEPROPDAYS 21
MAXSESSIONID 10000
PICFOLDER "E:\\Program Files\\Communities.com\\PalaceServer\\palace\\media\\"
SYSOP "Wayne Pearsall"
HTTP_URL "http://[currentIPAddress]:9990/palace/media/"
AVATAR_URL "http://[currentIPAddress]:9990/palace/avatars/"
MACHINETYPE "Windows 5.0, . Processor: pentium processor."
JAVACLIENTWEBPAGE "http://www.thepalace.com:8000/perl/palentry.pl?ID=28DSTR3L"
ROOMSFILE "PServer.pat"
END
OK Then
Well the ting is you see,
I wanna get certain things read from the bottom file, and replace the top files values with it, then replace the origional file (bottom one).
IE
VB Code:
SERVERNAME "The Walks Chat"
WIZARDPASSWORD " \4554545493T\9FN"
GODPASSWORD "lq*\8FU\545459F["
PERMISSIONS 0xA0F
DEATHPENALTY 40
'replaced with
SERVERNAME "Some Wierd'os Palace Chat Server"
WIZARDPASSWORD "h\93p"
GODPASSWORD "/(OA\15\84o\91q"
PERMISSIONS 0x87F
DEATHPENALTY 120
' and
ROOMSFILE "TheWalks.pat"
' replaced with
ROOMSFILE "PServer.pat"
And some more of the file,
So as to get the correct details of the persons site,,,
Now if i ONLY have to get two major things, it would be:
VB Code:
WIZARDPASSWORD "h\93p"
GODPASSWORD "/(OA\15\84o\91q"
Since its encrypted, and im not certain which encryption it uses 
OK,
Well if some1 can let me know how to do this, i would be very happy (Cuz it would save me time writting a email to some1 every time they need to "install instant palace" on their machines 
Thanks.
Wayne
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|