Friday, October 2, 2009

Compile MaNGOS On Linux

To begin, You must install the following: (Enables you to compile MaNGOS)

  • GCC 4.1.X ( gcc / g++ / cpp / fort77 / g77 / gpp)
  • automake
  • autoconf
  • glibc & glibc-dev(glibc headers) [ libc6 ]
  • make
  • mysql-server 4.1 ou mysql-server 5.0 && libmysql++-dev
  • libtool
  • OpenSSL (libssl-dev)
  • subversion et patch
  • git
  • zlibc
You are able to do this using the Terminal:

apt-get install gcc g++ automake autoconf make libmysql++-dev libtool libssl-dev subversion patch zlibc libc6 git git-core cogito


Ubuntu users also can also use the following:

sudo apt-get install build-essential libmysql++-dev libtool libssl-dev subversion zlibc git-core


To use git and not use gitfm, you must use this:

update-alternatives --config git


You must enter the digit which match with:

/usr/bin/git-scm


You must download the files from the git repository, git will create your mangos sources directory for you:

git clone git://github.com/mangos/mangos.git


Now we change to the MaNGOS directory:

cd mangos


We now download and patch ScriptDev2, so lets make a directory:

mkdir src/bindings/ScriptDev2


And now use their svn to pull the latest ScriptDev2 revision:

svn co https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2/src/bindings/ScriptDev2


Now we need to patch SD2 (ScriptDev2) into mangos. (This makes it compile with MaNGOS)

git apply src/bindings/ScriptDev2/patches/MaNGOS-XXXX-ScriptDev2.patch


After the patch has been successful applied to mangos, we compile it, run these in Terminal one after the other:

  • autoreconf --install --force
  • mkdir objdir
  • cd objdir
  • ../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos
  • make
  • make install
  • make clean
  • cd ..
  • rm -r objdir
You can replace:

../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos With: ../configure --prefix=[working path] --sysconfdir=[working path]/etc --enable-cli --enable-ra --datadir=[working path] with your [working path]


For example:

../configure --prefix=/opt/foo --sysconfdir=/opt/mangos/foo --enable-cli --enable-ra --datadir=/opt/foo


Once you have run make install, the above code will have caused it to be place the binaries in "/opt/foo/" and the server needs to be ran from the bin folder.
Read more on this article...

Mangos Gm Commands

LEVELUP 4 COMMANDS ( ADMIN )


.acct
Syntax: Checks Your Account Gm Level.

.commands
Syntax: Shows All The Availble Commands You May Use.

.dismount
Syntax: Dismounts You From Your Mount.
NOTE* Must Be On A Munt To Work.

.gmlist
Syntax: Shows Gm's Online

.help [Command]
Syntax: Shows Help for the selected Command.

.save
Syntax: Saves Character.

.start
Syntax: Teleports To Where Your Hearthstone Is Set.


.announce [message]
Syntax: Broadcast a System Wide Message Viewed By All Players.

.gmoff
Syntax: Turn Gm Visibilty Off. Players And Mobs Can Now Attack You.

.gmon
Syntax: Turn Gm Visibilty On. Players And Mobs Cant Attack You.
You Are Now Visible In .Gmlist

.goname [Char Name]
Syntax: Teleport Staright To The Selected Player.

.namego [Char Name]
Syntax: Teleport The Selected Player To You.

.gps
Syntax: Display the position information for a selected character or creature.
Position information includes X, Y, Z, and orientation, map Id and zone Id

.learnsk [Skill ID]
Syntax: Learns a skill for the selected player ingame.

.lookuptele [Location]
Syntax: Looks up the coordinates for the location selected.


.modify [Hp|Energy|Mana|Rage]
Syntax: Modify the selected players Hp, Energy, Mana, Rage.

