Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Getting started the WoTtLK tutorial => Topic started by: Steff on November 05, 2012, 10:40:47 am

Title: 03 - Setup Local Trinity Testserver
Post by: Steff on November 05, 2012, 10:40:47 am

Introducing



If you have no access to a root server to test your work, you need a local testserver. To get one up fast and running I have an addon for the modding pack with a precompiled Trinity testserver. The pack includes XAMPP lite and some scripts to get the client files extracted and the server running.

Quote
Note that this server will only work if you have installed the modding pack in part 2 of this tutorial!

>> Download the testserver addon and extract it into your WoWModding folder.

http://www.file-upload.net/download-7913318/TrinityServer.zip.html

Setup the Server



After you have extracted the server, your folder should look like this.

(http://modcraft.io/tutorial_images/ServerAddon.jpg)

>> Navigate to

F:WoWModdingTrinityServer


>> Run the script 01setup_xampp inside the xampp folder to configure the xampp environment.
>> Run 02extractClientFiles in the server folder. This will extract the client files for you into the emulator.
>> Enter your drive letter where the modding pack is located and hit return (F for me).

The script will now run all 3 extractors and copy the files into the server directory.
This will take some time, so go and get some coffee :).

Now the server is ready for use

Start the Server



You have to start the MySQL DB, the Logon Server and the World Server in this order.

>> Start the following files.

F:WoWModdingTrinityServerxamppmysql_start.bat
F:WoWModdingTrinityServerServerauthserver.exe
F:WoWModdingTrinityServerServerworldserver.exe

If you now have open 3 black windows the server should be up and running.
Next you need a user to logon to your server.

>> Activate the windows of the worldserver.exe
>> Type ".account create USERNAME PASSWORD" where you replace username and password with yours.
>> Type ".account set gmlevel USERNAME 3 -1" what gives your account administrator rights on the server.

Now you must change your realmlist to your local testserver.

>> Open the following file in an editor and change the content to "set realmlist localhost"

E:WoWModdingClient335aTestDatadeDErealmlist.wtf

Now open up wow and try to login.

This guide has been completely proof-read and corrected in grammar by Mountainlion. Feel free to message him.


04 - Your first island in Noggit (http://modcraft.io/viewtopic.php?f=79&t=3570)
Title: Re: 03 - Setup local Trinity testserver
Post by: Nacho on September 18, 2013, 05:29:17 am
Hi, sorry, but i just cant log in in Client335a test. Help please. Thanks.
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on September 18, 2013, 11:58:21 am
Some more infos are needed :)

server start fine?
Turn firewall off for test.
Did you cahnged the realmlist?
Title: Re: 03 - Setup local Trinity testserver
Post by: Nacho on September 18, 2013, 11:06:30 pm
Quote from: "Steff"
Some more infos are needed :)

server start fine?
Turn firewall off for test.
Did you cahnged the realmlist?

Yes, yes and yes. So.. what could be wrong?
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on September 20, 2013, 12:19:34 am
And you set to localhost? Not to your real ip or even the outside one. Else i have to look with teamviewer.
Title: Re: 03 - Setup local Trinity testserver
Post by: Nacho on September 21, 2013, 04:28:58 am
i write: set realmlist localhost
Title: Re: 03 - Setup local Trinity testserver
Post by: axel0099 on September 21, 2013, 10:22:08 am
hmm are you sure the server itself is on Localhost as well?
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on September 21, 2013, 05:34:52 pm
Yes it is a local testserver:-)  i did enter localhost as ip so it run on every system.
Chat me on in skype.
Title: Re: 03 - Setup local Trinity testserver
Post by: Nacho on September 23, 2013, 10:52:35 am
Give me your Skype ID and i ll add you. Thanks!
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on September 23, 2013, 01:16:01 pm
project.modcraft
Title: Re: 03 - Setup local Trinity testserver
Post by: Spreek on October 25, 2013, 09:48:57 pm
Thank you very much for these continued tutorials. Unfortunately, I have ran into a bit of a problem with this one, with the server starting step. When I open mysql_start, it opens normally (and displays messages until "MYSQL is starting with mysqlbinmy.ini"), but authserver.exe and world_server.exe both give the error message that they can't start because LIBEAY32.dll is missing.

Other general info:
-Installed on drive C:/
-I originally skipped part 03 of the tutorial because I wanted to play around a little in Noxxic first, and only came back to this after doing some stuff on the test map and wanting to try it out.
-Not sure if it's just a typo on your end, or if I did something wrong, but I couldn't find a 01setup_xampp file, only setup_xampp (final message "Sorry, but... nothing to do!")
-During the 02ExtractClientFiles.bat process, I spotted a brief error message that got washed away by the flood of messages in the converting phase, so I couldn't copy it verbatim. It was something akin to "can't open rawmodel file build finalbuild.wmo"

