RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Bounty System 1.3

apollo_in

Wanderer
Bounty System 1.4 *updated 6/29/04*

Summary:
My take on how the OSI bounty system should have worked.
Post here or icq me (2998088) any bugs, suggestions, or comments.

Thanks.

Description:


Installation:
Install:

copy the folder to your custom script folder.
Create a .\Data\Bounty System directory and copy
BountySchema.xsd into it.
Replace PlayerMobile.cs, Head.cs, Corpse.cs, OrderGuard.cs, ReportMurder.cs, Notoriety.cs.

[Add BountyBoard
 

Attachments

  • Bounty System.zip
    34.3 KB · Views: 1,400

Squire

Wanderer
Hmm, I cant seem to get the script to work. I did as your installation instructions said and i got the following errors:

Scripts: Compiling C# scripts...failed (8 errors, 0 warnings)
- Error: Scripts\Gumps\ReportMurderer.cs: CS0101: (line 15, column 15) The name
space 'Server.Gumps' already contains a definition for 'ReportMurdererGump'
- Error: Scripts\Items\Body Parts\Head.cs: CS0101: (line 7, column 15) The name
space 'Server.Items' already contains a definition for 'Head'
- Error: Scripts\Items\Misc\Corpses\Corpse.cs: CS0101: (line 16, column 15) The
namespace 'Server.Items' already contains a definition for 'Corpse'
- Error: Scripts\Mobiles\Special\ChaosGuard.cs: CS0101: (line 9, column 15) The
namespace 'Server.Mobiles' already contains a definition for 'ChaosGuard'
- Error: Scripts\Mobiles\Special\OrderGuard.cs: CS0101: (line 13, column 15) Th
e namespace 'Server.Mobiles' already contains a definition for 'OrderGuard'
- Error: Scripts\Mobiles\PlayerMobile.cs: CS0101: (line 20, column 14) The name
space 'Server.Mobiles' already contains a definition for 'PlayerFlag'
- Error: Scripts\Mobiles\PlayerMobile.cs: CS0101: (line 35, column 14) The name
space 'Server.Mobiles' already contains a definition for 'NpcGuild'
- Error: Scripts\Mobiles\PlayerMobile.cs: CS0101: (line 52, column 15) The name
space 'Server.Mobiles' already contains a definition for 'PlayerMobile'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Squire

Wanderer
Umm, could you simplify that a bit more? :p

I replaced the current scripts with the ones in the scripts folder, then added the rest of the scripts into a new folder (Bounty System) in the scripts folder. Then updated the data folder with the xml file inside a new folder (Bounty System). What did I do wrong?
 

Squire

Wanderer
Wow, very good script.

I like the structure of it. Works well, kinda.

What would happen if one person was given a huge bounty, but the person who gave it didnt let anyone kill for it?
 

Hero

Wanderer
=WoW=

Nice script! :)
Congratulaions for the script :)
But how active the quests for the bounty board?
----
----
Hero
 

stormwolff

Knight
wraith said:
Ok I have a few questions. Installed Np :) I think LoL

Does the ./Data/Bounty System dir go into the

c:/uoserve/data/bounty System

or

c:/uoserver/scripts/custom/systems/bounty system/data/bounty system

???

also It told me that it couldnt open *.xml but that its cool if this is the first time
it was run. so next question is, how do I add Bountys?
or are they auto generated? I cant seem to add any.
I mean do I need to create an XML file or no?

It goes in Data\Bounty System
You make bounties by using the gump that comes up when you are murdered. You won't get the xml file until you have a bounty.

If you want to use a blank xml file you can make one using notepad copy and paste the following into it and save as bounties.xml

Code:
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
</NewDataSet>

You don't need to do this but you can.

Hero said:
Nice script! :)
Congratulaions for the script :)
But how active the quests for the bounty board?
----
----
Hero

This bounty system is better than the old one because the person that set the bounty must approve a bounty hunter. This prevents the murderer from collecting a bounty on his own head.

To take on the job of hunting a bounty you use the bounty bulletin board and choose which bounty you want. The person that placed the bounty must then approve you or deny your request. If approved you can kill the murderer and take his/her head to the order guard for your reward.



Additional notes: The gump appears when you are murdered. You can set how much the bounty is for or you can choose not to set a bounty. The money for the bounty must be in your bank at the time you get the bounty gump.
 

stormwolff

Knight
We've been getting this crash off and on, any ideas??


Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.BountySystem.BountyBoardGump.OnResponse(NetState sender, RelayInfo info)
at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
 

apollo_in

Wanderer
I'm making a few changes and updates. I'll look into this. Kinda have an idea of what might be happening.

Thanks!


stormwolff said:
We've been getting this crash off and on, any ideas??


Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.BountySystem.BountyBoardGump.OnResponse(NetState sender, RelayInfo info)
at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
 
Z

Zigler

Guest
Exploit with bountys.. if a person puts a bounty in.. then takes it out.. on server reboot the bounty will be back in.. and they get there money yet agani if they cancel again
 
Hey I was curious, am not to much of a scriptor but i was wondering if there was a way to make it so the bounties didn't need approval of the person that put the price on the head. Just like Old OSI where you just habd the guard the head and get money, no waiting or anything. Thanks in advance if this is possible if not oh well thanks anyways
 

stormwolff

Knight
Dracius Blackmoon said:
Hey I was curious, am not to much of a scriptor but i was wondering if there was a way to make it so the bounties didn't need approval of the person that put the price on the head. Just like Old OSI where you just habd the guard the head and get money, no waiting or anything. Thanks in advance if this is possible if not oh well thanks anyways


If it didn't have approval there is nothing stopping a murderer from suiciding and claiming his own head for a reward.
 

apollo_in

Wanderer
Dracius Blackmoon said:
yes that is true, but i would still like to know if its possible =D

Sure its possible. I'll take it into consideration into adding this as a configurable option if enough people want it.
 

Chicomalo

Wanderer
Hi there having some problems with this Script I am not sure were to put some of the files. Anyways I am getting this error maybe ya can help me out here.

Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.net scripts...no files found.
Scripts: Verifying...done (1415 items, 390 mobiles)
World: Loading...done (87064 items, 2338 mobiles) (2.9 seconds)
Could not open .\data\bounty system\Bounties.xml.
.\data\bounty system\Bounties.xml must be in .\Data\Bounty System
This is okay if this is the first run after installation of the Bounty system.
Regions: Loading...done
Address: 127.0.0.1:2593
Address: *********:2593
Address: 192.168.0.1:2593

Any idea why I am getting that?

I made a folder name Bounty System in the Data Folder of RunUO. I place the BoutySchema.xsd file in there while I left the rest of the files in Custom Script and the other one that i needed to replace were done already.
 
Top