.modify [Speed|Swim|Scale|
Syntax: Modify speed and swim rate from scale 0-10.
Modify Scale (Size) For Selected player from scale 0.01-3.

.money [# Amount]
Syntax: Give Money In Copper To Selected Player

.recall
Syntax: Teleport Playername or selected player to the place where he has been before last use of a teleportation command.
If no Playername is entered and no player is selected, it will teleport you.

.saveall
Syntax: Saves All Players In Game

.Visible [0 or 1]
Syntax: Output current visibility state or make GM visible(1) and invisible(0) for other players.

.addmove [#creature_guid] {#waittime}
Syntax: Add your current location as a waypoint for creature with guid #creature_guid. And optional add wait time.

.addspw [Creature I.D]
Syntax: Spawns Creature To The Location You Are Standing.

.changelevel [0-73]
Syntax: Changes level of Selected Mob Or NPC.

.del
Syntax: Delete Selected Creature From World

.delobject
Syntax: Delete gameobject with gameobject guid.

.delticket
Syntax: .delticket [all]
.delticket [#num]
.delticket [character name]
[all] to delete all tickets at server, [character name] to delete ticket of this character, [#num] to delete ticket [#num].

.demorph
Syntax: Demorph Selected Player

.displayid
Syntax: Change the model id of the selected creature to

.gocreature
Syntax: Teleport your character to creature with guid

.kick [Char Name]
Syntax: Kick Char name of the server.

.pinfo [Char Name]
Syntax: Get Info on char's Account

.prog
Syntax: Teleports You To Programmer Island

.spawndist #dist
Syntax: Adjust spawndistance of selected creature to dist.

.targetobject
Syntax: Locate the nearst game object.

.ticket [on|off]
Syntax: [on] Show new tickets, [off] Dont show new tickets.

.addgo [Game Object #I.D]
Syntax. Add a game object from game object templates to the world at your current location using the #I.D.

.additem [Item #I.D] [#amount]
Syntax: Add a item from items template to your bag or selected players bag. Also Add Amount #

.additemset [#itemsetid]
Syntax: Add items from itemset of id #itemsetid to your or selected character inventory.
Will add by one example each item from itemset.

.allowmove
Syntax: Enable or Disable Movement For Each Creature

.bank
Syntax: Show your bank

.banaccount [Account Name]
Syntax: Ban account name (can be viewed by players by using the .pinfo command) and kick affected players currently logged in.

.banip [#ip]
Syntax: Bans logging into the server from computers with the provided IP address, and kicks all affected players.

.createguild [Guild Name] [Guild Leader Char Name]
Syntax: Create a guild named Guild Name with the player Guild Leader Char Name as leader. ~

.cshutdown
Syntax: Cancels Shutdown

.die
Syntax: Does What it Says.

.gameobject [#I.D]
Syntax: Add a game object from game object templates to the world at your current position using the [#I.D]

.go [#position_x #position_y #position_z #mapid]
Syntax: Teleport to the given coordinates on the specified map.

.hover
Syntax: Hover Your Character

.idleshutdown [#delay|cancel]
Syntax: Shut the server down after #delay seconds if no active connections are present (no players) or cancel the shutdown if cancel value is used.

.learn
Syntax: .learn all
.learn all_myclass
.learn all_lang
All learns all spells for gm's, all_myclass learns all spells for your class, all_lang learns all languages.

.levelup [1-69]
Syntax: Level Up Your Char With Selected #. To Down levels: .levelup -#

.lookupcreature [name of creature]
Syntax: Looks up a creature by nameofcreature, and returns all matches with their creature ID's.

.lookupitem [item name]
Syntax: Looks up an item by Item name, and returns all matches with their Item ID's.

.lookupobject [object name]
Syntax: Looks up an gameobject by object name, and returns all matches with their Gameobject ID's.

.lookupskill [name]
Syntax: Looks up a skill by name, and returns all matches with their skill ID's.

.lookupspell name
Syntax: Looks up a spell by name, and returns all matches with their spell ID's.

.maxskill
Syntax: Max's All Skills You Have Learned.

.morph [#display I.D]
Syntax: Change your current model id to #display I.D.

.respawn
Syntax: Respawns All Dead And Alive NPC's, Mobs

.revive
Syntax: Revives Selected Player (Brings Back to Life)

.shutdown #seconds
Syntax: Shutdown server

.Security [Player name] [#level]
Syntax: Set the security level of player Player name to a level of #level.
#level may range from 0 to 4.

.wchange [#weathertype] [#status]
Syntax: Set current weather to #weathertype with an intensity of #status.
#weathertype can be 1 for rain, 2 for snow, and 3 for sand. #status can be 0 for disabled, and 1 for enabled.

.flymode [on|off]
Syntax: Lets You fly In mid air, to enable type on or to disable type off.
Read more on this article...

Fusion-Reborn 3.2.2 Repack

Fusion-Reborn 3.2.2

Arcemu-modded KeazainCore - Revision 72 / Remodded Trunk
HybridDB/KDB

Updated DB with Tier 8 + 9 and Season 6 + 7
Scripted Ulduar, Naxx and Wrathgate
Gameobjects spawned and working
Taxi npc
Teleporter + proffessions trainer stone
Epic Murloc mall with Professions hall and Gear vendors
Tier + Season gear in vendor's with prices set
Season 7 arena weps drop from a custom boss you can find a portal in the mall
Wrathgate Lich king scripted battle
C++ Global channel *type /o
C++ Haste system ( Haste isnt capped at 1.0 seconds per hit, can go as fast as you want ) *Max haste tabard sold in the mall for $210,000
Murloc Mini-Casino with bets from 50g to 10,000g (in the mall)

Credits:
Arcemu
Ac-Web
Keazain.dk
FaceCannon
Shamzooloo (ME)
lollardo – The Lich King LUA script (modified)
tikkit – gamble NPC LUA script
Heroes of Nothrend (grey69) Creature_spawns + Ai_agents + Creature_proto

....
And everyone that has contriibuted to Ac-web forums !!!

Download Link:

Free File Hosting Made Simple - MediaFire

Video Teaser

YouTube - Shamzooloo Fusion-Reborn 3.2

*set realmlist 127.0.0.1 and logon with User:Admin Pass:Admin

Also im not sure if I added a ad.exe in there. but im sure you can find one as you will need to add the maps folder to your Arcemu folder.


Thanks to FaceCannon for the core work :/cheer!

Fusion-Reborn 3.2.0 Repack here

Fusion-Reborn 3.2 Repack.
Read more on this article...

Fusion-Reborn 3.2.2 Repack

Fusion-Reborn 3.2.2

Arcemu-modded KeazainCore - Revision 72 / Remodded Trunk
HybridDB/KDB

Updated DB with Tier 8 + 9 and Season 6 + 7
Scripted Ulduar, Naxx and Wrathgate
Gameobjects spawned and working
Taxi npc
Teleporter + proffessions trainer stone
Epic Murloc mall with Professions hall and Gear vendors
Tier + Season gear in vendor's with prices set
Season 7 arena weps drop from a custom boss you can find a portal in the mall
Wrathgate Lich king scripted battle
C++ Global channel *type /o
C++ Haste system ( Haste isnt capped at 1.0 seconds per hit, can go as fast as you want ) *Max haste tabard sold in the mall for $210,000
Murloc Mini-Casino with bets from 50g to 10,000g (in the mall)

Credits:
Arcemu
Ac-Web
Keazain.dk
FaceCannon
Shamzooloo (ME)
lollardo – The Lich King LUA script (modified)
tikkit – gamble NPC LUA script
Heroes of Nothrend (grey69) Creature_spawns + Ai_agents + Creature_proto

....
And everyone that has contriibuted to Ac-web forums !!!

Download Link:

Free File Hosting Made Simple - MediaFire

Video Teaser

YouTube - Shamzooloo Fusion-Reborn 3.2

*set realmlist 127.0.0.1 and logon with User:Admin Pass:Admin

Also im not sure if I added a ad.exe in there. but im sure you can find one as you will need to add the maps folder to your Arcemu folder.


Thanks to FaceCannon for the core work :/cheer!
Read more on this article...


Powered by: BlogSpot