[GuaEngine] New Custom Lua Engine menu

User Tag List

Page 11 of 11 FirstFirst ... 7891011
Results 151 to 159 of 159
  1. #151
    AshanĂ­ta's Avatar Member
    Reputation
    19
    Join Date
    Mar 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Icerobert Almas de Hielo View Post
    Hi mr gastric, sorry than i bother you but this is important to men and i cant send you a pm to tell you my idea.

    well in this minute im changing my emu from arcemu to mangos (mangos has superior stability and a lot of things more) but it hasnt lua or gua, and i need to ask you if you can adapt or repair this outdated vertion of lua for mangos and convert it to Gua (your gua saved my life a lot of times xD).

    svn: mangos-luascript - Revision 97: /trunk

    Sorry my bad english but plz help men.

    atte

    Icerobert Almas de Hielo
    Chile
    does this work already on mangos? oO

    sry for offtopic

    [GuaEngine] New Custom Lua Engine
  2. #152
    Icerobert Almas de Hielo's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes it exist for mangos but its a little bit outdated because the mangos developers dont love lua, well the gua that i needits not for thje devs, its for the people that want to change to mangos and need to recycle their luas =P

  3. #153
    Icerobert Almas de Hielo's Avatar Member
    Reputation
    1
    Join Date
    May 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mg Gastric Can you Help me for Trinity2 Core ?

  4. #154
    Lytle69's Avatar Member
    Reputation
    13
    Join Date
    Aug 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I make a Fix for the Arcemu Branch in case people want to use it
    Works on the latest rev since the Current one is broken.
    Save this int onotepad as a .patch file as you should have tortoisesvn or something similar installed and apply this to the root folder.
    Code:
    Index: ArcEmu/GUAEngine/engine/GoFunctions.cpp
    ===================================================================
    --- ArcEmu/GUAEngine/engine/GoFunctions.cpp	(revision 46)
    +++ ArcEmu/GUAEngine/engine/GoFunctions.cpp	(working copy)
    @@ -512,8 +512,9 @@
     	uint32 sp = luaL_checkint(L,1);
     	if( !ptr || !sp|| sp == 0) return 0;
     	
    -	Spell * spp = new Spell();
    -	spp->Init(ptr,dbcSpell.LookupEntry(sp),true, NULL);
    +	Spell * spp = new Spell(ptr,dbcSpell.LookupEntry(sp),true, NULL);
    +	if (!spp)
    +		return 0;
     	SpellCastTargets tar(ptr->GetGUID());
     	spp->prepare(&tar);
     	return 0;
    @@ -524,8 +525,9 @@
     	uint32 sp = luaL_checkint(L,1);
     	if( !ptr || !sp|| sp == 0) return 0;
     	
    -	Spell * nspell = new Spell();
    -	nspell->Init(ptr,dbcSpell.LookupEntry(sp),false,NULL);
    +	Spell * nspell = new Spell(ptr,dbcSpell.LookupEntry(sp),false,NULL);
    +	if (!nspell)
    +		return 0;
     	SpellCastTargets tar(ptr->GetGUID());
     	nspell->prepare(&tar);
     	return 0;
    @@ -537,8 +539,9 @@
     	Unit * target = Lunar<Unit>::check(L,2);
     	if( !ptr || !sp || sp == 0) return 0;
     
    -	Spell * nspell = new Spell();
    -	nspell->Init(ptr,dbcSpell.LookupEntry(sp),true,NULL);
    +	Spell * nspell = new Spell(ptr,dbcSpell.LookupEntry(sp),true,NULL);
    +	if (nspell)
    +		return 0;
     	SpellCastTargets tar(target->GetGUID());
     	nspell->prepare(&tar);
     	return 0;
    @@ -549,8 +552,9 @@
     	uint32 sp = luaL_checkint(L,1);
     	Unit * target = Lunar<Unit>::check(L,2);
     	if( !ptr || !sp || sp == 0) return 0;
    -	Spell * nspell = new Spell();
    -	nspell->Init(ptr,dbcSpell.LookupEntry(sp),false,NULL);
    +	Spell * nspell = new Spell(ptr,dbcSpell.LookupEntry(sp),false,NULL);
    +	if (!nspell)
    +		return 0;
     	SpellCastTargets tar(target->GetGUID());
     	nspell->prepare(&tar);
     	return 0;
    Index: ArcEmu/GUAEngine/engine/GuaFunctions.cpp
    ===================================================================
    --- ArcEmu/GUAEngine/engine/GuaFunctions.cpp	(revision 46)
    +++ ArcEmu/GUAEngine/engine/GuaFunctions.cpp	(working copy)
    @@ -26,8 +26,9 @@
     			}
     			else
     			{
    -				Spell * sp = SpellPool.PooledNew();
    -				sp->Init(plr, info, true, 0);
    +				Spell * sp = new Spell(plr, info, true, 0);
    +				if (!sp)
    +					return 1;
     				SpellCastTargets targets(plr->GetGUID());
     				sp->prepare(&targets);
     			}

  5. #155
    P1raten's Avatar Banned
    Reputation
    500
    Join Date
    Mar 2008
    Posts
    1,323
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Lytle69 View Post
    I make a Fix for the Arcemu Branch in case people want to use it
    Works on the latest rev since the Current one is broken.
    Save this int onotepad as a .patch file as you should have tortoisesvn or something similar installed and apply this to the root folder.
    Code:
    Index: ArcEmu/GUAEngine/engine/GoFunctions.cpp
    ===================================================================
    --- ArcEmu/GUAEngine/engine/GoFunctions.cpp	(revision 46)
    +++ ArcEmu/GUAEngine/engine/GoFunctions.cpp	(working copy)
    @@ -512,8 +512,9 @@
     	uint32 sp = luaL_checkint(L,1);
     	if( !ptr || !sp|| sp == 0) return 0;
     	
    -	Spell * spp = new Spell();
    -	spp->Init(ptr,dbcSpell.LookupEntry(sp),true, NULL);
    +	Spell * spp = new Spell(ptr,dbcSpell.LookupEntry(sp),true, NULL);
    +	if (!spp)
    +		return 0;
     	SpellCastTargets tar(ptr->GetGUID());
     	spp->prepare(&tar);
     	return 0;
    @@ -524,8 +525,9 @@
     	uint32 sp = luaL_checkint(L,1);
     	if( !ptr || !sp|| sp == 0) return 0;
     	
    -	Spell * nspell = new Spell();
    -	nspell->Init(ptr,dbcSpell.LookupEntry(sp),false,NULL);
    +	Spell * nspell = new Spell(ptr,dbcSpell.LookupEntry(sp),false,NULL);
    +	if (!nspell)
    +		return 0;
     	SpellCastTargets tar(ptr->GetGUID());
     	nspell->prepare(&tar);
     	return 0;
    @@ -537,8 +539,9 @@
     	Unit * target = Lunar<Unit>::check(L,2);
     	if( !ptr || !sp || sp == 0) return 0;
     
    -	Spell * nspell = new Spell();
    -	nspell->Init(ptr,dbcSpell.LookupEntry(sp),true,NULL);
    +	Spell * nspell = new Spell(ptr,dbcSpell.LookupEntry(sp),true,NULL);
    +	if (nspell)
    +		return 0;
     	SpellCastTargets tar(target->GetGUID());
     	nspell->prepare(&tar);
     	return 0;
    @@ -549,8 +552,9 @@
     	uint32 sp = luaL_checkint(L,1);
     	Unit * target = Lunar<Unit>::check(L,2);
     	if( !ptr || !sp || sp == 0) return 0;
    -	Spell * nspell = new Spell();
    -	nspell->Init(ptr,dbcSpell.LookupEntry(sp),false,NULL);
    +	Spell * nspell = new Spell(ptr,dbcSpell.LookupEntry(sp),false,NULL);
    +	if (!nspell)
    +		return 0;
     	SpellCastTargets tar(target->GetGUID());
     	nspell->prepare(&tar);
     	return 0;
    Index: ArcEmu/GUAEngine/engine/GuaFunctions.cpp
    ===================================================================
    --- ArcEmu/GUAEngine/engine/GuaFunctions.cpp	(revision 46)
    +++ ArcEmu/GUAEngine/engine/GuaFunctions.cpp	(working copy)
    @@ -26,8 +26,9 @@
     			}
     			else
     			{
    -				Spell * sp = SpellPool.PooledNew();
    -				sp->Init(plr, info, true, 0);
    +				Spell * sp = new Spell(plr, info, true, 0);
    +				if (!sp)
    +					return 1;
     				SpellCastTargets targets(plr->GetGUID());
     				sp->prepare(&targets);
     			}
    Imo, deservers some rep.

  6. #156
    Lytle69's Avatar Member
    Reputation
    13
    Join Date
    Aug 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow thanks =]
    I just don't want this to die down and updates are prudent. Wait to long and after awhile the whole arcemu branch would need a huge over haul.

  7. #157
    Merlin12591's Avatar Member
    Reputation
    4
    Join Date
    May 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ~removed cause im stupid and didnt read...


    would like you to update the guaengine >.<

    thnx
    Last edited by Merlin12591; 09-23-2009 at 11:18 PM. Reason: me es stupid :P

  8. #158
    Lytle69's Avatar Member
    Reputation
    13
    Join Date
    Aug 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I thought the GUAengine was gonna get regular updates =[ Seem's it's another Bust.
    All it did was Copy Regular Function's from the Core anyway, nothing unique

  9. #159
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So what if some of them are mimics of core functions? Shouldn't a supported language have access to them regardless?

    Yeah but anyway, GuaEngine is coming to a close. I have some other releases for the community I'm working on that require full attention.

Page 11 of 11 FirstFirst ... 7891011

Similar Threads

  1. Custom LUA engine
    By flameworker in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 04-19-2009, 04:07 PM
  2. New Custom City with Screenshots
    By Banksey in forum World of Warcraft Emulator Servers
    Replies: 24
    Last Post: 12-22-2007, 07:37 PM
  3. [HELP] CANNOT ADD MY NEW CUSTOM ITEM {error log inside}
    By vak in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 09-28-2007, 07:21 AM
  4. Make custom search engines for Firefox
    By Marlo in forum Community Chat
    Replies: 1
    Last Post: 03-03-2007, 03:22 PM
  5. New Custom Model Swapping Fix (1.11 Working)
    By Matt in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 06-23-2006, 06:05 PM
All times are GMT -5. The time now is 05:02 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search