Go Back   RunUO - Ultima Online Emulation > RunUO > Script Support

Script Support Get support for modifying RunUO Scripts, or writing your own!

Closed Thread
 
Thread Tools Display Modes
Old 02-18-2006, 07:11 AM   #1 (permalink)
 
Join Date: Dec 2004
Location: Sweden
Posts: 117
Default Anti Gank script?

Hi i was wondering if there is any way to check attackers on a current target (a player) so if the target gets attacked by more than 2, the rest cant do any dmg to the target. i dont know, any other things to do against real uber gank?
__________________
|
|
| Xibalba - The gates of Hell
|
|_________________________
Tobbe371 is offline  
Old 02-18-2006, 10:29 PM   #2 (permalink)
Forum Expert
 
Ilutzio's Avatar
 
Join Date: Oct 2005
Location: Sweden
Age: 22
Posts: 1,203
Send a message via ICQ to Ilutzio Send a message via MSN to Ilutzio
Default

I have also thought a bit about this kind of script.

One could do it like this: If 2 or more players attack one and player and flggs as attackers against him before he flags as attacker to anyone of the 2 (or 1 of em) then the second person that attcked him would only do 20% of the damage he would normally do.

About your question:
Quote:
i was wondering if there is any way to check attackers on a current target (a player) so if the target gets attacked by more than 2, the rest cant do any dmg to the target.
There is arleast one way to do it an prob. more.
I don't know anyone of them in detail, but i can point you in a direction - Open scripts\gumps\reportmudergump.cs and look thry it to try to udnerstand the method of "lisitng" more then one agressor.

I hope my post helped you alittle atleast. =)
__________________
http://thebreeze.110mb.com/
185 high quality Dylan songs--and counting.
Ilutzio is offline  
Old 02-18-2006, 10:36 PM   #3 (permalink)
Forum Expert
 
Join Date: Nov 2004
Posts: 1,656
Send a message via ICQ to Murzin Send a message via AIM to Murzin Send a message via MSN to Murzin
Default

you want to look at the player mobile agressor list. if they arent in position 0 in the array list, then do your reduction or whatever.
Murzin is offline  
Old 02-19-2006, 12:12 AM   #4 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

Another possible approach would be to take the total number of aggressors who are Players and improve the players defense and or attack proportionally. Make it so the more people that attack a player, the harder it will be to defeat the player.
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline  
Old 02-19-2006, 12:16 AM   #5 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by David
Another possible approach would be to take the total number of aggressors who are Players and improve the players defense and or attack proportionally. Make it so the more people that attack a player, the harder it will be to defeat the player.
lol, I just got a picture of about 10 pkers jumping some noob who comes through a moongate (noob = just out of young status) and that player becomming effectively invulnerable cause the max damage any of those 10 can do is 1 point cause of the above comment made by David. I know it wasn't ment to be funny but that was the first picture that came to mind.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline  
Old 02-19-2006, 12:28 AM   #6 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

Well those 10 pk'ers would split up after getting owned by a noob a couple of times wouldn't they?
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline  
Old 02-19-2006, 01:03 AM   #7 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by David
Well those 10 pk'ers would split up after getting owned by a noob a couple of times wouldn't they?
true

EXTRA
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline  
Old 02-20-2006, 05:09 AM   #8 (permalink)
 
Join Date: Dec 2004
Location: Sweden
Posts: 117
Default

hehe, yea i liked your ideas. Hope a good scripter would take this in his hand and post it

(Cuz i sucky sucky big time at scripting)
__________________
|
|
| Xibalba - The gates of Hell
|
|_________________________
Tobbe371 is offline  
Old 02-20-2006, 06:32 AM   #9 (permalink)
RunUO Forum Moderator
 
daat99's Avatar
 
Join Date: Dec 2004
Location: Israel
Age: 27
Posts: 8,163
Send a message via ICQ to daat99 Send a message via AIM to daat99
Default

Quote:
Originally Posted by Tobbe371
hehe, yea i liked your ideas. Hope a good scripter would take this in his hand and post it

(Cuz i sucky sucky big time at scripting)
You aren't allowed to make requests here.

If you want those script you have 2 options:
1. Search and hope to find it.
2. Try to script it yourself.

If you decide to try to script it yourself than feel free to post it here in [code] tags and the errors that you get and we will be happy to help you.

Also, please read this.
__________________
I always try to help
Sometimes, I don't know how....

My Web Page
Forum Rules
-------------------------------------------------------------
Extensive OWLTR System | Token System | World Teleporters
-------------------------------------------------------------
daat99 is offline  
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5