Some questions about databases and Lua script menu

Shout-Out

User Tag List

Results 1 to 7 of 7
  1. #1
    Whisperfrost's Avatar Member
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Some questions about databases and Lua script

    Hi everyone, I got some questions about some ascent's database settings, a BLP bug, some Cryects Tools which doesn't work as they are supposed to do, and about Lua scripting... As you can see, there's some different subjets, but I don't like to flood, and for me crating one post for each of my question is flooding... (so please forgive me if it's getting on your nerves and also notice the fact that I'm french, so if you find a sentence that doesn't make any sence, it's normal, english isn't my native thongue )


    1 . BLP error
    I got an error with customs BLP (that I converted into PNJ with WoW Image Converter v0.991, a file nammed "wowimage.jar", then edited with Photoshop CS3, and then converted back to BLP always with WoW Image Converter) : when I'm stuck to a NPC with custom skins (or a gameobject), it looks good, but the more I get away from him, the more he is getting black, till he's becoming completly black (without any texture)... So I think WoW Image Converter doesn't recognize well my PNJs... Is there a specific option on PNJ compression to enable when saving the PNJ ?
    2 . Database Questions
    2.1 Professions and Classes trainer
    So when I create a NPC, I give him the flags to be a profession or a class trainer. But how do I clarify which profession or class e will be the master ?
    2.2 NPC sayings
    I want some NPCs to talk (you know, when you right-click them and a window appears with some text in it). I already find that I must give the flag "1" to my NPC, but where do I store the text he has to say ?
    3 . Cryects Tools
    So, I tried to add WMOs and M2s with the FileInfo and LoadInfo tools from Cryects. I followed absolutely every single step of this wonderfull guide (edit : hey, I cannot post links so this is the great guide from schlumpf), I verified every step about a thousand times, but when I run a modified map in WoW (of course I offsetfixed it, brought it in an MPQ named patch-2.MPQ written like that, run with Model Edit Fix...), the changes do not appears. And when I FileInfo this file again, the changes are in the file, so it's like WoW was just ignoring it.

    The changes made under Noggit (textures and landscape changes) do appears.

    My Noggit runs under WoW 1.12.1, my WoW under 2.4.2 with the Ascent that runs this version of the game.

    So, in your opinion, what can be wrong ?
    4 . Lua Scripting
    Before all, I'd like to say that I perfectly code PHP, and that PHP is based on C++, and Lua is based on C++, so it's not like I was trying to learn japanese

    I wanted to do some scripts for my server, so I looked how scripts where done. I recognized all the function stuff
    PHP Code:
    function something(trigger1trigger2, ...)
       
    things in itlike SendChatMessage(type, ???, message)
    function 
    end 
    That's great, but in PHP in order to have a function working, you have to call it (it wont happen if you don't ask it to happen...)

    So how do you call a lua function. For exemple if a player enters in an area, or if he speaks to someone, or if a NPC dies, or if you finish a quest... How do you launch the fonction ?

    And, if it's possible, I'd like to know some "already made functions" (like FullCastSpellOnTarget or SendChatMessage) with all the trigers you must give to it for :

    • Sending a chat message (I don't know how to make it /s, /e, /y, or with the NPC font color...)
    • Make a NPC perform an animation
    • spawn an NPC / gameobject
    • delete a NPC / gameobject you just spawned
    • create an item and give it to the player
    • teleport the player somewhere

    and I know you can make an if... then... thing, but how you get :

    • an NPC life / mana
    • if a character enters a zone
    • if he sepaks to a NPC
    • if he performs a spell / use an object

    And I think thats it for now
    So, first, thanks for reading me and thanks in advance for answering one or more of my questions. If you want me to split my topic into smaller ones, just say it, I just didn't wanted to flood.
    Bye !

    Some questions about databases and Lua script
  2. #2
    kajdzas's Avatar Corporal
    Reputation
    2
    Join Date
    Mar 2008
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want know it too plsssss guys

  3. #3
    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)
    1 and 3 are Model editing. This is the Emu section : /

    2.1 - Use our lovely search function
    2.2 - Lua
    For #4, use search. There are one million guides on LUA
    Life Puzzler WoW - Website | Forums

  4. #4
    Whisperfrost's Avatar Member
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Gastricpenguin View Post

    2.1 - Use our lovely search function
    2.2 - Lua
    For #4, use search. There are one million guides on LUA
    Already searched, nothing found. For the databases I think I will search on ascent's official website, but for Lua, yes there are guides, but no one tels about the basics, you need to know a little about Lua to understand it...

  5. #5
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am posting so that you can get the linkzorz for meh LUA Guide in my signature

  6. #6
    Whisperfrost's Avatar Member
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Whoa your guide is just awesome ! But it doesn't appear when I search in the forum with the works "lua", "script" and "scripting" :confused:

    Anyway, your guide is just great ! +Rep

    I think I will post my others questions I another section... Maybe the databases questions on ac-web.org and the model edits questions on the mmowned model edit section... thanks to everyone here !
    Last edited by Whisperfrost; 06-17-2008 at 06:31 AM.

  7. #7
    kajdzas's Avatar Corporal
    Reputation
    2
    Join Date
    Mar 2008
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Whisperfrost View Post
    [/INDENT]2.2 NPC sayings[INDENT]I want some NPCs to talk (you know, when you right-click them and a window appears with some text in it). I already find that I must give the flag "1" to my NPC, but where do I store the text he has to say ?
    pls i want know that scripting too pls guys

Similar Threads

  1. [Database] What the hell has happened to the databases and LUA scripts?
    By Badcobra10 in forum WoW EMU Questions & Requests
    Replies: 10
    Last Post: 06-14-2011, 12:05 AM
  2. Replies: 17
    Last Post: 05-01-2010, 09:13 PM
  3. Some question About Core and Patches
    By djrikyx in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 09-26-2009, 04:37 AM
  4. Some questions about mobs and scripts
    By pcrew in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 06-29-2008, 02:19 AM
  5. Some questions about skills and stuff.
    By faraon2k in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 12-25-2007, 02:03 PM
All times are GMT -5. The time now is 12:39 AM. 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