Jump to content

Recommended Posts

  • Replies 770
  • Created
  • Last Reply

Top Posters In This Topic

Posted
if I wanted to make it 2.4.3 instead of 3.0.9 what detour steps would I take to do that?

You'd git clone /pull from the 0.12 branch instead of master. make sure you have the 2.4.3 client when you extract maps using the ad.exe make sure the database you use is for 2.4.3

Posted

yea I have the 2.4.3 client, so I follow the steps on the original post, what would I replace and what would I do extra? Besides extract the 2.4.3 maps and DBC

Posted

4

-Install your GIT client if you haven't already

-Once installed, make a folder anywhere and call it whatever you want (this will be your MaNGOS source folder so you might want to call it "MaNGOS" or something)

-Right click your new folder and select "Git GUI Here"

-When the GIT GUI window comes up, click on "Clone Existing Repository"

-Another window should pop up

-In the "Source Location" field, type in:

Code:

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

It is so easy to get a version mismatch. UDB the newest revision posted is this.

Update Pack 370 has been released!

Requires: Core 7517+

With git://github.com/mangos/mangos.git I git this revision of mangos. 7644. So can anyone tell me how to get the core 7517 required for UDB to match up?

Posted

...

It is so easy to get a version mismatch. UDB the newest revision posted is this.

Update Pack 370 has been released!

Requires: Core 7517+

With git://github.com/mangos/mangos.git I git this revision of mangos. 7644. So can anyone tell me how to get the core 7517 required for UDB to match up?

...

With some work you get the DB to match any Mangos core. Search about DB updating, on UDB forums also ...

Posted

Thanks for this great guide! It really helped me.

The only thing that didn't work was when I tried to get the MaNGOS source code by using GIT.

I created a folder (e.g. C:/bla/bla/MaNGOS) and clicked right on it.

Then I went to all the steps and put the information in. When I clicked "clone" I got this error message:

"Location C:/bla/bla/MaNGOS already exists."

After that I deleted the folder and right clicked on a random folder and did the same thing. Also I put in "C:/bla/bla/MaNGOS" for the location. It worked.

What did I do wrong?

Posted
With some work you get the DB to match any Mangos core. Search about DB updating, on UDB forums also ...

Thanks for the reply Raws.

On the UDB forum the information covers to core 7515. I am not updating an existing mangos DB, but setting up a clean install. On SVN we could go to source net and find older mangos rev. Now with git, I can only seem to find one or 2 rev. older at best than the newest release. 7656 is what git clones now and UDB, the newest I can find is 7515.

You would think it would be prudent to have a back log of all mangos revisions so if UDB or scriptdev2 were behind, people could go to the backlog of mangos for a matching mangos in the case of a clean install or if someone wanted to setup an old sever to study.

Posted
Thanks for the reply Raws.

On the UDB forum the information covers to core 7515. I am not updating an existing mangos DB, but setting up a clean install. On SVN we could go to source net and find older mangos rev. Now with git, I can only seem to find one or 2 rev. older at best than the newest release. 7656 is what git clones now and UDB, the newest I can find is 7515.

You would think it would be prudent to have a back log of all mangos revisions so if UDB or scriptdev2 were behind, people could go to the backlog of mangos for a matching mangos in the case of a clean install or if someone wanted to setup an old sever to study.

You're not understanding it correctly. e.g. If UDB 370 says 7517 rev, It means that rev, and beyond.

