Mangos scripting

Newbie Spellweaver
Joined
Sep 28, 2006
Messages
13
Reaction score
0
Hello, I want to know if its possible to get things like

  • Custom mounts
  • Custom vendors
  • Custom items
  • Special training area's
  • Portals
If somone can help me with one of these things that would be verry nice.
It was easy on wowemu but mangos is not my strongest thing :lol_1:
 
I've been looking for this as well. I've got c++, php, mysql programming experience. I've helped run a WoW server for almost 2 years. Mangos just isn't as easy as wowemu. Any help is greatly appreciated.

ss3
 
well alot of that can be done with Mangos Database Handler which is quite a useful tool thats being revised and updated by feal87. The program is simple to use and makes server editing rather fun.
 
Hello, I want to know if its possible to get things like

  • Custom mounts
  • Custom vendors
  • Custom items
  • Special training area's
  • Portals
If somone can help me with one of these things that would be verry nice.
It was easy on wowemu but mangos is not my strongest thing :lol_1:

The way AFG warriors and Chronos did their stuff was through the TCL scripts for the custom teleport stuff.

The custom vendors... easy.
Items... easy
Training areas... easy, just requires you to make a portal to that one area, say Hyjal.
Portals... easy.
Mounts, not so easy because I havn't tried it... though im sure you could just change the model number of an existing mount. (though I think you are asking for speed mods and whatnot.)

hxxp://rapidshare.com/files/20078317/Tier_vendors.rar.html

Here is a sample generic Tier 1 2 and 3 vendors that I wrote up. Should give you some info on how to do it. If you were able to figure out the plain text files and linking npc's to quests and what not for WoWemu, you can figure out SQL db's.

There are also TONS of guides for creating custom portals, do a search.

Items, Best done with MDH, but I'd suggest figuring out SQLyog, or whatever program you are using to view your DB. Its much faster to modify your DB with that program and Excel. Especially filling series (which you will find useful when making the item vendors)

Example custom items on my server

hxxp://famine.servegame.com:8080/forum/viewtopic.php?t=6

Copy and paste jobs. Guaranteed to work.

Training areas, like I said, just have to decide on a central location. Spawn the trainers you want there. Unlike WoWemu, there is no world.save file. So technically everything is "Unlocked." meaning, what you place in the world SHOULD be there when you restart without having to go through the process of locking and unlocking.

Sample portal.

(all tab separated values copied from Excel... this means you should be able to copy and paste this line to a text file, and then ask SQLyog to import it into the specified DB as a CSV import)
Add this line to Gameobject_template:
401000 27 4393 Portal to Hyjal 0 0 1 300000 0 0 0 0 0 0 0 0 0

Add this line to Areatrigger_template:
300000 Portal to Hyjal 0 0 0 0 0 1 4674.88 -3638.37 965.264 0

The game object is the portal itself. the first column is the object ID. The 4th column is the display name, the 8th column (300000 in this case) is a pointer. It tells the portal to use the areatrigger 300000. the column's 8 9 10 and 11 of the areatrigger should look familiar. (Map ID, x, y,z) column 12 (0 in this case) is the orientation of the person after going through the portal... should leave that at 0.

Best way to go about everything is to keep a backup of all of your data and custom items, don't be afraid to dump the entire mangos DB if you mess something up, and remember... most mistakes are fixable. Do the same thing you did with WoWemu... tweak it till it works the way you want it to.
 
that would require searching... which could have answered any one of the questions by yannickjolie... clearly that isn't an option for people anymore. I think I'm going to just start cutting and pasting my answers.
 
Actually ive been searching the forums for quite a while more like 2 weeks for the answer to my thread and quite simply saw this after i posted my thread 6+ hours later thats why i was happy to see it and To be honest if your thread was here i would have found it. maybe time to re word the topic or bump it.
 
wasn't directed to you :) and no, specifically Hyjal wouldn't have its own thread for a custom portal... I just happened to use that as my example.
 
heh figured it wasnt but rather clear up that i did try to look for it and thanks for bum,ping the portal topic... i see it now.
 
Back