<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oldwiki.eq2classic.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Scribble</id>
	<title>EQ2Emulator - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.eq2classic.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Scribble"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Special:Contributions/Scribble"/>
	<updated>2026-07-11T16:49:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:Stealth&amp;diff=6354</id>
		<title>LUA:Stealth</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:Stealth&amp;diff=6354"/>
		<updated>2016-08-22T11:56:03Z</updated>

		<summary type="html">&lt;p&gt;Scribble: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a spawn to stealth or invis. For the second parameter 1 = stealth, any other value = invis.&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
Stealth([Spawn] Target, [int8] stealth_type)&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function hailed(NPC, Spawn)&lt;br /&gt;
    Say(NPC, &amp;quot;must hidez!!!&amp;quot;)&lt;br /&gt;
    Stealth(NPC, 1)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When an npc with this function is hailed, they will say must hidez!!! Followed immediately by activating stealth.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnFunctions|Back to LUA Spawn Functions Index]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note*&lt;br /&gt;
&lt;br /&gt;
If you use the invisibility function: remove with RemoveInvis() as RemoveStealth causes a crash.  &lt;br /&gt;
If using RemoveInvis() the icon will still be visible(bug).&lt;/div&gt;</summary>
		<author><name>Scribble</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:Stealth&amp;diff=6353</id>
		<title>LUA:Stealth</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:Stealth&amp;diff=6353"/>
		<updated>2016-08-22T11:54:42Z</updated>

		<summary type="html">&lt;p&gt;Scribble: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will set a spawn to stealth or invis. For the second parameter 1 = stealth, any other value = invis.&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
Stealth([Spawn] Target, [int8] stealth_type)&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function hailed(NPC, Spawn)&lt;br /&gt;
    Say(NPC, &amp;quot;must hidez!!!&amp;quot;)&lt;br /&gt;
    Stealth(NPC, 1)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When an npc with this function is hailed, they will say must hidez!!! Followed immediately by activating stealth.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnFunctions|Back to LUA Spawn Functions Index]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note*&lt;br /&gt;
&lt;br /&gt;
If you use the invisibility function remove with RemoveInvis() as RemoveStealth causes a crash.  If using RemoveInvis() the icon will still be visible(bug).&lt;/div&gt;</summary>
		<author><name>Scribble</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Project:About&amp;diff=6334</id>
		<title>Project:About</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Project:About&amp;diff=6334"/>
		<updated>2016-08-01T16:11:42Z</updated>

		<summary type="html">&lt;p&gt;Scribble: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;EQ2Emulator is an Open Source project dedicated to replicating the MMORPG game &amp;quot;Everquest 2&amp;quot;. Emulators have been around for some time, but their general purpose is two-fold; to provide a gaming experience to players who otherwise cannot pay-to-play the commercial game, and to allow Server Administrators the freedom to customize the world being emulated to create a unique, never before seen gaming experience. Emulators are generally always under construction, and never 100% complete in either functionality or data - since all knowledge of the game we are emulating comes from the official published games - so they are not meant to be a replacement for the live gaming experience, only an alternative. For a genuine, accurate, social gaming experience, players should always turn to the actual commercial games.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