You're getting the source from git, even though its above 7517 you don't have to "downgrade" mangos back to 7517 for UDB to work, you apply sql updates to your db from 7517 and above, till it matches whatever rev , you pulled from master branch. (If you don't want a higher rev, you can actually pull from 7517 itself, just read the history till 7517 and pull that head i believe)

Posted

it says

-Add all the .exe files, .dll files and .pdb files in the compile folder into your Mangos folder (Ctrl + F to find them)

but where are these files?

Posted
-Add all the .exe files, .dll files and .pdb files in the compile folder into your Mangos folder (Ctrl + F to find them)
It sais how to find them in the same sentense xD

The .exe and .dll files are in the "bin/Win32_Release/" folder.

Posted

C:\\MaNGOS\\bin\\Win32_Release\\

there is nothing in it.

Does it have to do with how the compile worked? because when I compile when it gets done it has like 7 succeeded, 5 failed, 12 up-to-date, or something like that.

It might be that, or its the wrong folder i'm looking it

Posted
C:\\MaNGOS\\bin\\Win32_Release\\

there is nothing in it.

Does it have to do with how the compile worked? because when I compile when it gets done it has like 7 succeeded, 5 failed, 12 up-to-date, or something like that.

It might be that, or its the wrong folder i'm looking it

The compile failed. This could be from patching the source with something it don't like. Try compiling without patching. Or find an updated patch.

Posted

Edit : fixed the problem, moved the config files to the appropiate location of the exe's,

another question however, im getting missing tables when i try and run the server, i am updating as we speak, however i also got "missing rows" etc from SQLyog too. any ideas?

2009-04-13 12:45:53 Using configuration file mangosd.conf.

2009-04-13 12:45:53 World Database: 127.0.0.1;3306;root;mangos;mangos

2009-04-13 12:45:53 MySQL client library: 5.0.56

2009-04-13 12:45:53 MySQL server ver: 6.0.9-alpha-community

2009-04-13 12:45:53 Character Database: 127.0.0.1;3306;root;mangos;characters

2009-04-13 12:45:53 MySQL client library: 5.0.56

2009-04-13 12:45:53 MySQL server ver: 6.0.9-alpha-community

2009-04-13 12:45:53 Login Database: 127.0.0.1;3306;root;mangos;realmd

2009-04-13 12:45:53 MySQL client library: 5.0.56

2009-04-13 12:45:53 MySQL server ver: 6.0.9-alpha-community

2009-04-13 12:45:53 Realm running as realm ID 1

2009-04-13 12:45:53 ERROR:SQL: SELECT version, creature_ai_version FROM db_version LIMIT 1

2009-04-13 12:45:53 ERROR:query ERROR: Unknown column 'creature_ai_version' in 'field list'

2009-04-13 12:45:53 Using World DB: Unknown world database.

2009-04-13 12:45:53 Using creature EventAI: Unknown creature EventAI.

2009-04-13 12:45:53 Using DataDir ./

2009-04-13 12:45:53 ERROR:SQL: UPDATE characters SET bgid = 0 WHERE bgid<>0

2009-04-13 12:45:53 WORLD: VMap support included. LineOfSight:0, getHeight:0

2009-04-13 12:45:53 ERROR:SQL ERROR: Unknown column 'bgid' in 'where clause'

2009-04-13 12:45:53 WORLD: VMap data directory is: ./vmaps

2009-04-13 12:45:53 WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds

2009-04-13 12:45:53

2009-04-13 12:45:53 Loading MaNGOS strings...

2009-04-13 12:45:53

2009-04-13 12:45:53 >> Loaded 611 MaNGOS strings from table mangos_string

2009-04-13 12:45:53 Initialize data stores...

2009-04-13 12:45:54

2009-04-13 12:45:54 >> Initialized 77 data stores

2009-04-13 12:45:54 Using enUS DBC Locale as default. All available DBC locales: enUS

2009-04-13 12:45:54

2009-04-13 12:45:54 Loading Script Names...

2009-04-13 12:45:54

2009-04-13 12:45:54 >> Loaded 584 Script Names

2009-04-13 12:45:54 Loading InstanceTemplate...

2009-04-13 12:45:54 ERROR:Error in instance_template table, probably sql file format was updated (there should be 12 fields in sql).

is the error

Posted
Edit : fixed the problem, moved the config files to the appropiate location of the exe's,

another question however, im getting missing tables when i try and run the server, i am updating as we speak, however i also got "missing rows" etc from SQLyog too. any ideas?

2009-04-13 12:45:53 Using configuration file mangosd.conf.

2009-04-13 12:45:53 World Database: 127.0.0.1;3306;root;mangos;mangos

2009-04-13 12:45:53 MySQL client library: 5.0.56

2009-04-13 12:45:53 MySQL server ver: 6.0.9-alpha-community

2009-04-13 12:45:53 Character Database: 127.0.0.1;3306;root;mangos;characters

2009-04-13 12:45:53 MySQL client library: 5.0.56

2009-04-13 12:45:53 MySQL server ver: 6.0.9-alpha-community

2009-04-13 12:45:53 Login Database: 127.0.0.1;3306;root;mangos;realmd

2009-04-13 12:45:53 MySQL client library: 5.0.56

2009-04-13 12:45:53 MySQL server ver: 6.0.9-alpha-community

2009-04-13 12:45:53 Realm running as realm ID 1

2009-04-13 12:45:53 ERROR:SQL: SELECT version, creature_ai_version FROM db_version LIMIT 1

2009-04-13 12:45:53 ERROR:query ERROR: Unknown column 'creature_ai_version' in 'field list'

2009-04-13 12:45:53 Using World DB: Unknown world database.

2009-04-13 12:45:53 Using creature EventAI: Unknown creature EventAI.

2009-04-13 12:45:53 Using DataDir ./

2009-04-13 12:45:53 ERROR:SQL: UPDATE characters SET bgid = 0 WHERE bgid<>0

2009-04-13 12:45:53 WORLD: VMap support included. LineOfSight:0, getHeight:0

2009-04-13 12:45:53 ERROR:SQL ERROR: Unknown column 'bgid' in 'where clause'

2009-04-13 12:45:53 WORLD: VMap data directory is: ./vmaps

2009-04-13 12:45:53 WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds

2009-04-13 12:45:53

2009-04-13 12:45:53 Loading MaNGOS strings...

2009-04-13 12:45:53

2009-04-13 12:45:53 >> Loaded 611 MaNGOS strings from table mangos_string

2009-04-13 12:45:53 Initialize data stores...

2009-04-13 12:45:54

2009-04-13 12:45:54 >> Initialized 77 data stores

2009-04-13 12:45:54 Using enUS DBC Locale as default. All available DBC locales: enUS

2009-04-13 12:45:54

2009-04-13 12:45:54 Loading Script Names...

2009-04-13 12:45:54

2009-04-13 12:45:54 >> Loaded 584 Script Names

2009-04-13 12:45:54 Loading InstanceTemplate...

2009-04-13 12:45:54 ERROR:Error in instance_template table, probably sql file format was updated (there should be 12 fields in sql).

is the error

Your db don't match the Mangos core, its what we are talking about above.

Check what db you got and search about the updates(or downgrades?) you need to match the core you compiled.

You can use the files on the sql subfolder to set a db that will work for the compiled server, but it will be an empty world.

Posted
Aight, so I cleaned/rebuilt a debug build and compilation succeeded without issue.

Activating the mangosd project and running the debugger, the Output Windows Shows

'mangosd.exe': Loaded 'E:\\mangos_src\\bin\\win32_debug\\mangosd.exe', Symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\ntdll.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\kernel32.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\ws2_32.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\advapi32.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\rpcrt4.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\secur32.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\msvcrt.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\ws2help.dll', No symbols loaded.
'mangosd.exe': Loaded 'E:\\mangos_src\\bin\\win32_debug\\dbghelp.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\\msvcr80d.dll', Symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\user32.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\gdi32.dll', No symbols loaded.
'mangosd.exe': Loaded 'E:\\mangos_src\\bin\\win32_debug\\ACEd.dll', Symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\mswsock.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\netapi32.dll', No symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\WinSxS\\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_5490cd9f\\msvcp80d.dll', Symbols loaded.
'mangosd.exe': Loaded 'C:\\WINDOWS\\system32\\wsock32.dll', No symbols loaded.
'mangosd.exe': Loaded 'E:\\mangos_src\\bin\\win32_debug\\libmySQL.dll', No symbols loaded.
'mangosd.exe': Loaded 'E:\\mangos_src\\bin\\win32_debug\\libeay32.dll', No symbols loaded.
LDR: LdrpWalkImportDescriptor() failed to probe e:\\mangos_src\\bin\\win32_debug\\LIBEAY32.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3840] mangosd.exe: Native' has exited with code -1072365566 (0xc0150002).

