In Need of scripts/advice

Need help with your JScripts? Got questions concerning the DFNs? Come forward, step inside :)
Post Reply
Jynx
UOX3 Newbie
Posts: 1
Joined: Fri Mar 02, 2007 5:22 am
Location: Canada
Has thanked: 0
Been thanked: 0

In Need of scripts/advice

Post by Jynx »

Sorry if I've overlooked any of these or what-not, But I recently started playing around with UOX3 and was wondering if theres a simple fix or if its possible to get codes for some of the things listed below

Custom House script
(Initiated by double clicking a spyglass which brings up the housing gump) and if so how would i go about changing the size of the houses in the gump and setting prices ect..

A world teleporter Gump
I've noticed that the places for the Portals are just randomly linked to one another

and now for the info i need...

When placing new tiles in say Green acres ect. when you walk towards them you get tiles missing from it is there any way to fix this?

World change gates... as it is right now i don't have the world teleporter gump so I've been trying to set a portal straight to Luna from Brit but it sends you to a secluded location thats not luna at all lol, if there is a world teleporter gump this probably is unnecessary but could be helpful to know

As i said before i am new to this so forgive me if I'm asking Stupid questions or if i have overlooked threads with any of this information
I'm Useless when it comes to scripting so this would be a Big Help

Thanks :)
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 I'll be moving this thread to the Scripting Department, seeing as this is the forum where one can share completed scripts with others. :) No worries, though.

Custom House-script:
If you mean custom houses where the players can construct their house bit by bit as they choose, on a plot of predetermined size, then sorry, no such script (or code) exists for UOX3 as of yet, and there's no easy fix for that since it'll probably be a complex script to write.

World teleporter gump:
Try using 'SETSCPTRIG 5011 on your moongates, and you'll get a menu with locations to travel to when using it, similar to how it is on the official UO shards.
When placing new tiles in say Green acres ect. when you walk towards them you get tiles missing from it is there any way to fix this?
The issue with items missing when approaching from a certain direction is a bug in UOX3, I'm afraid. One "workaround" is to give players access to the 'RESEND command, which resends everything on their screen to their client.
World change gates... as it is right now i don't have the world teleporter gump so I've been trying to set a portal straight to Luna from Brit but it sends you to a secluded location thats not luna at all lol, if there is a world teleporter gump this probably is unnecessary but could be helpful to know
If you've tried using a teleporter of TYPE 60, then that's the reason why it's not working. Those teleporters are not usable for teleportation between facets/worlds at the moment, as it's missing a vital component - it's not possible to assign a "target world" to the teleporter.

You either have to use a JS-based teleporter based on the onCollide and/or onUse JS events (to cover both double-clicking & walking on top of the teleporter) - or setup teleport locations through UOX3\JS\TELEPORT.SCP, using the following format:

Code: Select all

	   (source)		  (target)
(ENTRY=x, y, z, 		     x, y, z,	sourceworld, targetworld)
ENTRY=1055, 499, All,	1055, 499, -90,	0,	3
The above example will teleport you from 1055, 499 in world 0(felucca), to 1055, 499, -90 in world 3(malas)
You might have to restart UOX3 for any changes to teleport.scp to go into effect though.
-= Ho Eyo He Hum =-
Post Reply