RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 RC1] Xanthos Auction System

Soultaker

Sorceror
I am having an error on the Cliloc file

When i try to put an item up for Auction it will not go. and on the Server part it shows this.:

The auction system cannot access the cliloc.enu file. Please review the system instructions for proper installation

Any idea what i am doing wrong :)
Notes: I have capitalized the Cliloc.enu file and tested both ways as well.
Notes: I have changed the cliloc location
Notes: I have changed the Tokens to show true.
Notes: I have highlighted my changes in Red

AuctionConfig.xml file is below:


Code:
<?xml version="1.0"?>
<!--
	This file enables configuration of the Xanthos Auction System module without code changes
	You may only change the values between the '>' and '<' characters to set the configuratoin
	parameters.  The type attribute is ignored and is only provided as a documentary guide to
	the user. Array element names are also meaningless.  Values may be left empty, with the
	exception of individual array elements, so that the default value in the code is used.
	
	For example: to change the foo configuration from 50 to 100 one would change
		<foo type="int">50</foo>
			to
		<foo type="int">100</foo>
-->
<Xanthos>
	<AuctionSystem version="2.0">
		<MessageHue type="int">64</MessageHue>
		<!-- The hue used for messages in the system -->
		<!--
			This is the number of days the system will wait for the buyer or seller to decide on an ambiguous situation.
			This can occur whether the highest bid didn't match the auction reserve. The owner will have then X days to
			accept or refuse the auction. Another case is when one or more items is deleted due to a wipe or serialization error.
			The buyer will have to decide in this case.
		-->
		<DaysForConfirmation type="int">5</DaysForConfirmation>
		<!--
			This value specifies how higher the reserve can be with respect to the starting bid. This factor should limit
			any possible abuse of the reserve and prevent players from using very high values to be absolutely sure they will have
			to sell only if they're happy with the outcome.
		-->
		<MaxReserveMultiplier type="double">3.0</MaxReserveMultiplier>
		<BlackHue type="int">2000</BlackHue>
		<AllowPetsAuction type="bool">true</AllowPetsAuction>
		<AuctionAdminAcessLevel type="AccessLevel">Administrator</AuctionAdminAcessLevel>
		<!--
			If you don't have a valid UO installation on the server, or have trouble with the system
			specify the location of the cliloc.enu file here:
		
			Example:
		
			<ClilocLocation type="string">[COLOR="red"]C:\Program Files\EA Games\Ultima Online The Eighth Age\Cliloc.enu[/COLOR]</ClilocLocation>
		-->
		<ClilocLocation type="string"/>
		<EnableLogging type="bool">true</EnableLogging>
		<!--
			When a bid is placed within 5 minutes from the auction's ending, the auction duration will be
			extended by this value.
		-->
		<LateBidExtention type="double">0.0</LateBidExtention>
		<CostOfAuction type="double">0.0</CostOfAuction>
		<ForbiddenTypes type="array">
			<!-- Not appropriate for auction -->
			<a type="Type">Server.Items.Gold</a>
			<a type="Type">Server.Items.BankCheck</a>
			<a type="Type">Server.Items.DeathRobe</a>
			<a type="Type">Arya.Auction.AuctionGoldCheck</a>
			<a type="Type">Arya.Auction.AuctionItemCheck</a>
		</ForbiddenTypes>
		<!--
			Savings Account configuration.
		-->
		<GoldInterestRate type="double">0.04</GoldInterestRate>
		<TokensInterestRate type="double">0.03</TokensInterestRate>
		<EnableTokens type="bool">[COLOR="Red"]true[/COLOR]</EnableTokens>
		<!-- Enable Daat99 Tokens? -->
	</AuctionSystem>
</Xanthos>


Thank you
Soultaker
 

X-SirSly-X

Sorceror
I moved the cliiloc to the root of my C: drive, and then it started working, try that. Just remember to update the config file to show the new location.
 

Soultaker

Sorceror
possibly something very simple i am missing

I tried the following
ok Tried it in the Runuo Directory & in the C: Drive,
Both with Capital C and Lowercase c
styles tried below.
C:\Cliloc.enu
C:\cliloc.enu
c:\RunUO-2.0-RC1\Cliloc.enu
c:\RunUO-2.0-RC1\cliloc.enu
I also tried it with Just
C:\
C:\RunUO-2.0-RC1

Could not get any of them to work,
Is there any other thing i might have missed.
I put AuctionConfig.xml in the Runuo\data directory
& edited the Assemblies to Reflect the Ultima.dll

