Page 1 of 6 123 ... LastLast
Results 1 to 15 of 84

Thread: Here is the bazaartracker code

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    6

    Talking Here is the bazaartracker code

    Hi Kids, here is the bazaar tracking program
    I wrote about earlier.

    LINUX ONLY.
    Only source code is distributed.
    libpcap required.
    NO WARRANTY.
    USE MAY CAUSE YOUR ACCOUNT TO BE
    TERMINATED blah blah blah.

    This is a tracker only...it relies on user-driven
    bazaar queries. It is not a spoofer or a money
    maker. I mostly wrote it to see how the economy
    was behaving...

    Hope it works for you as it does for me...if not,
    post here and I will try to help.

    If people find it useful, someone could incorporate
    it into showeq (though I personally do not run
    showeq), or start a new sourceforge project
    on my behalf.
    Feel free to post improvements or bugfixes here.

    You can download it here:
    http://seq.sourceforge.net/attachmen...tachmentid=148
    Last edited by bazaartracker; 11-20-2002 at 12:38 AM.

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    6

    compilation, readme, etc

    Read the comments at the top of the c file
    for how to build, use, etc.

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    6

    attachment?

    well, I attached a gzipped c file to the post but I don't see it anywhere. Broken vboard, or am I just blind?

  4. #4
    Registered User
    Join Date
    Nov 2002
    Posts
    6

    here's another attachment attempt

    here it is, maybe

    This URL should work:
    http://seq.sourceforge.net/attachmen...tachmentid=148

    if not, if you're willing to host the code or open
    a sourceforge for it, post here.
    Attached Files Attached Files
    Last edited by bazaartracker; 11-20-2002 at 12:34 AM.

  5. #5
    Did you SEQ today? BlueAdept's Avatar
    Join Date
    Dec 2001
    Posts
    2,008
    If you need a host, I can host it on my site if you want. I havent had time to look at it yet, after I do, Ill put it up at http://www.seqstuff.cjb.net If you want to SF it, that would probably be better. That way you might get more input on it.
    Filters for ShowEQ can now be found here. filters-5xx-06-20-05.tar.gz

    ShowEQ file section is here. https://sourceforge.net/project/show...roup_id=10131#

    Famous Quotes:

    Ratt: WTF you talkin' about BA? (Ok.. that sounds like a bad combo of Diffrent Strokes and A-Team)

    Razzle: I showeq my wife

  6. #6
    Registered User
    Join Date
    Aug 2002
    Posts
    5

    Cool

    Very very cool program. Running into a few snags though. When I search the bazaar, the data shows up on my linux box, but it seems to be jarbled.
    Search seen: "blue diamond" (user 0 mask:ffffffffffffffffffff)
    *** Price change Blue Diamond 1702194242: 1634288 -> 935
    *** Price change Blue Diamond 1702194242: 1634288 -> 995
    *** Price change Blue Diamond 1702194242: 1634288 -> 1000
    *** Price change Blue Diamond 1702194242: 1634288 -> 900
    *** Price change Blue Diamond 1702194242: 1634288 -> 800
    *** Price change Blue Diamond 1702194242: 1634288 -> 1200
    Query done, saw 25 items, time Wed Nov 20 16:52:54 2002

    After I search it doesnt write to btrack.dat. When I quit the program it says:

    Writing output file.
    Wrote 0 items.
    You did 1 queries and saw 25 listings

    For some reason it's unable to write/doesnt know what to write to btrack.dat.
    I would really love to make use of your program.

    Any Ideas?

  7. #7
    Registered User
    Join Date
    Nov 2002
    Posts
    6

    bug report

    Hi, thanks for trying it. Sorry it didn't work for you.

    It's not writing a file because it's getting confused about the seller code in each packet...this is also why you are getting all those price change messages.

    Your packet format is apparently different from mine. If you'd like to help, you could add a call to dumppacket(data, 0x50) right before the call to addlisting() and send me the output privately.
    Or an ethereal/tcpdump capture of a bazaar search...

    Has anyone had better success running the program?

  8. #8
    Registered User
    Join Date
    Aug 2002
    Posts
    5

    !

    PMed you, will continue to tinker with it and see if I get anything in the meantime.

  9. #9
    Registered User
    Join Date
    Nov 2002
    Posts
    1

    Cool Btracker just what I needed

    Hi!
    Just a note that this worked fine for me! Being a linux newbie I was fearfull that I would have to install a bunch of stuff. When I did a search for pcap, I found the info on where to get it from. When I looked on my local machine in the position it comes from in the command line to compile, I found that I already had it. So I decided to just use what was already here (I could always go back and add the other if it didnt work). Worked fine!

    I am running 7.3 redhat.

    ** might it be possible to have the program show low, high, median, and maybe the WideSpread message in the output file (maybe as an option). I am learning c but am still lacking in knowledge.

    Thank you friends!

    Xipper Faeriethumper

  10. #10
    Registered User
    Join Date
    Nov 2002
    Posts
    14
    Before I ask my question, let me make sure you know that I'm very ignorant when it comes to the linux world. I'm learning, but not nearly as fast as I would like.

    OK. When I attempt to compile btrack, I get a ton of lines like
    "btrack.c:67: stray '366' in program

    I'm sure this has to do with my compiler or how I'm set up or something that most linux people wouldn't have any problems with. I've upgraded my libpcap rpm to libpcap-0.6.2-11.7.2.0.i386.rpm (or at least I downloaded and ran the rpm with the -U flag).

    What I've done is:
    made a btrack directory under root (I know that this isn't "proper" but I'm more than happy always being root and will live with any consequences) put the btrack.c file in that directory.
    At a terminal window I went to that directory and typed in
    gcc btrack.c -I/usr/include/pcap -lpcap -o btrack

    I get pages and pages of those stray errors, then when I'm done, I have nothing in my folder other than my original btrack.c file. Any ideas?

    Pokesfan

  11. #11
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    do you have the devel headers for pcap?

  12. #12
    Registered User
    Join Date
    Nov 2002
    Posts
    14
    Remember, I'm still very ignorant in this. I do not know what you are asking nor how to go about getting this information to post.

    I'm going to start a search on this and see if I can determine it, but if anybody can help, I would appreciate it greatly.

    Pokesfan

  13. #13
    Registered User
    Join Date
    Dec 2002
    Posts
    89
    /bump

    I know there are many priorities over and above this, but this would most certainly be a great addition to an already great program. There are some neat possibilities here. Any other thoughts on this?

    Poncho "IC Skittles"

  14. #14
    Registered User domesticbeer's Avatar
    Join Date
    Dec 2001
    Posts
    146
    Bump

    downloaded it this weekend worked great just no writing of the file. Will add the code to dump out hte info and PM you with it later.
    Beer


  15. #15
    Registered User
    Join Date
    Nov 2002
    Posts
    4

    btrack segmentation fault

    Hi guys,

    Very interesting util, but I am having some problems running it.

    I compiled the code without any problems following the instructions in the source.

    When I run a query, this is the output I am getting:

    Before I ran this I did a 'touch btrack.dat' to create a dummy file.

    #./btrack
    Done reading saved entries.
    Now capturing bazaar queries. Type 'h' for help.

    Search seen: "reaper" (user 0 mask:ffffffffffffffffffff)
    Segmentation fault
    #

    (i might have missed an f or two, I am retypign this by hand )

    Any thoughts?

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