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 SVN 199] Stargate Travel System v3.0

MaG_PaW

Sorceror
I have another problem now, it turns out that this image:



It me does not appear behind of the menu of the crystals.


That I have to do to put it, or to change it into other one? In that I file, and that this line what I have to modify?

Thank you!
 

Stuart lil

Sorceror
Great, um, i need a system like this, hough i will have to modify it quite a bit, it would be very much appreciated if you would agree on me doing that... and if you wish, i can also release the result ofcourse.
 

FingersMcSteal

Sorceror
Stuart lil;795569 said:
Great, um, i need a system like this, hough i will have to modify it quite a bit, it would be very much appreciated if you would agree on me doing that... and if you wish, i can also release the result ofcourse.

I have no problem with anyone working on an upgrade at all, the codes been release so anyone has access to the source code to do with what they want. I am also doing some touch up work on my own version i use which i'll probably release as an upgrade to this anyway, a couple of minor issue 's fixed etc.

If you do decide to re-release this with your changes i'd start a new post tho, don't want to confuse things with this version which i've release, then people can have the choice of which version they use.
 

FingersMcSteal

Sorceror
Post bump for updates in 1st post, 2nd April 2009

The updates for 4 of the .CS files which can be replace, there not zipped and attached to the first post. They should just replace the originals you had for v3.1 unless you made edits to anything.

Minor code alteration due to a problem i had and gate address sorting added, gate names are now displayed in alphabetical orders (after a world save). Any new gates added by admins will be sorted again at each world save.

** EDIT **

Forgot to mention... in the SGCore file near the top i've also added / changed the way the crystals pickup their colours, you can now edit this in the SGCore file for all of your shards control devices, although your server will need a re-start for the changes to take effect. The code is...

Code:
[SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// When CCD's are accessed the crystal pulses through 4 colours while users make there selection via the main gump[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Thoses crystal colours are defined below, they can be changed here but a server re-start is needed to see the changes[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]int[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] SGCrystalColour1 = 1282; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// CCD Cycle Colour 1 (Also used as CCD colour when system idle / not used)[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]int[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] SGCrystalColour2 = 100; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// CCD Cycle Colour 2[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]int[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] SGCrystalColour3 = 96; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// CCD Cycle Colour 3[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]int[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] SGCrystalColour4 = 1266; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// CCD Cycle Colour 4[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]public[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]static[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]int[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] SGCrystalColourDisabled = 39; [/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Disabled Crystal Colour, RED[/COLOR][/SIZE]
[/COLOR][/SIZE]

Colours 1-4 are the colours the crystals change to when the dialers are being used.
 

gorgan

Squire
Just wanted to thank you for your contribution; however, I am not using your Stargate system; But I did find your addons extremely useful, and will use them in conjunction with my custom moongates. :)
 

FingersMcSteal

Sorceror
natfoth;799777 said:
Anyway to make it so you cant see the stargate locations until you find it first?

Only until someone finds them, this is not on a per player basis. It was asked for but i never got around to it... sorry.
 

natfoth

Sorceror
Is there anyway to make a gate so people can only come in but cant actually use it to travel? I tried setting the crystal to visible false but after every restart its always visible again. Anyway to make it permanent?
 

FingersMcSteal

Sorceror
natfoth;799968 said:
Is there anyway to make a gate so people can only come in but cant actually use it to travel? I tried setting the crystal to visible false but after every restart its always visible again. Anyway to make it permanent?

Version 3.1 allows for 1 way gates, it's accessed via the crystals in the admin functions... hide 'this' dialler option. It hides and moves the crystals on top of the platforms out of the way from players, clicking the hidden crystal (as admin / GM character) gives you access to the options to un-hide it.

V3.1 should also run on a SVN 300 type set of server files. Everything you need is contained within this thread including the old conversion stone to make v3.0 upgrade to v3.1 but make sure you fully read the instruction post in this thread 1st.

Although the original thread title is SVN 199 the updates were done on SVN 300 so everything should still work ok.
 

natfoth

Sorceror
Also, is there anyway to disable the gate list, so that way players cannot just walk up to a startgate and use it unless they actually know the correct symboles instead of having the numbers for them?
 

FingersMcSteal

Sorceror
I'm guessing you mean remove the gate list from the gump so no one knows any addresses ?

This is the code you'd need to remove / edit, it's in the SGGumpActivatorDevice.CS file...

Code:
[SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Facet List Window[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] NewList = [/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]"<BASEFONT COLOR=#00BBFF>The Following Stargates On Your Selected Destination Facet Are Listed Below...<BR><BR><BASEFONT COLOR=#00EEFF>"[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2];[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]for[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]int[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] i = 0; i < SGCore.SGList.Count; i++)[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2]SGEntry sge = (SGEntry)SGCore.SGList[i];[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]if[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] (sge.SGFacetCode == sgCURRENTfacet)[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2]sgOnThisFacet++;[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]if[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] (!sge.SGHidden)[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2]NewList = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].Format(NewList) + sge.SGAddressCode1.ToString() + [/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]","[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] + sge.SGAddressCode2.ToString() + [/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]","[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] + sge.SGAddressCode3.ToString() + [/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]","[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] + sge.SGAddressCode4.ToString() + [/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]","[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] + sge.SGAddressCode5.ToString() + [/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]" : "[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] + sge.SGLocationName) + [/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]"<BR>"[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2];[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]else[/COLOR][/SIZE]
[/COLOR][/SIZE][SIZE=2]{[/SIZE]
[SIZE=2]sgOnThisHidden++;[/SIZE]
[SIZE=2]NewList = ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].Format(NewList)) + [/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]"<BASEFONT COLOR=#FF0000>Undiscovered Location ???<BASEFONT COLOR=#00EEFF><BR>"[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2];[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2]}[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].AddLabel(225, 160, 1160, sgOnThisFacet.ToString() );[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].AddLabel(180, 180, 33, sgOnThisHidden.ToString() );[/SIZE]
[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]this[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].AddHtml(30, 200, 315, 140, NewList, ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]bool[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])[/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]false[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2], ([/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]bool[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2])[/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]true[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]);[/SIZE]
 

Xeevis

Sorceror
Pretty awesome system, i'll use the idea, but to be honest I find your code to be one of the biggest and best obfuscated code I've ever seen in my life :D. I got totally lost in flood of redudant IFs and code. You should concentrate on writing code more effectively especially for open source community. But thanks a lot for contribution nonetheless.
 

rmacham

Sorceror
I seem to being having trouble.

When I add a stargate - it doesn't add properly
and
When I open the crystal, the gump doesnt load properly.

Shown in Images below.

Thankz for the great system.

Im using patch 3 at the moment - need to get them from my mate has he a faster net speed.
 

Attachments

  • Capture.PNG
    Capture.PNG
    88.1 KB · Views: 30
  • Capture2.PNG
    Capture2.PNG
    329.1 KB · Views: 38

Thilgon

Sorceror
rmacham;844290 said:
I seem to being having trouble.

When I add a stargate - it doesn't add properly
and
When I open the crystal, the gump doesnt load properly.

Shown in Images below.

Thankz for the great system.

Im using patch 3 at the moment - need to get them from my mate has he a faster net speed.

wich client version are you using?

OR

are you using a custom item/gump mul?
 

rmacham

Sorceror
5.0.7.1 At the moment because the rest are still downloading.

And no custom gump or mul at the moment.

Do i have to do anything with the Images Folders or just leave it as it is?
 
Top