EDIT: Solved! Copied the Libeay32.dll file from xampp folder to server folder
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on October 26, 2013, 08:42:13 am
Nice.  And thank you for. Posting your solution!
Title: Re: 03 - Setup local Trinity testserver
Post by: Yandrack15 on February 12, 2014, 01:39:03 pm
Hiho, I habe a problem getting in WoW at the Client335a test. Wenn I want to sign in it tells me that ther was a connection problem and I should try it later again.
I did.. nothing so I thougt about reduing it. When I reacht this
>> Run 02extractClientFiles in the server folder. This will extract the client files for you into the emulator.
It stopt ones and sayd ther was a somthin Pollutet. I hit Enter in it continude sxtracting. Is the problem ther or is it some other problem?
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on February 12, 2014, 11:14:59 pm
If the server exes start, it is no problem of the extracted data.
You set the realmlist?
If it still dont work turn of your firewall for test.
Title: Re: 03 - Setup local Trinity testserver
Post by: Yandrack15 on February 13, 2014, 01:11:49 am
Okay, the problem is the realmlist. I resete the list and I was able to log in. (Not into he Gam, but wher you can creat a Klass and the rest. It just wanted me to Patch up)
I change the realmliist für the Server. Can't log in. Connection probs.
I tried it with the Firewall. No changes.
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on February 13, 2014, 08:05:44 am
Try to clear the content of the cache and WTF folder.
Title: Re: 03 - Setup local Trinity testserver
Post by: Yandrack15 on February 13, 2014, 11:48:07 am
No Changes.
With and no Firewall. No changes.
Can ther be a prob with the Realm it self?


PROB SOLVED:

Didin't think I have to keep thos three Black Windows Open. Sorry for the Time
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on February 13, 2014, 05:29:19 pm
Haha :) Yes they are the running sql, world and auth server. If you close you close the server.
Nice that it works now.
Title: Re: 03 - Setup local Trinity testserver
Post by: Ayahuasca_DMT on April 07, 2014, 06:09:21 pm
Mysql will not upon.


I didnt overwrite the original overwrite the tools with my proper hardrive letter, cause noggit.conf was a notepad file rather than a .exe, and not overwriting with my harddrive letter enabled me to be able to use noggit.
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on April 07, 2014, 09:17:17 pm
That is normal for a config. They are just text files.
Had you already installed an mysql server. Then it wil not work.
Uninstall , reboot and call xampp setup again.
Title: Re: 03 - Setup local Trinity testserver
Post by: Doronamo on September 08, 2014, 10:04:44 am
It seems as though I can do everything fine, up to the point of opening worldserver.exe.

I can get the mysql_start and authserver to both run fine, but I can't run worldserver.exe. I'm keeping all windows open and such but when I open worldserver it pops up for a moment, then closes instantly.

It looks like it's saying something like

'map file /maps #########.map does not exist.'

right before it closes. I'll keep trying to play around with it to see if I can find what i did wrong.


EDIT 1: it could have been something wrong with the extract client files part, but I'm not sure. I'll check with that.

EDIT 2: Okay, I forgot I had to have my WoW in the Client335aNoggit folder, and not in a folder INSIDE the Client335aNoggit folder. But I have another problem.  When I run the 02extractClientFiles.bat, at the end it says 'using Buildings as source directory and writing output to vmaps
Could not read dir_bin file!
exit with errors'


I should also note that both the Buildings and vmaps folders are empty.
Title: Re: 03 - Setup local Trinity testserver
Post by: Steff on September 08, 2014, 12:57:55 pm
As far i know the script use the test not the noggit folder.
Title: Re: 03 - Setup local Trinity testserver
Post by: Basto&co on December 29, 2014, 02:10:50 pm
Hello friends!

First: Once upon i have try this all and it works.. but now i have rebooted my computer.. so. Now my problem is, i start first

"01setup_xampp.exe" -> its says:

"bla bla bla

Sorry, but ... nothing to do!"

Alright.

I start "02extractClientFiles"... he ask me normal about the Drive, i tipped it in, running all but than it says, that he cant start the V-map creator cause my Windows 8.1 think this app is a risk.. okay okay. Somewhere i have read for a noggit test server the V-Maps are not sooooo important...

THEN i will start my server: first "msql_start.bat", than "authserver.exe" and it says "The programm cant be started, because LIVEAY32.dll are not there. Install the Programm again, for solvated this Problem"... i download two differend 32.dll's. One for my 64bit and one for 32bit.. then comes the popups "any bla bla bla 0xc000XYZ" problems.

I have install .netframe or how its called.. what i can do (with shampoo)? XD

Greets,
Basto

EDIT: Self-Solved: https://www.youtube.com/watch?v=rrAQiDJ78ms (https://www.youtube.com/watch?v=rrAQiDJ78ms" onclick="window.open(this.href);return false;)

Runtimes uptdate bla + about the V-Maps exctrakter: At windows 8, when the blue stripe pop up, you can go to "more information" and click "Still run/start" *nod*

