Hey All,
I decided to work on getting the borg working for the latest V, 4.2.4+. I created a GitHub branch named borg_4x:
It should be open to the public, but I am a noob at GitHub so, let me know if you want to contribute but can't. Nick has been supportive of getting this code into V and I have gotten a lot of help from backwardEric getting it compiling clean. Many thanks to them.
some anticipated questions:
How far along is it?
got a druid tootling along at Clvl 20 so... it can borg.
Is it still stupid?
Perhaps stupider than ever! It is the stupid it was before plus the bugs I introduced getting it to to v4. Hey, it claims to be an auto-player, not a GOOD auto-player
Is it still a coward?
a-yep. Concentrating on getting it working but will try to get it working better once it is stable.
wait, you said 'druid', so you can use the new classes?
Well, yes, but not great. Some issues are 1) shapechanging... not sure how to code for this. Need some clear 'if (fighting balrog) become_bear' type thoughts because I haven't actually played those classes myself so I am not sure. 2) blackguard still fights primarily with bows, as is the borg way. Need to teach it to get up close. 3) haven't coded for some of the new spells, such as single combat. Need to figure out when to cast that and what it really means. 4) a few other spells in a similar position. Commented in the code with !FIX !TODO
How buggy is it?
Getting better. Haven't seen a crash in almost 12 hrs so it must be perfect Seriously, I am still finding things like loops in buying/selling or it hitting the wrong keys... the code change for V to make it so it only gives options that make sense (like don't ask direction for 'open' if only one door is near you) works great for humans but gives the borg conniptions. I am still finding things I missed.
What is new in the code?
I recoded a few things, for example spell casting. No more borg_spell(1, 1) and you have to remember what the first spell in the first book is. Now it does borg_spell(MAGIC_MISSILE) or borg_spell(NETHER_BOLT) hopefully making coding a bit easier. I also tried to eliminate any magic numbers like
unique_on_level == 110 ||
becomes
streq(r_info[unique_on_level].name, "Mughash the Kobold Lord")
or
unique_on_level == borg_morgoth_id
How can I play with it?
Right now the only way is to get the source from GitHub and compile it yourself. If you want to do more than play with it, hop on and contribute.
thanks!
Adam - agoodman00
I decided to work on getting the borg working for the latest V, 4.2.4+. I created a GitHub branch named borg_4x:
It should be open to the public, but I am a noob at GitHub so, let me know if you want to contribute but can't. Nick has been supportive of getting this code into V and I have gotten a lot of help from backwardEric getting it compiling clean. Many thanks to them.
some anticipated questions:
How far along is it?
got a druid tootling along at Clvl 20 so... it can borg.
Is it still stupid?
Perhaps stupider than ever! It is the stupid it was before plus the bugs I introduced getting it to to v4. Hey, it claims to be an auto-player, not a GOOD auto-player
Is it still a coward?
a-yep. Concentrating on getting it working but will try to get it working better once it is stable.
wait, you said 'druid', so you can use the new classes?
Well, yes, but not great. Some issues are 1) shapechanging... not sure how to code for this. Need some clear 'if (fighting balrog) become_bear' type thoughts because I haven't actually played those classes myself so I am not sure. 2) blackguard still fights primarily with bows, as is the borg way. Need to teach it to get up close. 3) haven't coded for some of the new spells, such as single combat. Need to figure out when to cast that and what it really means. 4) a few other spells in a similar position. Commented in the code with !FIX !TODO
How buggy is it?
Getting better. Haven't seen a crash in almost 12 hrs so it must be perfect Seriously, I am still finding things like loops in buying/selling or it hitting the wrong keys... the code change for V to make it so it only gives options that make sense (like don't ask direction for 'open' if only one door is near you) works great for humans but gives the borg conniptions. I am still finding things I missed.
What is new in the code?
I recoded a few things, for example spell casting. No more borg_spell(1, 1) and you have to remember what the first spell in the first book is. Now it does borg_spell(MAGIC_MISSILE) or borg_spell(NETHER_BOLT) hopefully making coding a bit easier. I also tried to eliminate any magic numbers like
unique_on_level == 110 ||
becomes
streq(r_info[unique_on_level].name, "Mughash the Kobold Lord")
or
unique_on_level == borg_morgoth_id
How can I play with it?
Right now the only way is to get the source from GitHub and compile it yourself. If you want to do more than play with it, hop on and contribute.
thanks!
Adam - agoodman00
Comment