Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 32

Thread: Hmm..What am I doing wrong-spells_en.txt

  1. #16
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    Or you can do what I did, which was to install the cygwin tools (including OpenSSH) under Windows and used the scp program.
    Code:
    $ scp spells_en.txt youruser@yourhost:/yourdirectory
    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  2. #17
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    or download SSH from ftp.ssh.com. It comes with all the secure shell stuff (scp, sftp, ssh, etc...).

  3. #18
    Registered User
    Join Date
    Nov 2002
    Posts
    55
    How about smbclient ?

    Share your EQ Directory on the windows box and you can use

    smbclient //EQboxname/sharename

    to access the files, just like ftp. If you require a username it can be supplied via '-U username' option at the smbclient command. As always 'man smbclient' for further options

  4. #19
    Registered User
    Join Date
    Dec 2001
    Posts
    752
    Samba

    to get out the big Gun
    -- Lord Crush

    Greater Faydark has to be cleaned from all Elves !

    This is a HOTKEY !!!

  5. #20
    Registered User
    Join Date
    Jun 2003
    Posts
    550
    Here is what I did since I couldn't ftp to my linux box (have not figured out why, but anyway...)

    On the EQ box, I zipped up the spells_en.txt with WinZip 8 and E-mailed it to myself.

    Then on the SEQ box, loaded the mail client to receive the E-mail and saved the attachment into my home directory.

    Then from my home directory, I did the following:

    unzip spells_en.zip
    dos2unix < spells_en.txt > /usr/local/share/showeq/spells_en.txt

    Worked great.

  6. #21
    Registered User
    Join Date
    Jun 2003
    Posts
    64
    WOW! Tried

    How about smbclient ?

    Share your EQ Directory on the windows box and you can use

    smbclient //EQboxname/sharename
    This was by far the easiest!

    1. open terminal window
    2 Typed : smbclient //mywindowscomputername/everquest
    3. asked for my Windows password
    4. Type : dir and it listed my everquest directory.
    5. I tryed "copy" and it did not work
    6. Typed get spells_en.txt
    7. The file was transfer to my Linux box.
    Sweet!

  7. #22
    Registered User
    Join Date
    Jun 2003
    Posts
    64
    Found another way that is graphical (means it shows up in Konqueror for easy point and click copy)

    1.open terminal window and cd to /mnt directory

    2. type: mkdir /win <-----this can be any name. It will be the name of the directory you look for to see the files on the Windows box using Konqueror

    3. type: smbmount //windows_computer_name/shared_windows _directory /mnt/win <-----this should match the file name you used in step 2

    4. enter your windows password when asked.

    5. done

    Open Konqueror and go to /mnt/win and you will now see your windows directory/files. you can now do a simple point and click copy.

  8. #23
    Registered User
    Join Date
    Nov 2002
    Posts
    55
    Isn't konqueror able to mount CIFS shares dynamicly itself ?

    so entering an url like: smb://host/ lists all shares for me, if you prefer the clicky-bunty way

  9. #24
    Registered User
    Join Date
    Jun 2003
    Posts
    64
    suseuser7341, I just got around to tryig what you suggested and sure enough . it beats them all for simplisty.

    For the other newbs like me:

    1. Open Konqueror

    2. In the window slot beside "Location" type smb://windows_computer_name ENTER

    3. BINGO all shared files and folders appear for easy point and click copy and paste.


    Thank you everyone for sharing your information
    Last edited by jesterbam; 10-08-2003 at 04:23 AM.

  10. #25
    Registered User
    Join Date
    Feb 2003
    Posts
    126
    So if this is the text I am getting when ShowEQ starts, does that mean it worked or didnt?
    The amount of spells it loads, and the maxspell number of mine dont match what was in a previous post in this thread.

    Code:
    Loaded 4294 spells from 
    '/usr/local/share/showeq/spells_en.txt' 
    maxSpell=0x1142
    I did the same as a previous poster, emailed the file to myself, via hotmail, and downloaded it on the SEQ machine.


    *edit: it cut off my code, moving it to three lines.
    Last edited by Freakyuno; 10-07-2003 at 04:14 PM.

  11. #26
    Registered User
    Join Date
    Jun 2003
    Posts
    64
    Freckyuno,

    looks like you are missing a lot of spells. I suggest you do one of the simple steps above and transfer the file instead of e-mail then try it . if that does not work try the dos2unix to make sure it is proprerly formatted. When I load the spells I get like 33283 spells loaded.

  12. #27
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    Actually jesterbam, 4294 spells is actually the correct count for the current version of EQ with a max spell id of 0x1142 (which for the hexadecimal impaired is 4418).

    Also, as I mentioned in the CHANGES (and the announcement) for 4.3.14 the loading of those text files is now line termination tolerant.

    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  13. #28
    Registered User
    Join Date
    Jun 2003
    Posts
    64
    Thanks Zaphod. I copied over a new version of the spells_en.txt and sure enough I get the numbers you said. Thanks for everything, your work is amazing.

  14. #29
    Registered User
    Join Date
    Oct 2003
    Posts
    1

    ok, Im stuck

    I did the emial thing. I zipped my spells_en file and emailed to myself. put the file in my usr/local/share/showeq folder. and then tried a few commands that people posted. and it always said

    Problem converting spells to Dos..

    either way i try it it tells me there are problems converting the spells_en.txt file

    I tried: dos2unix < spells_en.txt > /usr/local/share/showeq/spells_en.txt and
    unix2dos < spells_en.txt > /usr/local/share/showeq/spells_en.txt

    when I opened the file in my showeq file I didnt see any headers or anything I needed to delete.. it all looked fine. anyone have an idea to what I am doing wrong?

  15. #30
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508

    Re: ok, Im stuck

    Originally posted by talgor
    I tried: dos2unix < spells_en.txt > /usr/local/share/showeq/spells_en.txt and
    unix2dos < spells_en.txt > /usr/local/share/showeq/spells_en.txt
    Two things:

    1) as was posted in the announcements forum you no longer need to convert it.

    2) If you still are going to convert it, do it right. (man dos2unix).

    Code:
    NAME
           dos2unix - DOS/MAC to UNIX text file format converter
    
    SYNOPSYS
           dos2unix  [options] [-c convmode] [-o file ...] [-n infile
           outfile ...]
    
           Options:
    
           [-hkqV] [--help] [--keepdate] [--quiet] [--version]
    
    DESCRIPTION
           This manual page documents dos2unix, the program that con_
           verts plain text files in DOS/MAC format to UNIX format.

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