Anti
-
Posts
81 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Anti
-
-
If you'll read all manuals which are placed in this subforum and you would know how to get a newest source.
But to help you I'm post here command to download the newest mangos source.
You should has a git client. Call console in chosen dir and write next command:
git clone git://github.com/mangos/mangos.git
-
I had it reverted and working just before I've opened this thread If you revert [9606], most people will stop crying "ARGH! CLIENT FREEZE! WHAT THE FUCK?", and those who know may peacefully look for the solution using bug report.
---
According to the reports, client does not expect having GUID every time there. There must be cases when it is zero. Note: this mostly affect aura triggered spells. May be aura triggered spells must have zero as a caster GUID?
It's not arcane blast. It's this 'missile barrage available' effect causing hang. Something is amiss here.
I did the same thing and my players are happy now.
-
The answer was close
vfprint and the same fucntions return value of written chars.
-
void Log::outChar(const char * str, ... ) { if (!str) return; if(charLogfile) { va_list ap; outTimestamp(charLogfile); va_start(ap, str); vfprintf(charLogfile, str, ap); fprintf(charLogfile, "\\n" ); va_end(ap); fflush(charLogfile); } }
I need to know size of completed str (with args) which send into log file.
-
Read Vladimir' message and make a conclusion.
For example:
Player* currPlr = this;
Player* oppont = duel->opponent; // i think here can be maked some optimization... duel->opponent can be replaced with victim or smth else.
And than u can use it in your method:
char* currPlrName = currPlr->GetName(); //but would be nice if you'll uses this->GetName();
//And for a opponent the same operation;
char* oppontName = oppont->GetName();
-
i have this error
ERROR:Map file './maps/0004331.map' is non-compatible version (outdated?). Please, create new using ad.exe program.
ERROR:Correct *.map files not found in path './maps' or *.vmap/*vmdir files in './vmaps'. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.
but i have extract from 3.3.0a my map file with the extractor,
what can i do ?
If u're using newest core just re-extract dbc and maps. They was a little changed it 332.
i am getting this error when starting up mangosd.exeany idea what that intells? i dont understand it.
U has an old dbase (for 7662) but the core expecing for 9331. Update dbase to actualy state.
-
Oh man... Just read wiki or some guides. It was discussed many times.
-
I have tried to unmount npc at setDeathState here
@@ -1225,10 +1225,13 @@ void Creature::setDeathState(DeathState s) if (canFly() && FallGround()) return; if (!IsStopped()) StopMoving(); + + if (IsMounted()) + Unmount(); } Unit::setDeathState(s); if (s == JUST_DIED) {
but after NPC respawning it doesn't visible. Only mount visible.
http://filebeam.com/fade6f01a12057b8d100e7dd75dcc8f3.jpg
There are some kind of visual bug but i haven't any ideas.
PS After grid reload a NPC became visible.
added the bug is actualy only for force respawning.
-
It would be great if someone post here link to 313 version.
-
Mangos used svn it the past. It uses GitHub now.
http://github.com/mangos/mangos
SVN and GIT is a repositories for some projects, it helps to structure and organize a code for convenient developing.
-
Why create different strings per SEC level, 1 should suffice with a simple %s that gets replaced by a string for the appropriate level.
oh... i see.
If I has correctly understood that more correct way:
bool ChatHandler::HandleAnnounceCommand(const char* args) { if(!*args) return false; char* secLevel; switch(m_session->GetSecurity()) { case SEC_MODERATOR: secLevel = "Moder"; break; case SEC_GAMEMASTER: secLevel = "GM"; break; case SEC_ADMINISTRATOR: secLevel = "Admin"; break; default: return false; } sWorld.SendWorldText(LANG_SYSTEMMESSAGE, secLevel, m_session->GetPlayerName(), args); return true; } |cffff0000[system Message] by|c1f40af20 <%s> %s|cffffff00: %s|r
added
But it wrong way, cause there can't be implemented any localization for these 3 words ("GM" etc)... This isn't really big bug but anyway.
added
This work as well on 9254.
commit 50f8fceb47de834d0130e206d41a38c384d20a55 Author: AntiDiavol <[email protected]> Date: Thu Jan 28 14:54:38 2010 +0200 Rewrite announce command. diff --git a/sql/mangos.sql b/sql/mangos.sql index 19c9631..a64298a 100644 --- a/sql/mangos.sql +++ b/sql/mangos.sql @@ -2903,7 +2903,7 @@ LOCK TABLES `mangos_string` WRITE; INSERT INTO `mangos_string` VALUES (1,'You should select a character or a creature.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), (2,'You should select a creature.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(3,'|cffff0000[system Message]: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(3,'|cffff0000[system Message]|c1f40af20 <%s> %s|cffffff00: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), (4,'|cffff0000[Event Message]: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), (5,'There is no help for that command',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), (6,'There is no such command',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL), diff --git a/sql/updates/Not_in_master_branch_9254_01_mangos_string.sql b/sql/updates/Not_in_master_branch_9254_01_mangos_string.sql new file mode 100644 index 0000000..967c2cf --- /dev/null +++ b/sql/updates/Not_in_master_branch_9254_01_mangos_string.sql @@ -0,0 +1,3 @@ +DELETE FROM `mangos_string` WHERE entry = 3; +INSERT INTO `mangos_string` VALUES +(3,'|cffff0000[system Message]|c1f40af20 <%s> %s|cffffff00: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL); \\ No newline at end of file diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp index 29516d5..752551e 100644 --- a/src/game/Level1.cpp +++ b/src/game/Level1.cpp @@ -127,8 +127,23 @@ bool ChatHandler::HandleAnnounceCommand(const char* args) { if(!*args) return false; - - sWorld.SendWorldText(LANG_SYSTEMMESSAGE,args); + char* secLevel; + + switch(m_session->GetSecurity()) { + case SEC_MODERATOR: + secLevel = "Moder"; + break; + case SEC_GAMEMASTER: + secLevel = "GM"; + break; + case SEC_ADMINISTRATOR: + secLevel = "Admin"; + break; + default: + return false; + } + + sWorld.SendWorldText(LANG_SYSTEMMESSAGE, secLevel, m_session->GetPlayerName(), args); return true; }
-
Ok, I'm give to you a basic idea.
bool ChatHandler::HandleAnnounceCommand(const char* args) { if(!*args) return false; switch(m_session->GetSecurity()) { case SEC_MODERATOR: strid = LANG_SYSTEMMESSAGE_MODERATOR; break; case SEC_GAMEMASTER: strid = LANG_SYSTEMMESSAGE_GAMEMASTER; break; case SEC_ADMINISTRATOR: strid = LANG_SYSTEMMESSAGE_ADMINISTRATOR; break; default: return false; } sWorld.SendWorldText(strid, m_session->GetPlayerName(), args); return true; } -- this is your new string for a base. |cffff0000[system Message] by|c1f40af20 <Mod>[%s]|cffffff00: %s|r
And the new command will send next msg:
[system Message] by <Mod> Test: Some text.
But you have to define new announce's strings (LANG_SYSTEMMESSAGE_MODERATOR & etc) and delete old one from the project and the base.
-
Hello Together, I have a problem that I had not yet had
I can not fly on this vehicle http://www.wowhead.com/?npc=28670
previously it has always worked
UDB 386 and last Core rev
Perhaps someone can help me
Here uses a wrong movement flags and this is one of the patch's bugs.
I'll try to merge the patch with 330 and fix some bugs.
-
Strange trouble. Bg's doors doesn't open.
On Win it works as well, but on linux it doesn't.
My OS: CentOS 5.4 x86_64
I does compilation on my CentOS and puts it on a server machine (it on CentOS 5.*)
Is it server machine's problem or a problem somewhere in my system?
Take me some ideas, please.
added
The problem was in gameobject_battleground!
-
I have the same problem, this only happen in Salvaged Demolisher with spells Hurl Pyrite Barrel and Hurl Boulder
As Numnut, i have updated to 9071, I think it may be a commit between 9062 and 9071.
Most likely it had fixed by changes from 9062 commit.
Does anyone have vehicle.patch for this repo http://github.com/insider42/mangos/commits/Download Wojta's vehicle repo to your local repo. And merge it. Fix a conflicts by yourself or post if here, we'll help you with it.
-
damn, I'm missed by the button.
Look at Transport.h -> WayPointMap::const_iterator m_curr.
Look through WayPointMap structure.
-
-
Use TeleportToHomebind().
It would be great to summon a player to his start point (I mean the point from which player has got to a BG).
added
I suggest you to modify BattleGround::EventPlayerLoggedOut(). As i think it would be more correct way...
-
Is it possible to compile a x64 core on a x86 system?
And how i can do it?
-
I have a problem on the Arena tournament It happens sometimes when I want to mount on the
Requires tournament spot
To summon any tournament mounts in a place where they stay must be placed GO 300008 (TEMP Tournament Stables).
-
Did you find the issue with the seats ?
No i didn't because today I had work on a hot task.
-
tester20, create a diff file and post here. Your fix won't apply.
-
Confirmed. I have updated my local repo to last rev and obtained the bug. I'll look at it... May be tommorow.
-
Ok I'll tryit again thank you!
Ok Anti I've given the sql's another try and now I get the green arrow but can't use the vehicle, this only happens in Ulduar on 10man, 25 man is unpopulated for some reason....
On my serv i able to successfully uses all vehicles witch situated in ulduar.
May be something happened when you had creating your core. Try to rebuild it.
And try to delete all WoW caches.
[SPELL=50141]Blood Oath
in OldBug reports
Posted
I've fix but it look hacky.
It's works but I post the patch here only for example.