''' The People of EQ2Emu&lt;br /&gt;
&lt;br /&gt;
John Adams: Project Administrator, database schema and raw data processing&lt;br /&gt;
&lt;br /&gt;
LethalEncounter: Lead developer of the EQ2Emulator source code.&lt;br /&gt;
&lt;br /&gt;
Scatman: Content team leader, sole C++ developer, scripting&lt;br /&gt;
&lt;br /&gt;
Zcoretri: Content team, parser, spell data and scripting&lt;br /&gt;
&lt;br /&gt;
ZexisStryfe: Content team, models master list guru&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''' Occasional Contributors&lt;br /&gt;
&lt;br /&gt;
Those who have helped the community and the project in anyway they could.&lt;br /&gt;
&lt;br /&gt;
Image: Developer of the Minilogin solution and of the core source code&lt;br /&gt;
&lt;br /&gt;
paulgh: C++ development, server features&lt;br /&gt;
&lt;br /&gt;
Bolly: Parallax Server admin, WIKI re-design and author, Items editor&lt;br /&gt;
&lt;br /&gt;
Benas: Log Collector&lt;br /&gt;
&lt;br /&gt;
Woody: Log Collector&lt;br /&gt;
&lt;br /&gt;
Arremis: Log Collector&lt;br /&gt;
&lt;br /&gt;
Many others have collected data for us, these are just the major contributors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''' Gone but not forgotten -&lt;br /&gt;
&lt;br /&gt;
These lost souls have left for greener pastures, but their efforts will not be forgotten.&lt;br /&gt;
&lt;br /&gt;
Bion: Content team, items data expert&lt;br /&gt;
&lt;br /&gt;
Nalandial: Content team, loot table development&lt;br /&gt;
&lt;br /&gt;
Xanibunib: Content team, quest scripter&lt;br /&gt;
&lt;br /&gt;
Secrets: Assembly, Opcodes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
''' The Database '''&lt;br /&gt;
&lt;br /&gt;
The EQ2Emulator and it's Database are symbiotic - one cannot truly function without the other. Without an emulator.exe there of course would be no need for data... however, without data, the emulator.exe would be an empty shell that allowed the player only to move from zone to zone absent of content. Each and every &amp;quot;spawn&amp;quot; from the live game needs to be replicated in the emulator DB. Anyone familiar with EQ2 will understand this is a huge, daunting task. There are literally hundreds of thousands of Spawns in EQ2. Luckily, the development teams have tools to help collect Live data for use in &amp;quot;our world&amp;quot;. Otherwise, this task would be too big for this small team to manage.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
''' EQ2 Emulator Wants YOU! '''&lt;br /&gt;
&lt;br /&gt;
EQ2 Emulator is always welcoming more help, and the more people help, the faster this project comes along. There is always something you can do, testing the emulator, helping out with the programming, working behind the scenes, and collecting data from the live servers. Keep a look out at the [http://www.eq2emulator.net/phpBB3/index.php Forum Index] for threads asking for your help.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
If you would like to know how things are coming along, check the [http://www.eq2emulator.net/index.php?page=25 Project Status Page].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Sources&lt;br /&gt;
www.eq2emulator.net&lt;br /&gt;
John Adams (Interview)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
--[[User:Ilythor|Ilythor]] 03:00, 17 January 2009 (CST)&lt;/div&gt;</summary>
		<author><name>Scribble</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA&amp;diff=6331</id>
		<title>LUA</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA&amp;diff=6331"/>
		<updated>2016-07-29T14:03:56Z</updated>

		<summary type="html">&lt;p&gt;Scribble: /* General Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{PageHeaderParent|LUA}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Header|EQ2Emulator: LUA Scripting|BackgroundColor=3d78b4|FontColor=ffffff}}&lt;br /&gt;
''LUA Scripting'' is extending the functionality of the server without the need to recompile the code each time you wish to add some form of interaction with an NPC, an event happening in a zone, quest steps for players to work through, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Header|What is &amp;quot;LUA&amp;quot;?|BackgroundColor=3d78b4|FontColor=ffffff}}&lt;br /&gt;
For a comprehensive look at what LUA is, please visit the [http://www.lua.org lua.org] website and read their own [http://www.lua.org/about.html About] information. On this Wiki, we shall only discuss our own implementation of LUA.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We have chosen LUA as our script engine for EQ2Emulator. Things like Quests, Spawn movement or interaction, Spells, and Zone-wide events are ''scripted'' in LUA using custom '''functions''' specific to the emulator core. Below you will find a list of current EQ2Emulator LUA Functions with links to what they do and examples of how to use them.&lt;br /&gt;
&lt;br /&gt;
You will quickly see that the ease of the LUA Scripting language and it's tight integration with EQ2Emulator make our server extremely dynamic and customizable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Currently, EQ2Emulator employs LUA scripting for the following systems:&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnScripts | Spawns]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Spells | Spells]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Quests | Quests]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ItemScripts | Items]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ZoneScripts | Zones]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Follow any of these links for a closer look at the system. Below is a general list of LUA functions we'll keep at this top-level for easier reference.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Header|LUA Parameter Basics|BackgroundColor=3d78b4|FontColor=ffffff}}&lt;br /&gt;
EQ2Emulator LUA Functions normally have ''parameters'' - that is, some value required to be passed from the World to the Script or vice-versa. An example of this is the '''function hailed(NPC, Spawn)'''. Note that there are 2 parameters for '''function hailed()'''. What the parameter ''names'' are is up to you, as long as there are the proper number of parameters in the () parens.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example: Here, the Player says Hello to the NPC.&lt;br /&gt;
  function hailed(NPC, Player)&lt;br /&gt;
    Say(Player, &amp;quot;Hello NPC!&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
Current ''standards'' we have adopted are to use '''NPC''' as the value for the NPCs parameters, and depending on the type of script, '''Spawn''' or '''Player''' for the Players parameters. Nearly all other parameter values are dynamic - that is, they can be any valid variable name you choose. But when coding scripts for the Official EQ2Emulator Project, be sure to follow ''our guidelines'' or your scripts will get rejected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Header|LUA Functions|BackgroundColor=3d78b4|FontColor=ffffff}}&lt;br /&gt;
Our LUA Functions list is broken into several categories for clarity of functionality. New functions are added often, so check this page often for changes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== IMPORTANT ===&lt;br /&gt;
 When adding LUA Command documentation to this Wiki, please be sure to use the &lt;br /&gt;
 [[LUA:CommandTemplate|LUA Command Template]] provided to maintain consistency across all our pages.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below are the function names and a brief description of what the function does. For details on required parameters and usage, click the function name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== All Functions ===&lt;br /&gt;
All the LUA functions EQ2Emu currently has.&lt;br /&gt;
&lt;br /&gt;
[[LUA:AllFunctions|All Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Get Functions ===&lt;br /&gt;
This set of functions will ''GET'' info from the World or Database for use within any LUA script.&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFunctions|Get Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Set Functions ===&lt;br /&gt;
This set of functions will ''SET'' info in the World or Database from within any LUA script&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFunctions|Set Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Item Functions ===&lt;br /&gt;
This set of function are used to make game Items perform special tasks (clickies or quest items)&lt;br /&gt;
&lt;br /&gt;
[[LUA:ItemFunctions|Item Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Quest Functions ===&lt;br /&gt;
These functions are for use within Quest scripts, and are some of the more complex LUA Functions in the EQ2Emulator.&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestFunctions|Quest Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Spell Functions ===&lt;br /&gt;
These functions are used within Spell scripts to generate the expected effect of casting spells or using abilities.&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellFunctions|Spell Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Spawn Functions ===&lt;br /&gt;
These are functions that normally go into SpawnScripts for interacting with NPCs or other types of Spawns.&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnFunctions|Spawn Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== General Functions ===&lt;br /&gt;
These are general functions that do not fall under any other classification.&lt;br /&gt;
&lt;br /&gt;
[[LUA:MiscFunctions|Miscellaneous Functions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Header|LUA Script Examples|BackgroundColor=3d78b4|FontColor=ffffff}}&lt;br /&gt;
Just a few examples of what you can do with LUA Scripting and EQ2Emulator custom functions... This is by no means a comprehensive list, just some concepts in use:&lt;br /&gt;
&lt;br /&gt;
  function hailed(NPC, Spawn)&lt;br /&gt;
    Say(NPC, &amp;quot;Your class is &amp;quot; .. GetClass(Spawn) .. &amp;quot;!&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
This makes the NPC respond to the player who hails it with the players class.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  function ChangePlayerClass(NPC, Spawn)&lt;br /&gt;
    ''var'' = GetClass(Spawn)&lt;br /&gt;
    SetClass(Spawn, 1)                                        -- changes Spawn to class 1&lt;br /&gt;
    .&lt;br /&gt;
    .&lt;br /&gt;
    .&lt;br /&gt;
    SetClass(Spawn, ''var'')                                      -- changes Spawn back to original class&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
Sets variable ''var'' to the value of the function for use in other parts of the script, for example returning to original value after function has completed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Header|SpawnScripts|BackgroundColor=3d78b4|FontColor=ffffff}}&lt;br /&gt;
[[ContentDesigner:SpawnScripts|SpawnScripts]] are what gives your NPC's life. The emulator uses LUA as its scripting engine, and combined with spawnscripts a NPC can preform actions like move, attack, and have conversations.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Header|Quests|BackgroundColor=3d78b4|FontColor=ffffff}}&lt;br /&gt;
Coming Soon&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Header|Conclusion|BackgroundColor=3d78b4|FontColor=ffffff}}&lt;br /&gt;
LUA functions are added often, usually when we discover some new way that DayBreak does their spawns, quests or other content. If you find you are unable to achieve your goal in your scripting, it is possible you need a LUA function added. You can either choose to develop your own LUA function and submit it to the core Devs for inclusion, or post your requirements in the Feature Request forum for a script dev to add to the server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Systems|Back to Systems]]&lt;/div&gt;</summary>
		<author><name>Scribble</name></author>
		
	</entry>
</feed>