Digging into the LIBEAY32.dll's manifest, event viewer shows that

Dependent Assembly Microsoft.VC90.DebugCRT could not be found and Last Error was The referenced assembly is not installed on your system.

I quickly looked through the manifests for the various modules that were built and could not see where VC90.DebugCRT was referenced and this would be a problem as I should only be referencing VC8-built libraries/dlls (as it appears from the install instructions above that VC80 is still supported). Admittedly, my strengths are in C/C++ and I am just teaching myself the DotNet side, so I am a little weak in manifest management and so appeal to the communitify for support in this matter..as I suspect anyone trying to compile under VC8/2005 will experience the same difficulty.

Best Regards,

T.

***EDIT:

I have confimed this is the same issue when running a release build with the exception being the reference to the non-debug version:

Event Type: Error

Event Source: SideBySide

Event Category: None

Event ID: 32

Date: 02/04/2009

Time: 1:04:05 PM

User: N/A

Computer: WXPP-P3000

Description:

Dependent Assembly Microsoft.VC90.CRT could not be found and Last Error was The referenced assembly is not installed on your system.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Digging in to this further it appears as though the libeay32.dll that is in the current git get was built using VC9.0 (breaking VC8.0 builds).

The current release in GIT:

Version: 0.9.8.10/0.9.8j

