|
Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to publish them under the GPL licensing terms. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
Thread Tools | Search this Thread | Rate Thread | Display Modes |
11-30-2009, 01:25 AM | #1 (permalink) |
Forum Novice
|
Party Accept Gump
i know how hard it can be sometimes for players to see the words flash across the bottom of the screen when someone is trying to add them to thier party. A player of mine who use to play WoW said hey aint there a way to make it send a gump, So i sat down & started playing with it & heres what was made.
there is a few small edits needed to your party.cs right at the top add this Code:
using Server.Gumps; Code:
target.Send(new MessageLocalizedAffix(Serial.MinusOne, -1, MessageType.Label, 0x3B2, 3, 1008089, "", AffixType.Prepend | AffixType.System, from.Name, "")); Code:
target.SendGump(new PartyGump()); everytime someone sends a party invite it will pop a gump saying click accept or decline. special thanks goes out to Callandor2k who helped me get this working right, dont know what i would do with out his help. Last edited by prplbeast; 11-30-2009 at 02:06 PM. |
11-30-2009, 09:05 AM | #4 (permalink) |
Newbie
Join Date: Jul 2009
Posts: 37
|
Ha nice idea, quite funny noone came up with it earlier
thx for contributing! Edit: Hmm i just looked over the script and there may be an error if I'm right... The ButtonID 0 is already reserved for the case the gump is closed by r-click, so it would accept if you r-click the gump away... correct me, if i'm wrong Last edited by M_0_h; 11-30-2009 at 09:08 AM. |
11-30-2009, 09:39 AM | #5 (permalink) |
Lurker
Join Date: Sep 2009
Posts: 17
|
I really like this idea - great work with what you've done.
My only concern with this is abuse during PvP.. I know I would be annoyed if my opponent was spamming these party gumps at me while fighting. Any thoughts on ways to mitigate this? Perhaps a check to see if the target of the invite is engaged in combat (combatant == null)? Thanks for the nice work! |
11-30-2009, 02:05 PM | #6 (permalink) | |
Forum Novice
|
Quote:
been fixed & reuploaded |
|
12-01-2009, 02:30 AM | #9 (permalink) |
Forum Novice
Join Date: Nov 2007
Age: 20
Posts: 173
|
As was I, I was actually just finishing mine up before I saw this one... I'm still gonna finish.
__________________
The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy. |
12-01-2009, 06:47 AM | #10 (permalink) |
Forum Novice
Join Date: Nov 2007
Age: 20
Posts: 173
|
Thought I'd let you know there is a typo on your gump it should be "Their"
__________________
The ultimate measure of a man is not where he stands in moments of comfort, but where he stands at times of challenge and controversy. |
Bookmarks |
Tags |
None |
Currently Active Users Viewing This Thread: 1 (1 members and 0 guests) | |
Nockar |
|
|