DE:Lua

From ArcEmu-Wiki
(Difference between revisions)
Jump to: navigation, search
 
(12 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{LanguageLinks|Lua|DE}}
 
{{LanguageLinks|Lua|DE}}
 
 
__NOTOC__
 
__NOTOC__
<div style="border:0; margin: 0.2em 10px 10px;">
+
{{Note|Bitte sei sicher die richtige Lua Dokumentation zu wählen. Benutze die '''ArcEmu Lua Engine''' Dokumentation, wenn du die ''LuaEngine.dll'' benutzt oder die '''LuaBridge''' Dokumentation, wenn du ''luabridge.dll'' benutzt. Überprüfe das Verzeichnis ''modules'', wenn du unsicher bist, welche Engine du einsetzt.}}
<div style="background:#f9f9f9; padding:0px; border:1px solid #aaaaaa; margin-bottom:5px;">
+
<div style="line-height:900%; padding:0.4em; background-color:#bbd2ff; border-bottom:1px solid #aaaaaa;">
+
&nbsp;'''Allgemeines zu Lua'''
+
</div>
+
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
+
'''Lua''' ist ein vielseitige Programmiersprache mit einer einfachen Syntax. Einige Leute behaupten Lua sei eine Interpreter Sprache. Dies ist jedoch falsch, da Lua die Scripte beim Laden kompiliert. Weil Lua leicht in Applikationen integriert werden kann, wird es öfters in Spielesoftware wie World of Warcraft, Far Cry, Baldur's Gate, Garry's Mod oder Warhammer verwendet.
+
 
+
Für weitere Information siehe auf der offiziellen Website von '''[http://www.lua.org/ Lua]''' nach.
+
 
+
<b>Bitte sei sicher die richtige Lua Sektion zu wählen. Benutze die ArcEmu Lua Engine Sektion, wenn du die ''LuaEngine.dll'' benutzt oder die LuaBridge Sektion, wenn du ''luabridge.dll'' benutzt. Überprüfe das Verzeichnis ''modules'', wenn du unsicher bist, welche Engine du einsetzt.</b>
+
</div>
+
</div>
+
</div>
+
 