Modified: April 13, 2009, 3:12:48 PM

Size: 988 KB (1,011,712 bytes)

If I transplant the libeay32.dll from my old working 3.0.3 version, I no longer have the error...it's details are:

Version: 0.9.8.5/0.9.8e

Modified: January 25, 2009, 2:57:30 PM

Size: 0.98 MB (1,032,192 bytes)

I couldn't pull up a revision list at http://openssl.org to see what has changed/been fixed and I am hoping that a build of libeay32.dll will be included for us VS2005/VC8.0 users and the mangosdVC80.sln be updated to use this version.

Best regards,

T.

Posted

okay i read it but i'm lost, i'm more of a visual learner. and was wondering what the folder is supposed to look like at the end, i think i'm missing files but i'm not sure. can anybody help with this?

here is what i have.

Untitled.jpg

Posted
okay i read it but i'm lost, i'm more of a visual learner. and was wondering what the folder is supposed to look like at the end, i think i'm missing files but i'm not sure. can anybody help with this?

here is what i have.

Untitled.jpg

That's how it's suppose to look like. What (error) message do you get when you start realmd.exe or/and mangosd.exe?

Question to all: Are the PDB Files needed? I didn't think so.

Posted

i got it to work on one computer, but when i transferred it to the host, it said "the application can not start because it is not configured right. reinstalling may fix this problem."

Posted
i got it to work on one computer, but when i transferred it to the host, it said "the application can not start because it is not configured right. reinstalling may fix this problem."

.NET Framework 3.5 installed on the host?

Posted

Nice guide... but im a complete noob Isnt there anyway to make a Repack ?:confused:

I tryed Johnved's Repack 2.0 for 3.0.9.. and it goes so easy. .

Please add my MSN : [email protected]

I needa speak to some1 that is a PRO On this... Thanks

MANGOS IN MAH HEARTH! (L):lol:

Posted

mangos does NOT and will NOT support repacks, if you cant follow a simple guide to get the source and compile it, then maybe mangos isn't something you should be using.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use