Search results

  1. Ultima Adventures - A full featured, content packed offline/online server

    Ok, I tried to figure out what is possible when it comes to handling the entire "Talk" gump from BaseConvo via the "explain" keyword. Here's an example of how it can be done (note that you'll still need to write all the class names and stuff for each NPC type, since each NPC has its own...
  2. Ultima Adventures - A full featured, content packed offline/online server

    Unfortunately, that approach won't work since Banker is not a property of BaseVendor, and I don't think you can access a subclass within Banker from the base class BaseVendor that easily, but I'll try to think of something during the day that might work... It's a little trickier than it seems...
  3. Ultima Adventures - A full featured, content packed offline/online server

    Oh, that's a nice find! It might be workable if you detect SpeechGumpEntry via mobile.HasGump, but you'd still need to access that SpeechGumpEntry somehow to call its OnClick method or devise some kind of alternative way to call it (which might be tricky since it's unique for each NPC, has...
  4. Ultima Adventures - A full featured, content packed offline/online server

    Yeah, something like that would be a less cluttering solution with no code duplication, but I can't think of a way yet as to how to implement that... I'll let you know if I think of something though! ;)
  5. Ultima Adventures - A full featured, content packed offline/online server

    Yeah, sure, sounds like an interesting idea! So far, I can see that the town crier, the vendors, and some of the quest NPCs have those speech gumps, you can actually do a search inside the files for SpeechGumpEntry to determine which ones exactly have it. Here's the output for a search like...
  6. Ultima Adventures - A full featured, content packed offline/online server

    Ok, I just tested that exact scenario ("hi", "where am I?", then "NAME explain" - yes, you have to type the NPC's name for it to work under that condition check that I implemented, but it can be changed, I'll try that next) - and it worked just fine :) I'll try to take a look at the scripts you...
  7. Ultima Adventures - A full featured, content packed offline/online server

    Nope, I tested it on your fork and it worked perfectly fine, unless I'm missing something big time in my testing. I tried it with the Banker and with the Tavernkeeper (or whatever his name was), seemed to work just fine for me. I don't think it should be in BaseConvo - the problem is, as you...
  8. Ultima Adventures - A full featured, content packed offline/online server

    @Finaltwist: Regarding hooking up the explain keyword to NPCs to display the original gump - I'm thinking that something like this within each vendor NPC class's OnSpeech method would allow to simulate popping up the explanatory speech gump, I tested it and it seems to work fine...
  9. Ultima Adventures - A full featured, content packed offline/online server

    Yeah, true. Also, it might be possible to hook up the original Odyssey speech gumps to a certain keyword, so that the original self-describing character of the game can be preserved. Not sure if It's an easy enough undertaking, but I'll try to take a look :)
  10. Ultima Adventures - A full featured, content packed offline/online server

    Yeah, agreed! If you want a descriptive text for the Player Vendor system, you can modify this line in SpeechText.cs (the "Banker" line) so that the Banker can explain the PV system if talked to: else if ( sConversation == "Banker"){ sText = "Welcome to our bank, " + sYourName +"...
  11. Ultima Adventures - A full featured, content packed offline/online server

    And in the meantime, I updated my Player Vendor system a little bit more. Haven't moved the timers into the scheduler yet, but the change I made now is pretty interesting, I think: now the Player Vendor will remember the last 5 sales (by default, there's an option in PlayerVendor.cs that toggles...
  12. Ultima Adventures - A full featured, content packed offline/online server

    Sounds like interesting changes to match the playstyle you've chosen for the server, Final! :)
  13. Ultima Adventures - A full featured, content packed offline/online server

    It's a part of .NET Framework, so you don't actually need to download it or put it anywhere and stuff, just add a link to it to Assemblies.cfg and it should then work automagically :)
  14. Ultima Adventures - A full featured, content packed offline/online server

    Ah, that's really cool! :) Thanks for the tip! As for AutoDefend, to compile it, you'd need to edit Data/Assemblies.cfg and add an extra assembly reference to it: System.Core.dll Then it'll compile happily :)
  15. Ultima Adventures - A full featured, content packed offline/online server

    Yeah, I'll take a look at RandomEncounters, sure :) And hold on, I'll see what's up with AutoDefend.
  16. Ultima Adventures - A full featured, content packed offline/online server

    I think I'll take a look at integrating the PV system into the task scheduler, and then I'll most likely think about a couple more random spawning ideas I have - for instance, I have a vague idea how we can spawn random blues and random reds at random using an automated script, but not yet sure...
  17. Ultima Adventures - A full featured, content packed offline/online server

    Sounds like a fun idea! :D 1588422235 Here, I'll attach the final version of the file again - it's really confusing when the forum merges the messages with the same file attached, I think I also got confused and maybe I replaced one of the files with the older one, I dunno *shrug*. At any rate...
  18. Ultima Adventures - A full featured, content packed offline/online server

    Thanks for the tip, I'll take a look at the code and see if I can figure out a way to integrate it :)
  19. Ultima Adventures - A full featured, content packed offline/online server

    I believe the problem with the invisible buildings has to do with the fact that you haven't updated the client with Finaltwist's changed .mul files. Which actually brings up the importance of having a separate patched Adventures client download that would already have the correct .mul files in...

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back