Jump to content
  • Latest Commits

    • Exp of what WPE can do : 

       
    • I do not know if the site indicated but I recommend it. the problem is based on the old core ascent 2.4.3 I have a server in custo online but there is a lot of cheat wpe damage me the core my objective here is to see how is the way to patch the wpe of the ascent or arcemu 2.4.3 using a custom patch if someone has the idea please an mp or write me pshamy@gmail.com
    • Hello ! Today we will learn how to create an NPC from nothing ! Summary Required tools NPC dressing CreatureDisplayInfo editing CreatureDisplayInfoExtra editing Patch creation DB addition Looks like it's time to gear up ! - Software like Photoshop or Gimp. Personally I use Photoshop because of this : BLP Plugin
      - Wow Model Viewer or something similar
      - BLP Converter (useless if you use the Photoshop's plugin)
      - My DbcEditor 
      - MPQ Editor
      - Your 3.3.5 client ! Looks like it's time to dress up ! I only mentionned one tool which can dress up our future NPC, so, let's go to Wow Model Viewer ! First, we have to select the race of our NPC, I'll choose... Human male !
      You can select this in the menu on the left, in the character part. Now, here's the interesting part. Quick explanation : The menu in the top right corner defines the look of your npc, face type, hair color...
      ATTENTION ! In CreatureDisplayInfoExtra, hair color and hair style are inversed ! Below this menu, it's seems to be obvious, you can set your Npc's stuff.
      Below again, Oppa tabard style !  8-) I let you prepare your NPC, I'll create mine and after, we compare who made the most beautiful  ! Time's up ! Here's mine : Ok I used WoD stuff, I cheated... a bit   Now, you can screen the whole right menu, that way you will not forget the character's characteristics !
      Sometimes you can see two numbers to the right of the object name, they are important, the first is the itemID, the second his DisplayID, keep them two ! Our NPC is created, now we need to extract its texture.
      In my WMV version I do this : Once exported, a single file will interest us : body.tga Open it with Photoshop or your software, and you'll see this : You're free to customize the face, adding scars or whatever ! If you don't use the BLP plugin, save this file as png, and slide it on your BLP Converter. We have finished the texture !

      "But, Hyakki-master ! And weapons ?!"
      Creature_equip_template, world database ! Your turn CreatureDisplayInfo ! Open this DBC with the software provided by this tutorial (MyDBCEditor)
      You'll see lines. Lines everywhere ! Scroll to the last line, right click and select "Insert line...", your ID MUST be unique ! I'll choose 70010.
      Quick explanation 2 : First column : unique ID
      Second column : Model ID that is registered in CreatureModelData.dbc (for a human male it's 49, a human female 50...)
      Third column : Dunno, let zero.
      Fourth column : ExtraDisplay : We'll see it in CreatureDisplayInfoExtra.dbc, it must be unique too.
      Fifth column : Let 1.
      Sixth colum : Creature opacity. 255 means your npc is opaque, 0 means... yes it's transparent.
      Seventh and Eighth column : "Extra texture", when you npc isn't a character but a creature, these colums set their skin.
      The next columm : Contains an ID or 0, the ID corresponds to sound ID in NPCSounds.dbc.
      Last column : Let zero. Here's the look of my NPC column : You must to put this DBC in your MPQ patch and in serverside. Next ! Braces yourselves CreatureDisplayInfoExtra is coming !  This is where it all take shape. Documentation time ! 1 : ID, that one you choosed in the fourth column in CreatureDisplayInfo. 2 : Character's race, 1 for human... IDs are situated in ChrRaces. 3 : Gender. 0 for male (It is also the degree of intelligence of the person who wrote this guide) and 1 for female. 4, 5, 6, 7 & 8 : SkinColor, FaceType, HairStyle, HairColor, BeardStyle. (Don't forget, in WMV, hair style & hair color are inversed) 9 : Head DisplayID (that one you choosed in WMV, if not, set to 0). 10 : Shoulders DisplayID (that one you choosed in WMV, if not, set to 0). 11 : Shirt DisplayId (that one you choosed in WMV, if not, set to 0). 12 : Chest DisplayID (that one you choosed in WMV, if not, set to 0). 13 : Belt DisplayID (that one you choosed in WMV, if not, set to 0). 14 : Legs DisplayID (that one you choosed in WMV, if not, set to 0). 15 : Boots DisplayID (that one you choosed in WMV, if not, set to 0). 16 : Bracers DisplayID (that one you choosed in WMV, if not, set to 0). 17 : Gloves DisplayID (that one you choosed in WMV, if not, set to 0). 18 : Tabard DisplayID (that one you choosed in WMV, if not, set to 0). 19 : Cape DisplayID (that one you choosed in WMV, if not, set to 0). 20 : 0. 21 : Your texture name, in my case, it'll be admerin.blp Fill your DBC line with your items's DisplayID that you choosed for your NPC. Be careful, sometines the first digit is valid, sometines it's the second. Here's mine : Save it ! Upload it to your server, put it into your Patch !
      But... Where in my patch ?! I assume you know how to create a MPQ patch. So, open your MPQ with MPQ Editor ! If they don't exist, create two folders at the root of the patch. Call them :
      DBFilesClient
      Textures You can put your two DBCs in DBFilesclient Now, go in Textures, create a folder called BakedNpcTextures and put your .blp in there. Your patch is ready. Last step ! Creature_model_info Serverside part !
      In your world Database, find this table and open it ! Quick explanation... Oh no, copy/paste the content of an other line.
      EXCEPT ONE THING ! Your ID must be the same as the one in CreatureDisplayInfo, in my case : 70010.
      This digit is the DisplayID that you MUST use for your creature. Once your line is written and your NPC created... This tutorial is finished    ! Don't hesitate to show your NPCs here ! Original Guide Credits - Oldaron @ Model-Changing
    • On youtube anyone can add subtitles. It is not restricted to the owner of the video unless he forces it to be him only. @Caden If the setting is locked, unlock it and ReynalDev can add his own subs.
    • I think it does make sense not to read something you don't understand, or listen to something you don't understand. (another language).
    • I speak Spanish, I will not play games because they are in English? I will not read articles because they are in English? Has no sense... Anyway, there you have the information, if you want to take it, go ahead.
    • I get that but not sure anyone here would really want to go through that hassle, especially when there's probably similar tutorials in english.
    • You have information and some videos have subtitles in english. You can easily use google translate or any other kind. https://youtu.be/bIkVAjZN5qQ
    • Cool, but not sure these will help anyone here as they aren't in english.
    • On my Youtube channel you will find many guides to develop your Lineage 2 server. I have also created a library for you to review related content about the development of Lineage 2 servers.
    • Original post is. http://www.ac-web.org/forums/showthread.php?208537-Compile-TrinityCore-Merge-Eluna-Lua-Engine-amp-Update-Source-Engine
    • hehe  so this can be considered closed then?
    • Ok, guys, I just found the problem, the last } just deleted and working fine, now just need a cool CSS.
    • did you ever get a error message?  
    • Hello, I'm a bit new coding PHP, I'm trying to make a page to see the server status (not real servers) I just got a DB with this structure: https://prnt.sc/huch18 And I just want to set flags like a check or X depending on the Disponibility of the server, obtained from the DB using this code: <html> <head> <title>testing php </title> </head> <body> <?php $link = @mysqli_connect( 'localhost', 'root', '12345', 'admin'); if(!$link){ echo '<p>Error al conectar con la base de datos: ' . mysqli_connect_error(); echo '</p>'; exit; } $servers = ("SELECT * FROM servers"); $query = mysqli_query($link, $servers) or trigger_error($link->error."[$servers]"); echo "<table>"; while($row = mysqli_fetch_assoc($query)){ $serverName = $row['nom']; $serverDispo = $row['disponibilitat']; $serverPopu = $row['poblacio']; $serverQue = $row['cua']; echo "<tr><td>".$serverName."</td><td>".$serverDispo."</td><td>".$serverPopu."</td><td>".$serverQue."</td></tr>"; } mysqli_free_result($query); echo "</table>"; } ?> </body> </html> I know I'm not setting the flags, I just want to get the table with results. And this is the result: https://prnt.sc/huckqk Maybe I'm making a noob mistake but I need help ;(
    • No problem, guys. I'm working on the next one.
    • Hey, Lordcraft Users! I'd like to welcome you to the first of a series of Java tutorials hand written by yours truly. They are going to be a Lordcraft exclusive and hopefully, everyone will find them useful. Going through these tutorials, I'll be assuming each and every one of you is brand new to both programming and Java. If you are already well versed in either of these subjects, feel free to wait around for the next bit of tutorials.   ------- *** -------   Chapter I: Preparing Your System      In order to get started with Java programming, you need a few tools installed on your system. Depending on your operating system, you may install things a little bit different then I am. I am using a Windows based laptop, so I'll be showing how a Windows user will setup their system. However, if you use a Mac or run Linux, comment below and I'll help you install everything.           Programs:           JDK - JDK 8 and JDK 9           IDE - NetBeans or IntelliJ or Eclipse        I listed five programs above that you guys may be interested in. Right now, you probably have no idea what a JDK or IDE is, and that's okay. We'll go over that. For now, I recommend you download JDK 8 and Netbeans. I'll be using Netbeans in all of my tutorials since my university requires my program of study to use it for the Java language. Plus, it's super easy to use.        Installing the JDK           Step 1: Go to the downloads page and download JDK 8u152. (Don't forget to accept the License Agreement and pick the correct download for your system)!           Step 2: Run the downloaded JDK application. Depending on your operating system, the way you'll do this may vary. Windows users will run the .exe file, Linux kernals will run it from the console (most distributions will run the tar.gz version), and Mac users will run the .dmg file.                 Links: Windows or Linux or Mac           Step 3: Run through the installer, it's pretty easy. Just pressing "next" will be enough.           Step 4: Congratulations! You've installed the required JDK application!        Installing the IDE           Step 1: Go to the downloads page and download Java SE           Step 2: Run the Netbeans installer, depending on your operating system, the installed product will be different. You'll run it the same way you ran your JDK installer.           Step 3: Accept the licensing agreement, pick your installation path, and check for updates (this will save you time later on). After that, let the installer do it's job.           Step 4: Congratulations! You installed the required IDE! Now we can start programming... Almost.   ------- *** -------   Chapter II: What Is a JDK and IDE?      So now you're probably wondering what a JDK and IDE and why we need them. In short, a JDK (Java development kit) is a subset of a SDK (software development kit). The JDK offers a variety of tools for developing, debugging, and monitoring java applications. Essentially, it's the core behind the Java language. Without a JDK, you can't have your Java code.      But what about an IDE? If the JDK gives us the ability to develop Java code, why do we need this? Well, an IDE (integrated development environment) is a program that allows you to easily make project files, test your source code, read error text, catch errors in code before runtime, and hosts a debugger. Not only that, but an IDE offers a quick and responsive function that builds your sourcecode into computer-readable binary, which then turns into an executable code.      There's a lot more information about both the JDK and IDE, but all you really need to know is that a Java IDE requires an updated JDK in order to properly integrate Java code into programs.   ------- *** -------   If you have any questions, leave a comment or contact me on Discord!
    • woah no , no just no , use Mysqli or PDO do not use raw mysql
    • trust me this **** saved my life usually i had to write hundred of lines of codes but now i've learned my lesson :)) hopefuly this will be helpful for somebody else because as of now i could only find huge ass overwrites of the class and most of them were for Wordpress pretty hard to reintegrate on a fresh built website 
    • Eyo all, been working on a website for a client and i got tired of writing thousands of functions to get out the data from DB. You know in this business you keep learning things while working on. My main issue was i could not dinamically add params to $stmt->bind_param, but after reading few hundreds lines on PHP mysqli doc i found out i can pass them dinamically by referrence and use the mighty call_user_func_array. However what i'm going to print is just a sample not the full class you've got to struggle yourself for other things. There must be many other ppl who want to learn PHP.
      NOTE!!! The class i'm sharing is incomplete it only have a single function and is jut for learning purpose, you'll have to figure out yourself the rest.
      class mmlDatabase{     private $database = array("host" => "127.0.0.1", "username" => "root", "password" => "ascent", "database" => "mydatabase");          //Why public? easy like this you can call the function outside the class and print the error wherever you want     public $errors = array();     private function connect()     {         $con = mysqli_connect($this->database['host'], $this->database['username'], $this->database['password'], $this->database['database']);         if (!$con) {             printf("Connect failed: %s\n", mysqli_connect_error());             exit();         }         return $con;     }     public function Query($sql='', $input_params = array(), $param_types = '', $getoutput = false){         /*         $sql = Represent the raw sql text whith questionmark as values         $input_params = Represent the array of values that need to be inserted         $param_types = Represent the type of parameters, s = string, i = integer, d = double,  b = blob         $getoutput = If you are waiting for an output after a SELECT QUERY         */         $output = array();         $params = array();         $conn = $this->connect();         $n = strlen($param_types);                  //Adding param types as first variable ("param types", waiting for params)         $params[] = & $param_types;         //Adding Params one by one as referrence         for($i = 0; $i < $n; $i++)             $params[] = & $input_params[$i];         //Try to run query otherwise throw error         if($stmt = $conn->prepare($sql)) {             //Now calling bind param as user function passing the new parametter list             call_user_func_array(array($stmt, 'bind_param'), $params);             $stmt->execute();             //check if we are waiting for a response (array of variables) mostly for SELECT query             if($getoutput) {                 $result = $stmt->get_result();                 while ($data = $result->fetch_assoc()) {                     array_push($output, $data);                 }             }             $stmt->close();         }         else             array_push($this->errors, 'Wrong SQL: ' . $sql . ' Error: ' . $conn->errno . ' ' . $conn->error);         $conn->close();         //Return the output if there's no errors else return false and print the error wherever you want         if(count($this->errors) === 0 && !empty($output))             return $output;         return false;     } } $DB = new mmlDatabase; //USAGE $result = $DB->Query("SELECT * FROM `mytable`", NULL, NULL, true); $result = $DB->Query("SELECT * FROM `mytable` WHERE `column` = ?", array(1), "i", true); $result = $DB->Query("SELECT * FROM `mytable` WHERE `name` = ? AND `id` = ?", array("Some Name", 1), "si", true); $DB->Query("INSERT INTO `mytable`(`name`, `email`, `password`, `age`) VALUES (?, ?, ?, ?)", array("Some Name", "Some Email", "password", 23), "sssi", false/*can leave this variable blank since by default is false*/); $DB->Query("REPLACE INTO `mytable`(`id`, `name`, `email`, `password`, `age`) VALUES (?, ?, ?, ?, ?)", array(1, "Some Name", "Some Email", "password", 23), "isssi", false/*can leave this variable blank since by default is false*/); $DB->Query("UPDATE `mytable` SET `name` = ? WHERE `id` = ? AND `email` = ?", array("newname", 1, "email"), "sis", false/*can leave this variable blank since by default is false*/); //Separate variables sent inside query $sql = "INSERT INTO `mytable`(`name`, `email`, `password`, `age`) VALUES (?, ?, ?, ?)"; $params = array(1, "Some Name", "Some Email", "password", 23); $param_types = "sssi"; $DB->Query($sql, $params, $param_types, false);
    • note most responsive layouts use display: table-cell; making the whole div work like a <table> you might want to use the !important if you want the styles to apply on that responsive layouts
    • this would be really nice. the current SQL requires quite a bit of modding to make it work in the current rev.
    • That's because this thread is more then a year old. @JadaDev, do you have a new download link?
    • It was looking great  but when i tried to download it it says the link wasn't working any more
    • Glad to help out. No problem mate! No problem, more coming up soon. Currently working on some projects at work in the time I got left after my schedule.
    • Hello everyone, This is not much of a tutorial, it is more some kind of script that I made in CSS. I have made this because, it is sometimes very useful to use. Normally I used only the classes I needed at that moment, but this will save me alot of time. In this topic I will explain a few things for those who are new to CSS or do not understand what I'm doing here: How to add this CSS in a <link> tag in the HTML. What do the classes mean in the CSS.   How to add this CSS in a <link> tag in the HTML:
      This is very easy to do, probably the easiest part beside saving the file itself. If you have the file saved as "spacings.css" in your CSS folder then the link will look like this: <link rel="stylesheet" href="css/spacings.css"> This line of code is suppose to go between the <head> </head> tags.
      What do the classes mean in the CSS:
      If you are new to CSS, there are a couple things you should know. There are classes such as mt, mb, pt and pb and some sizing classes such as lg, md, sm and xs. Those will be explained below: mt: Margin Top mb: Margin Bottom pt: Padding Top pb: Padding Bottom I also added some responsive classes: lg: Large md: Medium sm: Small xs: Extra Small   Download:
      Save this file into your CSS folder, scroll through the document to see all the classes you can use.
      https://pastebin.com/0W9fAr0b   Kind regards, Dion.
    • Hi All,
      Here I'm trying to draw on a html5 canvas as well as upload some images and drag them within the same canvas. The problem is I can not drag every uploaded image, at the moment I can only drag the last one rest become part of background image. I know I need to instantiate each image but It doesn't seem to work. Can anyone point me to right direction please.
              I didn't find the right solution from the internet.
      References: https://forums.digitalpoint.com/threads/how-to-drag-an-image-within-canvas-as-well-as-draw-on-the-same-canvas.2796494/ teaser trailer
    • I apologize these also ake edit it or just ake insert it as it is   INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `size`, `data2`) VALUES (@GOB_Entry, 10, @GOB_Display, @GOB_Name, 1, @Event_scriptID); REPLACE INTO `event_scripts` (`id`, `command`, `datalong`, `x`, `y`, `z`, `o`) VALUES (@Event_scriptID, 6, @MaPalaymnamibly, @X, @Y, @Z, @O);  
    • thanks for sharing mate.
    • Could you be more detailed in this?

      1. What should i name the script and how do i add it?

      Do i just make a new text document, copy the text into the document and add the file <name.lua> into \release\lua_scripts\

      where do i put the registercreatureevent? should i add that to a separate file?

      How do  you create a npc with this? just like you do with multivendor? or do you have to add the npc in the script?
    • @Unrecognized download link is no longer available.
    • This is not the appropriate place to ask for support or give support. I am not being an A''hole atm but we want to keep the forums clean. Feel free to continue this over at https://www.lordcraft.net/forum/9-support/
  • Tag Cloud

    1.8.7 1.12.1 2.4.3 3.3.5 3.3.5a 4.3.4 7.3.5 255 accepted account acis add addons after effects application arcemu art artwork atlas industries auth awesome bass best blizzcms blizzlike bug buy c++ cataclysm cheap client cms code coded compile completed crossfaction csgo css custom database dbc deathrind dedicated servers denied design development download emulation epic error errors expired facebook fast feedback files flat free free download free graphics free psds free released fun funserver fusion fusioncms game gaming gfx gold graphics guide h5 help host hosting how how to html html template icons ina inactive information instant instant 85 interlude introduction ipb item java javascript js l2 l2j laqko launcher league of legends legion leveling lineage2 login logo lol lordcraft lua menu minecraft module mpq music mysql new npc old listing online outdated oxide pack paid patch pending photoshop php private private server project psd pve pvp ravens projects realms release releases repack request reseller hosting resource review safe script scripts secure security sell selling server service sharing shop show off signature skyfire software song source sql staff steam stop forum spam sunwellcore support tbc template texture theme to trade trailer trinity trinitycore trinity core tunes tutorial unconfirmed update vanilla video vote vps vps servers warcraft web web hosting website whinkerton whinkerton.com windows working world world of the damned world of warcraft worldofwarcraft wotlk wow wow private server wow server wts youtube
×