<?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=Thefoof</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=Thefoof"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Special:Contributions/Thefoof"/>
	<updated>2026-07-11T15:46:39Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Players:How_To_Connect&amp;diff=5455</id>
		<title>Players:How To Connect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Players:How_To_Connect&amp;diff=5455"/>
		<updated>2014-06-24T05:23:14Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Getting a copy of Everquest 2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What to expect ==&lt;br /&gt;
In the latest release (0.7.2), many features have been implemented. See the [http://eq2emulator.net/phpBB3/index.php?i=pages&amp;amp;mode=status Project Status Module] for a complete list. We are still in an ALPHA development stage, so nothing is 100% complete. Combat, spells, quests, items, loot, even mounts have found their way into the code. Everything requires a second look, so when you are playing on an EQ2Emulator, we ask that you utilize the /bug command in-game and report anything you find that is not working.&lt;br /&gt;
&lt;br /&gt;
== Getting a copy of Everquest 2 ==&lt;br /&gt;
To play on the emulator you must first have a '''legal copy''' of a compatible Everquest II client. See [[Players:Compatible Clients|compatible clients list]] This includes a copy of the free &amp;quot;live&amp;quot; client downloaded directly from SOE. Support for live is usually updated a couple times a month.&lt;br /&gt;
&lt;br /&gt;
Asking on the forums on how to illegally get Everquest 2 is frowned upon, you will not receive an answer and you may possibly be banned, so please do not ask this question.&lt;br /&gt;
&lt;br /&gt;
== Client versions that work ==&lt;br /&gt;
The current supported client will always be updated on the [http://eq2emulator.net main page of our Portal]. Check there before asking questions about your current version being supported. If your version is higher than our current, you will have to wait til EQ2Emulator gets updated to your version.&lt;br /&gt;
&lt;br /&gt;
'''ALWAYS BACKUP YOUR CLIENT FILES BEFORE CONNECTING TO SOE LIVE SERVERS!'''&lt;br /&gt;
&lt;br /&gt;
In fact, it is highly recommended that you make a copy of your live EQ2 client and use that only for EQ2Emulator, keeping the two completely separate so patching will not break your current Emu client.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
C:\&amp;amp;lt;EQ2 Live Install&amp;gt;\&lt;br /&gt;
&lt;br /&gt;
C:\&amp;amp;lt;EQ2 Emu Install&amp;gt;\&lt;br /&gt;
&lt;br /&gt;
== Connecting to a Public Server ==&lt;br /&gt;
&lt;br /&gt;
===Getting an account===&lt;br /&gt;
Before proceeding, you must create a [http://www.eq2emulator.net/phpBB3/ucp.php?mode=register forum account] than create player account to play on the public world servers.  To do this, use the [http://eq2emulator.net/phpBB3/index.php?i=pages&amp;amp;mode=acctmgmt Account Management] module found on our portal. &lt;br /&gt;
&lt;br /&gt;
Click on 'Create a Login Account', complete the form and click on &amp;quot;Register Account&amp;quot;, Now you can begin connecting to the server.&lt;br /&gt;
&lt;br /&gt;
===Connecting===&lt;br /&gt;
It is advised that you backup your Everquest 2 directory so that you can play both on Sony's Live servers while testing the server emulator out.&lt;br /&gt;
&lt;br /&gt;
To connect to an emulator server you must first edit your eq_default.ini file. &lt;br /&gt;
&lt;br /&gt;
Find the line similar to&lt;br /&gt;
 cl_ls_address 199.108.12.33 199.108.........&lt;br /&gt;
and change it to&lt;br /&gt;
 cl_ls_address eq2emulator.net&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For boxed set clients it is suggested to run the EQ2Emu Patch Utility. (I'm not sure if it's required for the live / current / streaming clients).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have copied the information over to the wiki from this thread here.&lt;br /&gt;
&lt;br /&gt;
http://www.eq2emulator.net/phpBB3/viewtopic.php?f=49&amp;amp;t=1535&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is being provided for some users that seem to need help transitioning between live and the EQ2Emu version. This program should be rather straight forward and has a setup process that you have to follow. If you have any questions or run into issues you can ask them here.&lt;br /&gt;
&lt;br /&gt;
(Download link for patch utility) http://www.eq2emulator.net/phpBB3/download/file.php?id=712&lt;br /&gt;
&lt;br /&gt;
Edited by John Adams: 5/10/2011&lt;br /&gt;
We've switched to supporting this tool as part of our EQ2Emulator Core Utilities. See the details below for how to use this tool properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, unpack the RAR file. You should have 4 files in the folder:&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher0.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run EQ2EMuPatcher.exe. On first launch, it will ask you where your EQ2 Dir is. If it does not, click the button &amp;quot;Change EQ2 Dir&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Browse to your Everquest II folder where the Everquest2.exe file is and select it. Then click Open. (In Windows 8 the directory is C:\Users\Public\Sony Online Entertainment\Installed Games\EverQuest II)&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pick which version you wish to patch to. By default, 5122L is selected.   &lt;br /&gt;
&lt;br /&gt;
Values include (Info taken from Xinux's forum signature ;p)&lt;br /&gt;
&lt;br /&gt;
 EQ II Original Build = 1360&lt;br /&gt;
 Desert of Flames (DoF) Build = 1360&lt;br /&gt;
 Kingdom of Sky (KoS) Build = 2654&lt;br /&gt;
 Classic? Build = 3375&lt;br /&gt;
 Echoes of Faydwer (EoF) Build = 3554&lt;br /&gt;
 Rise of Kunark (RoK) Build = 4412&lt;br /&gt;
 The Shadow Odyssey (TSO) Build - 5122&lt;br /&gt;
 The Sundered Frontier (SF) Build = 6118&lt;br /&gt;
 Destiny of Velious (DoV) Build - 7628&lt;br /&gt;
 Age of Discovery Build (AoD) = 8295&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher4.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If your Everquest2.exe does not match our version, you will be asked if you wish to patch that file.&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher3.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A backup is always made, but you should ALWAYS back up your own files accordingly (specifically, Everquest2.exe in this case)&lt;br /&gt;
&lt;br /&gt;
If patching was successful, you should see a screen like this:&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher5.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now run the Everquest2.exe or simply click the Play EQ2emu button from the patch utility to login to the server. There should not be any patching screen, you should be taken directly into the game login. '''If your game shows up with the sony patcher then it may be because you have clicked a shortcut link to the patcher instead of clicking on the Everquest2.exe program.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''There may be additional client compatibility steps required to make your client work 100% properly. If you experience problems in game with the interface please check this wiki page for possible updates: '''[[Players:Compatible Clients|Client Compatibility]]&lt;br /&gt;
&lt;br /&gt;
Alternatively you can always ask for assistance on the forums.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;''(updated 7/19/13)&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Players:How_To_Connect&amp;diff=5454</id>
		<title>Players:How To Connect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Players:How_To_Connect&amp;diff=5454"/>
		<updated>2014-06-24T05:22:09Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* What to expect */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What to expect ==&lt;br /&gt;
In the latest release (0.7.2), many features have been implemented. See the [http://eq2emulator.net/phpBB3/index.php?i=pages&amp;amp;mode=status Project Status Module] for a complete list. We are still in an ALPHA development stage, so nothing is 100% complete. Combat, spells, quests, items, loot, even mounts have found their way into the code. Everything requires a second look, so when you are playing on an EQ2Emulator, we ask that you utilize the /bug command in-game and report anything you find that is not working.&lt;br /&gt;
&lt;br /&gt;
== Getting a copy of Everquest 2 ==&lt;br /&gt;
To play on the emulator you must first have a '''legal copy''' of a compatible Everquest II client. See [[Players:Compatible Clients|compatible clients list]]&lt;br /&gt;
&lt;br /&gt;
Asking on the forums on how to illegally get Everquest 2 is frowned upon, you will not receive an answer and you may possibly be banned, so please do not ask this question.&lt;br /&gt;
&lt;br /&gt;
== Client versions that work ==&lt;br /&gt;
The current supported client will always be updated on the [http://eq2emulator.net main page of our Portal]. Check there before asking questions about your current version being supported. If your version is higher than our current, you will have to wait til EQ2Emulator gets updated to your version.&lt;br /&gt;
&lt;br /&gt;
'''ALWAYS BACKUP YOUR CLIENT FILES BEFORE CONNECTING TO SOE LIVE SERVERS!'''&lt;br /&gt;
&lt;br /&gt;
In fact, it is highly recommended that you make a copy of your live EQ2 client and use that only for EQ2Emulator, keeping the two completely separate so patching will not break your current Emu client.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
C:\&amp;amp;lt;EQ2 Live Install&amp;gt;\&lt;br /&gt;
&lt;br /&gt;
C:\&amp;amp;lt;EQ2 Emu Install&amp;gt;\&lt;br /&gt;
&lt;br /&gt;
== Connecting to a Public Server ==&lt;br /&gt;
&lt;br /&gt;
===Getting an account===&lt;br /&gt;
Before proceeding, you must create a [http://www.eq2emulator.net/phpBB3/ucp.php?mode=register forum account] than create player account to play on the public world servers.  To do this, use the [http://eq2emulator.net/phpBB3/index.php?i=pages&amp;amp;mode=acctmgmt Account Management] module found on our portal. &lt;br /&gt;
&lt;br /&gt;
Click on 'Create a Login Account', complete the form and click on &amp;quot;Register Account&amp;quot;, Now you can begin connecting to the server.&lt;br /&gt;
&lt;br /&gt;
===Connecting===&lt;br /&gt;
It is advised that you backup your Everquest 2 directory so that you can play both on Sony's Live servers while testing the server emulator out.&lt;br /&gt;
&lt;br /&gt;
To connect to an emulator server you must first edit your eq_default.ini file. &lt;br /&gt;
&lt;br /&gt;
Find the line similar to&lt;br /&gt;
 cl_ls_address 199.108.12.33 199.108.........&lt;br /&gt;
and change it to&lt;br /&gt;
 cl_ls_address eq2emulator.net&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For boxed set clients it is suggested to run the EQ2Emu Patch Utility. (I'm not sure if it's required for the live / current / streaming clients).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have copied the information over to the wiki from this thread here.&lt;br /&gt;
&lt;br /&gt;
http://www.eq2emulator.net/phpBB3/viewtopic.php?f=49&amp;amp;t=1535&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is being provided for some users that seem to need help transitioning between live and the EQ2Emu version. This program should be rather straight forward and has a setup process that you have to follow. If you have any questions or run into issues you can ask them here.&lt;br /&gt;
&lt;br /&gt;
(Download link for patch utility) http://www.eq2emulator.net/phpBB3/download/file.php?id=712&lt;br /&gt;
&lt;br /&gt;
Edited by John Adams: 5/10/2011&lt;br /&gt;
We've switched to supporting this tool as part of our EQ2Emulator Core Utilities. See the details below for how to use this tool properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, unpack the RAR file. You should have 4 files in the folder:&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher0.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run EQ2EMuPatcher.exe. On first launch, it will ask you where your EQ2 Dir is. If it does not, click the button &amp;quot;Change EQ2 Dir&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher1.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Browse to your Everquest II folder where the Everquest2.exe file is and select it. Then click Open. (In Windows 8 the directory is C:\Users\Public\Sony Online Entertainment\Installed Games\EverQuest II)&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pick which version you wish to patch to. By default, 5122L is selected.   &lt;br /&gt;
&lt;br /&gt;
Values include (Info taken from Xinux's forum signature ;p)&lt;br /&gt;
&lt;br /&gt;
 EQ II Original Build = 1360&lt;br /&gt;
 Desert of Flames (DoF) Build = 1360&lt;br /&gt;
 Kingdom of Sky (KoS) Build = 2654&lt;br /&gt;
 Classic? Build = 3375&lt;br /&gt;
 Echoes of Faydwer (EoF) Build = 3554&lt;br /&gt;
 Rise of Kunark (RoK) Build = 4412&lt;br /&gt;
 The Shadow Odyssey (TSO) Build - 5122&lt;br /&gt;
 The Sundered Frontier (SF) Build = 6118&lt;br /&gt;
 Destiny of Velious (DoV) Build - 7628&lt;br /&gt;
 Age of Discovery Build (AoD) = 8295&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher4.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If your Everquest2.exe does not match our version, you will be asked if you wish to patch that file.&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher3.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A backup is always made, but you should ALWAYS back up your own files accordingly (specifically, Everquest2.exe in this case)&lt;br /&gt;
&lt;br /&gt;
If patching was successful, you should see a screen like this:&lt;br /&gt;
&lt;br /&gt;
[[File:EQ2EmuPatcher5.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now run the Everquest2.exe or simply click the Play EQ2emu button from the patch utility to login to the server. There should not be any patching screen, you should be taken directly into the game login. '''If your game shows up with the sony patcher then it may be because you have clicked a shortcut link to the patcher instead of clicking on the Everquest2.exe program.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''There may be additional client compatibility steps required to make your client work 100% properly. If you experience problems in game with the interface please check this wiki page for possible updates: '''[[Players:Compatible Clients|Client Compatibility]]&lt;br /&gt;
&lt;br /&gt;
Alternatively you can always ask for assistance on the forums.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;''(updated 7/19/13)&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Players:Compatible_Clients&amp;diff=5453</id>
		<title>Players:Compatible Clients</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Players:Compatible_Clients&amp;diff=5453"/>
		<updated>2014-06-24T05:21:34Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;EQ2Emulator offers support for many different Retail Box Sets of the Everquest II Client. The current status on which client is supported is listed below. Note that no client is 100% compatible, since the server is still in an Alpha Development state. Those which are partially compatible still may not work 100% of the time, due to the evolution of the server itself.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The details below are current, as of the summer 2014.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Rise of Kunark ==&lt;br /&gt;
This retail box set is no longer supported. Although you can connect and play, no further effort towards compatibility is being made by the EQ2Emulator Development Team.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For detailed setup instructions, [[Players:RoK_Client | click here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Shadow Odyssey ==&lt;br /&gt;
This retail box set is no longer supported. Although you can connect and play, no further effort towards compatibility is being made by the EQ2Emulator Development Team.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For detailed setup instructions, [[Players:TSO_Client | click here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sentinel's Fate ==&lt;br /&gt;
This is the oldest client retail box set we are supporting. '''We do not support the retail box directly''', but a &amp;quot;patched&amp;quot; version of this box set should be the most compatible as of this writing. (see [http://eq2emulator.net/phpBB3/viewtopic.php?f=49&amp;amp;t=1535| this thread])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For detailed setup instructions, [[How To Create a Compatible Sentinel's Fate Client | click here]]. (Probably still works but outdated)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Halas Reborn ==&lt;br /&gt;
This client was not a Retail Box set, but instead was a digital download mid-way between Sentinel's Fate and Destiny of Velious. Some players might have preserved a backup of this client, who's Everquest2.exe version is around version 6353L or so. If so, you can use this client to connect to EQ2Emulator as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For detailed setup instructions, [[Players:Halas_Client | click here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Destiny of Velious ==&lt;br /&gt;
This is the last known Retail Box Set provided by Sony, and therefore will likely be the last Retail Box Set EQ2Emulator supports.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Question:''' I get this window when I click on my character info or other button while in game.&lt;br /&gt;
&lt;br /&gt;
[[File:1.jpg]]&lt;br /&gt;
&lt;br /&gt;
[[File:DoV Compatibility Error2.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Answer:''' Rename / Back up your UI folder and use this one instead. (Thank you Xinux. Answer taken from this thread http://www.eq2emulator.net/phpBB3/viewtopic.php?f=49&amp;amp;t=1535&amp;amp;start=60)&lt;br /&gt;
&lt;br /&gt;
Download Link:  http://toxic04.com/UI-DoV.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Question:''' I can't move my &amp;quot;Bottomless Bag of Envy&amp;quot; window, (The huge backpack alpha testers start off with), the backpack is too large to fit on my screen and I can't access the top to move it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Backpack Unmoveable.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Answer:''' Move your mouse to the side of the backpacks window until you see the arrow which allows you to make the window wider. Drag the window much wider than it is (20 slots wide probably works) then right click on the window. Select Window settings and then click on the default location button. This will move the window further down in the screen. From there you can adjust the window size to your liking.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For detailed setup instructions, [[Players:DoV_Client | click here]].&lt;br /&gt;
&lt;br /&gt;
== Age of Discovery ==&lt;br /&gt;
Everquest 2 went &amp;quot;Free to Play&amp;quot; in the Age of Discovery expansion. This changed the entire dynamic of how EQ2Emulator will progress and support clients in the future. Since EQ2 is now &amp;quot;free&amp;quot; essentially, emphasis on supporting the latest clients in an Emulator has taken a lower priority to making the last Retail Box set 100% compatible (DoV).&lt;br /&gt;
&lt;br /&gt;
'''''However, as of 2013 focus has shifted once again towards keeping live compatible.'''''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Moving forward with any new client support from AoD+ will rely on the individual player taking backups of their EQ2 Live clients as they play EQ2 Live.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''AoD is currently NOT supported by EQ2Emulator. When it is, if it is at all, this Wiki page will be updated.'''&lt;br /&gt;
&lt;br /&gt;
== Chains of Eternity ==&lt;br /&gt;
About 85% or higher of clients released in the Chains of Eternity expansion are compatible with the EQ2Emu project. (Most clients from the beginning of 2013-November 2013)&lt;br /&gt;
&lt;br /&gt;
== Tears of Veeshan ==&lt;br /&gt;
Almost all clients in the Tears of Veeshan era can connect. Support is updated bi-monthly roughly.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5452</id>
		<title>LUA:AddControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5452"/>
		<updated>2014-06-11T18:15:52Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddControlEffect() =&lt;br /&gt;
Adds a control effect (mez/stun) to the given spawn.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddControlEffect(param1, param2, [param3])&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8)&lt;br /&gt;
: ''param1'' must be a reference to a player or NPC.&lt;br /&gt;
: ''param2'' must be a valid number representing a control effect to add (see below)&lt;br /&gt;
; Optional - ''param3'' (int8)&lt;br /&gt;
: ''param3'' if set to 1, only add the control effect to the first param spawn&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
 function cast(Caster, Target)&lt;br /&gt;
   -- Mez the target.&lt;br /&gt;
   AddControlEffect(Target, 1)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This will mez the target.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If this is used in a spell script a small amount of hate will be added to the target, if the effect is considered hostile.&lt;br /&gt;
; Types&lt;br /&gt;
: 1 - Mez&lt;br /&gt;
: 2 - Stifle&lt;br /&gt;
: 3 - Daze&lt;br /&gt;
: 4 - Stun&lt;br /&gt;
: 5 - Root&lt;br /&gt;
: 6 - Fear&lt;br /&gt;
: 7 - Waterwalking&lt;br /&gt;
: 8 - Underwater Moonjumps&lt;br /&gt;
: 11 - Snare&lt;br /&gt;
: 12 - Flight&lt;br /&gt;
: 13 - Glide&lt;br /&gt;
: 14 - Safefall&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5451</id>
		<title>LUA:AddControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5451"/>
		<updated>2014-06-11T18:15:12Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddControlEffect() =&lt;br /&gt;
Adds a control effect (mez/stun) to the given spawn.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddControlEffect(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8)&lt;br /&gt;
: ''param1'' must be a reference to a player or NPC.&lt;br /&gt;
: ''param2'' must be a valid number representing a control effect to add (see below)&lt;br /&gt;
; Optional - ''param3'' (int8)&lt;br /&gt;
: ''param3'' if set to 1, only add the control effect to the first param spawn&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
 function cast(Caster, Target)&lt;br /&gt;
   -- Mez the target.&lt;br /&gt;
   AddControlEffect(Target, 1)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This will mez the target.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If this is used in a spell script a small amount of hate will be added to the target, if the effect is considered hostile.&lt;br /&gt;
; Types&lt;br /&gt;
: 1 - Mez&lt;br /&gt;
: 2 - Stifle&lt;br /&gt;
: 3 - Daze&lt;br /&gt;
: 4 - Stun&lt;br /&gt;
: 5 - Root&lt;br /&gt;
: 6 - Fear&lt;br /&gt;
: 7 - Waterwalking&lt;br /&gt;
: 8 - Underwater Moonjumps&lt;br /&gt;
: 11 - Snare&lt;br /&gt;
: 12 - Flight&lt;br /&gt;
: 13 - Glide&lt;br /&gt;
: 14 - Safefall&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:RemoveControlEffect&amp;diff=5270</id>
		<title>LUA:RemoveControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:RemoveControlEffect&amp;diff=5270"/>
		<updated>2014-03-28T00:57:55Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: RemoveControlEffect() =&lt;br /&gt;
Removes the given type of control effect from the given spawn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
RemoveControlEffect(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8)&lt;br /&gt;
: ''param1'' is the spawn we want to check&lt;br /&gt;
: ''param2'' is the type of effect&lt;br /&gt;
;Optional - ''param3'' (int8)&lt;br /&gt;
: ''param3'' if set to 1 only remove this effect from the first param spawn&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
    RemoveControlEffect(Target, 4)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will remove the stun effect of this spell when the spell is removed&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If used in a spell script it will attempt to remove from the spells targets instead of the supplied spawn&lt;br /&gt;
; Types&lt;br /&gt;
: 1 - Mez&lt;br /&gt;
: 2 - Stifle&lt;br /&gt;
: 3 - Daze&lt;br /&gt;
: 4 - Stun&lt;br /&gt;
: 5 - Root&lt;br /&gt;
: 6 - Fear&lt;br /&gt;
: 7 - Waterwalking&lt;br /&gt;
: 8 - Underwater Moonjumps&lt;br /&gt;
: 11 - Snare&lt;br /&gt;
: 12 - Flight&lt;br /&gt;
: 13 - Glide&lt;br /&gt;
: 14 - Safefall&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5269</id>
		<title>LUA:AddControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5269"/>
		<updated>2014-03-28T00:56:44Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddControlEffect() =&lt;br /&gt;
Adds a control effect (mez/stun) to the given spawn.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddControlEffect(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8)&lt;br /&gt;
: ''param1'' must be a reference to a player or NPC.&lt;br /&gt;
: ''param2'' must be a number from 1 to 4 representing the type of effect to add&lt;br /&gt;
; Optional - ''param3'' (int8)&lt;br /&gt;
: ''param3'' if set to 1, only add the control effect to the first param spawn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
 function cast(Caster, Target)&lt;br /&gt;
   -- Mez the target.&lt;br /&gt;
   AddControlEffect(Target, 1)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This will mez the target.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If this is used in a spell script a small amount of hate will be added to the target, if the effect is considered hostile.&lt;br /&gt;
; Types&lt;br /&gt;
: 1 - Mez&lt;br /&gt;
: 2 - Stifle&lt;br /&gt;
: 3 - Daze&lt;br /&gt;
: 4 - Stun&lt;br /&gt;
: 5 - Root&lt;br /&gt;
: 6 - Fear&lt;br /&gt;
: 7 - Waterwalking&lt;br /&gt;
: 8 - Underwater Moonjumps&lt;br /&gt;
: 11 - Snare&lt;br /&gt;
: 12 - Flight&lt;br /&gt;
: 13 - Glide&lt;br /&gt;
: 14 - Safefall&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5268</id>
		<title>LUA:AddControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5268"/>
		<updated>2014-03-28T00:54:18Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddControlEffect() =&lt;br /&gt;
Adds a control effect (mez/stun) to the given spawn.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddControlEffect(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8)&lt;br /&gt;
: ''param1'' must be a reference to a player or NPC.&lt;br /&gt;
: ''param2'' must be a number from 1 to 4 representing the type of effect to add&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
 function cast(Caster, Target)&lt;br /&gt;
   -- Mez the target.&lt;br /&gt;
   AddControlEffect(Target, 1)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This will mez the target.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If this is used in a spell script a small amount of hate will be added to the target, if the effect is considered hostile.&lt;br /&gt;
; Types&lt;br /&gt;
: 1 - Mez&lt;br /&gt;
: 2 - Stifle&lt;br /&gt;
: 3 - Daze&lt;br /&gt;
: 4 - Stun&lt;br /&gt;
: 5 - Root&lt;br /&gt;
: 6 - Fear&lt;br /&gt;
: 7 - Waterwalking&lt;br /&gt;
: 8 - Underwater Moonjumps&lt;br /&gt;
: 11 - Snare&lt;br /&gt;
: 12 - Flight&lt;br /&gt;
: 13 - Glide&lt;br /&gt;
: 14 - Safefall&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5267</id>
		<title>LUA:AddProc</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5267"/>
		<updated>2014-03-18T03:59:50Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* LUA Functions: AddProc() */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddProc() =&lt;br /&gt;
Adds a proc to the given entity with the given chance to go off&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddProc(param1, param2, param3, [param4], [param5])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8), ''param3'' (float)&lt;br /&gt;
: ''param1'' is the entity who will be getting the proc&lt;br /&gt;
: ''param2'' is the type of proc we are adding&lt;br /&gt;
: ''param3'' is the chance the proc has to go off&lt;br /&gt;
; Optional - ''param4'' (Item), ''param5'' (int8)&lt;br /&gt;
: ''param4'' is the item adding the proc&lt;br /&gt;
: ''param5'' if set to 1 this proc applies to all spell targets (if used in spellscript)&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function equipped(Item, Player)&lt;br /&gt;
    AddProc(Player, 1, 8.5, Item)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When an item with this script is equipped the player will get an offensive proc with a 8.5% chance to go off&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This can only be used on an Entity&lt;br /&gt;
&lt;br /&gt;
This function can only be used in an item or spell script, if used in an item script then the item param must be set&lt;br /&gt;
&lt;br /&gt;
;Types&lt;br /&gt;
:1  PROC_TYPE_OFFENSIVE&lt;br /&gt;
:2  PROC_TYPE_DEFENSIVE&lt;br /&gt;
:3  PROC_TYPE_PHYSICAL_OFFENSIVE&lt;br /&gt;
:4  PROC_TYPE_PHYSICAL_DEFENSIVE&lt;br /&gt;
:5  PROC_TYPE_MAGICAL_OFFENSIVE&lt;br /&gt;
:6  PROC_TYPE_MAGICAL_DEFENSIVE&lt;br /&gt;
:7  PROC_TYPE_BLOCK&lt;br /&gt;
:8  PROC_TYPE_PARRY&lt;br /&gt;
:9  PROC_TYPE_RIPOSTE&lt;br /&gt;
:10 PROC_TYPE_EVADE&lt;br /&gt;
:11 PROC_TYPE_HEALING&lt;br /&gt;
:12 PROC_TYPE_BENEFICIAL&lt;br /&gt;
:13 PROC_TYPE_DEATH&lt;br /&gt;
:14 PROC_TYPE_KILL&lt;br /&gt;
:15 PROC_TYPE_DAMAGED&lt;br /&gt;
:16 PROC_TYPE_DAMAGED_MELEE&lt;br /&gt;
:17 PROC_TYPE_DAMAGED_MAGIC&lt;br /&gt;
:18 PROC_TYPE_RANGED_ATTACK&lt;br /&gt;
:19 PROC_TYPE_RANGED_DEFENSE&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5266</id>
		<title>LUA:AddProc</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5266"/>
		<updated>2014-03-18T03:58:55Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddProc() =&lt;br /&gt;
Adds a proc to the given entity with the given chance to go off&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddProc(param1, param2, param3, [param4], [param5])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8), ''param3'' (float)&lt;br /&gt;
: ''param1'' is the entity who will be getting the proc&lt;br /&gt;
: ''param2'' is the type of proc we are adding&lt;br /&gt;
: ''param3'' is the chance the proc has to go off&lt;br /&gt;
; Optional - ''param4'' (Item), ''param5'' (int8)&lt;br /&gt;
: ''param4'' is the item adding the proc&lt;br /&gt;
: ''param5'' if set to 1 this proc applies to all spell targets (if used in spellscript)&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function equipped(Item, Player)&lt;br /&gt;
    AddProc(Player, 1, 8.5, Item)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When an item with this script is equipped the player will get an offensive proc with a 8.5% chance to go off&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This can only be used on an Entity&lt;br /&gt;
&lt;br /&gt;
This function can only be used in an item or spell script, if used in an item script then the item param must be set&lt;br /&gt;
&lt;br /&gt;
;Types&lt;br /&gt;
:1  PROC_TYPE_OFFENSIVE&lt;br /&gt;
:2  PROC_TYPE_DEFENSIVE&lt;br /&gt;
:3  PROC_TYPE_PHYSICAL_OFFENSIVE&lt;br /&gt;
:4  PROC_TYPE_PHYSICAL_DEFENSIVE&lt;br /&gt;
:5  PROC_TYPE_MAGICAL_OFFENSIVE&lt;br /&gt;
:6  PROC_TYPE_MAGICAL_DEFENSIVE&lt;br /&gt;
:7  PROC_TYPE_BLOCK&lt;br /&gt;
:8  PROC_TYPE_PARRY&lt;br /&gt;
:9  PROC_TYPE_RIPOSTE&lt;br /&gt;
:10 PROC_TYPE_EVADE&lt;br /&gt;
:11 PROC_TYPE_HEALING&lt;br /&gt;
:12 PROC_TYPE_BENEFICIAL&lt;br /&gt;
:13 PROC_TYPE_DEATH&lt;br /&gt;
:14 PROC_TYPE_KILL&lt;br /&gt;
:15 PROC_TYPE_DAMAGED&lt;br /&gt;
:16 PROC_TYPE_DAMAGED_MELEE&lt;br /&gt;
:17 PROC_TYPE_DAMAGED_MAGIC&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5265</id>
		<title>LUA:AddProc</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5265"/>
		<updated>2014-03-18T03:58:43Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* LUA Functions: AddProc() */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddProc() =&lt;br /&gt;
Adds a proc to the given entity with the given chance to go off&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddProc(param1, param2, param3, [param4], [param5])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8), ''param3'' (float)&lt;br /&gt;
: ''param1'' is the entity who will be getting the proc&lt;br /&gt;
: ''param2'' is the type of proc we are adding&lt;br /&gt;
: ''param3'' is the chance the proc has to go off&lt;br /&gt;
; Optional - ''param4'' (Item) ''param5'' (int8)&lt;br /&gt;
: ''param4'' is the item adding the proc&lt;br /&gt;
: ''param5'' if set to 1 this proc applies to all spell targets (if used in spellscript)&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function equipped(Item, Player)&lt;br /&gt;
    AddProc(Player, 1, 8.5, Item)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When an item with this script is equipped the player will get an offensive proc with a 8.5% chance to go off&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This can only be used on an Entity&lt;br /&gt;
&lt;br /&gt;
This function can only be used in an item or spell script, if used in an item script then the item param must be set&lt;br /&gt;
&lt;br /&gt;
;Types&lt;br /&gt;
:1  PROC_TYPE_OFFENSIVE&lt;br /&gt;
:2  PROC_TYPE_DEFENSIVE&lt;br /&gt;
:3  PROC_TYPE_PHYSICAL_OFFENSIVE&lt;br /&gt;
:4  PROC_TYPE_PHYSICAL_DEFENSIVE&lt;br /&gt;
:5  PROC_TYPE_MAGICAL_OFFENSIVE&lt;br /&gt;
:6  PROC_TYPE_MAGICAL_DEFENSIVE&lt;br /&gt;
:7  PROC_TYPE_BLOCK&lt;br /&gt;
:8  PROC_TYPE_PARRY&lt;br /&gt;
:9  PROC_TYPE_RIPOSTE&lt;br /&gt;
:10 PROC_TYPE_EVADE&lt;br /&gt;
:11 PROC_TYPE_HEALING&lt;br /&gt;
:12 PROC_TYPE_BENEFICIAL&lt;br /&gt;
:13 PROC_TYPE_DEATH&lt;br /&gt;
:14 PROC_TYPE_KILL&lt;br /&gt;
:15 PROC_TYPE_DAMAGED&lt;br /&gt;
:16 PROC_TYPE_DAMAGED_MELEE&lt;br /&gt;
:17 PROC_TYPE_DAMAGED_MAGIC&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5264</id>
		<title>LUA:AddProc</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5264"/>
		<updated>2014-03-18T03:58:30Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddProc() =&lt;br /&gt;
Adds a proc to the given entity with the given chance to go off&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddProc(param1, param2, param3, [param4])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8), ''param3'' (float)&lt;br /&gt;
: ''param1'' is the entity who will be getting the proc&lt;br /&gt;
: ''param2'' is the type of proc we are adding&lt;br /&gt;
: ''param3'' is the chance the proc has to go off&lt;br /&gt;
; Optional - ''param4'' (Item) ''param5'' (int8)&lt;br /&gt;
: ''param4'' is the item adding the proc&lt;br /&gt;
: ''param5'' if set to 1 this proc applies to all spell targets (if used in spellscript)&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function equipped(Item, Player)&lt;br /&gt;
    AddProc(Player, 1, 8.5, Item)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When an item with this script is equipped the player will get an offensive proc with a 8.5% chance to go off&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This can only be used on an Entity&lt;br /&gt;
&lt;br /&gt;
This function can only be used in an item or spell script, if used in an item script then the item param must be set&lt;br /&gt;
&lt;br /&gt;
;Types&lt;br /&gt;
:1  PROC_TYPE_OFFENSIVE&lt;br /&gt;
:2  PROC_TYPE_DEFENSIVE&lt;br /&gt;
:3  PROC_TYPE_PHYSICAL_OFFENSIVE&lt;br /&gt;
:4  PROC_TYPE_PHYSICAL_DEFENSIVE&lt;br /&gt;
:5  PROC_TYPE_MAGICAL_OFFENSIVE&lt;br /&gt;
:6  PROC_TYPE_MAGICAL_DEFENSIVE&lt;br /&gt;
:7  PROC_TYPE_BLOCK&lt;br /&gt;
:8  PROC_TYPE_PARRY&lt;br /&gt;
:9  PROC_TYPE_RIPOSTE&lt;br /&gt;
:10 PROC_TYPE_EVADE&lt;br /&gt;
:11 PROC_TYPE_HEALING&lt;br /&gt;
:12 PROC_TYPE_BENEFICIAL&lt;br /&gt;
:13 PROC_TYPE_DEATH&lt;br /&gt;
:14 PROC_TYPE_KILL&lt;br /&gt;
:15 PROC_TYPE_DAMAGED&lt;br /&gt;
:16 PROC_TYPE_DAMAGED_MELEE&lt;br /&gt;
:17 PROC_TYPE_DAMAGED_MAGIC&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:Interrupt&amp;diff=5263</id>
		<title>LUA:Interrupt</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:Interrupt&amp;diff=5263"/>
		<updated>2014-03-18T03:56:33Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: Interrupt() =&lt;br /&gt;
Interrupts casting of a spawn. If the spawn param is not set and this is used in a spellscript, this will interrupt all spell targets.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
Interrupt(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn)&lt;br /&gt;
: ''param1'' is the caster of the interrupt&lt;br /&gt;
; Optional - ''param2'' (Spawn)&lt;br /&gt;
: ''param2'' if used is the target of the interrupt, otherwise all spell targets will be interrupted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: Either of these can be the Player or NPC, since NPCs can interrupt player casting as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    Interrupt(Caster, Target)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This script will cause the caster to interrupt a Target who is casting a spell or ability.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:CopySpawnAppearance&amp;diff=5262</id>
		<title>LUA:CopySpawnAppearance</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CopySpawnAppearance&amp;diff=5262"/>
		<updated>2014-03-18T03:51:41Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: CopySpawnAppearance() = Copies the appearance details from one spawn to another.   ==== Syntax ==== CopySpawnAppearance(param1, param2)   ==== Parameters ==== ; ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: CopySpawnAppearance() =&lt;br /&gt;
Copies the appearance details from one spawn to another.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
CopySpawnAppearance(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (Spawn)&lt;br /&gt;
: ''param1'' is the spawn we want to copy this appearance to&lt;br /&gt;
: ''param2'' is the spawn we are copying the appearance from&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function hailed(Spawn, Target)&lt;br /&gt;
    CopySpawnAppearance(Spawn, Target)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
When this NPC is hailed the appearance from the hailing player will be copied to the NPC.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:GetSpellTriggerCount&amp;diff=5261</id>
		<title>LUA:GetSpellTriggerCount</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetSpellTriggerCount&amp;diff=5261"/>
		<updated>2014-03-18T03:49:39Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: GetSpellTriggerCount() = Returns the number of triggers remaining on a spell.   ==== Syntax ==== GetSpellTriggerCount()   ==== Parameters ==== ''None''  ==== Usa...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: GetSpellTriggerCount() =&lt;br /&gt;
Returns the number of triggers remaining on a spell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
GetSpellTriggerCount()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
''None''&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    local triggers = GetSpellTriggerCount()&lt;br /&gt;
    Say(Caster, triggers)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The caster of this spell will say the number of how many triggers are left in for this spell.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:RemoveTriggerFromSpell&amp;diff=5260</id>
		<title>LUA:RemoveTriggerFromSpell</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:RemoveTriggerFromSpell&amp;diff=5260"/>
		<updated>2014-03-18T03:47:40Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: RemoveTriggerFromSpell() = Removes one or more triggers from a spell.   ==== Syntax ==== RemoveTriggerFromSpell(param1)   ==== Parameters ==== ; Optional - ''par...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: RemoveTriggerFromSpell() =&lt;br /&gt;
Removes one or more triggers from a spell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
RemoveTriggerFromSpell(param1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Optional - ''param1'' (int16)&lt;br /&gt;
: ''param1' the amount of triggers to remove from this spell, defaults to 1 if not set&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    RemoveTriggerFromSpell()&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will remove one trigger from a spell if used in a spellscript.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:SetSpellTriggerCount&amp;diff=5259</id>
		<title>LUA:SetSpellTriggerCount</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetSpellTriggerCount&amp;diff=5259"/>
		<updated>2014-03-18T03:45:36Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: SetSpellTriggerCount() = Sets the amount of triggers on a spell.   ==== Syntax ==== SetSpellTriggerCount(param1, param2)   ==== Parameters ==== ; Required - ''pa...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: SetSpellTriggerCount() =&lt;br /&gt;
Sets the amount of triggers on a spell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SetSpellTriggerCount(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (int16)&lt;br /&gt;
: ''param1'' is the amount of triggers this spell should have&lt;br /&gt;
; Optional - ''param2'' (int8)&lt;br /&gt;
: ''param2'' if set as 1 the spell will cancel automatically after all triggers have been removed from the spell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    SetSpellTriggerCount(3, 1)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will add 3 triggers to the spell, and if all 3 triggers are removed the spell will then cancel.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AllFunctions&amp;diff=5258</id>
		<title>LUA:AllFunctions</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AllFunctions&amp;diff=5258"/>
		<updated>2014-03-18T03:42:44Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* EQ2Emulator: All LUA Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= EQ2Emulator: All LUA Functions =&lt;br /&gt;
This is a list of all the LUA functions currently in EQ2Emu.&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddControlEffect|AddControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddConversationOption|AddConversationOption()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddHate|AddHate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddLootCoin|AddLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddLootItem|AddLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddOptionWindowOption|AddOptionWindowOption()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddPrimaryEntityCommand|AddPrimaryEntityCommand()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqClass|AddQuestPrereqClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqFaction|AddQuestPrereqFaction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqItem|AddQuestPrereqItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqModelType|AddQuestPrereqModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqQuest|AddQuestPrereqQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqRace|AddQuestPrereqRace()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqTradeskillClass|AddQuestPrereqTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqTradeskillLevel|AddQuestPrereqTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardCoin|AddQuestRewardCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardFaction|AddQuestRewardFaction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardItem|AddQuestRewardItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestSelectableRewardItem|AddQuestSelectableRewardItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStep|AddQuestStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepChat|AddQuestStepChat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepCompleteAction|AddQuestStepCompleteAction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepProgressAction|AddQuestStepProgressAction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepKill|AddQuestStepKill()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepLocation|AddQuestStepLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepObtainItem|AddQuestStepObtainItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepSpell|AddQuestStepSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepCraft|AddQuestStepCraft()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepHarvest|AddQuestStepHarvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSkillBonus|AddSkillBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnAccess|AddSpawnAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellBonus|AddSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellBookEntry|AddSpellBookEntry()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddStepProgress|AddStepProgress()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddTimer|AddTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ApplySpellVisual|ApplySpellVisual()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Attack|Attack()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Bind|Bind()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CastEntityCommand|CastEntityCommand()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CastSpell|CastSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Charm|Charm()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CloseConversation|CloseConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CreateOptionWindow|CreateOptionWindow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CloseItemConversation|CloseItemConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CreateConversation|CreateConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Despawn|Despawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:DismissPet|DismissPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Emote|Emote()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:FaceTarget|FaceTarget()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:Gate|Gate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetAgi|GetAgi()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetAgiBase|GetAgiBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCharmedPet|GetCharmedPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetClass|GetClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetClassName|GetClassName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetArchetypeName|GetArchetypeName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCoinMessage|GetCoinMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCosmeticPet|GetCosmeticPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCurrentZoneSafeLocation|GetCurrentZoneSafeLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetDeityPet|GetDeityPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetDistance|GetDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFactionAmount|GetFactionAmount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFollowTarget|GetFollowTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetGender|GetGender()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetGroup|GetGroup()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHeading|GetHeading()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHP|GetHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetInt|GetInt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetIntBase|GetIntBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetLevel|GetLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetLootCoin|GetLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxHP|GetMaxHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxHPBase|GetMaxHPBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxPower|GetMaxPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxPowerBase|GetMaxPowerBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetModelType|GetModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMount|GetMount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetName|GetName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetPet|GetPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetPower|GetPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetQuest|GetQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetQuestStep|GetQuestStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRace|GetRace()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRaceName|GetRaceName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawn|GetSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnByGroupID|GetSpawnByGroupID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnByLocationID|GetSpawnByLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnGroupID|GetSpawnGroupID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnID|GetSpawnID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnLocationID|GetSpawnLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnLocationPlacementID|GetSpawnLocationPlacementID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpeed|GetSpeed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSta|GetSta()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStaBase|GetStaBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStr|GetStr()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStrBase|GetStrBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTarget|GetTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTaskGroupStep|GetTaskGroupStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTempVariable|GetTempVariable()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillClass|GetTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillClassName|GetTradeskillClassName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillLevel|GetTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetVariableValue|GetVariableValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWis|GetWis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWisBase|GetWisBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetX|GetX()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetY|GetY()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZ|GetZ()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZone|GetZone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZoneID|GetZoneID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZoneName|GetZoneName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveLoot|GiveLoot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveQuestItem|GiveQuestItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveQuestReward|GiveQuestReward()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HandInCollections|HandInCollections()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Harvest|Harvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasCollectionsToHandIn|HasCollectionsToHandIn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasCompletedQuest|HasCompletedQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasFreeSlot|HasFreeSlot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasItem|HasItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasMoved|HasMoved()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasPendingLootItem|HasPendingLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasPendingLoot|HasPendingLoot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasQuest|HasQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasRecipeBook|HasRecipeBook()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsAlive|IsAlive()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsBindAllowed|IsBindAllowed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsFollowing|IsFollowing()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsGateAllowed|IsGateAllowed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsInCombat|IsInCombat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsPlayer|IsPlayer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:KillSpawn|KillSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:KillSpawnByDistance|KillSpawnByDistance()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:ModifyHP|ModifyHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ModifyPower|ModifyPower()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:MovementLoopAddLocation|MovementLoopAddLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:MoveToLocation|MoveToLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:OfferQuest|OfferQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayFlavor|PlayFlavor()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlaySound|PlaySound()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayVoice|PlayVoice()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProvidesQuest|ProvidesQuest()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:QuestIsComplete|QuestIsComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestReturnNPC|QuestReturnNPC()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestStepIsComplete|QuestStepIsComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RegisterQuest|RegisterQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveControlEffect|RemoveControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveItem|RemoveItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveLootItem|RemoveLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSkillBonus|RemoveSkillBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpawnAccess|RemoveSpawnAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpellBonus|RemoveSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Say|Say()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SayOOC|SayOOC()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendMessage|SendMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendOptionWindow|SendOptionWindow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendPopUpMessage|SendPopUpMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAdventureClass|SetAdventureClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAgi|SetAgi()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAgiBase|SetAgiBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetBrainTick|SetBrainTick()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetCompletedDescription|SetCompletedDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFollowTarget|SetFollowTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetHeading|SetHeading()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetHP|SetHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetInt|SetInt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetIntBase|SetIntBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLocationProximityFunction|SetLocationProximityFunction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLootCoin|SetLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLuaBrain|SetLuaBrain()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxHP|SetMaxHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxHPBase|SetMaxHPBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxPower|SetMaxPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxPowerBase|SetMaxPowerBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetModelType|SetModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMount|SetMount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMountColor|SetMountColor()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPlayerProximityFunction|SetPlayerProximityFunction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPosition|SetPosition()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPower|SetPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestCompleteAction|SetQuestCompleteAction()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestPrereqLevel|SetQuestPrereqLevel()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardComment|SetQuestRewardComment()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardExp|SetQuestRewardExp()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardStatus|SetQuestRewardStatus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetRequiredQuest|SetRequiredQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetServerControlFlag|SetServerControlFlag()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpeed|SetSpeed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpellList|SetSpellList()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSta|SetSta()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStaBase|SetStaBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStepComplete|SetStepComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStr|SetStr()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStrBase|SetStrBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTempVariable|SetTempVariable()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTradeskillClass|SetTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTradeskillLevel|SetTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetWis|SetWis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetWisBase|SetWisBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Shout|Shout()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnMob|SpawnMob()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnByLocationID|SpawnByLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnSet|SpawnSet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnSetByDistance|SpawnSetByDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellDamage|SpellDamage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellHeal|SpellHeal()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:StartConversation|StartConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:StartDialogConversation|StartDialogConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonCosmeticPet|SummonCosmeticPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonDeityPet|SummonDeityPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonDumbFirePet|SummonDumbFirePet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonItem|SummonItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonPet|SummonPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ToggleFollow|ToggleFollow()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:ToggleTracking|ToggleTracking()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestDescription|UpdateQuestDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestStepDescription|UpdateQuestStepDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestTaskGroupDescription|UpdateQuestTaskGroupDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestZone|UpdateQuestZone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UseWidget|UseWidget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Zone|Zone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEquippedItemBySlot|GetEquippedItemBySlot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEquippedItemByID|GetEquippedItemByID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemByID|GetItemByID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Stealth|Stealth()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsInvis|IsInvis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsStealthed|IsStealthed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayAnimation|PlayAnimation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTarget|SetTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsPet|IsPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetOwner|GetOwner()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetInCombat|SetInCombat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CompareSpawns|CompareSpawns()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Runback|Runback()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRunbackDistance|GetRunbackDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsCasting|IsCasting()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsMezzed|IsMezzed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsStunned|IsStunned()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsMezzedOrStunned|IsMezzedOrStunned()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ClearEncounter|ClearEncounter()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ClearHate|ClearHate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMostHated|GetMostHated()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEncounterSize|GetEncounterSize()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasRecovered|HasRecovered()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcessMelee|ProcessMelee()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcessSpell|ProcessSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEncounter|GetEncounter()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHateList|GetHateList()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasGroup|HasGroup()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddWard|AddWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddToWard|AddToWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveWard|RemoveWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Interrupt|Interrupt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasSpellEffect|HasSpellEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetCompleteFlag|SetCompleteFlag()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestYellow|SetQuestYellow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnIDAccess|AddSpawnIDAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpawnIDAccess|RemoveSpawnIDAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CanReceiveQuest|CanReceiveQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSuccessTimer|SetSuccessTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFailureTimer|SetFailureTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsGroundSpawn|IsGroundSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CanHarvest|CanHarvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnMove|SpawnMove()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillValue|GetSkillValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillMaxValue|GetSkillMaxValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillName|GetSkillName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSkillMaxValue|SetSkillMaxValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSkillValue|SetSkillValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkill|GetSkill()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddTransportSpawn|AddTransportSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemType|GetItemType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddProc|AddProc()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveProc|RemoveProc()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Knockback|Knockback()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsEpic|IsEpic()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcDamage|ProcDamage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:BreatheUnderwater|BreatheUnderwater()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:BlurVision|BlurVision()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetVision|SetVision()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsHeroic|IsHeroic()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:LastSpellAttackHit|LastSpellAttackHit()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Resurrect|Resurrect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemCount|GetItemCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetItemCount|SetItemCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemSkillReq|GetItemSkillReq()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpeedMultiplier|SetSpeedMultiplier()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWardAmountLeft|GetWardAmountLeft()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetIllusion|SetIllusion()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ResetIllusion|ResetIllusion()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsBehind|IsBehind()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsFlanking|IsFlanking()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddThreatTransfer|AddThreatTransfer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveThreatTransfer|RemoveThreatTransfer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellTimer|AddSpellTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CancelSpell|CancelSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnSpellBonus|AddSpawnSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CureByType|CureByType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CureByControlEffect|CureByControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpellTriggerCount|SetSpellTriggerCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveTriggerFromSpell|RemoveTriggerFromSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpellTriggerCount|GetSpellTriggerCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CopySpawnAppearance|CopySpawnAppearance()]]&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:RemoveControlEffect&amp;diff=5257</id>
		<title>LUA:RemoveControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:RemoveControlEffect&amp;diff=5257"/>
		<updated>2014-03-18T03:36:22Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: RemoveControlEffect() =&lt;br /&gt;
Removes the given type of control effect from the given spawn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
RemoveControlEffect(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8)&lt;br /&gt;
: ''param1'' is the spawn we want to check&lt;br /&gt;
: ''param2'' is the type of effect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function remove(Caster, Target)&lt;br /&gt;
    RemoveControlEffect(Target, 4)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will remove the stun effect of this spell when the spell is removed&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If used in a spell script it will attempt to remove from the spells targets instead of the supplied spawn&lt;br /&gt;
&lt;br /&gt;
Types:&lt;br /&gt;
&lt;br /&gt;
1 - Mez&lt;br /&gt;
&lt;br /&gt;
2 - Stifle&lt;br /&gt;
&lt;br /&gt;
3 - Daze&lt;br /&gt;
&lt;br /&gt;
4 - Stun&lt;br /&gt;
&lt;br /&gt;
5 - Root&lt;br /&gt;
&lt;br /&gt;
6 - Fear&lt;br /&gt;
&lt;br /&gt;
7 - Waterwalking&lt;br /&gt;
&lt;br /&gt;
8 - Moonjumps Underwater&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5256</id>
		<title>LUA:AddControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddControlEffect&amp;diff=5256"/>
		<updated>2014-03-18T03:30:01Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddControlEffect() =&lt;br /&gt;
Adds a control effect (mez/stun) to the given spawn.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddControlEffect(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8)&lt;br /&gt;
: ''param1'' must be a reference to a player or NPC.&lt;br /&gt;
: ''param2'' must be a number from 1 to 4 representing the type of effect to add&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
 function cast(Caster, Target)&lt;br /&gt;
   -- Mez the target.&lt;br /&gt;
   AddControlEffect(Target, 1)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
This will mez the target.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If this is used in a spell script a small amount of hate will be added to the target.&lt;br /&gt;
; Types&lt;br /&gt;
: 1 - Mez&lt;br /&gt;
: 2 - Stifle&lt;br /&gt;
: 3 - Daze&lt;br /&gt;
: 4 - Stun&lt;br /&gt;
: 5 - Root&lt;br /&gt;
: 6 - Fear&lt;br /&gt;
: 7 - Waterwalking&lt;br /&gt;
: 8 - Underwater Moonjumps&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5254</id>
		<title>LUA:AddProc</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AddProc&amp;diff=5254"/>
		<updated>2014-01-22T04:09:09Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: AddProc() =&lt;br /&gt;
Adds a proc to the given entity with the given chance to go off&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
AddProc(param1, param2, param3, [param4])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (int8), ''param3'' (float)&lt;br /&gt;
: ''param1'' is the entity who will be getting the proc&lt;br /&gt;
: ''param2'' is the type of proc we are adding&lt;br /&gt;
: ''param3'' is the chance the proc has to go off&lt;br /&gt;
; Optional - ''param4'' (Item)&lt;br /&gt;
: '' param4'' is the item adding the proc&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function equipped(Item, Player)&lt;br /&gt;
    AddProc(Player, 1, 8.5, Item)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When an item with this script is equipped the player will get an offensive proc with a 8.5% chance to go off&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
This can only be used on an Entity&lt;br /&gt;
&lt;br /&gt;
This function can only be used in an item or spell script, if used in an item script then the item param must be set&lt;br /&gt;
&lt;br /&gt;
;Types&lt;br /&gt;
:1  PROC_TYPE_OFFENSIVE&lt;br /&gt;
:2  PROC_TYPE_DEFENSIVE&lt;br /&gt;
:3  PROC_TYPE_PHYSICAL_OFFENSIVE&lt;br /&gt;
:4  PROC_TYPE_PHYSICAL_DEFENSIVE&lt;br /&gt;
:5  PROC_TYPE_MAGICAL_OFFENSIVE&lt;br /&gt;
:6  PROC_TYPE_MAGICAL_DEFENSIVE&lt;br /&gt;
:7  PROC_TYPE_BLOCK&lt;br /&gt;
:8  PROC_TYPE_PARRY&lt;br /&gt;
:9  PROC_TYPE_RIPOSTE&lt;br /&gt;
:10 PROC_TYPE_EVADE&lt;br /&gt;
:11 PROC_TYPE_HEALING&lt;br /&gt;
:12 PROC_TYPE_BENEFICIAL&lt;br /&gt;
:13 PROC_TYPE_DEATH&lt;br /&gt;
:14 PROC_TYPE_KILL&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:CureByControlEffect&amp;diff=5250</id>
		<title>LUA:CureByControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CureByControlEffect&amp;diff=5250"/>
		<updated>2014-01-17T03:34:07Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* LUA Functions: CureByControlEffect() */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: CureByControlEffect() =&lt;br /&gt;
Cures detriments determined by the control effect associated with the detriment, if any.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
CureByControlEffect(param1, param2, param3, param4, param5)&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (int8), ''param2'' (int8&lt;br /&gt;
: ''param1'' is the max amount of detriments allowed to be cured&lt;br /&gt;
: ''param2'' is the type of the control effect of the detriment to be cured&lt;br /&gt;
; Optional - ''param3'' (string), ''param4'' (int8), ''param5'' (Spawn)&lt;br /&gt;
: ''param3'' is an override of the spellname for the dispell packet (example: one cure spell has a different name than the cure effect, use the effect name)&lt;br /&gt;
: ''param4'' is the max level of the effect allowed to be cured, if left 0 any level will be cured&lt;br /&gt;
: ''param5'' is a target override if you wish to not use every target of the spell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    CureByControlEffect(1, 3, &amp;quot;Cure&amp;quot;, 10)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will cure one Daze detrimental effect from the spell's targets, up to a max level of 10, and send the spellname as &amp;quot;Cure&amp;quot; in the dispell packet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
Control effect types are '''1 = Mez, 2 = Stifle, 3 = Daze, 4 = Stun.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:CureByControlEffect&amp;diff=5249</id>
		<title>LUA:CureByControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CureByControlEffect&amp;diff=5249"/>
		<updated>2014-01-17T03:33:46Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: CureByControlEffect() =&lt;br /&gt;
Cures detriments determined by the type of detriment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
CureByControlEffect(param1, param2, param3, param4, param5)&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (int8), ''param2'' (int8&lt;br /&gt;
: ''param1'' is the max amount of detriments allowed to be cured&lt;br /&gt;
: ''param2'' is the type of the control effect of the detriment to be cured&lt;br /&gt;
; Optional - ''param3'' (string), ''param4'' (int8), ''param5'' (Spawn)&lt;br /&gt;
: ''param3'' is an override of the spellname for the dispell packet (example: one cure spell has a different name than the cure effect, use the effect name)&lt;br /&gt;
: ''param4'' is the max level of the effect allowed to be cured, if left 0 any level will be cured&lt;br /&gt;
: ''param5'' is a target override if you wish to not use every target of the spell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    CureByControlEffect(1, 3, &amp;quot;Cure&amp;quot;, 10)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will cure one Daze detrimental effect from the spell's targets, up to a max level of 10, and send the spellname as &amp;quot;Cure&amp;quot; in the dispell packet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
Control effect types are '''1 = Mez, 2 = Stifle, 3 = Daze, 4 = Stun.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:CureByControlEffect&amp;diff=5248</id>
		<title>LUA:CureByControlEffect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CureByControlEffect&amp;diff=5248"/>
		<updated>2014-01-17T03:32:48Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: CureByControlEffect() = Cures detriments determined by the type of detriment.   ==== Syntax ==== CureByType(param1, param2, param3, param4, param5)   ==== Parame...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: CureByControlEffect() =&lt;br /&gt;
Cures detriments determined by the type of detriment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
CureByType(param1, param2, param3, param4, param5)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (int8), ''param2'' (int8&lt;br /&gt;
: ''param1'' is the max amount of detriments allowed to be cured&lt;br /&gt;
: ''param2'' is the type of the control effect of the detriment to be cured&lt;br /&gt;
; Optional - ''param3'' (string), ''param4'' (int8), ''param5'' (Spawn)&lt;br /&gt;
: ''param3'' is an override of the spellname for the dispell packet (example: one cure spell has a different name than the cure effect, use the effect name)&lt;br /&gt;
: ''param4'' is the max level of the effect allowed to be cured, if left 0 any level will be cured&lt;br /&gt;
: ''param5'' is a target override if you wish to not use every target of the spell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    CureByControlEffect(1, 3, &amp;quot;Cure&amp;quot;, 10)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will cure one Daze detrimental effect from the spell's targets, up to a max level of 10, and send the spellname as &amp;quot;Cure&amp;quot; in the dispell packet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Notes ====&lt;br /&gt;
Control effect types are '''1 = Mez, 2 = Stifle, 3 = Daze, 4 = Stun.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:CureByType&amp;diff=5247</id>
		<title>LUA:CureByType</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:CureByType&amp;diff=5247"/>
		<updated>2014-01-17T03:29:32Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: CureByType() = Cures detriments determined by the type of detriment.   ==== Syntax ==== CureByType(param1, param2, param3, param4, param5)   ==== Parameters ====...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: CureByType() =&lt;br /&gt;
Cures detriments determined by the type of detriment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
CureByType(param1, param2, param3, param4, param5)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (int8), ''param2'' (int8&lt;br /&gt;
: ''param1'' is the max amount of detriments allowed to be cured&lt;br /&gt;
: ''param2'' is the type of detriment to be cured&lt;br /&gt;
; Optional - ''param3'' (string), ''param4'' (int8), ''param5'' (Spawn)&lt;br /&gt;
: ''param3'' is an override of the spellname for the dispell packet (example: one cure spell has a different name than the cure effect, use the effect name)&lt;br /&gt;
: ''param4'' is the max level of the effect allowed to be cured, if left 0 any level will be cured&lt;br /&gt;
: ''param5'' is a target override if you wish to not use every target of the spell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    CureByType(1, 3, &amp;quot;Cure&amp;quot;, 10)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will cure one Noxious effect from the spell's targets, up to a max level of 10, and send the spellname as &amp;quot;Cure&amp;quot; in the dispell packet.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AllFunctions&amp;diff=5246</id>
		<title>LUA:AllFunctions</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AllFunctions&amp;diff=5246"/>
		<updated>2014-01-17T03:11:37Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* EQ2Emulator: All LUA Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= EQ2Emulator: All LUA Functions =&lt;br /&gt;
This is a list of all the LUA functions currently in EQ2Emu.&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddControlEffect|AddControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddConversationOption|AddConversationOption()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddHate|AddHate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddLootCoin|AddLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddLootItem|AddLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddOptionWindowOption|AddOptionWindowOption()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddPrimaryEntityCommand|AddPrimaryEntityCommand()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqClass|AddQuestPrereqClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqFaction|AddQuestPrereqFaction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqItem|AddQuestPrereqItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqModelType|AddQuestPrereqModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqQuest|AddQuestPrereqQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqRace|AddQuestPrereqRace()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqTradeskillClass|AddQuestPrereqTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqTradeskillLevel|AddQuestPrereqTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardCoin|AddQuestRewardCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardFaction|AddQuestRewardFaction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardItem|AddQuestRewardItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestSelectableRewardItem|AddQuestSelectableRewardItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStep|AddQuestStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepChat|AddQuestStepChat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepCompleteAction|AddQuestStepCompleteAction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepProgressAction|AddQuestStepProgressAction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepKill|AddQuestStepKill()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepLocation|AddQuestStepLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepObtainItem|AddQuestStepObtainItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepSpell|AddQuestStepSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepCraft|AddQuestStepCraft()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepHarvest|AddQuestStepHarvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSkillBonus|AddSkillBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnAccess|AddSpawnAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellBonus|AddSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellBookEntry|AddSpellBookEntry()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddStepProgress|AddStepProgress()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddTimer|AddTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ApplySpellVisual|ApplySpellVisual()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Attack|Attack()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Bind|Bind()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CastEntityCommand|CastEntityCommand()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CastSpell|CastSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Charm|Charm()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CloseConversation|CloseConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CreateOptionWindow|CreateOptionWindow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CloseItemConversation|CloseItemConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CreateConversation|CreateConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Despawn|Despawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:DismissPet|DismissPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Emote|Emote()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:FaceTarget|FaceTarget()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:Gate|Gate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetAgi|GetAgi()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetAgiBase|GetAgiBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCharmedPet|GetCharmedPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetClass|GetClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetClassName|GetClassName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetArchetypeName|GetArchetypeName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCoinMessage|GetCoinMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCosmeticPet|GetCosmeticPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCurrentZoneSafeLocation|GetCurrentZoneSafeLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetDeityPet|GetDeityPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetDistance|GetDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFactionAmount|GetFactionAmount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFollowTarget|GetFollowTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetGender|GetGender()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetGroup|GetGroup()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHeading|GetHeading()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHP|GetHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetInt|GetInt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetIntBase|GetIntBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetLevel|GetLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetLootCoin|GetLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxHP|GetMaxHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxHPBase|GetMaxHPBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxPower|GetMaxPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxPowerBase|GetMaxPowerBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetModelType|GetModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMount|GetMount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetName|GetName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetPet|GetPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetPower|GetPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetQuest|GetQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetQuestStep|GetQuestStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRace|GetRace()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRaceName|GetRaceName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawn|GetSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnByGroupID|GetSpawnByGroupID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnByLocationID|GetSpawnByLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnGroupID|GetSpawnGroupID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnID|GetSpawnID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnLocationID|GetSpawnLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnLocationPlacementID|GetSpawnLocationPlacementID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpeed|GetSpeed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSta|GetSta()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStaBase|GetStaBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStr|GetStr()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStrBase|GetStrBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTarget|GetTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTaskGroupStep|GetTaskGroupStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTempVariable|GetTempVariable()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillClass|GetTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillClassName|GetTradeskillClassName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillLevel|GetTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetVariableValue|GetVariableValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWis|GetWis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWisBase|GetWisBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetX|GetX()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetY|GetY()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZ|GetZ()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZone|GetZone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZoneID|GetZoneID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZoneName|GetZoneName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveLoot|GiveLoot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveQuestItem|GiveQuestItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveQuestReward|GiveQuestReward()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HandInCollections|HandInCollections()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Harvest|Harvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasCollectionsToHandIn|HasCollectionsToHandIn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasCompletedQuest|HasCompletedQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasFreeSlot|HasFreeSlot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasItem|HasItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasMoved|HasMoved()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasPendingLootItem|HasPendingLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasPendingLoot|HasPendingLoot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasQuest|HasQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasRecipeBook|HasRecipeBook()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsAlive|IsAlive()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsBindAllowed|IsBindAllowed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsFollowing|IsFollowing()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsGateAllowed|IsGateAllowed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsInCombat|IsInCombat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsPlayer|IsPlayer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:KillSpawn|KillSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:KillSpawnByDistance|KillSpawnByDistance()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:ModifyHP|ModifyHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ModifyPower|ModifyPower()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:MovementLoopAddLocation|MovementLoopAddLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:MoveToLocation|MoveToLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:OfferQuest|OfferQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayFlavor|PlayFlavor()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlaySound|PlaySound()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayVoice|PlayVoice()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProvidesQuest|ProvidesQuest()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:QuestIsComplete|QuestIsComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestReturnNPC|QuestReturnNPC()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestStepIsComplete|QuestStepIsComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RegisterQuest|RegisterQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveControlEffect|RemoveControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveItem|RemoveItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveLootItem|RemoveLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSkillBonus|RemoveSkillBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpawnAccess|RemoveSpawnAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpellBonus|RemoveSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Say|Say()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SayOOC|SayOOC()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendMessage|SendMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendOptionWindow|SendOptionWindow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendPopUpMessage|SendPopUpMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAdventureClass|SetAdventureClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAgi|SetAgi()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAgiBase|SetAgiBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetBrainTick|SetBrainTick()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetCompletedDescription|SetCompletedDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFollowTarget|SetFollowTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetHeading|SetHeading()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetHP|SetHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetInt|SetInt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetIntBase|SetIntBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLocationProximityFunction|SetLocationProximityFunction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLootCoin|SetLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLuaBrain|SetLuaBrain()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxHP|SetMaxHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxHPBase|SetMaxHPBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxPower|SetMaxPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxPowerBase|SetMaxPowerBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetModelType|SetModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMount|SetMount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMountColor|SetMountColor()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPlayerProximityFunction|SetPlayerProximityFunction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPosition|SetPosition()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPower|SetPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestCompleteAction|SetQuestCompleteAction()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestPrereqLevel|SetQuestPrereqLevel()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardComment|SetQuestRewardComment()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardExp|SetQuestRewardExp()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardStatus|SetQuestRewardStatus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetRequiredQuest|SetRequiredQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetServerControlFlag|SetServerControlFlag()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpeed|SetSpeed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpellList|SetSpellList()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSta|SetSta()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStaBase|SetStaBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStepComplete|SetStepComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStr|SetStr()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStrBase|SetStrBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTempVariable|SetTempVariable()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTradeskillClass|SetTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTradeskillLevel|SetTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetWis|SetWis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetWisBase|SetWisBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Shout|Shout()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnMob|SpawnMob()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnByLocationID|SpawnByLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnSet|SpawnSet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnSetByDistance|SpawnSetByDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellDamage|SpellDamage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellHeal|SpellHeal()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:StartConversation|StartConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:StartDialogConversation|StartDialogConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonCosmeticPet|SummonCosmeticPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonDeityPet|SummonDeityPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonDumbFirePet|SummonDumbFirePet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonItem|SummonItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonPet|SummonPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ToggleFollow|ToggleFollow()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:ToggleTracking|ToggleTracking()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestDescription|UpdateQuestDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestStepDescription|UpdateQuestStepDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestTaskGroupDescription|UpdateQuestTaskGroupDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestZone|UpdateQuestZone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UseWidget|UseWidget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Zone|Zone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEquippedItemBySlot|GetEquippedItemBySlot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEquippedItemByID|GetEquippedItemByID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemByID|GetItemByID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Stealth|Stealth()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsInvis|IsInvis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsStealthed|IsStealthed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayAnimation|PlayAnimation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTarget|SetTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsPet|IsPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetOwner|GetOwner()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetInCombat|SetInCombat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CompareSpawns|CompareSpawns()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Runback|Runback()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRunbackDistance|GetRunbackDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsCasting|IsCasting()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsMezzed|IsMezzed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsStunned|IsStunned()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsMezzedOrStunned|IsMezzedOrStunned()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ClearEncounter|ClearEncounter()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ClearHate|ClearHate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMostHated|GetMostHated()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEncounterSize|GetEncounterSize()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasRecovered|HasRecovered()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcessMelee|ProcessMelee()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcessSpell|ProcessSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEncounter|GetEncounter()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHateList|GetHateList()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasGroup|HasGroup()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddWard|AddWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddToWard|AddToWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveWard|RemoveWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Interrupt|Interrupt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasSpellEffect|HasSpellEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetCompleteFlag|SetCompleteFlag()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestYellow|SetQuestYellow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnIDAccess|AddSpawnIDAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpawnIDAccess|RemoveSpawnIDAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CanReceiveQuest|CanReceiveQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSuccessTimer|SetSuccessTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFailureTimer|SetFailureTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsGroundSpawn|IsGroundSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CanHarvest|CanHarvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnMove|SpawnMove()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillValue|GetSkillValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillMaxValue|GetSkillMaxValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillName|GetSkillName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSkillMaxValue|SetSkillMaxValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSkillValue|SetSkillValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkill|GetSkill()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddTransportSpawn|AddTransportSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemType|GetItemType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddProc|AddProc()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveProc|RemoveProc()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Knockback|Knockback()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsEpic|IsEpic()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcDamage|ProcDamage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:BreatheUnderwater|BreatheUnderwater()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:BlurVision|BlurVision()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetVision|SetVision()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsHeroic|IsHeroic()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:LastSpellAttackHit|LastSpellAttackHit()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Resurrect|Resurrect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemCount|GetItemCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetItemCount|SetItemCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemSkillReq|GetItemSkillReq()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpeedMultiplier|SetSpeedMultiplier()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWardAmountLeft|GetWardAmountLeft()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetIllusion|SetIllusion()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ResetIllusion|ResetIllusion()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsBehind|IsBehind()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsFlanking|IsFlanking()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddThreatTransfer|AddThreatTransfer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveThreatTransfer|RemoveThreatTransfer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellTimer|AddSpellTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CancelSpell|CancelSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnSpellBonus|AddSpawnSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CureByType|CureByType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CureByControlEffect|CureByControlEffect()]]&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5231</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5231"/>
		<updated>2013-12-20T10:49:11Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Download the source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTES ==&lt;br /&gt;
'''*** As stated on the SVN webpage, you may use username 'anonymous' with no password to access our SVN.***'''&lt;br /&gt;
&lt;br /&gt;
'''*Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the source/WorldServer folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Scripts ==&lt;br /&gt;
&lt;br /&gt;
If you are using one of our official released or in development database, you may wish to grab the script files from our content SVN for your server. In this example we'll create a folder named 'Scripts' for this purpose.&lt;br /&gt;
&lt;br /&gt;
 mkdir Scripts&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2content/trunk/scripts/ Scripts&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/structs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/ItemStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/log_config.xml eq2server&lt;br /&gt;
&lt;br /&gt;
If you got scripts from the previous step, move them to the eq2server folder as well. Example:&lt;br /&gt;
&lt;br /&gt;
 cp /Scripts/Spells eq2server&lt;br /&gt;
 cp /Scripts/SpawnScripts eq2server&lt;br /&gt;
 cp /Scripts/ItemScripts eq2server&lt;br /&gt;
 cp /Scripts/ZoneScripts eq2server&lt;br /&gt;
 cp /Scripts/Quests eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5230</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5230"/>
		<updated>2013-12-20T10:48:04Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTES ==&lt;br /&gt;
'''*** As stated on the SVN webpage, you may use username 'anonymous' with no password to access our SVN.***'''&lt;br /&gt;
&lt;br /&gt;
'''*Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the source/WorldServer folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Scripts ==&lt;br /&gt;
&lt;br /&gt;
If you are using one of our official released or in development database, you may wish to grab the script files from our content SVN for your server. In this example we'll create a folder named 'Scripts' for this purpose.&lt;br /&gt;
&lt;br /&gt;
 mkdir Scripts&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2content/trunk/scripts/ Scripts&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/structs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/ItemStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/log_config.xml eq2server&lt;br /&gt;
&lt;br /&gt;
If you got scripts from the previous step, move them to the eq2server folder as well. Example:&lt;br /&gt;
&lt;br /&gt;
 cp /Scripts/Spells eq2server&lt;br /&gt;
 cp /Scripts/SpawnScripts eq2server&lt;br /&gt;
 cp /Scripts/ItemScripts eq2server&lt;br /&gt;
 cp /Scripts/ZoneScripts eq2server&lt;br /&gt;
 cp /Scripts/Quests eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5229</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5229"/>
		<updated>2013-12-20T06:40:26Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Compile it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTES ==&lt;br /&gt;
'''*** As stated on the SVN webpage, you may use username 'anonymous' with no password to access our SVN.***'''&lt;br /&gt;
&lt;br /&gt;
'''*Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the source/WorldServer folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Scripts ==&lt;br /&gt;
&lt;br /&gt;
If you are using one of our official released or in development database, you may wish to grab the script files from our content SVN for your server. In this example we'll create a folder named 'Scripts' for this purpose.&lt;br /&gt;
&lt;br /&gt;
 mkdir Scripts&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2content/trunk/scripts/ Scripts&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/structs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/ItemStructs.xml eq2server&lt;br /&gt;
&lt;br /&gt;
If you got scripts from the previous step, move them to the eq2server folder as well. Example:&lt;br /&gt;
&lt;br /&gt;
 cp /Scripts/Spells eq2server&lt;br /&gt;
 cp /Scripts/SpawnScripts eq2server&lt;br /&gt;
 cp /Scripts/ItemScripts eq2server&lt;br /&gt;
 cp /Scripts/ZoneScripts eq2server&lt;br /&gt;
 cp /Scripts/Quests eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5228</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5228"/>
		<updated>2013-12-20T06:40:10Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Compile it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTES ==&lt;br /&gt;
'''*** As stated on the SVN webpage, you may use username 'anonymous' with no password to access our SVN.***'''&lt;br /&gt;
&lt;br /&gt;
'''*Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the source/WorldServer folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Scripts ==&lt;br /&gt;
&lt;br /&gt;
If you are using one of our official released or in development database, you may wish to grab the script files from our content SVN for your server. In this example we'll create a folder named 'Scripts' for this purpose.&lt;br /&gt;
&lt;br /&gt;
 mkdir Scripts&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2content/trunk/scripts/ Scripts&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/structs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/ItemStructs.xml eq2server&lt;br /&gt;
&lt;br /&gt;
If you got scripts from the previous step, move them to the eq2server folder as well. Example:&lt;br /&gt;
&lt;br /&gt;
 cp /Scripts/Spells eq2server&lt;br /&gt;
 cp /Scripts/SpawnScripts eq2server&lt;br /&gt;
 cp /Scripts/ItemScripts eq2server&lt;br /&gt;
 cp /Scripts/ZoneScripts eq2server&lt;br /&gt;
 cp /Scripts/Quests eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5227</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5227"/>
		<updated>2013-12-20T06:33:28Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Setting it up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTES ==&lt;br /&gt;
'''*** As stated on the SVN webpage, you may use username 'anonymous' with no password to access our SVN.***'''&lt;br /&gt;
&lt;br /&gt;
'''*Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Scripts ==&lt;br /&gt;
&lt;br /&gt;
If you are using one of our official released or in development database, you may wish to grab the script files from our content SVN for your server. In this example we'll create a folder named 'Scripts' for this purpose.&lt;br /&gt;
&lt;br /&gt;
 mkdir Scripts&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2content/trunk/scripts/ Scripts&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/structs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/ItemStructs.xml eq2server&lt;br /&gt;
&lt;br /&gt;
If you got scripts from the previous step, move them to the eq2server folder as well. Example:&lt;br /&gt;
&lt;br /&gt;
 cp /Scripts/Spells eq2server&lt;br /&gt;
 cp /Scripts/SpawnScripts eq2server&lt;br /&gt;
 cp /Scripts/ItemScripts eq2server&lt;br /&gt;
 cp /Scripts/ZoneScripts eq2server&lt;br /&gt;
 cp /Scripts/Quests eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5226</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5226"/>
		<updated>2013-12-20T06:28:40Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Setting it up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTES ==&lt;br /&gt;
'''*** As stated on the SVN webpage, you may use username 'anonymous' with no password to access our SVN.***'''&lt;br /&gt;
&lt;br /&gt;
'''*Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Scripts ==&lt;br /&gt;
&lt;br /&gt;
If you are using one of our official released or in development database, you may wish to grab the script files from our content SVN for your server. In this example we'll create a folder named 'Scripts' for this purpose.&lt;br /&gt;
&lt;br /&gt;
 mkdir Scripts&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2content/trunk/scripts/ Scripts&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/structs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/structs/World Structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/structs/ItemStructs.xml eq2server&lt;br /&gt;
&lt;br /&gt;
If you got scripts from the previous step, move them to the eq2server folder as well. Example:&lt;br /&gt;
&lt;br /&gt;
 cp /Scripts/Spells eq2server&lt;br /&gt;
 cp /Scripts/SpawnScripts eq2server&lt;br /&gt;
 cp /Scripts/ItemScripts eq2server&lt;br /&gt;
 cp /Scripts/ZoneScripts eq2server&lt;br /&gt;
 cp /Scripts/Quests eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5225</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5225"/>
		<updated>2013-12-20T06:16:59Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* NOTE */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTES ==&lt;br /&gt;
'''*** As stated on the SVN webpage, you may use username 'anonymous' with no password to access our SVN.***'''&lt;br /&gt;
&lt;br /&gt;
'''*Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Scripts ==&lt;br /&gt;
&lt;br /&gt;
If you are using one of our official released or in development database, you may wish to grab the script files from our content SVN for your server. In this example we'll create a folder named 'Scripts' for this purpose.&lt;br /&gt;
&lt;br /&gt;
 mkdir Scripts&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2content/trunk/scripts/ Scripts&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/configs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/ItemStructs.xml eq2server&lt;br /&gt;
&lt;br /&gt;
If you got scripts from the previous step, move them to the eq2server folder as well. Example:&lt;br /&gt;
&lt;br /&gt;
 cp /Scripts/Spells eq2server&lt;br /&gt;
 cp /Scripts/SpawnScripts eq2server&lt;br /&gt;
 cp /Scripts/ItemScripts eq2server&lt;br /&gt;
 cp /Scripts/ZoneScripts eq2server&lt;br /&gt;
 cp /Scripts/Quests eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5224</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5224"/>
		<updated>2013-12-20T06:15:13Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTE == &lt;br /&gt;
'''Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Scripts ==&lt;br /&gt;
&lt;br /&gt;
If you are using one of our official released or in development database, you may wish to grab the script files from our content SVN for your server. In this example we'll create a folder named 'Scripts' for this purpose.&lt;br /&gt;
&lt;br /&gt;
 mkdir Scripts&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2content/trunk/scripts/ Scripts&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/configs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/ItemStructs.xml eq2server&lt;br /&gt;
&lt;br /&gt;
If you got scripts from the previous step, move them to the eq2server folder as well. Example:&lt;br /&gt;
&lt;br /&gt;
 cp /Scripts/Spells eq2server&lt;br /&gt;
 cp /Scripts/SpawnScripts eq2server&lt;br /&gt;
 cp /Scripts/ItemScripts eq2server&lt;br /&gt;
 cp /Scripts/ZoneScripts eq2server&lt;br /&gt;
 cp /Scripts/Quests eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5223</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5223"/>
		<updated>2013-12-20T06:03:41Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Setting it up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTE == &lt;br /&gt;
'''Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/configs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/ItemStructs.xml eq2server&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5222</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5222"/>
		<updated>2013-12-20T06:01:47Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Download the source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTE == &lt;br /&gt;
'''Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following or something similar.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for svn.eq2emulator.net/eq2server&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *svn.eq2emulator.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/configs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/charactersheet_struct.txt eq2server&lt;br /&gt;
 cp /SVN/configsCommon Structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/SpawnScripts eq2server&lt;br /&gt;
 cp /SVN/configs/Spells eq2server&lt;br /&gt;
 cp /SVN/configs/ItemStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5221</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5221"/>
		<updated>2013-12-20T05:59:50Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== NOTE == &lt;br /&gt;
'''Some or all of these commands must be preceeded by the command 'sudo' for them to work depending on your folder permissions.'''&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for &amp;amp;lt;nowiki&amp;gt;'https://eq2emulator.svn.sourceforge.net:443':&amp;amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *.svn.sourceforge.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/source/WorldServer&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/WorldServer/eq2world eq2server&lt;br /&gt;
 cp /SVN/configs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/charactersheet_struct.txt eq2server&lt;br /&gt;
 cp /SVN/configsCommon Structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/SpawnScripts eq2server&lt;br /&gt;
 cp /SVN/configs/Spells eq2server&lt;br /&gt;
 cp /SVN/configs/ItemStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5220</id>
		<title>Admins:Linux Server:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:Ubuntu&amp;diff=5220"/>
		<updated>2013-12-20T05:56:38Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on Linux.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to download the latest version of the source code from the repository, compile it and then start a server.&lt;br /&gt;
&lt;br /&gt;
== Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
First you must install MySQL as well as the required dependencies needed from the repositories.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mysql-server libmysqlclient-dev build-essential subversion zlib1g zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Then you must install lua and its dependencies. &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install liblua5.1-dev&lt;br /&gt;
&lt;br /&gt;
and also &lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install lua5.1&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called SVN.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://svn.eq2emulator.net/svn/eq2server/trunk SVN&lt;br /&gt;
&lt;br /&gt;
Before downloading the svn, Ubuntu will give you the following.&lt;br /&gt;
&lt;br /&gt;
 Error validating server certificate for &amp;amp;lt;nowiki&amp;gt;'https://eq2emulator.svn.sourceforge.net:443':&amp;amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 - The certificate is not issued by a trusted authority. Use the&lt;br /&gt;
   fingerprint to validate the certificate manually!&lt;br /&gt;
 Certificate information:&lt;br /&gt;
 - Hostname: *.svn.sourceforge.net&lt;br /&gt;
 - Valid: from Tue, 09 Oct 2007 14:15:07 GMT until Mon, 08 Dec 2008 15:15:07 GMT&lt;br /&gt;
 - Issuer: Equifax Secure Certificate Authority, Equifax, US&lt;br /&gt;
 - Fingerprint: fb:75:6c:40:58:ae:21:8c:63:dd:1b:7b:6a:7d:bb:8c:74:36:e7:8a&lt;br /&gt;
 (R)eject, accept (t)emporarily or accept (p)ermanently? &lt;br /&gt;
&lt;br /&gt;
Type P and enter, it will then download the SVN&lt;br /&gt;
&lt;br /&gt;
== Edit Source ==&lt;br /&gt;
 &lt;br /&gt;
If you are A developer and would like to make changes/additions to the code, this is the time to do it.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/Source/World/&lt;br /&gt;
&lt;br /&gt;
This is where the source files are Located.&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd SVN/Source/World/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called World.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 cp /SVN/source/World/eq2world eq2server&lt;br /&gt;
 cp /SVN/configs/EQ2_Structs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/LoginServer.ini eq2server&lt;br /&gt;
 cp /SVN/configs/world_db.ini eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/WorldStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/World Structs/charactersheet_struct.txt eq2server&lt;br /&gt;
 cp /SVN/configsCommon Structs/CommonStructs.xml eq2server&lt;br /&gt;
 cp /SVN/configs/SpawnScripts eq2server&lt;br /&gt;
 cp /SVN/configs/Spells eq2server&lt;br /&gt;
 cp /SVN/configs/ItemStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First &lt;br /&gt;
 &lt;br /&gt;
 nano LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 nano world_db.ini&lt;br /&gt;
&lt;br /&gt;
Change the following:&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server. You must create this database before you start the server.&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation process without error the following will start your world&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
== Stopping your World == &lt;br /&gt;
&lt;br /&gt;
'''To stop your world the following will need to be typed'''&lt;br /&gt;
&lt;br /&gt;
To stop your world.. sometimes &amp;quot;ctrl C&amp;quot; works.. otherwise hit F2 to open a new terminal and type&lt;br /&gt;
&lt;br /&gt;
 pkill eq2world&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If like me and use [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty] on Windows to control you linux box, simply close putty.. or like me if you run webadmin.. set up a cron job to start and stop yourself at desired days and times ((i do this to keep things refreshed)) and webadmin also alows you to control process (kill or terminate them) and also run commands ((pkill eq2server)) &lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Andrew And Updated by Intodesi, theFoof ====&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:GetItemSkillReq&amp;diff=5195</id>
		<title>LUA:GetItemSkillReq</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetItemSkillReq&amp;diff=5195"/>
		<updated>2013-12-13T06:25:45Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: GetItemSkillReq() = Returns the skill id req (1 or 2) from an item.   ==== Syntax ==== GetItemSkillReq(param1, param2)   ==== Parameters ==== ; Required - ''para...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: GetItemSkillReq() =&lt;br /&gt;
Returns the skill id req (1 or 2) from an item.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
GetItemSkillReq(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Item), ''param2'' (int8)&lt;br /&gt;
: ''param1'' is the spawn to check&lt;br /&gt;
: ''param2'' is type of skill req (1 or 2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function used(Item, Player)&lt;br /&gt;
    Say(Player, GetItemSkillReq(Item, 1))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When this item is used the player will say the skill_id_req1 of the item in chat.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:SetItemCount&amp;diff=5194</id>
		<title>LUA:SetItemCount</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetItemCount&amp;diff=5194"/>
		<updated>2013-12-13T06:23:17Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: SetItemCount() =   ==== Syntax ==== SetItemCount(param1, param2, param3)   ==== Parameters ==== ; Required - ''param1'' (Item), ''param2'' (Player), ''param3'' (...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: SetItemCount() =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SetItemCount(param1, param2, param3)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Item), ''param2'' (Player), ''param3'' (int16)&lt;br /&gt;
: ''param1'' is the item to change&lt;br /&gt;
: ''param2'' is the owner of the item&lt;br /&gt;
: ''param3'' is the new item count&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function used(Item, Player)&lt;br /&gt;
    SetItemCount(Item, Player, GetItemCount(Item) - 1)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When this item is used, it will reduce the item count by 1.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
The new count value must be &amp;lt;= the max stackcount of that item, if count is set to 0 the item is also destroyed.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:GetItemCount&amp;diff=5193</id>
		<title>LUA:GetItemCount</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetItemCount&amp;diff=5193"/>
		<updated>2013-12-13T06:19:42Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: GetItemCount() = Returns the count of an item.   ==== Syntax ==== GetItemCount(param1)   ==== Parameters ==== ; Required - ''param1'' (Item) : ''param1'' is the ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: GetItemCount() =&lt;br /&gt;
Returns the count of an item.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
GetItemCount(param1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Item)&lt;br /&gt;
: ''param1'' is the item to get count from&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function used(Item, Player)&lt;br /&gt;
    Say(Player, GetItemCount(Item))&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When this item is used the player will say the item count in chat.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:Resurrect&amp;diff=5192</id>
		<title>LUA:Resurrect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:Resurrect&amp;diff=5192"/>
		<updated>2013-12-13T06:17:01Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: Resurrect() =&lt;br /&gt;
Resurrects a dead player.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
Resurrect(param1, param2, param3, param4, param5, param6, param7)&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Optional -  ''param1'' (float), ''param2'' (float), ''param3'' (int8), ''param4'' (Spawn), &amp;quot;heal_name&amp;quot; (string), crit_mod (int8), no_calcs [int8[&lt;br /&gt;
: ''param1'' percentage of max hp to heal the player&lt;br /&gt;
: ''param2'' percentage of max power to give the player&lt;br /&gt;
: ''param3'' set as 1 to send the choice window&lt;br /&gt;
: ''param4'' this overrides the spell's targets and only uses this spawn&lt;br /&gt;
: ''param5'' this is the name of the actual heal effect for the heal packet, if set&lt;br /&gt;
: ''param6'' set this to 1 to force crit, 2 to disable&lt;br /&gt;
: ''param7'' disables extra amount checks on the heals (potency, ability_mod, crit, ect)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    Resurrect(65, 50, 1)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When this spell is cast it will offer a resurrection to all dead targets, giving them 65% max health and 50% max power if accepted.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:Resurrect&amp;diff=5191</id>
		<title>LUA:Resurrect</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:Resurrect&amp;diff=5191"/>
		<updated>2013-12-13T06:16:51Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: Resurrect() = Resurrects a dead player.   ==== Syntax ==== Resurrect(param1, param2, param3, param4, param5, param6, param7) [float] hp_perc, [float] power_perc,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: Resurrect() =&lt;br /&gt;
Resurrects a dead player.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
Resurrect(param1, param2, param3, param4, param5, param6, param7) [float] hp_perc, [float] power_perc, [int8] send_window, [Spawn*] target_override, [string] &amp;quot;heal_name&amp;quot;, [int8] crit_mod, [int8] no_calcs)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Optional -  ''param1'' (float), ''param2'' (float), ''param3'' (int8), ''param4'' (Spawn), &amp;quot;heal_name&amp;quot; (string), crit_mod (int8), no_calcs [int8[&lt;br /&gt;
: ''param1'' percentage of max hp to heal the player&lt;br /&gt;
: ''param2'' percentage of max power to give the player&lt;br /&gt;
: ''param3'' set as 1 to send the choice window&lt;br /&gt;
: ''param4'' this overrides the spell's targets and only uses this spawn&lt;br /&gt;
: ''param5'' this is the name of the actual heal effect for the heal packet, if set&lt;br /&gt;
: ''param6'' set this to 1 to force crit, 2 to disable&lt;br /&gt;
: ''param7'' disables extra amount checks on the heals (potency, ability_mod, crit, ect)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    Resurrect(65, 50, 1)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When this spell is cast it will offer a resurrection to all dead targets, giving them 65% max health and 50% max power if accepted.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:LastSpellAttackHit&amp;diff=5190</id>
		<title>LUA:LastSpellAttackHit</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:LastSpellAttackHit&amp;diff=5190"/>
		<updated>2013-12-13T06:01:33Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: LastSpellAttackHit() = Checks to see if the last SpellDamage() call in the spellscript hit successfully.   ==== Syntax ==== LastSpellAttackHit()   ==== Parameter...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: LastSpellAttackHit() =&lt;br /&gt;
Checks to see if the last SpellDamage() call in the spellscript hit successfully.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
LastSpellAttackHit()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    if LastSpellAttackHit() then&lt;br /&gt;
        Say(Caster, &amp;quot;last spelldamage successful&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the last spelldamage call in this spellscript hit successfully, the player will say, &amp;quot;last spelldamage successful&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:IsHeroic&amp;diff=5189</id>
		<title>LUA:IsHeroic</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:IsHeroic&amp;diff=5189"/>
		<updated>2013-12-13T03:32:05Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: Created page with &amp;quot;= LUA Functions: IsHeroic() = Returns a true/false if a spawn is heroic.  ==== Syntax ==== IsHeroic(param1)   ==== Parameters ==== ; Required - ''param1'' (Spawn) : ''param1'' is...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: IsHeroic() =&lt;br /&gt;
Returns a true/false if a spawn is heroic.&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
IsHeroic(param1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn)&lt;br /&gt;
: ''param1'' is the spawn to check&lt;br /&gt;
&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;
    if IsHeroic(Spawn) then&lt;br /&gt;
        Say(NPC, &amp;quot;I'm heroic!&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When this npc is hailed it will say, &amp;quot;I'm heroic!&amp;quot;, if it is indeed heroic.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:SpellHeal&amp;diff=5188</id>
		<title>LUA:SpellHeal</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SpellHeal&amp;diff=5188"/>
		<updated>2013-12-13T03:29:18Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will calculate heal amount and send a heal packet for the spellcast.&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SpellHeal([String] HealType, [int] MinHeal, [int] MaxHeal, [Spawn*] target, ([int] crit_mod), ([int] no_calcs))&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, HealType, MinHeal, MaxHeal)&lt;br /&gt;
    SpellHeal(HealType, MinHeal, MaxHeal)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The target param will force the use of that target, otherwise the server uses spell targets as normal. HealType is &amp;quot;Heal&amp;quot;, MinHeal is 14, MaxHeal is 16, so you would have a heal damage roll based on 14 and 16, apply amount mods such as potency ect, and then the target would receive that much health, followed by the heal amount popping up in-game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The list of useable HealTypes are &amp;quot;Heal&amp;quot;, &amp;quot;Power&amp;quot;, &amp;quot;Repair&amp;quot; (not yet implemented) and &amp;quot;Savagery&amp;quot; (also not yet implemented). If type cannot be determined the spell defaults to the type &amp;quot;Heal&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may optionally set the crit_mod param, setting this to 1 forces a crit, setting to 2 disables crit, leaving it as 0 has crit roll as normal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Optionally you may also set no_calcs to 1, which will disable all heal amount calculations (you still get the base damage roll if both MinHeal and MaxHeal are used).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''This will only work when called with an lua spell.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellFunctions|Back to LUA Spell Functions Index]]&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:SpellHeal&amp;diff=5187</id>
		<title>LUA:SpellHeal</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SpellHeal&amp;diff=5187"/>
		<updated>2013-12-13T03:28:16Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* Syntax */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This function will calculate heal amount and send a heal packet for the spellcast.&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SpellHeal([String] HealType, [int] MinHeal, [int] MaxHeal, [Spawn*] target, ([int] crit_mod), ([int] no_calcs))&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target, HealType, MinHeal, MaxHeal)&lt;br /&gt;
    SpellHeal(Target, HealType, MinHeal, MaxHeal)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for Target is the target of the spell, HealType is &amp;quot;Heal&amp;quot;, MinHeal is 14, MaxHeal is 16, so you would have a heal damage roll based on 14 and 16, apply amount mods such as potency ect, and then the target would receive that much health, followed by the heal amount popping up in-game.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The list of useable HealTypes are &amp;quot;Heal&amp;quot;, &amp;quot;Power&amp;quot;, &amp;quot;Repair&amp;quot; (not yet implemented) and &amp;quot;Savagery&amp;quot; (also not yet implemented). If type cannot be determined the spell defaults to the type &amp;quot;Heal&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may optionally set the crit_mod param, setting this to 1 forces a crit, setting to 2 disables crit, leaving it as 0 has crit roll as normal.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Optionally you may also set no_calcs to 1, which will disable all heal amount calculations (you still get the base damage roll if both MinHeal and MaxHeal are used).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''This will only work when called with an lua spell.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellFunctions|Back to LUA Spell Functions Index]]&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AllFunctions&amp;diff=5186</id>
		<title>LUA:AllFunctions</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AllFunctions&amp;diff=5186"/>
		<updated>2013-12-13T03:27:22Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* EQ2Emulator: All LUA Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= EQ2Emulator: All LUA Functions =&lt;br /&gt;
This is a list of all the LUA functions currently in EQ2Emu.&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddControlEffect|AddControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddConversationOption|AddConversationOption()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddHate|AddHate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddLootCoin|AddLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddLootItem|AddLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddOptionWindowOption|AddOptionWindowOption()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddPrimaryEntityCommand|AddPrimaryEntityCommand()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqClass|AddQuestPrereqClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqFaction|AddQuestPrereqFaction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqItem|AddQuestPrereqItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqModelType|AddQuestPrereqModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqQuest|AddQuestPrereqQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqRace|AddQuestPrereqRace()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqTradeskillClass|AddQuestPrereqTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqTradeskillLevel|AddQuestPrereqTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardCoin|AddQuestRewardCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardFaction|AddQuestRewardFaction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardItem|AddQuestRewardItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestSelectableRewardItem|AddQuestSelectableRewardItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStep|AddQuestStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepChat|AddQuestStepChat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepCompleteAction|AddQuestStepCompleteAction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepProgressAction|AddQuestStepProgressAction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepKill|AddQuestStepKill()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepLocation|AddQuestStepLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepObtainItem|AddQuestStepObtainItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepSpell|AddQuestStepSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepCraft|AddQuestStepCraft()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepHarvest|AddQuestStepHarvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSkillBonus|AddSkillBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnAccess|AddSpawnAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellBonus|AddSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellBookEntry|AddSpellBookEntry()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddStepProgress|AddStepProgress()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddTimer|AddTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ApplySpellVisual|ApplySpellVisual()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Attack|Attack()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Bind|Bind()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CastEntityCommand|CastEntityCommand()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CastSpell|CastSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Charm|Charm()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CloseConversation|CloseConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CreateOptionWindow|CreateOptionWindow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CloseItemConversation|CloseItemConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CreateConversation|CreateConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Despawn|Despawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:DismissPet|DismissPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Emote|Emote()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:FaceTarget|FaceTarget()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:Gate|Gate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetAgi|GetAgi()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetAgiBase|GetAgiBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCharmedPet|GetCharmedPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetClass|GetClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetClassName|GetClassName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetArchetypeName|GetArchetypeName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCoinMessage|GetCoinMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCosmeticPet|GetCosmeticPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCurrentZoneSafeLocation|GetCurrentZoneSafeLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetDeityPet|GetDeityPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetDistance|GetDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFactionAmount|GetFactionAmount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFollowTarget|GetFollowTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetGender|GetGender()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetGroup|GetGroup()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHeading|GetHeading()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHP|GetHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetInt|GetInt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetIntBase|GetIntBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetLevel|GetLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetLootCoin|GetLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxHP|GetMaxHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxHPBase|GetMaxHPBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxPower|GetMaxPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxPowerBase|GetMaxPowerBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetModelType|GetModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMount|GetMount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetName|GetName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetPet|GetPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetPower|GetPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetQuest|GetQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetQuestStep|GetQuestStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRace|GetRace()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRaceName|GetRaceName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawn|GetSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnByGroupID|GetSpawnByGroupID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnByLocationID|GetSpawnByLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnGroupID|GetSpawnGroupID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnID|GetSpawnID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnLocationID|GetSpawnLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnLocationPlacementID|GetSpawnLocationPlacementID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpeed|GetSpeed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSta|GetSta()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStaBase|GetStaBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStr|GetStr()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStrBase|GetStrBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTarget|GetTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTaskGroupStep|GetTaskGroupStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTempVariable|GetTempVariable()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillClass|GetTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillClassName|GetTradeskillClassName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillLevel|GetTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetVariableValue|GetVariableValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWis|GetWis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWisBase|GetWisBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetX|GetX()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetY|GetY()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZ|GetZ()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZone|GetZone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZoneID|GetZoneID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZoneName|GetZoneName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveLoot|GiveLoot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveQuestItem|GiveQuestItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveQuestReward|GiveQuestReward()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HandInCollections|HandInCollections()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Harvest|Harvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasCollectionsToHandIn|HasCollectionsToHandIn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasCompletedQuest|HasCompletedQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasFreeSlot|HasFreeSlot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasItem|HasItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasMoved|HasMoved()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasPendingLootItem|HasPendingLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasPendingLoot|HasPendingLoot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasQuest|HasQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasRecipeBook|HasRecipeBook()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsAlive|IsAlive()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsBindAllowed|IsBindAllowed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsFollowing|IsFollowing()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsGateAllowed|IsGateAllowed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsInCombat|IsInCombat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsPlayer|IsPlayer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:KillSpawn|KillSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:KillSpawnByDistance|KillSpawnByDistance()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:ModifyHP|ModifyHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ModifyPower|ModifyPower()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:MovementLoopAddLocation|MovementLoopAddLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:MoveToLocation|MoveToLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:OfferQuest|OfferQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayFlavor|PlayFlavor()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlaySound|PlaySound()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayVoice|PlayVoice()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProvidesQuest|ProvidesQuest()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:QuestIsComplete|QuestIsComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestReturnNPC|QuestReturnNPC()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestStepIsComplete|QuestStepIsComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RegisterQuest|RegisterQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveControlEffect|RemoveControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveItem|RemoveItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveLootItem|RemoveLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSkillBonus|RemoveSkillBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpawnAccess|RemoveSpawnAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpellBonus|RemoveSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Say|Say()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SayOOC|SayOOC()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendMessage|SendMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendOptionWindow|SendOptionWindow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendPopUpMessage|SendPopUpMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAdventureClass|SetAdventureClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAgi|SetAgi()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAgiBase|SetAgiBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetBrainTick|SetBrainTick()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetCompletedDescription|SetCompletedDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFollowTarget|SetFollowTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetHeading|SetHeading()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetHP|SetHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetInt|SetInt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetIntBase|SetIntBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLocationProximityFunction|SetLocationProximityFunction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLootCoin|SetLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLuaBrain|SetLuaBrain()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxHP|SetMaxHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxHPBase|SetMaxHPBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxPower|SetMaxPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxPowerBase|SetMaxPowerBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetModelType|SetModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMount|SetMount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMountColor|SetMountColor()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPlayerProximityFunction|SetPlayerProximityFunction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPosition|SetPosition()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPower|SetPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestCompleteAction|SetQuestCompleteAction()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestPrereqLevel|SetQuestPrereqLevel()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardComment|SetQuestRewardComment()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardExp|SetQuestRewardExp()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardStatus|SetQuestRewardStatus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetRequiredQuest|SetRequiredQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetServerControlFlag|SetServerControlFlag()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpeed|SetSpeed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpellList|SetSpellList()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSta|SetSta()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStaBase|SetStaBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStepComplete|SetStepComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStr|SetStr()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStrBase|SetStrBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTempVariable|SetTempVariable()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTradeskillClass|SetTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTradeskillLevel|SetTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetWis|SetWis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetWisBase|SetWisBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Shout|Shout()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnMob|SpawnMob()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnByLocationID|SpawnByLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnSet|SpawnSet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnSetByDistance|SpawnSetByDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellDamage|SpellDamage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellHeal|SpellHeal()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:StartConversation|StartConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:StartDialogConversation|StartDialogConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonCosmeticPet|SummonCosmeticPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonDeityPet|SummonDeityPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonDumbFirePet|SummonDumbFirePet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonItem|SummonItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonPet|SummonPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ToggleFollow|ToggleFollow()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:ToggleTracking|ToggleTracking()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestDescription|UpdateQuestDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestStepDescription|UpdateQuestStepDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestTaskGroupDescription|UpdateQuestTaskGroupDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestZone|UpdateQuestZone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UseWidget|UseWidget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Zone|Zone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEquippedItemBySlot|GetEquippedItemBySlot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEquippedItemByID|GetEquippedItemByID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemByID|GetItemByID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Stealth|Stealth()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsInvis|IsInvis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsStealthed|IsStealthed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayAnimation|PlayAnimation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTarget|SetTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsPet|IsPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetOwner|GetOwner()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetInCombat|SetInCombat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CompareSpawns|CompareSpawns()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Runback|Runback()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRunbackDistance|GetRunbackDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsCasting|IsCasting()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsMezzed|IsMezzed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsStunned|IsStunned()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsMezzedOrStunned|IsMezzedOrStunned()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ClearEncounter|ClearEncounter()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ClearHate|ClearHate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMostHated|GetMostHated()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEncounterSize|GetEncounterSize()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasRecovered|HasRecovered()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcessMelee|ProcessMelee()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcessSpell|ProcessSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEncounter|GetEncounter()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHateList|GetHateList()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasGroup|HasGroup()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddWard|AddWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddToWard|AddToWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveWard|RemoveWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Interrupt|Interrupt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasSpellEffect|HasSpellEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetCompleteFlag|SetCompleteFlag()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestYellow|SetQuestYellow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnIDAccess|AddSpawnIDAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpawnIDAccess|RemoveSpawnIDAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CanReceiveQuest|CanReceiveQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSuccessTimer|SetSuccessTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFailureTimer|SetFailureTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsGroundSpawn|IsGroundSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CanHarvest|CanHarvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnMove|SpawnMove()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillValue|GetSkillValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillMaxValue|GetSkillMaxValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillName|GetSkillName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSkillMaxValue|SetSkillMaxValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSkillValue|SetSkillValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkill|GetSkill()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddTransportSpawn|AddTransportSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemType|GetItemType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddProc|AddProc()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveProc|RemoveProc()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Knockback|Knockback()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsEpic|IsEpic()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcDamage|ProcDamage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:BreathUnderwater|BreathUnderwater()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:BlurVision|BlurVision()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetVision|SetVision()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsHeroic|IsHeroic()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:LastSpellAttackHit|LastSpellAttackHit()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Resurrect|Resurrect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemCount|GetItemCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetItemCount|SetItemCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemSkillReq|GetItemSkillReq()]]&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:AllFunctions&amp;diff=5185</id>
		<title>LUA:AllFunctions</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:AllFunctions&amp;diff=5185"/>
		<updated>2013-12-13T03:27:09Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: /* EQ2Emulator: All LUA Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= EQ2Emulator: All LUA Functions =&lt;br /&gt;
This is a list of all the LUA functions currently in EQ2Emu.&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddControlEffect|AddControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddConversationOption|AddConversationOption()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddHate|AddHate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddLootCoin|AddLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddLootItem|AddLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddOptionWindowOption|AddOptionWindowOption()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddPrimaryEntityCommand|AddPrimaryEntityCommand()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqClass|AddQuestPrereqClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqFaction|AddQuestPrereqFaction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqItem|AddQuestPrereqItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqModelType|AddQuestPrereqModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqQuest|AddQuestPrereqQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqRace|AddQuestPrereqRace()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqTradeskillClass|AddQuestPrereqTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestPrereqTradeskillLevel|AddQuestPrereqTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardCoin|AddQuestRewardCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardFaction|AddQuestRewardFaction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestRewardItem|AddQuestRewardItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestSelectableRewardItem|AddQuestSelectableRewardItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStep|AddQuestStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepChat|AddQuestStepChat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepCompleteAction|AddQuestStepCompleteAction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepProgressAction|AddQuestStepProgressAction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepKill|AddQuestStepKill()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepLocation|AddQuestStepLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepObtainItem|AddQuestStepObtainItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepSpell|AddQuestStepSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepCraft|AddQuestStepCraft()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddQuestStepHarvest|AddQuestStepHarvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSkillBonus|AddSkillBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnAccess|AddSpawnAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellBonus|AddSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpellBookEntry|AddSpellBookEntry()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddStepProgress|AddStepProgress()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddTimer|AddTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ApplySpellVisual|ApplySpellVisual()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Attack|Attack()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Bind|Bind()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CastEntityCommand|CastEntityCommand()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CastSpell|CastSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Charm|Charm()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CloseConversation|CloseConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CreateOptionWindow|CreateOptionWindow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CloseItemConversation|CloseItemConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CreateConversation|CreateConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Despawn|Despawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:DismissPet|DismissPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Emote|Emote()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:FaceTarget|FaceTarget()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:Gate|Gate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetAgi|GetAgi()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetAgiBase|GetAgiBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCharmedPet|GetCharmedPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetClass|GetClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetClassName|GetClassName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetArchetypeName|GetArchetypeName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCoinMessage|GetCoinMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCosmeticPet|GetCosmeticPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetCurrentZoneSafeLocation|GetCurrentZoneSafeLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetDeityPet|GetDeityPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetDistance|GetDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFactionAmount|GetFactionAmount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetFollowTarget|GetFollowTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetGender|GetGender()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetGroup|GetGroup()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHeading|GetHeading()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHP|GetHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetInt|GetInt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetIntBase|GetIntBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetLevel|GetLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetLootCoin|GetLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxHP|GetMaxHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxHPBase|GetMaxHPBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxPower|GetMaxPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMaxPowerBase|GetMaxPowerBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetModelType|GetModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMount|GetMount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetName|GetName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetPet|GetPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetPower|GetPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetQuest|GetQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetQuestStep|GetQuestStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRace|GetRace()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRaceName|GetRaceName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawn|GetSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnByGroupID|GetSpawnByGroupID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnByLocationID|GetSpawnByLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnGroupID|GetSpawnGroupID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnID|GetSpawnID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnLocationID|GetSpawnLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpawnLocationPlacementID|GetSpawnLocationPlacementID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSpeed|GetSpeed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSta|GetSta()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStaBase|GetStaBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStr|GetStr()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetStrBase|GetStrBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTarget|GetTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTaskGroupStep|GetTaskGroupStep()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTempVariable|GetTempVariable()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillClass|GetTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillClassName|GetTradeskillClassName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetTradeskillLevel|GetTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetVariableValue|GetVariableValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWis|GetWis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetWisBase|GetWisBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetX|GetX()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetY|GetY()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZ|GetZ()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZone|GetZone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZoneID|GetZoneID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetZoneName|GetZoneName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveLoot|GiveLoot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveQuestItem|GiveQuestItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GiveQuestReward|GiveQuestReward()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HandInCollections|HandInCollections()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Harvest|Harvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasCollectionsToHandIn|HasCollectionsToHandIn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasCompletedQuest|HasCompletedQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasFreeSlot|HasFreeSlot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasItem|HasItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasMoved|HasMoved()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasPendingLootItem|HasPendingLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasPendingLoot|HasPendingLoot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasQuest|HasQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasRecipeBook|HasRecipeBook()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsAlive|IsAlive()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsBindAllowed|IsBindAllowed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsFollowing|IsFollowing()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsGateAllowed|IsGateAllowed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsInCombat|IsInCombat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsPlayer|IsPlayer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:KillSpawn|KillSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:KillSpawnByDistance|KillSpawnByDistance()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:ModifyHP|ModifyHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ModifyPower|ModifyPower()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:MovementLoopAddLocation|MovementLoopAddLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:MoveToLocation|MoveToLocation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:OfferQuest|OfferQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayFlavor|PlayFlavor()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlaySound|PlaySound()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayVoice|PlayVoice()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProvidesQuest|ProvidesQuest()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:QuestIsComplete|QuestIsComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestReturnNPC|QuestReturnNPC()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:QuestStepIsComplete|QuestStepIsComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RegisterQuest|RegisterQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveControlEffect|RemoveControlEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveItem|RemoveItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveLootItem|RemoveLootItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSkillBonus|RemoveSkillBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpawnAccess|RemoveSpawnAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpellBonus|RemoveSpellBonus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Say|Say()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SayOOC|SayOOC()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendMessage|SendMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendOptionWindow|SendOptionWindow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SendPopUpMessage|SendPopUpMessage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAdventureClass|SetAdventureClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAgi|SetAgi()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetAgiBase|SetAgiBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetBrainTick|SetBrainTick()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetCompletedDescription|SetCompletedDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFollowTarget|SetFollowTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetHeading|SetHeading()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetHP|SetHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetInt|SetInt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetIntBase|SetIntBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLocationProximityFunction|SetLocationProximityFunction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLootCoin|SetLootCoin()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetLuaBrain|SetLuaBrain()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxHP|SetMaxHP()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxHPBase|SetMaxHPBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxPower|SetMaxPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMaxPowerBase|SetMaxPowerBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetModelType|SetModelType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMount|SetMount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetMountColor|SetMountColor()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPlayerProximityFunction|SetPlayerProximityFunction()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPosition|SetPosition()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetPower|SetPower()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestCompleteAction|SetQuestCompleteAction()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestPrereqLevel|SetQuestPrereqLevel()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardComment|SetQuestRewardComment()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardExp|SetQuestRewardExp()]]	&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestRewardStatus|SetQuestRewardStatus()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetRequiredQuest|SetRequiredQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetServerControlFlag|SetServerControlFlag()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpeed|SetSpeed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSpellList|SetSpellList()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSta|SetSta()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStaBase|SetStaBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStepComplete|SetStepComplete()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStr|SetStr()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetStrBase|SetStrBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTempVariable|SetTempVariable()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTradeskillClass|SetTradeskillClass()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTradeskillLevel|SetTradeskillLevel()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetWis|SetWis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetWisBase|SetWisBase()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Shout|Shout()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnMob|SpawnMob()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnByLocationID|SpawnByLocationID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnSet|SpawnSet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnSetByDistance|SpawnSetByDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellDamage|SpellDamage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpellHeal|SpellHeal()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:StartConversation|StartConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:StartDialogConversation|StartDialogConversation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonCosmeticPet|SummonCosmeticPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonDeityPet|SummonDeityPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonDumbFirePet|SummonDumbFirePet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonItem|SummonItem()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SummonPet|SummonPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ToggleFollow|ToggleFollow()]]&lt;br /&gt;
	&lt;br /&gt;
[[LUA:ToggleTracking|ToggleTracking()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestDescription|UpdateQuestDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestStepDescription|UpdateQuestStepDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestTaskGroupDescription|UpdateQuestTaskGroupDescription()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UpdateQuestZone|UpdateQuestZone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:UseWidget|UseWidget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Zone|Zone()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEquippedItemBySlot|GetEquippedItemBySlot()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEquippedItemByID|GetEquippedItemByID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemByID|GetItemByID()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Stealth|Stealth()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsInvis|IsInvis()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsStealthed|IsStealthed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:PlayAnimation|PlayAnimation()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetTarget|SetTarget()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsPet|IsPet()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetOwner|GetOwner()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetInCombat|SetInCombat()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CompareSpawns|CompareSpawns()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Runback|Runback()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetRunbackDistance|GetRunbackDistance()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsCasting|IsCasting()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsMezzed|IsMezzed()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsStunned|IsStunned()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsMezzedOrStunned|IsMezzedOrStunned()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ClearEncounter|ClearEncounter()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ClearHate|ClearHate()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetMostHated|GetMostHated()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEncounterSize|GetEncounterSize()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasRecovered|HasRecovered()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcessMelee|ProcessMelee()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcessSpell|ProcessSpell()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetEncounter|GetEncounter()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetHateList|GetHateList()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasGroup|HasGroup()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddWard|AddWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddToWard|AddToWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveWard|RemoveWard()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Interrupt|Interrupt()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:HasSpellEffect|HasSpellEffect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetCompleteFlag|SetCompleteFlag()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetQuestYellow|SetQuestYellow()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddSpawnIDAccess|AddSpawnIDAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveSpawnIDAccess|RemoveSpawnIDAccess()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CanReceiveQuest|CanReceiveQuest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSuccessTimer|SetSuccessTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetFailureTimer|SetFailureTimer()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsGroundSpawn|IsGroundSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:CanHarvest|CanHarvest()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SpawnMove|SpawnMove()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillValue|GetSkillValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillMaxValue|GetSkillMaxValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkillName|GetSkillName()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSkillMaxValue|SetSkillMaxValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetSkillValue|SetSkillValue()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetSkill|GetSkill()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddTransportSpawn|AddTransportSpawn()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemType|GetItemType()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:AddProc|AddProc()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:RemoveProc|RemoveProc()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Knockback|Knockback()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsEpic|IsEpic()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:ProcDamage|ProcDamage()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:BreathUnderwater|BreathUnderwater()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:BlurVision|BlurVision()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetVision|SetVision()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:IsHeroic|IsHeroic()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:LastSpellAttackHit||LastSpellAttackHit()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:Resurrect|Resurrect()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemCount|GetItemCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:SetItemCount|SetItemCount()]]&lt;br /&gt;
&lt;br /&gt;
[[LUA:GetItemSkillReq|GetItemSkillReq()]]&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:SpellDamage&amp;diff=5176</id>
		<title>LUA:SpellDamage</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SpellDamage&amp;diff=5176"/>
		<updated>2013-12-07T20:51:05Z</updated>

		<summary type="html">&lt;p&gt;Thefoof: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= LUA Functions: SpellDamage() =&lt;br /&gt;
Does damage to the given spawn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SpellDamage(param1, param2, param3, param4, param5, param6)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn), ''param2'' (sint32), ''param3'' (int32), ''param4'' (int32)&lt;br /&gt;
: ''param1'' is the spawn to take damage&lt;br /&gt;
: ''param2'' is the type of damage to do&lt;br /&gt;
: ''param3'' is the minimum damage&lt;br /&gt;
: ''param4'' is the maximum damage&lt;br /&gt;
; Optional - ''param5'' (int32), ''param6'' (int32)&lt;br /&gt;
: ''param5'' is crit_mod&lt;br /&gt;
: ''param6'' is no_calcs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function cast(Caster, Target)&lt;br /&gt;
    SpellDamage(Target, 5, 123, 456)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When this spell is cast it will do 123 to 456 magic damage to the target&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
If used in a spell script it will attempt to use the spells targets to do the damage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Damage types:&lt;br /&gt;
&lt;br /&gt;
0 Slash&lt;br /&gt;
&lt;br /&gt;
1 Crush&lt;br /&gt;
&lt;br /&gt;
2 Pierce&lt;br /&gt;
&lt;br /&gt;
3 Heat&lt;br /&gt;
&lt;br /&gt;
4 Cold&lt;br /&gt;
&lt;br /&gt;
5 Magic&lt;br /&gt;
&lt;br /&gt;
6 Mental&lt;br /&gt;
&lt;br /&gt;
7 Divine&lt;br /&gt;
&lt;br /&gt;
8 Disease&lt;br /&gt;
&lt;br /&gt;
9 Poison&lt;br /&gt;
&lt;br /&gt;
10 Drown&lt;br /&gt;
&lt;br /&gt;
11 Falling&lt;br /&gt;
&lt;br /&gt;
12 Pain&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''The crit mod value may be used optionally, if set to 1 this forces the spell to crit, set to 2 and this disables crit, left as 0 the spell will roll crit as normal. The no_calcs param if set to 1 will disable all damage calculations (you still get the base roll if both MinDamage and MaxDamage are set).'''&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
</feed>