Difference between revisions of "Main Page"

From SphereWiki
Jump to: navigation, search
 
(128 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>
 +
<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;">
 +
'''Setup of Sphere'''
 +
</div>
 +
<div style="border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;">
 +
* [[Where to get Sphere]]
 +
* [[Installing Sphere]]
 +
* [[Configuring Sphere.ini]]
 +
</div>
 +
<div style="border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;">
 +
'''Sphere 101'''
 +
</div>
 +
<div style="padding:0px 0px 5px 10px;">
 +
* [[Chapter 1]] ''(Numbers, DEFNAME, ITEMDEF, CHARDEF)''
 +
* [[Chapter 2]] ''(Sphere files explained)''
 +
* [[Chapter 3]] ''(Scripting NPC's and items, Cool commands)''
 +
* [[Chapter 4]] ''(Objects, operators, speech)''
 +
* [[Chapter 5]] ''(Tags, Vars, Locals, Functions)''
 +
* [[Chapter 6]] ''(LINKs, TIMERs, TARGETs)''
 +
* [[Chapter 7]] ''(Loops and powerful functions)''
 +
* [[Chapter 8]] ''(SKILLMENUs, MENUs, Gumps)''
 +
* [[Chapter 9]] ''(Events)''
 +
* [[Chapter 10]] ''(String Handling)''
 +
</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;">
 +
'''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)''
 +
* [[Internet and Sphere]] ''(And how to make the right use of them)''
 +
* [[Languages Tutorial]] ''(How to script your own language system)''
 +
* [[Making your own Skills]] ''(How to make and customize your skill)''
 +
* [[Mul Patching Tutorial|Nazghul's Mul Patching Tutorial]] [http://sorea.profitux.cz/patching/ external link] ''(A document about mul patching and customizing your server)''
 +
* [[Overriding Hardcoded Commands]] ''(How to override hardcoded commands and functions)''
 +
* [[Scheduled Reboot]] ''(How to schedule system reboots)''
 +
* [[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|Chardef]] | [[Characters|Characters]]
 +
* [[DIALOG|Dialogs]]
 +
* [[EVENTS|Events]]
 +
* [[ITEMDEF|Itemdef]] | [[Items|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>
 +
.
 +
----
  
'''Where should I start?'''
+
.
  
If you want to learn to script for Sphere 56b you should start by first reading the [[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]], go slow, don't try to go through everything in one day as it takes time to read and fully understand everything.
+
==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/
  
'''I learned how to script! And now?'''
+
==Sphere 3rd Party Tools==
 +
* [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.
 +
* [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!  
 +
* [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!
 +
* [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.
 +
* [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.
  
If you have finished the 10 chapter 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]] below as it is really useful.
 
  
 +
==Other Articles==
  
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!
+
* [[Armor Calculation]]
 +
* [[Client Changes]]
 +
* [[Common Scripting Misconceptions]]
 +
* [[Custom Object Properties]]
 +
* [[Error Codes]]
 +
* [[Experience System]]
 +
* [[How Combat Works]]
 +
* [[Occam's Razor]]
 +
* [[Optimization|Optimization Theory]]
 +
* [[Override TAGs]]
 +
* [[Revisions Changelog]]
 +
* [[Sendpacket]]
 +
* [[Skill Gain Theory]]
 +
* [[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==
 +
 
 +
* [[Useful Links]] ''(An ongoing list of useful links for community members)''
 +
* [http://www.spherecommunity.net/ Official SphereServer Website]
 +
* [https://forum.spherecommunity.net/sshare.php?srt=4 Nightly builds]
 +
* [http://nightly.prerelease.sphere.torfo.org/ Nightly builds - OUTDATED, use the link above]
 +
* [http://spherepack.codeplex.com/ Sphere Community Pack 2.0]
 +
* [http://uo.torfo.org/packetguide/ Jerrith's UO Packet Guide]
 +
* [http://uo.torfo.org/packetguideKR/ Wyatt&Kons's UOKR Packet Guide]
 +
 
 +
 
 +
[[Category: Navigation]]

Latest revision as of 02:11, 30 May 2024

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