Post Reply

If you were logged in you would gain 3 XP for posting a reply.

Please respect our terms of use when participating in Nibbits.

Preview
Comment
We will show a masked version of your IP address as well as your name.

You are replying to:

  • Pretty much finished my end of it... theres been a few changes though

    -----------------------------------------------------
    first, keep in mind that this is made for leisure in my spare time. im not getting paid for this in any way shape or form. I dont even have a beta key. so if i seem to be moving slow, well, im a bartender, i dont get home to REALLY late, you just gotta forgive me.

    secondly, if you end up using this in your own apps, please at least make a not in small print somewhere that you are using the replaylib by prometheus
    -----------------------------------------------------
    Anyhow, by popular demand, it no longer defaults to using mpqlib.

    while the replay class still exists and is functional, it has been broken up into 4 seperate classes, all loadable via byte arrays(so you can use whatever you want, stormlib, etc)

    the replay class will function much as it did in v1.0, with a few things removed and syntax changes (you must access mapname from replay.Mapinfo.mapname, for example)

    Mapinfo class, MessageList class, EventList class, and playerList class

    each of these can be loaded seperately to reduce overhead and speed up the parsing for those who dont want to load the whole ton of data.

    NO LONGER LOADS PLAYER START LOCATIONS!
    this is easy to do without the library, and i was tired of having to access the map file anyhow, if you need to know how to do this, just ask

    The eventlist class now contains 2 arrays:
    UnitsSeen - a unique list of units (only terran at this time) made and used in the game

    AbilitiesSeen - same for abilities

    NOTE: thanks to dcramer i should be getting access to some replay files which will allow me to get the toss and zerg action and ability codes soon

    This allows you to, for example, allow ppl to search for replays with nuklear strikes in them

    tweaks to error handling... instead of handling errors myself, the lib will now throw exceptions so users can debug their code more effectively

    time on messages is also more precise now.

    some class constructors (event and message lists) allow you to specify a playerlist so that you dont just end up with player id's for those, but with the names of the players.

    NO LONGER LOADING AND CROPPING MAP IMAGES
    honestly, this is too resource intensive, and should be done on the application end anyhow

    the java wrapper should be along in a few days, until then feel free to post here requesting features or asking questions.

    thanks,
    Prometheus

    Private
    avatar

Support Nibbits by linking to us: