|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) | |
|
Join Date: Jun 2003
Posts: 36
|
This is not my original code, I just used someone's InsuranceBroker
to test out my idea of a Bulk Order Deed Vendor, but I'm having a little trouble. I was able to create the BOD's and they show up on the vendor, but they don't tell you what type of Bulk Order they are, except that they are small or large BODs. Is there a way to create specific types of BODs, say all plate or chain, different ores and thus being able to place a range of prices on each BOD, to make it more like what players charge on the offical shards? I'd like to make it so that there are a few smallBOD's and maybe one LargeBOD on the vendor that players can check out and then the list be refreshed like every 6 hours so a player can come back and check again later if they didn't find what they were looking for. Here's the code, it's very simple Quote:
|
|
|
|
|
|
|
#3 (permalink) | |
|
Join Date: Jun 2003
Posts: 36
|
Quote:
I was just testing the vendor. If I were going to create a spawn of it, I would use some program like Pandora's Box to create and xml of the vendor, then use xmlspawnerload to load the spawns. I used someone's Insurance Broker vendor to test my idea. It was SBInsuranceBroker.cs that I modified to test out my idea. I'm afraid you're asking a novice as far as scripting in C#. I'm just basically modifing someone else's script *I'm sorry if that offends the original creator*, and trying to see if I can implement my ideas with the limited knowledge I have of programming. |
|
|
|
|
|
|
#4 (permalink) | |
|
Join Date: Jun 2003
Posts: 36
|
oh, wait! You mean, you want to test my creation? Well, Let me add
the other file you need to be able to run this test vendor I created. Here is the other file you need. The filename of the other script above is SBBODSeller.cs This one below is BODSeller.cs Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|