Hi,

I have two text files,

The one i Have made,

And the one another application install made



My File

VB Code:
  1. ; Server Prefs
  2. ;
  3. SERVERNAME "The Walks Chat"
  4. WIZARDPASSWORD " \4554545493T\9FN"
  5. GODPASSWORD "lq*\8FU\545459F["
  6. PERMISSIONS 0xA0F    
  7. DEATHPENALTY 40
  8. MAXOCCUPANCY 200
  9. ROOMOCCUPANCY 30
  10. MINFLOODEVENTS 30000
  11. MAXSESSIONID 10000
  12. SERVEROPTIONS 0x2      
  13. PICFOLDER "E:/Servers/PalaceServer/Palace/Media/"
  14. SYSOP "RT46T395"
  15. URL "palace://thewalks.ods.org:9996"
  16. HTTP_URL "http://www.thewalks.ods.org:88/palace/media/"
  17. AVATAR_URL "http://thewalks.ods.org:88/palace/avatars/"
  18. MACHINETYPE "Windows 4.10,  A . Processor: pentium processor."
  19. 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 ."
  20. JAVACLIENTWEBPAGE "http://thewalks.ods.org:88/modules.php?name=InstantPalace"
  21. USEOTHERAVATARSERVER
  22. ROOMSFILE "TheWalks.pat"
  23.  
  24. END


The installers file

VB Code:
  1. ; Server Prefs
  2. ;
  3. SERVERNAME "Some Wierd'os Palace Chat Server"
  4. WIZARDPASSWORD "h\93p"
  5. GODPASSWORD "/(OA\15\84o\91q"
  6. PERMISSIONS 0x87F    
  7. DEATHPENALTY 120
  8. MAXOCCUPANCY 100
  9. ROOMOCCUPANCY 24
  10. MINFLOODEVENTS 300
  11. PURGEPROPDAYS 21
  12. MAXSESSIONID 10000
  13. PICFOLDER "E:\\Program Files\\Communities.com\\PalaceServer\\palace\\media\\"
  14. SYSOP "Wayne Pearsall"
  15. HTTP_URL "http://[currentIPAddress]:9990/palace/media/"
  16. AVATAR_URL "http://[currentIPAddress]:9990/palace/avatars/"
  17. MACHINETYPE "Windows 5.0, . Processor: pentium processor."
  18. JAVACLIENTWEBPAGE "http://www.thepalace.com:8000/perl/palentry.pl?ID=28DSTR3L"
  19. ROOMSFILE "PServer.pat"
  20.  
  21. 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:
  1. SERVERNAME "The Walks Chat"
  2. WIZARDPASSWORD " \4554545493T\9FN"
  3. GODPASSWORD "lq*\8FU\545459F["
  4. PERMISSIONS 0xA0F    
  5. DEATHPENALTY 40
  6.  
  7. 'replaced with
  8.  
  9. SERVERNAME "Some Wierd'os Palace Chat Server"
  10. WIZARDPASSWORD "h\93p"
  11. GODPASSWORD "/(OA\15\84o\91q"
  12. PERMISSIONS 0x87F    
  13. DEATHPENALTY 120
  14.  
  15.  
  16. ' and
  17.  
  18. ROOMSFILE "TheWalks.pat"
  19.  
  20. ' replaced with
  21.  
  22. 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:
  1. WIZARDPASSWORD "h\93p"
  2. 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