Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: Easy spells_us.txt script ;)

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    54

    Easy spells_us.txt script ;)

    Code:
    #!/bin/bash
    `which wget` http://patch.everquest.com:7000/patch/everquest/main/spells_us.txt.gz
    `which gunzip` spells_us.txt.gz
    `which mv` /usr/local/share/showeq/spells_us.txt /usr/local/share/showeq/spells_us.txt.old
    `which mv` spells_us.txt /usr/local/share/showeq/
    ^^^^ simple shell script to download the spells_us.txt straight from the EQ patch servers and move it to the showeq dir ;)

    PS - Once I get a bit of time to code again (few days) I'l add an option into SEQ to download this file using QT's http stuff :)
    (triggered of course, automatic stuff is bad ;) But this should work for now :)

    UnGod/Belith

  2. #2
    Developer
    Join Date
    Jan 2002
    Posts
    239
    Is there any thing in the http headers what wget sends or doesn't send that would allow SOE to distinguish this request from the one their client makes?

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    There engine probably just uses the IE signature in the headers for the request which wget can mimic if needed.

  4. #4
    Registered User
    Join Date
    Mar 2002
    Posts
    54
    Add a:

    Code:
    --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)"
    To the wget line if you want the agent to *look* like msie :)

  5. #5
    Registered User
    Join Date
    Oct 2003
    Posts
    28
    Frankly I'd be much more worried about them monitoring the frequency and/or timing at which an IP pulls the file more than I'd be worried about the "browser signature" to give you away.

  6. #6
    Registered User
    Join Date
    Jan 2003
    Posts
    87
    Hmmmm, I just zip mine up on the win machine. put it on a floppy and transfer it that way.
    All working fine.
    I believe in gun control. I use both hands

  7. #7
    Registered User
    Join Date
    Sep 2002
    Posts
    7
    I just enabled FTP on my linux box, and wrote a VBS script to copy it over from my windows machine

    Regards,

    CJ

  8. #8
    Registered User
    Join Date
    Oct 2003
    Posts
    28
    Frankly I think the eaisest thing is to share out your EQ folder, and smbmount the share on your linux box. Then I just do a
    Code:
    ln -s /eqshare/spells_us.txt /usr/local/share/showeq/spells_us.txt
    And you never have to worry about it, it'll update when you patch.

  9. #9
    Registered User
    Join Date
    Dec 2001
    Posts
    20
    If you want it to look exactly like the patcher, use:

    --user-agent="Sony Patcher"

  10. #10
    Registered User
    Join Date
    Jun 2003
    Posts
    64
    Here is a post that has alot of ways to get the files. You can skip the first 7 or 8 posts. Butr after that everyone listed how they get the file and some are very easy.


  11. #11
    Registered User
    Join Date
    Dec 2001
    Posts
    951
    Originally posted by darkgrue
    If you want it to look exactly like the patcher, use:

    --user-agent="Sony Patcher"
    Dumb question, but how do you know that is what their patcher's agent flag is?

  12. #12
    Registered User
    Join Date
    Jun 2003
    Posts
    550
    Probably packed sniffed

  13. #13
    Registered User
    Join Date
    Dec 2001
    Posts
    20
    Originally posted by uRit1u2CBBA=
    Probably packed sniffed
    Weel, sure, of course!

    Specifically, I used EffeTech HTTP Sniffer , since I had it handy. I'd used it previously for security auditing, and debugging a reverse Web proxy implementation. Sure, could have used etherial or TCPDump or any of a number of other options, but an application-layer sniffer's just so much more handy.

    The other option would have been to set up a logging Web proxy, and point the game at that (I think - since EQ uses all the DirectX stuff, it should in theory inherit the Internet Settings). More complicated and messy, but it's really handy when trying to investigate dial-up connections which would otherwise be technically infeasible to "sniff".

    ObScript:
    Code:
    #!/bin/sh
     
    USERAGENT="Sony Patcher"
     
    for file in eqstr_us.txt spells_us.txt
    do
      echo "Retrieving $file..."
      wget --user-agent="$USERAGENT" http://patch.everquest.com:7000/patch/everquest/main/$file.gz
      gunzip $file.gz
      if test -f /usr/local/share/showeq/$file
      then
        mv /usr/local/share/showeq/$file /usr/local/share/showeq/$file.old
      fi
      mv $file /usr/local/share/showeq/
    done

  14. #14
    Registered User
    Join Date
    May 2004
    Posts
    38

    Re: Easy spells_us.txt script ;)

    Just an update if anyone is using a toy like this..

    As of 02/22/06, the agent string is : SOEPatcher/curl as reported by http://www.effetech.com/sniffer/

  15. #15
    Registered User
    Join Date
    Jul 2004
    Posts
    329

    Re: Easy spells_us.txt script ;)

    For debian people

    $ sudo apt-get update
    $ sudo apt-get install showeq-contrib

    See my .sig for how to get the appropriate sources.list entries for this package.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On