Skip to content

Commit

Permalink
Go Gump fixed pages and UltimaPHP gump studio fixed too
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnunes committed Oct 25, 2018
1 parent 64c2218 commit 37db813
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
26 changes: 13 additions & 13 deletions scripts/gumps/go.gump.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public function build() {


$this->addPage(1);
$this->addButton(144, 153, 5603, 5607, 0, 0, 6);
$this->addButton(277, 153, 5601, 5605, 0, 1, 2);
$this->addButton(144, 153, 5603, 5607, 0, 6, 0);
$this->addButton(277, 153, 5601, 5605, 0, 2, 1);
$this->addText(199, 152, 0, "Felucca");

$this->addGumpPic(335, 137, 5593, 0);
Expand All @@ -33,10 +33,10 @@ public function build() {
$this->addPage(2);
$this->addGumpPic(335, 137, 5594, 0);
$this->addGumpPic(331, 131, 5599, 0);
$this->addButton(278, 153, 5601, 5605, 0, 2, 3);
$this->addButton(278, 153, 5601, 5605, 0, 3, 2);
$this->addText(199, 152, 0, "Trammel");

$this->addButton(144, 153, 5603, 5607, 0, 4, 1);
$this->addButton(144, 153, 5603, 5607, 0, 1, 4);
$this->addText(185, 208, 0, "Towns");

$this->addText(187, 243, 0, "Dungeons");
Expand All @@ -50,7 +50,7 @@ public function build() {
$this->addGumpPic(335, 137, 5595, 0);
$this->addGumpPic(331, 131, 5599, 0);
$this->addButton(144, 153, 5603, 5607, 0, 2, 2);
$this->addButton(278, 153, 5601, 5605, 0, 3, 4);
$this->addButton(278, 153, 5601, 5605, 0, 4, 3);
$this->addText(199, 152, 0, "Ilshenar");

$this->addText(185, 208, 0, "Towns");
Expand All @@ -65,8 +65,8 @@ public function build() {
$this->addPage(4);
$this->addGumpPic(335, 137, 5596, 0);
$this->addGumpPic(331, 131, 5599, 0);
$this->addButton(144, 153, 5603, 5607, 0, 2, 3);
$this->addButton(278, 153, 5601, 5605, 0, 3, 5);
$this->addButton(144, 153, 5603, 5607, 0, 3, 2);
$this->addButton(278, 153, 5601, 5605, 0, 5, 3);
$this->addText(199, 152, 0, "Malas");

$this->addText(185, 208, 0, "Towns");
Expand All @@ -81,8 +81,8 @@ public function build() {
$this->addPage(5);
$this->addGumpPic(335, 137, 5597, 0);
$this->addGumpPic(331, 131, 5599, 0);
$this->addButton(144, 153, 5603, 5607, 0, 2, 4);
$this->addButton(279, 153, 5601, 5605, 0, 3, 6);
$this->addButton(144, 153, 5603, 5607, 0, 4, 2);
$this->addButton(279, 153, 5601, 5605, 0, 6, 3);
$this->addText(199, 152, 0, "Tokuno");

$this->addText(185, 208, 0, "Towns");
Expand All @@ -95,10 +95,10 @@ public function build() {
$this->addButton(156, 246, 11410, 11412, 1, 9, 19);

$this->addPage(6);
$this->addButton(277, 153, 5601, 5605, 0, 0, 1);
$this->addButton(277, 153, 5601, 5605, 0, 1, 0);
$this->addGumpPic(335, 137, 5598, 0);
$this->addGumpPic(331, 131, 5599, 0);
$this->addButton(144, 153, 5603, 5607, 0, 3, 5);
$this->addButton(144, 153, 5603, 5607, 0, 5, 3);
$this->addText(199, 152, 0, "TerMur");

$this->addText(185, 208, 0, "Towns");
Expand Down Expand Up @@ -135,7 +135,7 @@ public function build() {
$this->addText(184, 298, 0, "Nujel'm");

$this->addButton(156, 300, 11410, 11412, 1, 15, 107);
$this->addButton(142, 90, 5603, 5607, 0, 16, 1);
$this->addButton(142, 90, 5603, 5607, 0, 1, 16);
$this->addText(179, 89, 0, "Felucca - Towns");

$this->addGumpPic(335, 137, 5593, 0);
Expand Down Expand Up @@ -193,7 +193,7 @@ public function build() {
$this->addText(184, 300, 0, "Miscellaneous");

$this->addButton(156, 302, 11410, 11412, 1, 15, 107);
$this->addButton(142, 90, 5603, 5607, 0, 16, 1);
$this->addButton(142, 90, 5603, 5607, 0, 1, 16);
$this->addText(179, 89, 0, "Felucca - Dungeons");

$this->addGumpPic(335, 137, 5593, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void OnExportUltimaPHP(object sender, EventArgs eventargs, int x, int y,
}
else if (element4.ButtonType == GumpStudio.Elements.ButtonTypeEnum.Page)
{
writer.Write("\n\t\t$this->addButton(" + element4.X + ", " + element4.Y + ", " + element4.NormalID + ", " + element4.PressedID + ", 0, " + element4.Z + ", " + element4.Param + ");");
writer.Write("\n\t\t$this->addButton(" + element4.X + ", " + element4.Y + ", " + element4.NormalID + ", " + element4.PressedID + ", 0, " + element4.Param + ", " + element4.Z + ");");
}
}
else
Expand Down
Binary file modified tools/UltimaPHPGumpExporter/bin/Debug/UltimaPHPExport.dll
Binary file not shown.
Binary file modified tools/UltimaPHPGumpExporter/bin/Debug/UltimaPHPExport.pdb
Binary file not shown.
Binary file modified tools/UltimaPHPGumpExporter/obj/x86/Debug/UltimaPHPExport.dll
Binary file not shown.
Binary file modified tools/UltimaPHPGumpExporter/obj/x86/Debug/UltimaPHPExport.pdb
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e48fbc9f8059f8e3cacf9a2acdae5465e63f8274
Binary file not shown.

0 comments on commit 37db813

Please sign in to comment.