Thanks for the help :eek:
Soultaker
 

X-SirSly-X

Sorceror
Here is how mine look:

Code:
		<!--
			If you don't have a valid UO installation on the server, or have trouble with the system
			specify the location of the cliloc.enu file here:
		
			Example:
		-->		
		<ClilocLocation type="string">C:\cliloc.enu</ClilocLocation>


		<EnableLogging type="bool">true</EnableLogging>
		
		<!--
			When a bid is placed within 5 minutes from the auction's ending, the auction duration will be
			extended by this value.
		-->


Code:
Ultima.dll
System.dll
System.Web.dll
System.Xml.dll
System.Data.dll
System.Drawing.dll
System.Windows.Forms.dll

The cliloc.enu is in my C:\
 

Soultaker

Sorceror
Thanks!!! that fixed it right up

Thank you so much for posting your fix X-SirSly-X i was able to have it up and running in just minutes.

I have enclosed a copy of my 2 files below just in case anybody else needs them and is having the same trouble.. they wont even have to edit.

also at this point i did NOT have to move my Cliloc.enu file, just leave it in your Ultima directory at this point.. i did type the path into it. as you can see in the files below. i have posted them as we'll as put them on for download. depending which way you like it :)
at least it worked perfectly for me :)

Thanks Again X-SirSly-X
Soultaker

Assemblies.cfg
Code:
Ultima.dll
System.dll
System.Web.dll
System.Xml.dll
System.Data.dll
System.Drawing.dll
System.Windows.Forms.dll

Auctionconfig.xml
Code:
<?xml version="1.0"?>
<!--
	This file enables configuration of the Xanthos Auction System module without code changes
	You may only change the values between the '>' and '<' characters to set the configuratoin
	parameters.  The type attribute is ignored and is only provided as a documentary guide to
	the user. Array element names are also meaningless.  Values may be left empty, with the
	exception of individual array elements, so that the default value in the code is used.
	
	For example: to change the foo configuration from 50 to 100 one would change
		<foo type="int">50</foo>
			to
		<foo type="int">100</foo>
-->
<Xanthos>
	<AuctionSystem version="2.0">
		<MessageHue type="int">64</MessageHue>
		<!-- The hue used for messages in the system -->
		<!--
			This is the number of days the system will wait for the buyer or seller to decide on an ambiguous situation.
			This can occur whether the highest bid didn't match the auction reserve. The owner will have then X days to
			accept or refuse the auction. Another case is when one or more items is deleted due to a wipe or serialization error.
			The buyer will have to decide in this case.
		-->
		<DaysForConfirmation type="int">5</DaysForConfirmation>
		<!--
			This value specifies how higher the reserve can be with respect to the starting bid. This factor should limit
			any possible abuse of the reserve and prevent players from using very high values to be absolutely sure they will have
			to sell only if they're happy with the outcome.
		-->
		<MaxReserveMultiplier type="double">3.0</MaxReserveMultiplier>
		<BlackHue type="int">2000</BlackHue>
		<AllowPetsAuction type="bool">true</AllowPetsAuction>
		<AuctionAdminAcessLevel type="AccessLevel">Administrator</AuctionAdminAcessLevel>
				<!--
			If you don't have a valid UO installation on the server, or have trouble with the system
			specify the location of the cliloc.enu file here:
		
			Example:
		-->		
		<ClilocLocation type="string">C:\Program Files\EA Games\Ultima Online The Eighth Age\cliloc.enu</ClilocLocation>


		<EnableLogging type="bool">true</EnableLogging>
		
		<!--
			When a bid is placed within 5 minutes from the auction's ending, the auction duration will be
			extended by this value.
		-->
		<LateBidExtention type="double">0.0</LateBidExtention>
		<CostOfAuction type="double">0.0</CostOfAuction>
		<ForbiddenTypes type="array">
			<!-- Not appropriate for auction -->
			<a type="Type">Server.Items.Gold</a>
			<a type="Type">Server.Items.BankCheck</a>
			<a type="Type">Server.Items.DeathRobe</a>
			<a type="Type">Arya.Auction.AuctionGoldCheck</a>
			<a type="Type">Arya.Auction.AuctionItemCheck</a>
		</ForbiddenTypes>
		<!--
			Savings Account configuration.
		-->
		<GoldInterestRate type="double">0.04</GoldInterestRate>
		<TokensInterestRate type="double">0.03</TokensInterestRate>
		<EnableTokens type="bool">true</EnableTokens>
		<!-- Enable Daat99 Tokens? -->
	</AuctionSystem>
