|
||
|
|||||||
| 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 make them public domain. 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 | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
Well well... I guess it is time for another release! Ladies and gentlemen, version 2.0!
There are a lot of similarities in this system with the previous version, so you shouldn't be to lost setting it up and running it. The code is a lot more stable and smoother. New Features: -Better gump setup -Information and Statistics Gump -Multiple arena support -More stable algorithms -Faster and I-think-crash-free... -Support for teams (2v2, 3v3, etc) -Improved error checking -Enhanced with .NET 2.0 features -Ability to stop tournament -Region Management and Editing Gump -Support for 3d arenas -Notoriety support, with no distro mods -Support to block multiple IP Addresses from signing up for tournament I might have missed some new features but I'm sure you will find them when you play around with it a bit .Installation Instructions: All you have to do is unzip and put the folder of scripts into you Scripts folder! I still managed to make the system with no distro mods. Setting up the system: First thing your probably going to want to do is get in game, and [add TSystemStone. This stone is the main stone for your tournament. Now [props the stone and check out the different properties. -AllowSameIP: if set to false, it will block duplicate IP Addresses from being able to sign up for the tournament. -AllowTeams: if you want your tournament to be 2v2, 3v3, etc... put this to true. -CanHeal: if this is set to false, players will not be able to heal themselves in the tournament. -Enabled: this determines if the system is enabled or not. If you want to close signups, set this to false. -MagicWeapons: oops, I forgot to take this out. I didn't add support for this in this version. -Potions: set this to true if you want players to be able to use potions in the tournament. -SpectatorDest: this is the location that players will be teleported to after they fight their match. -TeamMaxPlayers: this is the maximum amount of players a team can have (AllowTeams must be set to true for this to even work). So if you want a 2v2, you need to set it to 2. Next you will need a tournament master. Do an [add TMaster and put him wherever you want. [props him and set his link to the TSystemStone that you placed. This is the guy that players will go to in order to sign up for the tournament. The last thing that you will need to do is add a dueling region. Double click the TSystemStone and go to 'Region Management and Editing' and click the Add Region button. This will let you target the bounds of your dueling area. The targeting can be pretty tricky, so make sure that you covered your entire area by clicking "Show All Regions" or clicking the arrow next to a specific region and then clicking Show. If you add multiple regions, the tournament will automatically use all of them whenever it can. There you are, you can now get your players to sign up with the tournament master. If you go to the Information and Statistics gump on the TSystemStone, you can view and kick people who are signed up for the tournament. This page is only supported when the tournament has not been started. When you are ready to start your tournament, go onto the stone and go to System Commands, and hit Start the tournament. Enjoy. I haven't been able to test this system with over 15 people, so for all I know there could be some bugs or crashes. Please report all of your problems or crashes (don't think there are any), and I will get to work on fixing them right away. Thank you and please enjoy! P.S. - I have already started version 3, which WILL have a shitload of features. When I was halfway done coding this version, I realized a way better way to write some of this code. It'll be even better... Time for everyone to go bug hunting! Last edited by milt; 06-30-2006 at 03:37 PM. |
|
|
|
|
|
#3 (permalink) |
|
Forum Novice
|
I haven't really messed with this much, so I may have done something wrong. But when I added this script to my shard and restarted I got a crash when I logged off my admin character.
Here's the crashlog: Code:
Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Server.TSystem.TSystemStone.TSystem_OnDisconnect(DisconnectedEventArgs e) at Server.DisconnectedEventHandler.Invoke(DisconnectedEventArgs e) at Server.EventSink.InvokeDisconnected(DisconnectedEventArgs e) at Server.Mobile.set_NetState(NetState value) at Server.Network.NetState.ProcessDisposedQueue() at Server.Core.Main(String[] args)
__________________
Make music online with Splice! |
|
|
|
|
|
#4 (permalink) | |
|
Forum Expert
|
You might want to reinstall the package, the previous version was missing a null check in the TSystemStone
![]() Or, if you don't feel like reinstalling here's the quick fix from the archives: Quote:
__________________
In some cases stupid makes you win-Radwen Last edited by Johabius; 07-01-2006 at 02:14 AM. |
|
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
|
does this one still allow the ability for players to start their own tournaments without staff having to do anything like v1?
and i mean outside of staff setting up the region, can a group of players join, then do the tourny.....finish and next one kick in when more players sign up? |
|
|
|
|
|
#6 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
|
#8 (permalink) |
|
Forum Novice
Join Date: Dec 2005
Posts: 206
|
just for you to know, thank you a lot for this script..
i took version 1.0 and added support for any amount of teams, ffa, and I improved the picker system, I made it a bracketed tournament, instead of the "last man standing" you made.. it took me two months to change it :P but it was worth it. awe script.
__________________
11010101 me. |
|
|
|
|
|
#14 (permalink) | |
|
Forum Expert
Join Date: Sep 2005
Location: A-Town Baby
Age: 19
Posts: 620
|
yes ur correct. If u dont have runuo 2.0rc1 download from runuo
![]() Quote:
__________________
![]() Now open - uo15.net - The best in Publish 15 emulation |
|
|
|
|
|
|
#15 (permalink) |
|
Forum Newbie
Join Date: Dec 2005
Posts: 32
|
We accidentaly deleted the Tourny master. when we put it back in and linked it then double clicked the tourny master the entire shard crashed. I have the latest version of your package installed. Here is the crash report.
Code:
System.NullReferenceException: Object reference not set to an instance of an object. at Server.TSystem.TJoinGump.FindTeam(Mobile from) at Server.TSystem.TJoinGump..ctor(TSystemStone stone, Mobile from) at Server.TSystem.TMaster.OnDoubleClick(Mobile from) at Server.Mobile.Use(Mobile m) at Server.Network.PacketHandlers.UseReq(NetState state, PacketReader pvSrc) at Server.Network.MessagePump.HandleReceive(NetState ns) at Server.Network.MessagePump.Slice() at Server.Core.Main(String[] args) Lubomir |
|
|
|
|
|
#16 (permalink) |
|
Master of the Internet
Join Date: Dec 2005
Age: 20
Posts: 12,927
|
hehehe got a crash report for you, you should find it amusing......
Code:
Server Crash Report =================== RunUO Version 2.0, Build 2357.32527 Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2 .NET Framework: 2.0.50727.42 Time: 8/7/2006 6:09:12 AM Mobiles: 23136 Items: 98766 Clients: - Count: 2 + 65.138.100.66: (account = Anti-Basic) (mobile = 0x3 'Nar Matteru') + 69.155.135.76: (account = eros) (mobile = 0x283F 'leVelate') Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext() at Server.StandardSaveStrategy.SaveItems(SaveMetrics metrics) at Server.StandardSaveStrategy.Save(SaveMetrics metrics) at Server.World.Save(Boolean message) at Server.World.Save() at Server.Misc.AutoSave.Save() at Server.Misc.QuickRestart.DoRestart(Boolean normal) at Server.Misc.QuickRestart.CheckRestart() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() Last edited by Anti-Basic; 08-07-2006 at 08:19 AM. |
|
|
|
|
|
#17 (permalink) | |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 28
Posts: 4,886
|
Quote:
at Server.StandardSaveStrategy.Save(SaveMetrics metrics) that means some script editedthe world when u were saving, i highly doubt that it was this one. especially since u said u were adding lots of stuffs ![]()
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
|
#18 (permalink) |
|
Forum Expert
Join Date: Sep 2005
Location: A-Town Baby
Age: 19
Posts: 620
|
I think happened bec u were editing the script while u did a quickrestart and right befor it restart u saved it. Im not sure but this happened to me when i was edit a script it crashed me bec i was editing while the quick restart was on.
__________________
![]() Now open - uo15.net - The best in Publish 15 emulation |
|
|
|
|
|
#19 (permalink) | |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 28
Posts: 4,886
|
Quote:
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
|
#21 (permalink) | |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 28
Posts: 4,886
|
Quote:
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
|
#22 (permalink) | |
|
Master of the Internet
Join Date: Dec 2005
Age: 20
Posts: 12,927
|
Quote:
|
|
|
|
|
|
|
#24 (permalink) | |
|
Forum Expert
Join Date: Sep 2005
Location: A-Town Baby
Age: 19
Posts: 620
|
Maybe u should read what Milt has explaned. Read
Installation Instructions: Setting up the system: Quote:
__________________
![]() Now open - uo15.net - The best in Publish 15 emulation |
|
|
|
|