How to add scripts to database menu

User Tag List

Results 1 to 11 of 11
  1. #1
    Naxxar26's Avatar Banned
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to add scripts to database

    Hello,i look at the other thread(algalon the obeserverer script blizzlike) and there is script..i have copyed this but what now? where to add these scripts in db?please asnwer me how to add scripts...thx i give rep
    or i have to copy these scrypts to npc table?dnt know

    How to add scripts to database
  2. #2
    mag1212's Avatar Active Member
    Reputation
    55
    Join Date
    Aug 2009
    Posts
    352
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if its a lua script and ur using arcemu put it in ur scripts folder

  3. #3
    Naxxar26's Avatar Banned
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mag1212 View Post
    if its a lua script and ur using arcemu put it in ur scripts folder
    i got 2 folders named script :script and scripts_bin<----- in this folder is more scripts in DLL format...

    but i got text of the script..but what program i need to use to create new script DLL file?

  4. #4
    mag1212's Avatar Active Member
    Reputation
    55
    Join Date
    Aug 2009
    Posts
    352
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just put the script in ur script's folder

  5. #5
    Naxxar26's Avatar Banned
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok...look plz...in my script folder is these files :ServerStatusPlugin,LUAScripting,ExtraScripts,arcSpellHandlers,arcQuestScripts,a rcMiscScripts,arcInstanceScripts,arcGossipScripts,arcEventScripts.

    thats the all files in my script folder..to what file i need add the algalon the observerer script?

    but there is second problem...if i open the script file in DLL format....i see this:hC‹Mü‹U‹B‰A‹Mü‹U‹B‰A‹Mü‹U‹B ‰A ‹Mü‹U‹B‰A‹Mü‹U‹B‰A‹Mü‹U‹B‰A‹Eü‹ĺ] ĚĚĚĚĚĚĚĚĚĚĚĚĚĚĚU‹ěQ‰Mü‹Eü‹M‹Q‰P‹Eü‹M‹Q‰P‹Eü‹M ‹Q ‰P ‹Eü‹M‹Q‰P‹Eü‹M‹Q‰P‹Eü‹M‹Q‰P‹Eü‹ĺ] ĚĚĚĚĚĚĚĚU‹ěQ‰Mü˙č@P˙ě@Pj j?‹MüčYj ‹ĺ]ĂĚĚĚĚĚĚĚĚĚĚĚU‹ěQ‰Mü‹Eƒŕt6hP{‹Mü‹QüRj‹EüPč‘k ‹Mƒát‹UüƒęRčk ƒÄ‹Eüƒčë‹Müčj ‹Eƒŕt ‹MüQčĺj ƒÄ‹Eü‹ĺ] ĚĚĚĚĚĚU‹ěV·$ ™ąč ÷ů‹ČÁá·$ ™ľč ÷ţ Ę‹Á^]

    i dont want spam there but this i see...(100x more is in the script file)

    so it will work if i normally put the script to any folder?

  6. #6
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ... You are putting it into the wrong folder. The file that you have atm is going to be a .lua file am i right? If so, then you place it under "scripts" not "script_bin"

    Script bin is used when you compile the core and is the DLL's given, but dont worry about that, just place the .lua under "scripts".

  7. #7
    Naxxar26's Avatar Banned
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kiev View Post
    ... You are putting it into the wrong folder. The file that you have atm is going to be a .lua file am i right? If so, then you place it under "scripts" not "script_bin"

    Script bin is used when you compile the core and is the DLL's given, but dont worry about that, just place the .lua under "scripts".
    good,good got it! now i can normaly add the script? and save this?

    i go now only one script file named LuaReload.lua its right?

    and in this file is local ReloadMessage = "#reload"

    function OnChat(event, plr, message, type, language)
    if (message == ReloadMessage) then
    if (plr:IsGm() == true) then
    ReloadLuaEngine()
    plr:SendAreaTriggerMessage("Lua HypArc Engine Successfully Reloaded! For More Information, Check your World Console..")
    end
    return 0
    end
    end

    RegisterServerHook(16, "OnChat")


    now if i want to add my script finded on mmowned(http://pastebin.com/m4a770eae)<----look at this plz..im have to add the full script into this?no need to create npc script,spell scripts atd? thx for asnwer
    Last edited by Naxxar26; 11-27-2009 at 01:57 PM. Reason: need add link

  8. #8
    _Kronos's Avatar Corporal
    Reputation
    -5
    Join Date
    Nov 2009
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats a C++ file, you have to compile it into a library with your scripts and emulator then place it in "script_bin"

  9. #9
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Kronos - The file that he links is a C++ file, but the code he has posted is Lua - So go ahead and place it in there Naxar.

    Just put the LuaReload in the scripts folder, and restart your server, then ingame type ReloadMessage and it should do it. I hope this has helped you.

  10. #10
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure you save it as .LUA file before you put it in the repack. I assume your using Athena? Because I edited the ReloadLUA script from;
    ("Lua HypArc Engine Successfully Reloaded!")
    to
    ("Lua HypArc Engine Successfully Reloaded! For More Information, Check your World Console..")

  11. #11
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ^^ Ground Zero The Hero - Knows how to help people out.

Similar Threads

  1. How to add scripts to mangos
    By handofoberon in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 12-15-2009, 05:56 AM
  2. How to Add Script
    By meepy in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 08-17-2008, 04:46 PM
  3. [How To] Add a Database + Hosting You're Server[Pictures]
    By BrantX in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 03-17-2008, 12:58 PM
  4. How To Add A New Database To Your Server!
    By Linkin.Park. in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 03-10-2008, 02:38 PM
  5. How To Add A New Database
    By Illidan_000 in forum WoW EMU Guides & Tutorials
    Replies: 8
    Last Post: 12-18-2007, 04:13 PM
All times are GMT -5. The time now is 11:01 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search