|
||
|
|
#1 (permalink) |
|
Join Date: Feb 2003
Posts: 412
|
*Updated*
to use say "i wish to form a contract" it will being up a targeting cursor, target the person your making the contract to will bring up a gump where you input contract name, reqard and days to complete and click ok, it will drop the contract into the targeted players bag, to view the written contract doubleclick it once doubleclicked there is a button that says verify corpse, once you killt he target you use that adn target the corpse, if it is the correct target the button changes to claim reward click that and target the personw ho assigned the contract to you adn the reward will be dropped into your person in the form of a check, if the contract expires before you get all of that done the reward is once again readded to the employers bankbox adn the button ont he contract is invalidated, as also the contract is non transferable, if another player attempts to use the contract the buttons are again invalidated i think theres more to it, i cant remember for sure, try it tell me waht you think, and any sug. to make it better Updates: July 24 -added an instant payoff version for requests Updates: -there is now an accept contract gump -the claim reward bug is fixed -if a player is offline when claim reward is clicked and time is less tha 1 day left, it resets the time to 1 day so if player stays offline a few days, the contract wont expire while he is offline, no time change if there is more than 1 day left -fixed a small spelling error |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
a nice thing to do would be so it automatically knows if your contract has been completed when you kill the player, and you collect your reward instantly instead of having to find the person who issued the contract, the first bit can be done by using EventSink PlayersDeath ( or something like that, look in ReportMurder.cs ).
Other than that, it looks i loaded it up and it looks nice! |
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
|
i can see both sides as how to handle it..although, i have a problem with having to find the player who gave the contract.....if you go and kill the person, and they just decide to stay offline for a while, they get what they want....but you get stuck with the murder count, and you don't get the reward, and you have a pissed off player
so it might be better to do it the other way Or mabey even make a vendor that sells these contracts....i dunno enough as how to do it, but the idea might be where you make the contract, you give it to the vendor, and he sells the contracts to people who want to take them...then you bring the contracts back to that vendor...almost like he was a broker of sorts either way....good script |
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
|
This is not working... after the player kills, and then tries to verify, it says that the contract wasn't made by the person who made it, and if you [props it it says that that person is in fact the contractor but it won't let you finish up
__________________
Med-Surg Nurse, Full time Pittsburg State Univ Sophmore, and FT Mother to 5 kids |
|
|
|
|
|
#11 (permalink) |
|
Problem: Players can flood afk players' packs and cause them to be weighed down when they get back on. Sometimes the newly arriving player won't notice the items in their pack and will drop stuff on the ground as a result.
With a shard with 30 people on usually I think this spells more work for the staff as it is. Perhaps you should send a gump to the player who is to receive the deed (you might even be able to use the standard secure trade window) and if they accept, the deed is placed in their pack. If they decline or time out, nothing happens. ^Implement something like that or that will prevent flooding and I'd be happy to give it a shot. Sounds pretty cool really. ![]() |
|
|
|
|
|
|
#12 (permalink) | |
|
Quote:
PC: "I wish to place a bounty" Server: Who's head do you wish to place the bounty on: (returns target cursor) PC: Clicks the PC (or NPC) Server: Amount? PC: 5000 Server: Do you wish to place a bounty on (PC's Name) head for the sum of 5000? PC: Yes Server: A bounty has been placed. (gold subtracted from PCs bank) Various NPCs around the world will cash out the bounty if the head is brought back and dropped on them. |
||
|
|
|
|
|
#13 (permalink) |
|
Join Date: Feb 2003
Posts: 412
|
well, i just finished adding the gump becase its a good point, and i was about to set it so if the player is offline when claim reward is clicked timeleft if less than 24 hrs resets the time to 24 hrs so the contract will not expire if the player is offline,
(the reason i dont want to make it instant, is for those devious type players who like to lie, cheat, steal, then hide, then perhapse those players will have an assasination contract issued in their name but i just realized about the bug, i wasnt aware the mobile serial number changed at login/out im going to figure out a work around i tihnk i know how to go about it using the account parameters, i jsut need to figure out how they work, instead of using just the mobile id, as for the bounty system i already wrot e adn posted that awile back (i tihnk somone took it in and worked the bugs out or jsut redid it a very similar way) im making them 2 specific systems mainly fort he reason an assasination contract woudl want to be kept private and behind the law, though if i get bored i may set a flag to add a "shady looking guy" npc that can work as an assasin contractor |
|
|
|
|
|
#14 (permalink) |
|
Join Date: Feb 2003
Posts: 412
|
im sorry!, the problem was my bad, i overlooked it because i always used myself for debugging! bugs fixed, new version will follow shortly if you wantt o know the bug was when checking theemployer, it did a check agaisnt the targeter, instead of targetee
|
|
|
|
|
|
#15 (permalink) |
|
Join Date: Feb 2003
Posts: 412
|
*Updated*
Updates: -there is now an accept contract gump -the claim reward bug is fixed -if a player is offline when claim reward is clicked and time is less tha 1 day left, it resets the time to 1 day so if player stays offline a few days, the contract wont expire while he is offline, no time change if there is more than 1 day left -fixed a small spelling error |
|
|
|
|
|
#19 (permalink) |
|
Join Date: Jul 2005
Posts: 9
|
i have put scripts in customs\assasination forder
here is the error : - Error: Scripts\customs\assasinaiton\Assasinationcontracti nstantpayoff.cs:CS0101: (line 12, column 15) The name space 'Server.Items' already contains a definiton for 'Acontract' - Error: Scripts\customs\assasinaiton\Assasinationcontracti nstantpayoff.cs:CS0101: (line 715, column 15) The name space 'Server.Items' already contains a definiton for 'ConfirmContractGump' how can i fix this? thanx |
|
|
|
|
|
#20 (permalink) | |
|
Join Date: Feb 2003
Posts: 412
|
Quote:
|
|
|
|
|
|
|
#23 (permalink) |
|
Forum Newbie
Join Date: Aug 2005
Age: 37
Posts: 74
|
is anyone else having problems with the instant reward. u click the corpse and then it gives you option to claim reward like regular contract but even if you find the peson and click on them u still cant get your reward. is the instant reward one still bugged?
|
|
|
|
|
|
#24 (permalink) | |
|
RunUO Forum Moderator
|
Quote:
Look for it in the script release forum if you want something that is supported.
__________________
I always try to help
![]() Sometimes, I don't know how.... ![]() My Web Page Forum Rules ------------------------------------------------------------- Extensive OWLTR System | Token System | World Teleporters ------------------------------------------------------------- |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|