Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases
Welcome, Nockar.
You last visited: 11-29-2009 at 11:50 PM
Private Messages: Unread 0, Total 0.

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.

Reply
Thread Tools Search this Thread Rate Thread Display Modes
Unread 11-30-2009, 01:25 AM   #1 (permalink)
prplbeast
Forum Novice
 
prplbeast's Avatar
 
Join Date: Oct 2006
Posts: 278
Send a message via Yahoo to prplbeast
Default 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;
then find this line
Code:
target.Send(new MessageLocalizedAffix(Serial.MinusOne, -1, MessageType.Label, 0x3B2, 3, 1008089, "", AffixType.Prepend | AffixType.System, from.Name, ""));
and right below it add this
Code:
target.SendGump(new PartyGump());
then download the script & add to your customs folder.
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.
Attached Files
File Type: cs PartyGump.cs (1.8 KB, 17 views)

Last edited by prplbeast; 11-30-2009 at 02:06 PM.
prplbeast is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 11-30-2009, 04:43 AM   #2 (permalink)
bacca87
Lurker
 
bacca87's Avatar
 
Join Date: Jul 2006
Posts: 17
Default

no screenshot no party
bacca87 is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 11-30-2009, 08:02 AM   #3 (permalink)
oiii88
Forum Novice
 
Join Date: Jul 2006
Age: 30
Posts: 728
Default

Thanks for this one.. Dont know how many times I missed the invite only to be killed by an AOE lol
__________________
Friends Come and go but Enemies accumulate
oiii88 is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 11-30-2009, 09:05 AM   #4 (permalink)
M_0_h
Newbie
 
Join Date: Jul 2009
Posts: 37
Default

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.
M_0_h is online now Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 11-30-2009, 09:39 AM   #5 (permalink)
SunDials
Lurker
 
Join Date: Sep 2009
Posts: 17
Default

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!
SunDials is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 11-30-2009, 02:05 PM   #6 (permalink)
prplbeast
Forum Novice
 
prplbeast's Avatar
 
Join Date: Oct 2006
Posts: 278
Send a message via Yahoo to prplbeast
Default

Quote:
Originally Posted by M_0_h View Post
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
yeah your right i missed it last night sorry
been fixed & reuploaded
prplbeast is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 11-30-2009, 11:08 PM   #7 (permalink)
Callandor2k
Forum Novice
 
Callandor2k's Avatar
 
Join Date: Dec 2006
Location: Iowa
Posts: 523
Default

Looks like that slipped by the both of us. oops.
Callandor2k is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 11-30-2009, 11:43 PM   #8 (permalink)
Mad Clown
Forum Novice
 
Join Date: Jul 2004
Location: Lincoln, IL
Age: 36
Posts: 519
Send a message via MSN to Mad Clown
Default

OMG BRO you read my mind i was gonna do that this weekend good job and ya when a person is fighting they miss it all the time always a pain thx again
Mad Clown is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 12-01-2009, 02:30 AM   #9 (permalink)
Evanonian
Forum Novice
 
Evanonian's Avatar
 
Join Date: Nov 2007
Age: 20
Posts: 173
Default

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.
Evanonian is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Unread 12-01-2009, 06:47 AM   #10 (permalink)
Evanonian
Forum Novice
 
Evanonian's Avatar
 
Join Date: Nov 2007
Age: 20
Posts: 173
Default

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.
Evanonian is offline Report Post   Reply With Quote Multi-Quote This Message Quick reply to this message
Reply

Bookmarks

Tags
None

Quick Reply
Message:
Remove Text Formatting
Bold
Italic
Underline

Insert Image
Wrap [QUOTE] tags around selected text
 
Check Spelling
Decrease Size
Increase Size
Switch Editor Mode
Options


Currently Active Users Viewing This Thread: 1 (1 members and 0 guests)
Nockar

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5