Shin Darth
-
Posts
141 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Shin Darth
-
-
diff --git a/dep/src/g3dlite/prompt.cpp b/dep/src/g3dlite/prompt.cpp index d78f8b7..df3da50 100644 --- a/dep/src/g3dlite/prompt.cpp +++ b/dep/src/g3dlite/prompt.cpp @@ -21,6 +21,7 @@ # define _getch getchar #endif +#undef G3D_OSX #if 0 /* MANGOS exclude for disabled gui prompt */ #ifdef G3D_OSX
This should do it.
First all thank you for help,
I tried your way but I still got errors:
../../../../dep/ACE_wrappers/ace/DLL_Manager.cpp:437: error: 'ACE_LIB_TEXT' was not declared in this scopemake[5]: *** [libACE_la-DLL_Manager.lo] Error 1
make[4]: *** [install-recursive] Error 1
make[3]: *** [install] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Shins-MacBookPro:objdir Shin$
Please help me, I really need to get mangos compile for my work on UDB 'cause I got only my Mac atm.. I can't test anything without mangos
-
please someone can help me?
-
Undefined symbols:
"_Gestalt", referenced from:
G3D::System::init() in libg3dlite.a(System.o)
G3D::System::init() in libg3dlite.a(System.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [mangos-worldd] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
what to do??
please help
-
we finally have made the switch to an Open Source forum.
finally! I'm glad to hear it
-
and in a item set?
you can't use wowhead to know itemset IDs, for itemset search with:
lookup itemset ...
and then:
additemset ...
-
Hello everyone, this is actually my first time with Mac OS X and I tried to compile MaNGOS on rev 10309 but I got these errors:
In file included from ../../../../src/shared/Database/DatabaseEnv.h:39,from ../../../../src/shared/Database/DatabaseMysql.cpp:25:
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:30:19: error: mysql.h: No such file or directory
In file included from ../../../../src/shared/Database/DatabaseEnv.h:39,
from ../../../../src/shared/Database/Database.cpp:19:
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:36: error: expected `)' before ‘*’ token
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:43: error: ‘enum_field_types’ has not been declared
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:46: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:46: error: expected ‘;’ before ‘*’ token
In file included from ../../../../src/shared/Database/DatabaseEnv.h:41,
from ../../../../src/shared/Database/Database.cpp:19:
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:72: error: ISO C++ forbids declaration of ‘MYSQL’ with no type
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:72: error: expected ‘;’ before ‘*’ token
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:77: error: ‘MYSQL_RES’ has not been declared
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:77: error: ‘MYSQL_FIELD’ has not been declared
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h: In member function ‘virtual DatabaseMysql::operator bool() const’:
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:58: error: ‘mMysql’ was not declared in this scope
make[5]: *** [Database.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from ../../../../src/shared/Database/DatabaseEnv.h:39,
from ../../../../src/shared/Database/DatabaseMysql.cpp:25:
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:36: error: expected `)' before ‘*’ token
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:43: error: ‘enum_field_types’ has not been declared
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:46: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:46: error: expected ‘;’ before ‘*’ token
In file included from ../../../../src/shared/Database/DatabaseEnv.h:41,
from ../../../../src/shared/Database/DatabaseMysql.cpp:25:
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:72: error: ISO C++ forbids declaration of ‘MYSQL’ with no type
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:72: error: expected ‘;’ before ‘*’ token
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:77: error: ‘MYSQL_RES’ has not been declared
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:77: error: ‘MYSQL_FIELD’ has not been declared
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h: In member function ‘virtual DatabaseMysql::operator bool() const’:
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:58: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual void DatabaseMysql::ThreadStart()’:
../../../../src/shared/Database/DatabaseMysql.cpp:32: error: ‘mysql_thread_init’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual void DatabaseMysql::ThreadEnd()’:
../../../../src/shared/Database/DatabaseMysql.cpp:37: error: ‘mysql_thread_end’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In constructor ‘DatabaseMysql::DatabaseMysql()’:
../../../../src/shared/Database/DatabaseMysql.cpp:42: error: class ‘DatabaseMysql’ does not have any field named ‘mMysql’
../../../../src/shared/Database/DatabaseMysql.cpp:48: error: ‘mysql_library_init’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:50: error: ‘mysql_thread_safe’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In destructor ‘virtual DatabaseMysql::~DatabaseMysql()’:
../../../../src/shared/Database/DatabaseMysql.cpp:64: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:65: error: ‘mysql_close’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:69: error: ‘mysql_library_end’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual bool DatabaseMysql::Initialize(const char*)’:
../../../../src/shared/Database/DatabaseMysql.cpp:79: error: ‘MYSQL’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:79: error: ‘mysqlInit’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:80: error: ‘mysql_init’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:110: error: ‘MYSQL_SET_CHARSET_NAME’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:110: error: ‘mysql_options’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:127: error: ‘MYSQL_PROTOCOL_SOCKET’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:128: error: ‘MYSQL_OPT_PROTOCOL’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:140: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:141: error: ‘mysql_real_connect’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:147: error: ‘mysql_get_client_info’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:148: error: ‘mysql_get_server_info’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:158: error: ‘mysql_autocommit’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:174: error: ‘mysql_error’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:175: error: ‘mysql_close’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: At global scope:
../../../../src/shared/Database/DatabaseMysql.cpp:180: error: ‘MYSQL_RES’ has not been declared
../../../../src/shared/Database/DatabaseMysql.cpp:180: error: ‘MYSQL_FIELD’ has not been declared
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘bool DatabaseMysql::_Query(const char*, int**, int**, uint64*, uint32*)’:
../../../../src/shared/Database/DatabaseMysql.cpp:182: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:191: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:191: error: ‘mysql_query’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:194: error: ‘mysql_error’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:202: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:202: error: ‘mysql_store_result’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:203: error: ‘mysql_affected_rows’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:204: error: ‘mysql_field_count’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:213: error: ‘mysql_free_result’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:217: error: ‘mysql_fetch_fields’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual QueryResult* DatabaseMysql::Query(const char*)’:
../../../../src/shared/Database/DatabaseMysql.cpp:223: error: ‘MYSQL_RES’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:223: error: ‘result’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:224: error: ‘MYSQL_FIELD’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:224: error: ‘fields’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual QueryNamedResult* DatabaseMysql::QueryNamed(const char*)’:
../../../../src/shared/Database/DatabaseMysql.cpp:240: error: ‘MYSQL_RES’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:240: error: ‘result’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:241: error: ‘MYSQL_FIELD’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:241: error: ‘fields’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual bool DatabaseMysql::Execute(const char*)’:
../../../../src/shared/Database/DatabaseMysql.cpp:261: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual bool DatabaseMysql::DirectExecute(const char*)’:
../../../../src/shared/Database/DatabaseMysql.cpp:284: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:293: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:293: error: ‘mysql_query’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:296: error: ‘mysql_error’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘bool DatabaseMysql::_TransactionCmd(const char*)’:
../../../../src/shared/Database/DatabaseMysql.cpp:311: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:311: error: ‘mysql_query’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:314: error: ‘mysql_error’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual bool DatabaseMysql::BeginTransaction()’:
../../../../src/shared/Database/DatabaseMysql.cpp:326: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual bool DatabaseMysql::CommitTransaction()’:
../../../../src/shared/Database/DatabaseMysql.cpp:358: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual bool DatabaseMysql::RollbackTransaction()’:
../../../../src/shared/Database/DatabaseMysql.cpp:386: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp: In member function ‘virtual long unsigned int DatabaseMysql::escape_string(char*, const char*, long unsigned int)’:
../../../../src/shared/Database/DatabaseMysql.cpp:412: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:415: error: ‘mMysql’ was not declared in this scope
../../../../src/shared/Database/DatabaseMysql.cpp:415: error: ‘mysql_real_escape_string’ was not declared in this scope
Please someone may help me?
-
Rev: 9901
OS: Linux_x64 (Ubuntu 10.04 64 bit)
Addon: ScriptDev2
Error while compiling:
In file included from ../../../src/game/Player.cpp:24:../../../src/game/SpellMgr.h:113: error: ‘DamageEffectType’ has not been declared
../../../src/game/SpellMgr.h:114: error: ‘DamageEffectType’ has not been declared
../../../src/game/Player.cpp: In static member function ‘static void Player::DeleteOldCharacters(uint32)’:
../../../src/game/Player.cpp:4272: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘uint64’
Maybe recent changes to SpellMgr have fucked up something?
-
already know this.. the patch isn't blizzlike infact, but it works itself. Current the patch need to be updated, I'll update it when I've the time again
-
Updated for rev 9582+
Also tested for Linux_x64 and works perfect.
-
don't really like the idea of patched cpp file why don't you instead make a github repo?
Becouse imho is easer to download the patched Group.cpp instead of use a custom github repo for users
-
so then i tryed it this away.. deleted file group.cpp copyed group-trade.patch
rename it to group-trade.cpp still did not work...
tryed group.cpp still did not work
Indeed don't work! You have to download the patched Group.cpp and replace it instead the original Group.cpp.
-
none of the links on post one even work for me...
they work for me
-
I do not know if it is me, but the patch does not work after the Rev.9440. I have a problem in compil.
Someone can the adapted please?
EDIT :To sadden for the useless message, the problem came from another patch.
Yes the patch works perfect, today I've tested it on rev 9452 and it works fine.
-
Patch updated for rev 9391+
Diff file also updated
-
Updated for rev 9386+
-
MaNGOS: 9365
ScriptDev2: 1573
UDB: 387
ACID: 3.0.3
Confirmed.
-
Update: tested on 9310 on Windows 32 (3.3.0a client version) and it still doesn't work
-
Oh thank you, I hope these can help MaNGOS.
-
No problem, tell me if there are other missing commands
-
Core rev: 9342
There are some missing commands in db table command, so is not possible to set them the gmlevel required. And by default these commands are set to account level 1.
With this you will get them into command table, and everyone can change the account level required as they want.
Possible fix:
diff --git a/sql/mangos.sql b/sql/mangos.sql index 6424c8c..8fa478d 100644 --- a/sql/mangos.sql +++ b/sql/mangos.sql @@ -651,6 +651,7 @@ INSERT INTO `command` VALUES ('modify drunk',1,'Syntax: .modify drunk #value\\r\\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'), ('modify energy',1,'Syntax: .modify energy #energy\\r\\n\\r\\nModify the energy of the selected player. If no player is selected, modify your energy.'), ('modify faction',1,'Syntax: .modify faction #factionid #flagid #npcflagid #dynamicflagid\\r\\n\\r\\nModify the faction and flags of the selected creature. With +('modify fly', 1, 'Syntax: .modify fly #rate\\r\\n.fly #rate\\r\\n\\r\\nModify the flying speed of the selected player to \\"normal base fly speed\\"*rate. If no pl ('modify gender',2,'Syntax: .modify gender male/female\\r\\n\\r\\nChange gender of selected player.'), ('modify honor',1,'Syntax: .modify honor $amount\\r\\n\\r\\nAdd $amount honor points to the selected player.'), ('modify hp',1,'Syntax: .modify hp #newhp\\r\\n\\r\\nModify the hp of the selected player. If no player is selected, modify your hp.'), @@ -688,6 +689,7 @@ INSERT INTO `command` VALUES ('npc move',2,'Syntax: .npc move [#creature_guid]\\r\\n\\r\\nMove the targeted creature spawn point to your coordinates.'), ('npc name',2,'Syntax: .npc name $name\\r\\n\\r\\nChange the name of the selected creature or character to $name.\\r\\n\\r\\nCommand disabled.'), ('npc playemote',3,'Syntax: .npc playemote #emoteid\\r\\n\\r\\nMake the selected creature emote with an emote of id #emoteid.'), +('npc say', 1, 'Syntax: .npc say #text\\r\\nMake the selected npc says #text.'), ('npc setdeathstate',2,'Syntax: .npc setdeathstate on/off\\r\\n\\r\\nSet default death state (dead/alive) for npc at spawn.'), ('npc setmodel',2,'Syntax: .npc setmodel #displayid\\r\\n\\r\\nChange the model id of the selected creature to #displayid.'), ('npc setmovetype',2,'Syntax: .npc setmovetype [#creature_guid] stay/random/way [NODEL]\\r\\n\\r\\nSet for creature pointed by #creature_guid (or selected if #c @@ -699,6 +701,7 @@ INSERT INTO `command` VALUES ('npc textemote',1,'Syntax: .npc textemote #emoteid\\r\\n\\r\\nMake the selected creature to do textemote with an emote of id #emoteid.'), ('npc whisper',1,'Syntax: .npc whisper #playerguid #text\\r\\nMake the selected npc whisper #text to #playerguid.'), ('npc unfollow',2,'Syntax: .npc unfollow\\r\\n\\r\\nSelected creature (non pet) stop follow you.'), +('npc yell', 1, 'Syntax: .npc yell #text\\r\\nMake the selected npc yells #text.'); ('pdump write',3,'Syntax: .pdump write $filename $playerNameOrGUID\\r\\nWrite character dump with name/guid $playerNameOrGUID to file $filename.'), ('pdump load',3,'Syntax: .pdump load $filename $account [$newname] [$newguid]\\r\\nLoad character dump from dump file into character list of $account with sav ('pinfo',2,'Syntax: .pinfo [$player_name]\\r\\n\\r\\nOutput account information for selected player or player find by $player_name.'),
Update:
DELETE FROM command WHERE name in ('modify fly', 'npc say', 'npc yell'); INSERT INTO command VALUES ('modify fly', 1, 'Syntax: .modify fly #rate\\r\\n.fly #rate\\r\\n\\r\\nModify the flying speed of the selected player to \\"normal base fly speed\\"*rate. If no player is selected, modify your fly.\\r\\n\\r\\n #rate may range from 0.1 to 10.'), ('npc say', 1, 'Syntax: .npc say #text\\r\\nMake the selected npc says #text.'), ('npc yell', 1, 'Syntax: .npc yell #text\\r\\nMake the selected npc yells #text.');
-
Indeed, but Thorazi's patch is imho simpler than NetSky's patch, becouse it modify only 1 file and is easer to update. For this reason I'll continue to update that
-
Patch updated for rev 9342+
-
Updated for rev 9330+, enjoy it!
-
I'm not the author, if you are a better patch post it
Any ETA on 4.0.1 support?
in OldGeneral discussion
Posted
100% agree.
MaNGOS is NOT simply a way to let you play World of Warcraft without pay.
MaNGOS is an educative project, it allows you to learn something using it.
If you want only to play Cataclysm, and you are not interested on the goal of mangos, simply wait until MaNGOS will support it or go to play on official.
MaNGOS non è un programma per farti giocare gratis a WoW.
MaNGOS è un progetto educativo che puoi utilizzare per imparare nuove cose in ambito di programmazione, gestione reti, e altro..
Se vuoi solo giocare a Cataclysm, e non sei interessato in alcun modo al vero obiettivo di mangos, aspetta che mangos passi a cataclysm oppure vai a giocare nel server ufficiale
Magari ti schiarisci le idee qui
http://it.wikipedia.org/wiki/MaNGOS