Jump to content
Eternal Lands Official Forums

DarthCarter

Members
  • Content count

    40
  • Joined

  • Last visited

Everything posted by DarthCarter

  1. perl Client/Bot/Map class

    Hi, The first version of my perl bot framework is available at http://search.cpan.org/~franc/ (the cpan mirror might take a couple of hours) You should consider it 'Proof of Concept' quality - please give me feeback. There are 3 classes, Client,Bot and Map. Client is reasonably complete Bot is bits that didn't fit in to Client, Map is the EL map ;-) and is only partly working There are two example bots, Trader.pl - a trade bot . . . Hunter.pl - a rabbit/rat hunting bot, obviously to be run on the test server only I'd like to thank the authors of redknight and phpelbot_amilia for making their code public. I'd also like to thank/congradulate Radu and others for the game and client code. I found the client/sever interaction well thought out. I got some interesting insights in to a large scale distributed game. Nice job guys. Now back to my much neglected character cheers
  2. perl Client/Bot/Map class

    thanks
  3. perl Client/Bot/Map class

    Thanks, I'll merge it in for the next release cheers
  4. perl Client/Bot/Map class

    Yes, I'm afraid it's a bit buggy. At least partly because I had/have an incomplete/inaccurate understanding of the protocol ;-( Work is sucking up a lot of my time at the moment so it will be several weeks before I can look at these - sorry
  5. EL Network Protocol Documentation

    This is looking really good - and best of all (for me;-), the docs are uncovering errors in my understanding of the protocol - looks like I'll have some bug fixes to make ;-) cheers
  6. EL Network Protocol Documentation

    Excellent idea, I'll add some of my protocol knowledge in the next couple of days cheers
  7. New charging for bots clarification.

    No, you can test them there if you want. ok, thanks
  8. perl Client/Bot/Map class

    Bummer, looks like I need to fix this more urgently. I'll look in to it once the current bot payment discussion is fully resolved. Thanks for the patch - the stats were pretty stuffed ;-)
  9. New charging for bots clarification.

    Hi, I have heard that bots are not allowed on the test server at the moment - is this par of this change ? I am running a bot on the test server of the 'AI experiment' nature, I'm perfectly happy to pay the $20/year for this as it's for my enjoyment. Is this allowable ? thanks
  10. perl Client/Bot/Map class

    There is one problem that I know about with blowing the stack size limit - but I thought it happened on most maps. Anyway, try uping the stack size with ulimit -s 32768 Let me know if this doesn't work and I'll try to replicate and fix the problem cheers
  11. perl Client/Bot/Map class

    Thanks for the bug-find ;-) What's the problem with pathfinding in WSC ? it 'should work' ;-) cheers
  12. perl Client/Bot/Map class

    Putting this in to C++ would be a fairly large job (and I haven't written any C++ in 10 years)
  13. perl Client/Bot/Map class

    New version, no real changes just fixed some stupid issues caused by rushing the packaging process - version 0.04 should appear on cpan in the next couple of hours Also, if anyone know of an efficient way to flood fill an area based on height map differences rather than border colours let me know ;-)
  14. perl Client/Bot/Map class

    Thanks for the compliments ;-) A few horrible things have been found by a friendly test user (thanks LadyPetra), * you need to ulimit -s 32768 or pathfinding crashes * If you run two bots frm the same directory they can mess up the knowledge file
  15. perl Client/Bot/Map class

    Hi, I just released the next version of my by code to http://search.cpan.org/~franc/ Changes are:- non-buffered IO - doh, stupid me pathfinding rewritten in C inter-map path finding beginnings of storage handling
  16. sending multiline PMs

    Is there a way to send multi-line PM's from a bot ? My bot parrots the RAW_TEXT from #sto, after breaking it in to lines - but (I'm guessing) the server kicks the bot for sending too many PM's too quickly. I could set up a queue to feed the lines back more slowly, but I'd be interested to know if someone has a better solution. thanks
  17. sending multiline PMs

    I have 0.5 sec break each 20 pms (in known-length generated messages), or 0.1 sec after each pm (in unknown-lengtht generated messages). But I mean server accept +-30 server messages very fast send. thanks
  18. sending multiline PMs

    Thanks for the offer, but i am writing in perl (which it is easy in ;-) Does anyone know how many PM's per second is considered acceptable ? cheers
  19. Simple Bot Framework

    I have a pathfinder in C, with a reasonably clean interface that you may be able to integrate in to another bot. But, you will also need to be able to extract the height map from the .elm files - not too hard, you just need to read the map header and decode a few fields to find the height map. I'm not ready to release the new version of my bot yet, so I'm not going to put the new version on CPAN. Let me know if you want the pathfinder and I will post the function here - it's not that long
  20. feasting potion discussion

    Yeah PoFs are a time/money user - I use to make reasoning potions and then trade them at MIra for feastings. But with vials disappearing the cost of doing this has gone up, I am not sure what I am going to do for the next batch yet
  21. Bot functions

    If perl is your language of choice, have a look at http://www.eternal-lands.com/forum/index.php?showtopic=26684 It's fairly basic, but hopefully provides all the fundamentas on which to build specific behaviour cheers
  22. automap

    Hi, I'm one of those people who gets lost very easily (in the real world, in games, in a small room . . .). So I am wondering if their is any interest in an AutoMap feature in the client ? If a Map did not have a bmp associated with it then one would be created in the users .elc directory and the area close (say 6 squares) the player would be filled in.
  23. automap

    I thought that might be the case, it's only a small step from interpreting the map for movement to mapping it all. Oh well I'll just wander around aimlessly
  24. Questions about starting a bot

    You may find that it's worth the effort to code the more general case in the long run. The general issue is that you (often) need to build a consistant view of the 'EL World' from the individual messages you get, it is rare that a single message will contain everything you need. I use the messages to build and remember information about the actors that are seen and about 'myself' just my 2cents worth
  25. I've been stupid ;-(

    Hi, I have a request in for a trade bot, and have stupidly lost the password. I have no problem with losing the character as it's not active yet. But am wondering what to do about the request for a bot that I can no longer use.
×