I'm trying my hand to fix a tiny lil problem that has annoyed me for over 4 years. When I click on a different player house other than my own it's most likely to visit them to buy from them directly.
Now the normal action you get is buy the house yourself.
So I thought I would have a lil play around and see if I could get it working by pretty much just copy paste everything in. and perhaps make the window tabbed and stuff... but I didn't get that far. The visit table does not show any information in it and I don't understand why.
Heres the crappy attempt I made just the purchase house page as it's the only one I touched.
Code:
<Page Activated="true" eq2opensound="ui_window_main_open" eq2usescomwndcontrols="true" Location="81,98" Name="PurchaseHouse" PackLocation="center,center" ScrollExtent="753,465" Size="753,465" UserMovable="true">
<Page Location="31,80" Name="TablePage" PackLocation="left,top" PackSize="absolute,absolute" ScrollExtent="344,239" Size="344,239">
<Scrollbar ArrowPressSound="sounds/button" Control="Table" HideIfUnnecessary="true" Location="314,30" MaximumSize="22,16384" MinimumSize="22,0" Name="Scroll" PackLocation="right,top" PackSize="fixed,absolute" ScrollExtent="22,199" Size="22,199" Style="/CommonElements.ScrollbarVertical.data.style" Visible="false" />
<TableHeader BackgroundColor="#FFFFFF" BackgroundOpacity="0.000" ButtonStyle="/CommonElements.Table.data.sort.style_center_align" Location="9,5" MinimumScrollExtent="324,0" Name="TableHeader" PackLocation="left,top" PackSize="absolute" ScrollExtent="327,16" Size="327,16" Table="Table" />
<Table BackgroundColor="#000000" BackgroundOpacity="0.000" DefaultTextStyle="/TextStyles.Normal.NormalStyle" Location="10,30" MinimumScrollExtent="324,0" Name="Table" PackLocation="left,top" PackSize="absolute,absolute" ScrollExtent="324,199" SelectionAllowedMultiRow="false" SelectionColorBackground="#4A404A" SelectionColorRect="#4A404A" Size="324,199" TableModel="VisitInnRoom.TablePage.TableModel" />
<Page Name="TableFrame" PackSize="a,a" ScrollExtent="344,239" Size="344,239">
<Page BackgroundOpacity="1.000" Name="Header" PackSize="absolute,fixed" RStyleDefault="/CommonElements.DataGrouper.data.header_frame.rect" ScrollExtent="344,25" Size="344,25" />
<Page BackgroundOpacity="1.000" Location="0,25" Name="Data" PackSize="absolute,absolute" RStyleDefault="/CommonElements.DataGrouper.data.data_frame.rect" ScrollExtent="344,214" Size="344,214" />
</Page>
<DataSourceContainer Name="TableDSContainer">
<DataSource label=":de8e7b05f15e3687:Owner" Name="OwnerName" type="text" />
<DataSource label=":de8e7b05fe3ad19d_2:Access" Name="Access" type="text" />
</DataSourceContainer>
<TableModelDefault DataSourceContainer="TableDSContainer" Name="TableModel" />
</Page>
<Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" Location="29,53" Name="Title" PackLocation="cfc,top" PackSize="absolute,fixed" ScrollExtent="341,24" ShadowStyle="/ShadowStylesNew.HeavyDrop.style" Size="341,24" TextAlignment="Center" TextColor="#FBF1D9">:de8e7b0514bc03c4:Select the location you would like to visit.</Text>
<Text AbsorbsInput="false" Font="/TextStyles.Normal.NormalStyle" Location="8,40" Name="Title2" PackLocation="left,top" PackSize="absolute" ScrollExtent="432,18" Size="432,18" TextAlignment="Center" TextAlignmentVertical="Center" Visible="false">:de8e7b0514bc03c4_1:Select the inn room you would like to visit.</Text>
<Text Font="/TextStyles.Normal.NormalStyle" Location="27,330" Margin="1,1,1,1" Name="FilterLabel" PackLocation="left,bottom" ScrollExtent="91,18" Size="91,18" TextAlignment="Center" TextAlignmentVertical="Center">:de8e7b058797a5d4:Filter</Text>
<Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" Location="117,324" MaximumSize="16384,30" MinimumSize="30,30" Name="FilterTextInput" PackLocation="left,bottom" PackSize="a,f" RStyleActivated="/CommonElements.Textfield.data.selected.rect" RStyleDefault="/CommonElements.Textfield.data.default.rect" RStyleDisabled="/CommonElements.Textfield.data.disabled.rect" RStyleDisabledActivated="/CommonElements.Textfield.data.disabled.rect" RStyleMouseOver="/CommonElements.Textfield.data.mouseover.rect" RStyleMouseOverActivated="/CommonElements.Textfield.data.selected.rect" RStyleMouseOverSelected="/CommonElements.Textfield.data.selected.rect" RStyleSelected="/CommonElements.Textfield.data.selected.rect" ScrollExtent="256,30" Size="256,30" Style="/CommonElements.Textfield.data.style">:de8e7b054b69e3eb:User types here to filter the above list</Textbox>
<Text AbsorbsInput="false" Font="/TextStyles.Normal.NormalStyle" Location="35,366" Name="StatusText" PackLocation="left,bottom" PackSize="absolute" ScrollExtent="339,18" Size="339,18" TextAlignment="Center" TextAlignmentVertical="Center">:de8e7b05a15ea25b_3:Status Text</Text>
<Button Location="37,389" MaximumSize="16384,38" MinimumSize="32,38" Name="EnterButton" PackLocation="cfc,bottom" ScrollExtent="336,38" Size="336,38" Style="/CommonElements.LargePushButton.data.style">:de8e7b05874e1095:Enter</Button>
<Page Location="373,40" Name="MainPage" PackLocation="left,top" PackSize="absolute,absolute" RStyleMouseOver=" " RStyleMouseOverActivated=" " RStyleMouseOverSelected=" " RStyleSelected=" " ScrollExtent="346,281" Size="346,281">
<Namespace Name="New Namespace" />
<Text Font="/TextStyles.VeryLarge.VeryLargeStyle" Location="56,0" Margin="1,-2,1,0" Name="Name" PackLocation="left,top" PackSize="absolute" ScrollExtent="234,32" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="234,32" TextAlignment="Center" TextAlignmentVertical="Bottom">:de8e7b0594141d89_1:HOUSE NAME OR TYPE</Text>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="0,6" Name="header" PackLocation="top,left" PackSize="absolute, fixed" RStyleDefault="/FrameStyles.title_gold_deco2" ScrollExtent="346,32" Size="346,32" />
<Text Font="/TextStyles.Normal.NormalStyle" Location="5,54" Name="PriceLabel" PackLocation="left,top" PackSize="proportional" ScrollExtent="159,22" Size="159,22" TextAlignment="Right" TextAlignmentVertical="Center" TextColor="#EBDEAA">:de8e7b0513986ea4:Price:</Text>
<Text Font="/TextStyles.Normal.NormalStyle" Location="186,54" Name="PriceValue" PackLocation="center,top" ScrollExtent="180,22" Size="180,22" TextAlignmentVertical="Center">:de8e7b05597b3839:0123456789</Text>
<Text Font="/TextStyles.Normal.NormalStyle" Location="5,74" Name="UpkeepLabel" PackLocation="left,top" PackSize="proportional" ScrollExtent="159,22" Size="159,22" TextAlignment="Right" TextAlignmentVertical="Center" TextColor="#EBDEAA">:de8e7b055d6903b2_1:Upkeep:</Text>
<Text Font="/TextStyles.Normal.NormalStyle" Location="186,74" Name="UpkeepValue" PackLocation="center,top" ScrollExtent="180,22" Size="180,22" TextAlignmentVertical="Center">:de8e7b05597b3839_1:0123456789</Text>
<Text Font="/TextStyles.Normal.NormalStyle" Location="5,94" Name="BrokerLabel" PackLocation="left,top" PackSize="proportional" ScrollExtent="159,22" Size="159,22" TextAlignment="Right" TextAlignmentVertical="Center" TextColor="#EBDEAA">:de8e7b0543eadce5:Vendor and Vault Slots:</Text>
<Text Font="/TextStyles.Normal.NormalStyle" Location="186,94" Name="BrokerValue" PackLocation="center,top" ScrollExtent="180,22" Size="180,22" TextAlignmentVertical="Center">:de8e7b05597b3839_2:0123456789</Text>
<Page Location="10,127" Name="RequirementsPage" PackLocation="left,top" PackSize="absolute,absolute" ScrollExtent="326,151" Size="326,151">
<Text Font="/TextStyles.Normal.NormalStyle" Name="RequirementsLabel" PackLocation="left,top" PackSize="absolute" ScrollExtent="326,18" Size="326,18" TextAlignment="Center" TextAlignmentVertical="Center" TextColor="#EBDEAA">:de8e7b0574fd6f79:Additional Requirements</Text>
<Page AbsorbsInput="false" Enabled="false" GetsInput="false" Location="0,18" Name="ReqTextFrame" PackLocation="left,top" PackSize="a,a" ScrollExtent="326,133" Size="326,133">
<Text Font="/TextStyles.Normal.NormalStyle" MaxLines="3" Name="RequirementsText" PackLocation="left,top" PackSize="absolute,absolute" ScrollExtent="326,133" Size="326,133" TextAlignment="Center">:de8e7b05c1e137bd:[DEVL] This will be a designer entered description of the other criteria that must be met to purchase this house.</Text>
</Page>
</Page>
<Page BackgroundOpacity="1.000" Location="0,35" Name="Grouper" PackSize="a,a" RStyleDefault="/CommonElements.CorneredGrouper.data.rect" ScrollExtent="346,231" Size="346,231" />
</Page>
<Text AbsorbsInput="false" Font="/TextStyles.Normal.NormalStyle" Location="377,307" Margin="1,-1,1,0" Name="StatusText" PackLocation="left,bottom" PackSize="absolute" ScrollExtent="339,18" Size="339,18" TextAlignment="Center" TextAlignmentVertical="Bottom">:de8e7b05a15ea25b_2:Status Text</Text>
<Button Location="375,389" MaximumSize="16384,38" MinimumSize="32,38" Name="WC_CloseButton" PackLocation="cfc,bottom" ScrollExtent="342,38" Size="342,38" Style="/CommonElements.LargePushButton.data.style">:de8e7b05ae453fbb:Cancel</Button>
<Button Location="475,326" MaximumSize="16384,38" MinimumSize="32,38" Name="BuyButton" PackLocation="cfc,bottom" ScrollExtent="138,38" Size="138,38" Style="/CommonElements.LargePushButton.data.style">:de8e7b050f08c80f:Buy!</Button>
<Page BackgroundOpacity="1.000" Location="30,30" Name="InteriorGrouper" PackSize="absolute,absolute" RStyleDefault="/WindowElements.InteriorGrouper.data.default_bkg.rect" ScrollExtent="693,405" Size="693,405">
<Page BackgroundOpacity="1.000" Name="Frame" PackSize="absolute,absolute" RStyleDefault="/WindowElements.InteriorGrouper.data.frame.rect" ScrollExtent="693,405" Size="693,405" />
</Page>
<Page Location="8,68" Name="MainTabPage" PackLocation="left,top" PackSize="absolute,absolute" RStyleMouseOver=" " RStyleMouseOverActivated=" " RStyleMouseOverSelected=" " RStyleSelected=" " ScrollExtent="695,364" Size="695,364" />
<Page BackgroundOpacity="1.000" Name="DialogFrame" PackSize="absolute,absolute" RStyleDefault="/WindowElements.DialogFrame.data.frame.rect" ScrollExtent="753,465" Size="753,465" />
</Page>