What's new

Tutorial - Basic Server Developement

ExO

Admin
5,119
2014
1,640
As the title says, this is a tutorial showing how to do the basic server stuff. There's of course a lot more than this, however these are parts of what I found useful, if you feel like an important part is missing, feel free to let me know!


How can I create an account to my friends and me?:
Open the Worldserver.exe and typing like this:
"Account create (username, password)"
Example:
Account create test1 test2


How can I give myself or my friends GM power?
Open the Worldserver.exe and do like this.:
Account set GMLEVEL (username) 3 1
If you want to make your friends or yourself higher than level 3, go into your database.
Click at Auth>Account acces, and find the account id and change it.


When I download a repack, where should I put my dbc, maps and vmaps into?:
Put them into them into the folder where your worldserver.exe and authserver.exe are.


When I download a repack how can I get my server up so I can play alone?:
Open the folder where there's a bat file called MySQL, and open that. Usually called _Server
Then go into your folder where the Authserver, Worldserver are and open it. Make sure to change your realmlist to 127.0.0.1.


How can I make people instant level 80?:
All those kind of things, like server rates, and a lot more can be done through the worldserver.conf file.


How can I make people start in another location than the starting locations?:
You need to find the mapID, zone, position_x, position_y, position_z and orientation. So stand at the place where you want people to spawn and use the command ".gps" and you will find the info you need.
Look on this thread: http://www.ac-web.org/forums/showthread.php?t=129960, he already made the query for you, you just have to write your mapID, zone, position_x, position_y, position_z and orientation in there. (Make sure to use that one called Trinity.)
Whenever you are done with that execute it in your world DB.


Can I add a C++ script to the repack I use?:
You need to have the source code.


How can I add my item into a vendor with the cost of 20 badge of justice (example):
You can do it by doing .npc add item (Id) 0 0 and then you will need the extendedcost ID, which is able to get found on the internet. I can create a list of extendedcost ids if anyone is interested.


How can I do my server public?:
Check out this guide, it may help you out:
http://www.emucoach.com/showthread.php?208-Making-your-server-public
Thanks to Jeutie.


How can I make my server online with hamachi so I can play with my friends:
Check this guide out I made: http://www.emucoach.com/showthread.php?41-How-to-make-server-public-with-Hamachi-Guide!, it explains everything you has to do.


How can I add a c++ script into my compiled core:
Follow this tutorial http://www.emucoach.com/showthread.php?361-Tutorial-How-to-add-a-C-script-into-your-core, he's explaining everything you need to know.
Thanks to Jameyboor.
 

Bogi

Verified Member
29
2014
0
Maybe adding the following questions might help a bit.
1) Where to make my own custom items?
2) How to add my custom items to my server?
3) How to fix the red question marks "?"?
4) How to make my own patch.mpq?
5) How to edit (add) new things in my patch.mpq?
6) How to can I find an item in a db without having to search through every page? (I can send you a query for that, made by me)
7) How to make a Vendor NPC in db?
8) How to make a teleporter?
9) How to make a zone to be FFA?
10) How to disable dueling in the mall?
11) How to make a duel zone?

I think these are some of the most important basic things that are good to know and it would be nice if you could answer all of them in this topic.
 

RainDancer

Verified Member
16
2015
1
Sorry to ask this in here, but can you make a tutorial on how to update the repack?
I'm on release 4 and when the version 5 come out i want to keep my charaters...can you help me out...?
Sorry for asking this :)
 

raist77

Silver Supporter
Veteran Member
47
2016
4
Location
Home
Sorry to ask this in here, but can you make a tutorial on how to update the repack?
I'm on release 4 and when the version 5 come out i want to keep my charaters...can you help me out...?
Sorry for asking this :)

Yes! ^^ This!! I searched for "update", "update core", "update repack", and looked through the Tutorials section, but came up empty.
 

Mr. Satan

Admiral Squatbar
Mythical User
Head Moderator
Gold Supporter
MoP Premium
Superior Member
1,012
2016
196
Location
World Martial Arts Championships
Sorry to ask this in here, but can you make a tutorial on how to update the repack?
I'm on release 4 and when the version 5 come out i want to keep my charaters...can you help me out...?
Sorry for asking this :)

Yes! ^^ This!! I searched for "update", "update core", "update repack", and looked through the Tutorials section, but came up empty.

Use this:
http://www.emucoach.com/showthread....harImport-Character-Converter-importer-EN-GER
It allows you to bring your characters from v4 to v5, or v5 to v6, etc. Basically, you can copy your characters to almost any server you want with it.
 

raist77

Silver Supporter
Veteran Member
47
2016
4
Location
Home
Use this:
http://www.emucoach.com/showthread....harImport-Character-Converter-importer-EN-GER
It allows you to bring your characters from v4 to v5, or v5 to v6, etc. Basically, you can copy your characters to almost any server you want with it.

Oh nice! Thanks!

EDIT:
It doesn't work for me (Win 7-64 with the 4.3.4 v5 repack upgrading to 4.3.4 v6.1).

The error log wasn't much help to me either
CharImport [Universal] - 0.11.6.756 (Beta)
System: Microsoft Windows 7 Home Premium // 6.1.7601.65536 // Win32NT
[7/14/2016 12:56:13 PM] Application started
[7/14/2016 12:56:24 PM] wotlk checked
[7/14/2016 12:56:24 PM] Trinity checked
[7/14/2016 12:56:24 PM] Database_Interface_Load call
[7/14/2016 12:56:26 PM] cata checked
[7/14/2016 12:56:42 PM] Connect request with manually checked
[7/14/2016 12:56:42 PM] Could find character db
[7/14/2016 12:56:42 PM] Could find auth db
[7/14/2016 12:56:43 PM] Checkbox1 checked
[7/14/2016 12:56:49 PM] "Copy characters directly into database" request
[7/14/2016 12:56:49 PM] Corecheck request
[7/14/2016 12:56:49 PM] wotlk checked
[7/14/2016 12:56:49 PM] Trinity checked
[7/14/2016 12:56:49 PM] Database2Database_Load call
[7/14/2016 12:56:51 PM] cata checked
[7/14/2016 12:57:19 PM] Connect request and 'manually' checked
[7/14/2016 12:57:19 PM] Could find character db
[7/14/2016 12:57:19 PM] Could find auth db
[7/14/2016 12:57:21 PM] Checkbox2 checked
[7/14/2016 12:57:25 PM] Continue request
[7/14/2016 12:57:25 PM] Corecheck request
[7/14/2016 12:57:25 PM] opensql_call @trinity
[7/14/2016 12:57:25 PM] getallchars_call @trinity
[7/14/2016 12:57:25 PM] gochars_call @trinity
[7/14/2016 12:57:26 PM] GetCharFromDatabase_call with charguid: 1
[7/14/2016 12:57:56 PM] Trinity checked
[7/14/2016 12:57:56 PM] wotlk checked
[7/14/2016 12:57:56 PM] Trinity checked
 
Last edited:
Top