</Xanthos>
 

Attachments

  • Assemblies.rar
    151 bytes · Views: 85
  • AuctionConfig.rar
    1.4 KB · Views: 104

Soultaker

Sorceror
Ok one Lil Problem with the Auctions

Everything was running smooth and then Everybody started selling items grin!

Error 1) After the auctions started Ending and when somebody wanted to get there Auction Winnings they would double click the Item deed thing they got from the auction, and the shard would Crash immediatly.

Crash Listing if this Gives any ideas:
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: 3/23/2007 9:06:54 PM
Mobiles: 4105
Items: 241768
Clients:
- Count: 
[COLOR=red]Removed User IP Information[/COLOR]
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Map.OnLeave(Item item)
   at Server.Item.set_Parent(Object value)
   at Server.Item.AddItem(Item item)
   at Server.Items.Container.DropItem(Item dropped)
   at Server.Items.Container.TryDropItem(Mobile from, Item dropped, Boolean sendFullMessage)
   at Arya.Auction.AuctionItemCheck.Deliver(Mobile to)
   at Arya.Auction.AuctionDeliveryGump.OnResponse(NetState sender, RelayInfo info)
   at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)

Any ideas on how i can fix this up and make the Item deeds work for me after the auction? btw it does the same thing on the Buy it immediately type thing. :)

Thanks in advance for any help you can give me
Soultaker
 

mrc

Wanderer
I specified the cliloc.enu file path, but still, it says then it cant be accessed:
Console said:
The auction system cannot access the cliloc.enu file. Please review the system instructions for proper installation
I've tryied with different files, but nothing changed.
Any idea what could be wrong ?
 

Soultaker

Sorceror
check out post's #65 & #66

mrc;673053 said:
I specified the cliloc.enu file path, but still, it says then it cant be accessed:

I've tryied with different files, but nothing changed.
Any idea what could be wrong ?

Look at Post's #65

X-SirSly-X, Helped me get mine going great when i was having problems.

If that doesnt work look at post #66 & copy those 2 files in. backup your others 1st. and just make sure your file is in the correct directory
C:\Program Files\EA Games\Ultima Online The Eighth Age\cliloc.enu
or wherever your installation is.

p.s. if that doesnt work your making the classic mistake alot of people have including myself, and editing the Auctionconfig.cs instead of the Auctionconfig.xml


1.) also your Auctionconfig.xml goes in your RunUO\Data directory
2.) in Directory RunUO\Data\Assemblies.cfg needs to be edited add the line Ultima.dll
3.) And Drop Ultima.dll in your RunUO Root Directory


Have a good one!
soultaker
 

mrc

Wanderer
I didnt put my auctionconfig.xml file to runuo/data directory - that was my mistake. Thx for help.
 

Alari

Wanderer
This modification to AuctionItem.cs works as a good fall-back detection of cliloc.enu...

Add the Red code.
Code:
		static AuctionItem()
		{
			string clilocFolder = null;

			if ( AuctionConfig.ClilocLocation != null [b][COLOR="Red"]&& AuctionConfig.ClilocLocation != "" [/COLOR][/b])
			{
				clilocFolder = Path.GetDirectoryName( AuctionConfig.ClilocLocation );
				Ultima.Client.Directories.Insert( 0, clilocFolder );
			}
[B][COLOR="Red"]			else  // TESTING by Alari - 4:20 AM 4/19/2007
			{
				clilocFolder = Core.FindDataFile( "cliloc.enu" );
				Ultima.Client.Directories.Insert( 0, clilocFolder );
			//	Console.WriteLine( "Testing worked!" );
			}[/COLOR]
[/B]
			m_StringList = new StringList( "ENU" );

			if ( clilocFolder != null )
			{
				Ultima.Client.Directories.RemoveAt( 0 );
			}
		}

If you enable the Console.WriteLine bit you'll see the notice during the world load. The fall-back detection uses the same code as RunUO itself (or at least Docs.cs) to find the data files, so if RunUO can find them, now the Auction System will too.

Edit: Oops, missed a line...

Edit2, the sequel =P =) 1 YEAR LATER: Added another fix. Yay me.
 

nadious

Sorceror
I installed the update of the script that was provided, and I have to say that is has fixed the server crashes.... for the most part.

