Difference between revisions of "Main Page"

From SphereWiki
Jump to: navigation, search
m
(97 intermediate revisions by 26 users not shown)
Line 1: Line 1:
Welcome to the retake of Taran's famous "[http://http://www.cs.rit.edu/~djr7581/|Sphere Scripting for Dummies tutorials]" and information. His tutorial was made for Sphere 55i, but now that Sphere 56b is about to be released we have decided to rewrite his tutorials and update the information to reflect the latest changes and additions.
+
<div style="background-color:#a7bcdc; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;">
 
+
'''Starting with SphereServer'''
 
+
</div>
'''Where should I start?'''
+
<div style="min-width:650px; width:100%;">
 
+
<div style="border-right:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:33%;">
If you want to learn to script for Sphere 56b you should start by first reading the [[#Setting Up Sphere|Setting Up Sphere]] section. It will teach you how to set up a basic empty world to start your path. After that you should try reading the [[#Tutorials|Tutorials]], go slow, don't try to go through everything in one day as it takes time to read and fully understand everything.
+
<div style="border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;">
 
+
'''Setup of Sphere'''
 
+
</div>
'''I learned how to script! And now?'''
+
<div style="border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;">
 
 
If you have finished the 10 chapters then we encourage you to read the tutortials and other articles below. They may not be as important as the others but they are still quite useful and contain lots of useful information. Try making your own scripts and share with others at the [http://www.sphereserver.net/index.php SphereServer Forums]. You can also ask for help if you can't resolve something by yourself. Remember to use the [[#Reference Compendium|Reference Compendium]] below as it is really useful.
 
 
 
 
 
'''I want to contribute!'''
 
 
 
Maintaining the information on this site involves a huge amount of work and not many of us have the time to do it. If you wish to help out then please feel free to do so! All you need to do to get started is [[Special:UserLogin|create an account]] if you haven't done so already. You can then edit any page by using the "Edit" link in the rop right corner. Before you go do this, you may want to start by reading the [[Contribution Guide]].
 
 
 
 
 
'''Special thanks to:'''
 
 
 
[[WhoIsWho|Ben, Cloud_Br, Ellessar, Jdog, Lord Zerofiz, Mordaunt, Nazghul-ll, RanXerox, Rattlehead, Sandman, Sharlenwar, ShiryuX, thelegbra, Maximus and WarAngel]], for helping to add content.
 
 
 
[[WhoIsWho|Daleth]], for writing the Sphere Reference Project, and [[WhoIsWho|Mordaunt]] for converting it to .chm format.
 
 
 
[[WhoIsWho|Tracker]], for writing the Sphere 56 Tracking Changes in Sphereserver.net
 
 
 
[[WhoIsWho|Taran]], for writing the original and now famous Sphere Scripting for Dummies tutorials
 
 
 
[[WhoIsWho|Furio, Radiant, Vjaka, Nazghul-ll, Ellessar, Torfo, Shadow Dragon and MrSugarCube]] for continuing to develop Sphere into a powerful and very customizable Ultima Online emulator.
 
 
 
----
 
 
 
 
 
==Setting up Sphere==
 
 
 
 
* [[Where to get Sphere]]
 
* [[Where to get Sphere]]
 
* [[Installing Sphere]]
 
* [[Installing Sphere]]
 
* [[Configuring Sphere.ini]]
 
* [[Configuring Sphere.ini]]
 
+
</div>
 
+
<div style="border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;">
==Tutorials==
+
'''Sphere 101'''
 
+
</div>
Here are the chapters of Taran's original compendium, updated for Sphere56b:
+
<div style="padding:0px 0px 5px 10px;">
 
 
 
* [[Chapter 1]] ''(Numbers, DEFNAME, ITEMDEF, CHARDEF)''
 
* [[Chapter 1]] ''(Numbers, DEFNAME, ITEMDEF, CHARDEF)''
 
* [[Chapter 2]] ''(Sphere files explained)''
 
* [[Chapter 2]] ''(Sphere files explained)''
Line 53: Line 26:
 
* [[Chapter 9]] ''(Events)''
 
* [[Chapter 9]] ''(Events)''
 
* [[Chapter 10]] ''(String Handling)''
 
* [[Chapter 10]] ''(String Handling)''
 
+
</div>
 
+
</div>
In addition to these there are some more advanced tutorials that have been contributed by other members. Once you have read the above 10 tutorials you may wish to read these to learn more:
+
<div style="border-left:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:67%;">
 
+
<div style="border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;">
 +
'''Extra Tutorials'''
 +
</div>
 +
<div style="border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;">
 
* [[Common Mistakes|Common Mistakes Explained]] ''(A revision of Maximus's tutorial on the forums, and continuation of Taran's Misconceptions tutorial)''
 
* [[Common Mistakes|Common Mistakes Explained]] ''(A revision of Maximus's tutorial on the forums, and continuation of Taran's Misconceptions tutorial)''
 
* [[Internet and Sphere]] ''(And how to make the right use of them)''
 
* [[Internet and Sphere]] ''(And how to make the right use of them)''
Line 65: Line 41:
 
* [[Scheduled Reboot]] ''(How to schedule system reboots)''
 
* [[Scheduled Reboot]] ''(How to schedule system reboots)''
 
* [[Using MySQL]] ''(How to use MySQL)''
 
* [[Using MySQL]] ''(How to use MySQL)''
 +
* [[Bitwise Operations]] ''(How to work with FLAGS/ATTR)''
 +
* [[Script Debugging]] ''(How to fix your scripts)''
 +
</div>
 +
<div style="border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;">
 +
'''IMPORTANT LINKS'''
 +
</div>
 +
<div style="padding:0px 0px 5px 10px;">
 +
* [https://github.com/Sphereserver SphereServer Official Github]
 +
* [https://forum.spherecommunity.net/sshare.php?srt=4 Download Nightly Builds] ''(Plus! Extra downloads, like tools and scripts!)''
 +
* [https://github.com/Sphereserver/Source-X/blob/master/Changelog.txt SphereX Changelog] | [https://github.com/Sphereserver/Source/blob/master/changelog.txt 56d Changelog] | [https://github.com/Sphereserver/Source-X/tree/master/docst Older Changelog]
 +
* [https://discord.gg/BZj2fEA Join us at Discord] ''(We will solve most of your doubts over there)''
 +
</div>
 +
</div>
 +
</div>
 +
.
 +
 +
<div style="background-color:#a7bcdc; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;">
 +
'''Reference Compendium'''
 +
</div>
 +
<div style="min-width:650px; width:100%;">
 +
<div style="border-right:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:33%;">
 +
<div style="border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;">
 +
[[:Category:Definitions|'''Definitions''']]
 +
</div>
 +
<div style="padding:0px 0px 5px 10px;">
 +
* [[CHARDEF|Characters]]
 +
* [[DIALOG|Dialogs]]
 +
* [[EVENTS|Events]]
 +
* [[ITEMDEF|Items]]
 +
* [[MENU|Menus]]
 +
* [[REGIONRESOURCE|Region Resources]]
 +
* [[REGIONTYPE|Region Types]]
 +
* [[AREADEF|Regions]]
 +
* [[ROOMDEF|Rooms]]
 +
* [[SKILLCLASS|Skill Classes]]
 +
* [[SKILLMENU|Skill Menus]]
 +
* [[SKILL|Skills]]
 +
* [[SPAWN|Spawn Groups]]
 +
* [[SPELL|Spells]]
 +
* [[TYPEDEF|Types]]
 +
</div>
 +
</div>
 +
<div style="border-left:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:67%;">
 +
<div style="border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;">
 +
[[:Category:Objects|'''Objects''']]
 +
</div>
 +
<div style="border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;">
 +
* [[Accounts]]
 +
* [[Characters]]
 +
* [[Database]]
 +
* [[Files]]
 +
* [[GM Pages]]
 +
* [[Items]]
 +
** ''[[Special Items]]''
 +
* [[Map Points]]
 +
* [[Parties]]
 +
* [[Regions]]
 +
* [[Rooms]]
 +
* [[Sectors]]
 +
* [[Server]]
 +
</div>
 +
<div style="border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;">
 +
[[:Category:Scripts|'''Scripts''']]
 +
</div>
 +
<div style="padding:0px 0px 5px 10px;">
 +
* [[:Category:Functions|Functions and Triggers]]
 +
* [[:Category:Variables|General Functions, Properties and References]]
 +
* [[Intrinsic Functions]]
 +
* [[:Category:Statements|Statements]]
 +
* [[:Category:Triggers|Triggers]]
 +
</div>
 +
</div>
 +
.
 +
----
  
 +
.
  
==Reference Compendium==
+
==Useful Links==
 +
* Modern SphereServer Nightly Downloads (Server) https://forum.spherecommunity.net/sshare.php?srt=4
 +
* Older/Classic SphereServer downloads (Server) https://forum.spherecommunity.net/sshare.php?srt=4&prj=7
 +
* Sphere-X Script Pack (Scripts) https://github.com/Sphereserver/Scripts-X
 +
* Julians Script Vault (Scripts) https://github.com/JulianUO/SphereX-ScriptsVault
 +
* List of UO Packets (Info) https://docs.polserver.com/packets/index.php
 +
* Scripts https://mirror.ashkantra.de/scripts/Sphere/
 +
* GM Commands (Commands) https://wiki.spherecommunity.net/index.php?title=GM_Commands
 +
* Axis 2 Downloads (GM Tool) https://forum.spherecommunity.net/sshare.php?srt=4&prj=1
 +
* Leviathan (GM tool) https://github.com/cbnolok/Leviathan/releases
 +
* Ultima Online Downloads (Clients) https://mega.nz/folder/6uYxnIpY#tahGzzz_yOkLgNM1c_DxdQ
 +
* Client 7.0.20 https://mirror.ashkantra.de/fullclients/
 +
* ClassicUO (Third Party Client) https://www.classicuo.eu/
 +
* OrionUO (Third Party Client) http://orionuo.online/
 +
* CentrED (Worldbuilding)  https://uo.wzk.cz/centred/
 +
* UO-Pixel (Graphics) http://www.uo-pixel.de/
 +
* UO Fiddler ( MUL Viewer) http://uofiddler.polserver.com/
 +
* UO Grafiken by Nyray (Graphics) https://nyray.wordpress.com/
 +
* Vestimisu (Graphics) http://vestimisu.blogspot.com/
 +
* Ultima Online Graphics By Rubra (Graphcs) http://uographicsrubra.blogspot.com/
 +
* Isis‘ UO Grafiken (Graphics) https://isispixel.wordpress.com/
 +
* ServUO (Graphics) https://www.servuo.com/archive/categories/assets.13/
 +
* UOGateway (Shard Listing) https://uogateway.com/
  
* [[:Category:Definitions|Definitions]]
+
==Sphere 3rd Party Tools==
** [[CHARDEF|Characters]]
+
* [http://forum.spherecommunity.net/sshare.php?srt=4&uid=603 Axis II] - GM Tool for Sphere that will allow you to place objects in-game, spawns, traveling and many other useful functions for shard admins and GMs.
** [[ITEMDEF|Items]]
+
* [http://forum.spherecommunity.net/sshare.php?srt=4&prj=3 vSCP] - vSCP is the most complete and up-to-date syntax editor for sphere scripting. It does contain syntax highlighting, autocomplete, folding markers to specify blocks of code that can expand or collapse, bookmarks, autoindent, find/replace/gotoline, help guide for all the sphere elements added to your code, and more!
* [[:Category:Functions|Functions]]
+
* [http://forum.spherecommunity.net/sshare.php?srt=4&prj=2 vServerLauncher] - Install and run the latest build of sphereserver in a few clicks with vServerLauncher. It's pretty quick and simple!
* [[:Category:Objects|Objects]]
+
* [http://forum.spherecommunity.net/sshare.php?srt=4&prj=5 SphereService] - Relaunch SphereSvr.exe everytime it closes/crashes. Automatically runs at windows startup and works in a silent mode minimized to Tray.
** [[Accounts]]
+
* [http://forum.spherecommunity.net/sshare.php?srt=4&prj=4 vCrypter] - Type the client version and the tool will calculate the correct UO login keys for classic or enhanced clients.
** [[Characters]]
 
** [[Database]]
 
** [[Files]]
 
** [[GM Pages]]
 
** [[Items]]
 
*** [[Special Items]]
 
** [[Map Points]]
 
** [[Parties]]
 
** [[Regions]]
 
** [[Rooms]]
 
** [[Sectors]]
 
** [[Server]]
 
* [[:Category:Tags|Tags]]
 
* [[:Category:Triggers|Triggers]]
 
  
  
Line 97: Line 156:
 
* [[Common Scripting Misconceptions]]
 
* [[Common Scripting Misconceptions]]
 
* [[Custom Object Properties]]
 
* [[Custom Object Properties]]
 +
* [[Error Codes]]
 
* [[Experience System]]
 
* [[Experience System]]
 
* [[How Combat Works]]
 
* [[How Combat Works]]
Line 106: Line 166:
 
* [[Skill Gain Theory]]
 
* [[Skill Gain Theory]]
 
* [[The Process of Scripting]]
 
* [[The Process of Scripting]]
 +
* [[Building Component Reference]]
 +
 +
==Credits==
 +
 +
'''Special thanks to:'''
 +
 +
[[WhoIsWho|XuN, Nolok, Ben, and Drk]], for their hard work on the X branch taking Sphere into the next decade.
 +
 +
[[WhoIsWho|Ben, Cloud_Br, Ellessar, Jdog, Lord Zerofiz, Mordaunt, Nazghul-ll, RanXerox, Rattlehead, Sandman, Sharlenwar, ShiryuX, thelegbra, Maximus, WarAngel and Valios]], for helping to add content.
 +
 +
[[WhoIsWho|Daleth]], for writing the Sphere Reference Project, and [[WhoIsWho|Mordaunt]] for converting it to .chm format.
 +
 +
[[WhoIsWho|Tracker]], for writing the Sphere 56 Tracking Changes in Sphereserver.net
 +
 +
[[WhoIsWho|Taran]], for writing the original and now famous Sphere Scripting for Dummies tutorials, and [[WhoIsWho|MrSugarCube]] for bringing it up-to-date directly from source.
 +
 +
[[WhoIsWho|Ben, Khaos, Ranxerox, Shiryux, Furio, Radiant, Vjaka, Nazghul-ll, Ellessar, Torfo, Shadow Dragon, MrSugarCube and coruja747]] for continuing to develop Sphere into a powerful and very customizable Ultima Online emulator.
  
 +
[[WhoIsWho|Crius]], for providing hosting for the original SphereWiki, and [[WhoIsWho|Torfo]] for providing the current hosting.
  
 
==External Links==
 
==External Links==
  
* [http://www.sphereserver.net/ Official SphereServer Website]
+
* [[Useful Links]] ''(An ongoing list of useful links for community members)''
* [http://prerelease.sphereserver.net/ Official Sphere 56b Downloads]
+
* [http://www.spherecommunity.net/ Official SphereServer Website]
* [http://scriptsharing.dv-team.de/ ScriptSharing]
+
* [https://forum.spherecommunity.net/sshare.php?srt=4 Nightly builds]
* [http://spherewiki.99k.org/index.php/Portada SphereWiki (Español/Spanish)]
+
* [http://nightly.prerelease.sphere.torfo.org/ Nightly builds - OUTDATED, use the link above]
* [http://www.cs.rit.edu/~djr7581/ Taran's Scripting for Dummies (Sphere 55i)]
+
* [http://spherepack.codeplex.com/ Sphere Community Pack 2.0]
* [http://scriptsharing.dv-team.de/docs/packet_doc.html UO Packet Guide]
+
* [http://uo.torfo.org/packetguide/ Jerrith's UO Packet Guide]
 +
* [http://uo.torfo.org/packetguideKR/ Wyatt&Kons's UOKR Packet Guide]
  
  
 
[[Category: Navigation]]
 
[[Category: Navigation]]

Revision as of 19:35, 3 August 2023

Starting with SphereServer

Setup of Sphere

Sphere 101

Extra Tutorials

IMPORTANT LINKS

.

Reference Compendium

.


.

Useful Links

Sphere 3rd Party Tools

  • Axis II - GM Tool for Sphere that will allow you to place objects in-game, spawns, traveling and many other useful functions for shard admins and GMs.
  • vSCP - vSCP is the most complete and up-to-date syntax editor for sphere scripting. It does contain syntax highlighting, autocomplete, folding markers to specify blocks of code that can expand or collapse, bookmarks, autoindent, find/replace/gotoline, help guide for all the sphere elements added to your code, and more!
  • vServerLauncher - Install and run the latest build of sphereserver in a few clicks with vServerLauncher. It's pretty quick and simple!
  • SphereService - Relaunch SphereSvr.exe everytime it closes/crashes. Automatically runs at windows startup and works in a silent mode minimized to Tray.
  • vCrypter - Type the client version and the tool will calculate the correct UO login keys for classic or enhanced clients.


Other Articles

Credits

Special thanks to:

XuN, Nolok, Ben, and Drk, for their hard work on the X branch taking Sphere into the next decade.

Ben, Cloud_Br, Ellessar, Jdog, Lord Zerofiz, Mordaunt, Nazghul-ll, RanXerox, Rattlehead, Sandman, Sharlenwar, ShiryuX, thelegbra, Maximus, WarAngel and Valios, for helping to add content.

Daleth, for writing the Sphere Reference Project, and Mordaunt for converting it to .chm format.

Tracker, for writing the Sphere 56 Tracking Changes in Sphereserver.net

Taran, for writing the original and now famous Sphere Scripting for Dummies tutorials, and MrSugarCube for bringing it up-to-date directly from source.

Ben, Khaos, Ranxerox, Shiryux, Furio, Radiant, Vjaka, Nazghul-ll, Ellessar, Torfo, Shadow Dragon, MrSugarCube and coruja747 for continuing to develop Sphere into a powerful and very customizable Ultima Online emulator.

Crius, for providing hosting for the original SphereWiki, and Torfo for providing the current hosting.

External Links