{| style="border:0; margin: 0;" width="100%" cellspacing="10"
 
{| style="border:0; margin: 0;" width="100%" cellspacing="10"
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
Line 21: Line 7:
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
{| style="border: 0; margin: 0;" cellpadding="3"
 
{| style="border: 0; margin: 0;" cellpadding="3"
| valign="top" |  
+
| valign="top" |  
 +
*[[DE:Lua_General|Allgemeines zu Lua / Glossar]] 
 
'''Externe Seiten zu Lua'''
 
'''Externe Seiten zu Lua'''
*[http://www.lua.org/pil/ Programmierung in Lua]
+
*[http://lua.gts-stolberg.de/index.php Lua für Anfänger (deutsch)]
*[http://www.lua.org/manual/5.1/ Lua Referenz Manual]
+
*[http://www.lua.org/pil/ Programmierung in Lua (engl.)]
 +
*[http://www.lua.org/manual/5.1/ Lua Referenz Manual (engl.)]
 
*[http://lua-users.org/wiki/LuaFaq Lua FAQ]
 
*[http://lua-users.org/wiki/LuaFaq Lua FAQ]
 
*[http://wow-v.com/forums/index.php?topic=7913.0 Verschiedene Anleitungen]
 
*[http://wow-v.com/forums/index.php?topic=7913.0 Verschiedene Anleitungen]
*[http://www.wowwiki.com/Lua_editors Liste von Lua Editoren/IDEs]
+
*[[DE:Lua_editor|Lua Editor]]
 
'''Seiten im ArcEmu Forum'''
 
'''Seiten im ArcEmu Forum'''
 
*[http://arcemu.org/forums/index.php?showforum=187 ArcEmu Forum für Skripte]
 
*[http://arcemu.org/forums/index.php?showforum=187 ArcEmu Forum für Skripte]
Line 35: Line 23:
 
</div>
 
</div>
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
<div style="font-size: 105%; padding:0.4em; background-color:#bbd2ff; border-bottom:1px solid #aaaaaa; text-align: center;">'''''ALE Arcemu Lua Engine'' Dokumentation'''</div>
+
<div style="font-size: 105%; padding:0.4em; background-color:#ddd2ff; border-bottom:1px solid #aaaaaa; text-align: center;">'''''ALE Arcemu Lua Engine'' Dokumentation'''</div>
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
{| style="border: 0; margin: 0;" cellpadding="3"
 
{| style="border: 0; margin: 0;" cellpadding="3"
Line 41: Line 29:
 
'''ArcEmu Lua Engine ist die Standard Lua Engine.'''<br />
 
'''ArcEmu Lua Engine ist die Standard Lua Engine.'''<br />
 
ALE ('''A'''rcEmu '''L'''ua '''E'''ngine ) war früher auch bekannt als ''LuaHypArc''.
 
ALE ('''A'''rcEmu '''L'''ua '''E'''ngine ) war früher auch bekannt als ''LuaHypArc''.
* [[List of All Events|Liste aller Events]]
+
 
* [[GameObject_Methods|GameObject_Methods]]
+
'''Methoden'''
* [[Unit_Commands|Unit Methods]]
+
* [[Aura_Commands|Aura]]
* [[Spell_Methods|Spell Methods]]
+
* [[GameObject_Methods|GameObject]]
* [[Aura_Commands|Aura Methods]]
+
* [[Global_Functions|Global]]
* [[Global_Functions|Global Methods]]
+
* [[List of All Events|Register Events and Server Hooks]]
* [[List_of_All_Events#Server_Hooks|Server Hooks]]
+
* [[Spell_Methods|Spell]]
 +
* [[Unit_Commands|Unit]]
 +
 
 +
'''Konstanten'''
 +
* [[Emote|Emotes]]
 
|}
 
|}
 
</div>
 
</div>
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
<div style="font-size: 105%; padding:0.4em; background-color:#bbd2ff; border-bottom:1px solid #aaaaaa; text-align: center;">'''''LuaBridge'' Dokumentation'''</div>
+
<div style="font-size: 105%; padding:0.4em; background-color:#ffd2ff; border-bottom:1px solid #aaaaaa; text-align: center;">'''''LuaBridge'' Dokumentation'''</div>
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
{| style="border: 0; margin: 0;" cellpadding="3"
 
{| style="border: 0; margin: 0;" cellpadding="3"
 
| valign="top" |
 
| valign="top" |
'''LuaBridge ist eine neuere Lua Engine'''
+
'''LuaBridge ist eine alternative Lua Engine'''
 
* [[LuaBridge_Information|Information über LuaBridge]]
 
* [[LuaBridge_Information|Information über LuaBridge]]
 
* [[LuaBridge_Methods|LuaBridge Methoden]]
 
* [[LuaBridge_Methods|LuaBridge Methoden]]
 
* [[LuaBridge_Object_Properties|Eigenschaften der LuaBridge Objekte]]
 
* [[LuaBridge_Object_Properties|Eigenschaften der LuaBridge Objekte]]
 
* [[LuaBridge_Snippits|LuaBridge Code Snippits]]
 
* [[LuaBridge_Snippits|LuaBridge Code Snippits]]
* [[LuaBridge_Differences|LuaBridge: Differences between LuaBridge and ALE - how things work now]]
+
* [[LuaBridge_Differences|LuaBridge: Unterschiede zwischen LuaBridge und ALE]]
* [[LuaBridge_Tutorials|Luabridge Tutorials(demonstrating the new syntax of luabridge compared to the old lua engine. Useful for re-writing old scripts)]]
+
* [[LuaBridge_Tutorials|LuaBridge Tutorials(demonstrating the new syntax of luabridge compared to the old lua engine. Useful for re-writing old scripts)]]
* [http://arcemu.org/forums/index.php?showtopic=24786 Another LuaBridge basics tutorial]
+
* [http://arcemu.org/forums/index.php?showtopic=24786 Weitere LuaBridge Basis Tutorials]
 
* [[LuaBridge_Compatibility|Backwards Compatibility Listing]]
 
* [[LuaBridge_Compatibility|Backwards Compatibility Listing]]
 
|}</div>
 
|}</div>
Line 74: Line 66:
 
| valign="top" |   
 
| valign="top" |   
 
* [[Lua Sample Scripts|Beispiel Scripts]]
 
* [[Lua Sample Scripts|Beispiel Scripts]]
* [[Adding Color to your Words|Adding Color to your Text]]
+
* [[Adding Color to your Words|Farbige Ausgabetexte erzeugen]]
 
* [http://arcemu.org/forums/index.php?showtopic=21127 A must when scripting anything accessed by multiple players/groups]
 
* [http://arcemu.org/forums/index.php?showtopic=21127 A must when scripting anything accessed by multiple players/groups]
* [http://fmeus.wordpress.com/2009/01/19/optimizing-memory-usage-in-lua/ Optimize Memory Usage in Lua]
+
* [http://lua-users.org/wiki/OptimisationTips Tipps zum Optimieren von Lua Code]
* [http://lua-users.org/wiki/OptimisationTips Optimization tips]
+
* [http://fmeus.wordpress.com/2009/01/19/optimizing-memory-usage-in-lua/ Optimiere Speicherbedarf in Lua]
* [http://lua-users.org/wiki/OptimisingUsingLocalVariables Golden ArcEmu Lua rule]
+
 
 +
 
 
|}
 
|}
 
</div>
 
</div>
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
<div style="font-size: 105%; padding:0.4em; background-color:#bbd2ff; border-bottom:1px solid #aaaaaa; text-align: center;">'''leer'''</div>
+
<div style="font-size: 105%; padding:0.4em; background-color:#bbd2ff; border-bottom:1px solid #aaaaaa; text-align: center;">'''.'''</div>
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
{| style="border: 0; margin: 0;" cellpadding="3"
 
{| style="border: 0; margin: 0;" cellpadding="3"
 
| valign="top" |  
 
| valign="top" |  
  
* leer
 
 
|}
 
|}
 
</div>
 
</div>
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
 
| valign="top" style="padding:0; border:1px solid #aaaaaa; margin-bottom:5px;" width="33.33%" |
<div style="font-size: 105%; padding:0.4em; background-color:#bbd2ff; border-bottom:1px solid #aaaaaa; text-align: center;">'''Glossar'''</div>
+
<div style="font-size: 105%; padding:0.4em; background-color:#bbd2ff; border-bottom:1px solid #aaaaaa; text-align: center;">'''.'''</div>
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
<div style="background:#ffffff; padding:0.2em 0.4em 0.2em 0.4em;">
 
{| style="border: 0; margin: 0;" cellpadding="3"
 
{| style="border: 0; margin: 0;" cellpadding="3"
 
| valign="top" |
 
| valign="top" |
Innerhalb dieser Wiki Seiten sind folgende Ausdrücke gebräuchlich:
 
 
'''Unit''': A Creature or Player.<br />
 
'''Creature''': A Mob[ile] Unit. Also known as an NPC ('''[http://en.wikipedia.org/wiki/Non-player_character Non-Player Character]''')<br />
 
'''Gossip''': Menus that allow you to interact with the Player.<br />
 
'''Phase''': [[Phasing|A unique instance of the Game World.]]<br />
 
'''Method''': Also commonly known as a '''Function''' or '''Command'''. This is the correct word for it - Method adopts a more Object-Orientated view on Lua, which is what we want.<br />
 
'''Function''': A block of code in Lua.<br />
 
'''Command''': Usually assumed to be any Lua Method, it is incorrect terminology. It is not a command.<br />
 
'''Statement''': A piece of code that performs a single action.<br />
 
'''Expression''': A statement that evaluates true or false.<br />
 
  
 
|}</div>
 
|}</div>

Latest revision as of 07:07, 14 April 2012

+/-
Hauptseite                   Other languages:   English  •   German   •   FrenchArcEmu Website     ArcEmu Forum     Forum Support Deutsch     Bug Tracker


Ico info.png Bitte sei sicher die richtige Lua Dokumentation zu wählen. Benutze die ArcEmu Lua Engine Dokumentation, wenn du die LuaEngine.dll benutzt oder die LuaBridge Dokumentation, wenn du luabridge.dll benutzt. Überprüfe das Verzeichnis modules, wenn du unsicher bist, welche Engine du einsetzt.


Allgemeine Lua Resourcen
ALE Arcemu Lua Engine Dokumentation

ArcEmu Lua Engine ist die Standard Lua Engine.
ALE (ArcEmu Lua Engine ) war früher auch bekannt als LuaHypArc.

Methoden

Konstanten

LuaBridge Dokumentation
Tutorials / Beispielskripts
.
.


Personal tools