gump driven moongates

Forum where anything UOX3-related goes - including, but not limited to: newbie-support, ideas, general questions, comments, etc and-so-forth.
Post Reply
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

gump driven moongates

Post by Lord tano »

Hi,

I was told on the irc channel that by default the mongates were gump driven,
but since I added the wordlfile the moongates aren't working any more, well they work but with the moon phase and no gump is there.
I tried to use a command "setscptrig 5011" then it would show gump but the gump doesn't work correctly the gate tosses me back a tile and the gump says you are too far from the gate to use that.

kinda lost here any ideas?

Lord Tano
Why is there air?
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

Maybe if some one could provide a world file that has moongates that work with the gump, as that my shard is very new with no changes to what the default worldfile has in it and only one account right now I will lose very little.

I located a js file that is called moongate if this file is my issue, Could I replace it with one tht would work correctly :)

I'm not really software orientated, I'm hardware tech, but I can do most things. I just don't have the programming knowledge

thanks again
Why is there air?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

If you do 'ADD 0x0f6c (a blue moongate) at a random location and then 'SETSCPTRIG 5011 on it afterwards, what happens if you walk on/double-click the new gate you created?
-= Ho Eyo He Hum =-
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

Well I’m not trying to make a new moongate, just trying to get the city gates to work with a gump so I haven't tried that.
But, I did find a thread on these boards that described my issue.
viewtopic.php?t=343&highlight=moongate
It said something about that in teleporter.scp it is hard coded to work the old way
And to remove that and use the JavaScript provided.
Ok that sounds great to me
Next question is how do you disable the old script and enable the new JavaScript?
I looked over the js provided in the thread and it provides a gump that will give all destinations in Fel, Tram, and Ilsh
But Malas and Tokuno aren’t there.
No problem they weren't around when it was written
Like I said before I'm not real good at coding in fact I have never coded anything. Could some one here add the needed code to that .js to provide for Malas and Tokuno and tell me how to implement it?

then I would be happy with my shard because everything I have looked at would be working

I want to say again that I'm amazed at how well this server emulator works and how easy it was to setup. you people are doing a great job in fact more than great this is really fantastic
Why is there air?
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

well I figured out the moongate issue
took a while but I got it. thanks for all the help on the irc channel
Why is there air?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Note that the names for the facets in the moongate script are reversed. Trammel is the world which gives you a yellow mouse cursor (world 1), Felucca is the one without (world 0).

As of the few latest UO patches, make sure that your maps.dfn file (DFNDATA\MAPS\maps.dfn) contains map1.mul, staidx1.mul and statics1.mul for Trammel, since it now has it's own set of files.

If I knew the proper locations for moongates in Malas and Tokuno I'd add them, but I don't :|
-= Ho Eyo He Hum =-
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

I will try to get the map locations for you, would it be easier to do xyz or map coords from uo?
Why is there air?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

xyz coordinates taken from for instance insideUO confirmed by ingame coordinates would be nice ;)
-= Ho Eyo He Hum =-
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

working on it
but having issues learning how to use insideuo
I can't seem to zoom the map large enough to pin point the place I want
Why is there air?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Zoom in InsideUO has only two options: Zoomed in, or zoomed out. Additionally, you can select which map to show from selections available on the right-click menu.
-= Ho Eyo He Hum =-
Lord tano
UOX3 Neophyte
Posts: 29
Joined: Sat May 12, 2007 6:49 pm
Has thanked: 0
Been thanked: 0

Post by Lord tano »

here are the coords that you requested
I believe they are correct

Tokuno Islands

Isamu~Jima 1169 , 998 , 42 , 4
Makoto~Jima 801 , 1204 , 25 , 4
Homare~Jima 270 , 628 , 15 , 4


Malas

new Luna 1015 , 527 , -65 , 3
old Luna 1054 , 358, -86, 3 unused on ea production shards
Umbra 1997 , 1386, -85 , 3 this gate is black

If these could be added to the moongate.js I would be very happy

The only other thing I noticed is that teh moon gate image does not show in fel and ilsh I will have to put a image at the proper locations but that is not a real issue
Why is there air?
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Alright, I've now updated the moongate.js on the CVS with teleport locations for both Malas and Tokuno Islands. Additionally, I've added some configurationable options at the top of the script, where you can pick and choose which teleport locations you want to show up when players use the moongate. You can for instance have it only show Trammel locations, or only Malas locations, or only .. etc.

Here's a temporary download for you: moongate.js (RARed)

Btw, don't give up so easily on IRC! :) Stick around for a little while longer - I checked the channel right after you left =P
-= Ho Eyo He Hum =-
warwick
UOX3 Neophyte
Posts: 33
Joined: Sun Dec 26, 2010 11:44 pm
Has thanked: 0
Been thanked: 0

Post by warwick »

I downloaded the actual js as told, and put it in place, restarted the server, still wont work.

Still get puched back 1 step, with message mentioned above, being to far away...
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

-= Ho Eyo He Hum =-
Post Reply