=)
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Valkryst on August 21, 2015, 09:46:10 pm
This tutorial could be replaced with a link to the official Trinity guides (http://collab.kpsn.org/display/tc/Installation+Guide) in either the previous or next tutorial..
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Steff on August 22, 2015, 06:46:31 am
Not realy. As it is part of the pack and meant for people jsut want to test maps ingame and won´t hussle with the server.
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Chaoseater on August 27, 2015, 10:22:50 pm
I am new to trinity been on arc for some years is there anyway of viewing the DB with SQLyog like you can with arc thanks
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Steff on August 27, 2015, 11:43:29 pm
as it is the same database you can clearly ise any mysql tool to access it.
i use heidi sql.  free and works.
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Chaoseater on August 27, 2015, 11:56:16 pm
Quote from: "Steff"
as it is the same database you can clearly ise any mysql tool to access it.
i use heidi sql.  free and works.
when i try to connect to the DB with the pre set it will not i have tried looking for the read me with the SQL info but can not find it
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Steff on August 28, 2015, 07:10:27 am
you can find the database credentials in both the word and the logonserver configuration files.
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Chaoseater on August 28, 2015, 11:26:42 am
Quote from: "Steff"
you can find the database credentials in both the word and the logonserver configuration files.
ok thank you i am away this weekend so i will look when i get back great tutorials tho really great helped me a lot i have more questions but will wait until i get back from the weekend  :D
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Officialbasement on April 26, 2016, 01:35:07 pm
LIBEAY32.Dll missing when I'm trying to start authserver :S

Edit: nvm downloaded it and started at once... haha so simple
Title: Re: 03 - Setup Local Trinity Testserver
Post by: BleuDQu on June 17, 2016, 11:15:01 pm
Quote from: "Officialbasement"
LIBEAY32.Dll missing when I'm trying to start authserver :S

Edit: nvm downloaded it and started at once... haha so simple

Same Problem..
I cant find the data LIBEAY32.Dll online
Can someone give me a link, when he finds it?
Would appreciate ^^
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Ascathos on June 18, 2016, 01:14:36 am
Quote from: "BleuDQu"
Quote from: "Officialbasement"
LIBEAY32.Dll missing when I'm trying to start authserver :S

Edit: nvm downloaded it and started at once... haha so simple

Same Problem..
I cant find the data LIBEAY32.Dll online
Can someone give me a link, when he finds it?
Would appreciate ^^
Install a non-light OpenSSL. Make sure it's the same architecture (x86/x64) as you compile tc.
Title: Re: 03 - Setup Local Trinity Testserver
Post by: BleuDQu on June 19, 2016, 05:14:31 pm
Quote from: "Ascathos"
Install a non-light OpenSSL. Make sure it's the same architecture (x86/x64) as you compile tc.

Im sorry, im a very nooby beginner at this. Its my first time modding, ever. Can i get a link? (x64)
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Amaroth on June 19, 2016, 05:38:25 pm
https://trinitycore.atlassian.net/wiki/ ... quirements (https://trinitycore.atlassian.net/wiki/display/tc/Windows+Requirements" onclick="window.open(this.href);return false;)
In general, its good to just follow TC's tutorials. At least as long as you can understand them.

To be more exact, link you need is this:
http://slproweb.com/products/Win32OpenSSL.html (http://slproweb.com/products/Win32OpenSSL.html" onclick="window.open(this.href);return false;)

"that is NOT the "light" version.!" is important note. Do NOT use any version which has "Light" at the end of its name. Thats pretty much all.
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Cutsforhugs on December 11, 2016, 05:34:02 am
I don't know if this post is still responded to, but is the extractor incomplete?

I've tried twice now to just completely redo the entire set-up to get everything right, but the same map is always missing from the maps folder:

Code: [Select]
Realm running as realm ID 1
Using World DB: TDB 335.49
Will clear `logs` table of entries older than 1209600 seconds every 10 minutes.
Using DataDir ./
VMap support included. LineOfSight:1, getHeight:1, indoorCheck:1 PetLOS:1
VMap data directory is: ./vmaps
Map file './maps/5301243.map': does not exist!

I would gladly just get the map off of the internet, but odds of getting a unupdated mismatch is pretty high. If anyone can obtain the map on the same rev as the guide and post a downloading link it'd be appreciated.
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Steff on December 12, 2016, 08:26:59 am
You can use every 335a extraced maps. Should work with the server.
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Cutsforhugs on December 12, 2016, 09:30:57 am
Quote from: "Steff"
You can use every 335a extraced maps. Should work with the server.

Would you happen to know a good download location for them?

I searched around, but could only find one that didn't work, guessing it was for 335 and not 335a.

Thanks for the help @ the mods for answering / helping me with my stupid questions, by the way. c:
Title: Re: 03 - Setup Local Trinity Testserver
Post by: Steff on December 26, 2016, 05:30:03 am
I just extract them evdry time. Faster then download.