|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) | |
|
Forum Expert
|
That's right! It's finally out.
I've been working on this code for about a month or so, on and off. It's been a great learning experience and I just want to thank all of those that have helped me, or provided suggestions. Ok, so the installation isn't that bad... After all, it edits NO distro scripts. ![]() Description: Well, the name pretty much says it all, it is a fully automated tournament system that has quite a bit of nice features. It comes with an arena (but you may also build your own) and it is a pretty easy setup. Options like 'Mages Only', 'Dexxers Only', 'Tanks Only', '7x Only', '5x Only', 'No Magic Weapons/Artifacts', 'No Potions', 'No Healing'... etc have all been added to the system for your enjoyment. Please note that this is only version 1.0.0... There will be plenty of releases after this, and they will be improving each time. The next full release (2.0.0) will have a very nice setup for the duels, and will include a gump that shows who will duel who, etc. Consider this something like a 'pre-release', because it has been tested as much as I myself can test it. I now need you guys to help me find problems, bugs, and suggestions! Installation: The installation is very simple.
Not really any, but one problem is that when a duelist dies, their loot will be added to their backpack. In doing so, the server is adding some sort of harmless, invisible item to the pack. This is nothing to worry about, as the server will automatically clean this up. I would have fixed it, had I had the time. It will be fixed in the next release. Stuff to Know: If you are using the funding barrel, this is what will happen: When the funding barrel has reached the set amount, moongates will be spawned at each towns bank to the spectator area of the tournament. A timer will then be started for 20 minutes. After 20 minutes, if there is enough players (value set on MasterTStone), the tournament will begin, and the moongates will be despawned. You can set the moongate options via the gump on the MasterTStone. The system is currently coded so that the two duelists for each round are picked the second before the duel, thus this version can not have a gump to show who will be fighting who. The next full release will be coded a lot differently, and will have this feature. Like I said earlier, I can only test this to the best of my ability. I hope that there are no major exploits and bugs, but if you get them, my full support will be given to fix them, etc. It is also recommended that (sheesh a lot of recommendations!) you make it so that the spectator area can not cast spells and do harm, etc. This can make interference with duels, and can be unfair. To do this, simple grab a copy of ASayre8's Custom Regions in a Box script (if you don't already have it, shame on you ), and set it up accordingly.Ok, so what if you don't want to use the funding barrel? Simple! When you would like signups to begin, you can spawn the moongates to the tournament area in the System Commands gump. Then players can use the Join Book to join the tournament. When you have all the players you want, go to the MasterTStone and then the System Commands gump. Click Start the Tourney and it will begin. It is currently set up so the winner gets a 'Tourney Ticket'. You may modify this accordingly, or you can let players trade them in for prizes, etc. Can't remember anything else to tell you guys... I'm tired. All I can say is pop it in and give it a try. Just be sure to set everything else up, or you can cause some problems. Merry Christmas RunUO Community! Last edited by milt; 01-21-2006 at 07:52 PM. |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
*UPDATE - Dec 25, 2005*
Fixed a bug in the OnDisconnect method that may cause server to crash. I had just added this feature today so I guess I forgot to look over it well. Sorry. */UPDATE* *UPDATE - Dec 26, 2005* Fixed a minor bug in the OnDeath method that some people with auto-res kill systems or similar system may encounter. This hotfix may not be needed, but is recommended. */UPDATE* *UPDATE - Dec 28, 2005* Fixed a bug with the funding barrels. If you use them, I recommend this update, otherwise you will be fine. Also, I made it so that you can't click the 'Start Tourney' button if there is not at least 3 players signed up. */UPDATE* Last edited by milt; 12-28-2005 at 06:01 PM. |
|
|
|
|
#4 (permalink) |
|
Forum Novice
Join Date: Nov 2005
Location: North Carolina
Age: 20
Posts: 195
|
Humm so its kinda like the Challenge system but ALOT better hehe (Thanks bro i run a pvp shard and my players 1v1 all the time and this is Super players love it THANKS!)
__________________
Life is like a RP game. You start it. You play for awhile. You quit, and die. |
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
|
Sweet! Thanks Milt
![]()
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment. Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse." My Customs:
|
|
|
|
|
#7 (permalink) |
|
Forum Novice
Join Date: Jun 2005
Age: 40
Posts: 114
|
Added this to my server directory, restarted shard, went upstairs to piss, came back to a server that had crashed 6 times. Never added any of these items IN GAME yet.
Code:
Server Crash Report =================== Operating System: Microsoft Windows NT 5.1.2600.0 .NET Framework: 1.1.4322.2032 Time: 12/25/2005 9:57:09 PM Mobiles: 20490 Items: 381416 Clients: - Count: 6 Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Server.Items.MasterTStone.OnDisconnect(DisconnectedEventArgs e) at Server.DisconnectedEventHandler.Invoke(DisconnectedEventArgs e) at Server.Mobile.set_NetState(NetState value) at Server.Network.NetState.ProcessDisposedQueue() at Server.Core.Main(String[] args) |
|
|
|
|
#8 (permalink) |
|
Forum Expert
|
Run the server in debug mode for me and then re-post it.
*EDIT* - I looked through the code and fixed it, but if you could still post me a debug crash log so I may make sure that was the problem, I would appreciate it. Thanks. New version is posted, sorry for any incoveniances. Last edited by milt; 12-25-2005 at 11:26 PM. |
|
|
|
|
#9 (permalink) |
|
Newbie
Join Date: Jul 2003
Posts: 73
|
Great script!!!
Here are some issues I ran into: Custom Regions in a Box is a must as the loser leaves the arena without any hit points, which cause an acidental res kill by the other player during a melee fight when both popped out to the same place. After the fight the "attacker" is still flagged gray to everyone. I could mount my ethy during a fight. Clicking "Start Tourney" without anyone signed up locks up the server. All in all the script is great, you did an outstanding job! ![]() |
|
|
|
|
#11 (permalink) | |
|
Forum Expert
|
Quote:
As for the combatant issue and flagging, I was pretty sure that I set those back, I'll have to look into that. The reason you can mount your ethereal is because you are staff, players cannot. Why would you click 'Start Tourney' without anyone? The reason I left some things out like that is because it would be obvious not to do something in that nature. I realize you were probably trying to find bugs, so thanks for that tidbit. I mostly coded it so if you use it properly, and the way it is supposed to be used, it will work just fine. Gotta look out for yourself ![]() |
|
|
|
|
|
#12 (permalink) | ||
|
Newbie
Join Date: Jul 2003
Posts: 73
|
Quote:
Quote:
But I agree, it definently gets the job done. ![]() |
||
|
|
|
|
#14 (permalink) |
|
Forum Expert
Join Date: Sep 2005
Location: A-Town Baby
Age: 19
Posts: 620
|
This is a really great script but one suggetion i have is that you should make so it tele the person who won to different place like the location you set for the winner.
Thank you for taking your time to code something like this its really good i test it my self!!!!!!! |
|
|
|
|
#15 (permalink) | |
|
Forum Master
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,261
|
I get to post your first crash report! I feel so proud
![]() Quote:
|
|
|
|
|
|
#16 (permalink) |
|
Forum Expert
|
Another Crash Log for ya....
Code:
Server Crash Report =================== RunUO Version 1.0.0, Build 36918 Operating System: Microsoft Windows NT 5.1.2600.0 .NET Framework: 1.1.4322.2032 Time: 12/26/2005 3:34:48 AM Mobiles: 13661 Items: 134827 Clients: - Count: 1 + 127.0.0.1: (account = ******) (mobile = 0x92F 'Pyro-Tech') Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Server.Items.MasterTStone.LetThemDuel() in d:\Run UO Server\Scripts\Custom\New Scripts\Systems\Milt's Auto Tourney System\Items\MasterTStone.cs:line 560 at Server.Items.InternalTimer.OnTick() in d:\Run UO Server\Scripts\Custom\New Scripts\Systems\Milt's Auto Tourney System\Items\WallOfStoneEast.cs:line 88 at Server.Timer.Slice() at Server.Core.Main(String[] args) it seems nice, but i will try it after some of the bugs get worked out....keep up the good work Milt |
|
|
|
|
#19 (permalink) |
|
Join Date: Dec 2005
Posts: 75
|
milt, can u fix all these stupid crashes? i have server 100+ online, it will be not good when it crashes.
up\\ here some arrors - i di all that you tell me in the instalation, but when i press START TOURNAMENT button - servers STUCK... ok i get it... its forbidden to star server without tsome one.. okay. MILT - a have a question... CAN I translate all the language ib script to other languages (hebrew, russian, arabic), all your credits and copyrights will be saved. Last edited by Falafel; 12-26-2005 at 12:07 PM. |
|
|
|
|
#20 (permalink) | ||
|
Newbie
Join Date: Jul 2003
Posts: 73
|
Quote:
Quote:
|
||
|
|
|
|
#21 (permalink) | |
|
Forum Expert
|
Quote:
I fixed the OnDisconnect crash, and released v.1.0.1, so if you did not get it, I would recommend getting that one. @Pyro-Tech - Were you trying to start the tourney with no people or only one? I mean, of course it will crash if you do something like that. I didn't add try and catches for one reason, because I beleive they take a little extra memory. Upon leaving them out, you guys can crash the system if you really want to. So that is the reason that you can actually find ways to crash it yourself. I'm not exactly sure on what happened in the crash, but I beleive you said something about a gump you made? If you need to test gumps, I would recommend the [SendGump command, it is a great tool for testing gumps in game |
|
|
|
|
|
#22 (permalink) | |
|
GM Hider
Join Date: Oct 2003
Age: 29
Posts: 187
|
An AWSOME system. Thanks alot for taking the time to make it, and a big thanks for sharing. I have a res-kill protection system on my shard, and I got this crash report when a player died.
I know thats probably nothing you can fix, but I thought I'd at least let you know about it. :-) Here's the crash-report: Quote:
Last edited by sordican; 12-26-2005 at 02:00 PM. |
|
|
|
|
|
#24 (permalink) |
|
Forum Expert
|
@sordican - I made a hotfix for this issue, you can redownload the package, and it should no longer happen. All I did was add try and catches, so it should work now. If you have some free time, run your server in debug mode (server.exe -debug) and then re-create the crash. Then, post the debug crash log here, and I can probably look into the problem even further.
But in anycase, this new hotfix (v.1.0.2) is probably not needed for everyone, but if you come across the same issues I would recommend getting it. |
|
|
|
|
#25 (permalink) | |
|
GM Hider
Join Date: Oct 2003
Age: 29
Posts: 187
|
Quote:
|