Before I ran the update, anytime someone would even try to access the auction system at the end of a bid, the server would instantly crash. After applying the update, we've had several successful bids and transactions.

Except for two...

One was a ring and today's is a pair of sandals. The ring went through the auction ok, but when it was trying to be applied to a bank account, the server would crash. The sandals had no bids on them, so they were returned to the proper owner. When they try to add them back (via the ticket that is returned to them), the server crashes.

Same error with both of them. It is:

Code:
[COLOR="Blue"]Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 2.0.50727.42
Time: 6/27/2007 2:27:02 PM
Mobiles: 4289
Items: 114811
Clients:
- Count: 1
+ xxx.xxx.xxx.10: (account = XXXXXXX) (mobile = 0x130FD 'Jon')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Map.OnLeave(Item item)
   at Server.Item.MoveToWorld(Point3D location, Map map)
   at Server.Item.Internalize()
   at Arya.Auction.AuctionItemCheck.Deliver(Mobile to)
   at Arya.Auction.AuctionDeliveryGump.OnResponse(NetState sender, RelayInfo info)
   at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)[/COLOR]

Any ideas as to why this is still happening? My players LOVE the auction script and we want to continue to use it... but there's always an amount of uncertainty if the auction will actually work. It only appears to happen with item placement (into banks), and not gold.

EDIT: We had it happen again. This time, it crashed when a user was trying to purchase 90 black pearls from the "Buy Now" option that is located on the auction page. Same error as reported above.
 

nadious

Sorceror
Ok, it's getting worse now... Now I can't even get any of the items OUT of auction to give back to the players. When I try to put them back into their backpacks, I get the same crash error as above.

Something I did notice, was when my server starts, I get the following:

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2116 items, 545 mobiles)
Regions: Loading...done
World: Loading...done (114724 items, 4287 mobiles) (3.81 seconds)
Onsite Dueling System: DuelPoints loaded.
Reports: Stats: Loading...done
Reports: Staff: Loading...done
Xanthos.Utilities.ConfigParser attempting to load Data/AuctionConfig.xml...
[COLOR="Red"]Xanthos.Utilities.ConfigParser failed.[/COLOR]
Xanthos.Utilities.ConfigParser attempting to load Data/JailConfig.xml...
Xanthos.Utilities.ConfigParser success!
Address: 127.0.0.1:2593
Address: 192.168.254.99:2593

Do you think that this 'failed' line has anything to do with my auction system being messed up?

Also, I have included a 'debug' crash report (just learned how to do that) in efforts that maybe it might help a little bit more.

Code:
Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 2.0.50727.42
Time: 6/28/2007 8:50:54 AM
Mobiles: 4418
Items: 115081
Clients:
- Count: 1
+ xxx.xxx.xxx.10: (account = XXXXXXXXX) (mobile = 0x130FD 'Jon')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Map.OnLeave(Item item)
   at Server.Item.MoveToWorld(Point3D location, Map map)
   at Server.Item.Internalize()
   at Arya.Auction.AuctionItemCheck.Deliver(Mobile to) in c:\UO Server\RunUO\Scripts\Customs\Xanthos\Auction System\Items\AuctionItemCheck.cs:line 133
   at Arya.Auction.AuctionDeliveryGump.OnResponse(NetState sender, RelayInfo info) in c:\UO Server\RunUO\Scripts\Customs\Xanthos\Auction System\Gumps\AuctionDeliveryGump.cs:line 99
   at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)

:( :( :( :(

Edit: Ok, now... I've decided that I'll try to just shutdown the auction system and restart over again. However, when I try to force a perm shutdown, the system begins the shutdown process (I get the command line in the server window saying it has been shutdown) and it just hangs... players lose connection and nobody is able to log back in. (They stopped a 'verifying account.')

If I close down the server and start again, it comes back up with the auction system in place.

:( :( :( :(
I
 

Flats

Page
A Lil Problem

I installed the script a while back and it worked perfect....Now once anyone trys to add or bid on something this is what i get in the RunUO.exe file
Code:
Xanthos Auction System Could Not Access cliloc.enu.

I tried uninstalling uo and reinstalling still same thing i tried uninstalling script and reinstalling same thing...Any ideas?
 

Setharnas

Sorceror
Not familiar with this system, but did you maybe define a datapath (in the .cs of the same name) for an extra set of datafiles, but without copying the clilocs as well?
 
Top