filo
-
Posts
40 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by filo
-
-
Yes, I found it too, but I dont know how can I edit it for use it for IF clause like example above, can you help me?
-
Hi,
I need help with separate string from config, something like this (example):
config:
areas = "5442,1024,3054,246"
player.cpp:
std::string areas = sWorld.getConfig(CONFIG_STRING_CUSTOM_AREAS); if (pPlayer->GetAreaId() == areas) { ...some code here... }
but i dont know, how can I separate areas string for IF clause.
Thanks for help with this.
-
Thanks, it works nice ;-).
-
Hi, I need help with function in BattlegroundMgr.cpp:
time_t curtime = time(NULL);
How can I specify time (only time; day,month and year will be equal to TODAY).
For example TODAY 15:00.
-
Shadez, there is option for set table prefix?
-
Hi, I remeber that I think hanuza commit function similiar to additem for external scripts (scriptdev2) use, whats name of this function is it? I cannot find it :-/. Thanks
-
Hi,
On my server I have problem with GM's and command additem. When GM type .additem ID -50 (for example) from one character, and after .additem ID 50 to another character (some item transaction from char to char), BUT in gm log you can see, even if he doesn't have item count - you cannot identify support :-/.
Command: .additem ITEM -1 [...]
So, where can I modify, that command dont print to gm log, if player doesn't specify item count?
= Its solution for my problem, becouse after this modify, I will be able to see only .additem ID 50, but not .additem ID -50 =>SUPPORT :-).
I know, I can disable command additem for GM, but I checking GM logs every day, thats not problem for me, but for this command, you cannot identify support :-/.
-
Ah, I think, there is some "default" icon for tabs, instead this "?" red icon. Thanks for your explain ;-).
-
Hi,
Look at this picture:
http://i50.tinypic.com/2yziek1.jpg
Guild Vault Tab icons is bugged with "?" red icon.
I have newest mangos revision, udb and I havent any custom addons. Anybody has same problem?
-
Ah, my mistake, thanks for explain ;-).
-
Why you replaced WUPDATE_COUNT = 7 with WUPDATE_BROADCAST = 7, and added WUPDATE_COUNT = 8 after custom WUPDATE_BROADCAST = 7?
I think
WUPDATE_EVENTS = 6, WUPDATE_COUNT = 7, WUPDATE_BROADCAST = 8
is better? I'm not sure if it somehow affects the running of the script, but I think that the original takes precedence over custom script
-
Thanks, I used your tips and now its works perfect ;-).
-
And whats about tmp_table_size in my.cnf?
-
Is there any function for print formatted datetime in MaNGOS? Or any another way, how can I print datetime (if you have code, please include it).
Thanks a lot
-
Lynx3d: Thanks, its works, I'm forgot it.
-
Yes, you're right, Vladimir is genius respect him ;-).
But back to my problem:
Thanks Vladimir, but how can I use this function? Whats files I need include in my script?
Sorry for noob question, but there is no manual for mangos source and I'm still learning mangos source.
Thanks for a lot for help ;-).
-
Hello,
I have one small noob question, whats files I need include in my custom script for correct work:
SendSysMessage(LANG_YOU_IN_COMBAT); SetSentErrorMessage(true);
Thanks a lot ;-)
-
Anyone check it, please? Thanks ;-)
-
Becouse I create new account type (sec_donator = 1), and I need edit code for it.
Becouse, when I disable two side interraction chat in config, accounts with gmlevel 1 (sec_donator), will be able to chat with opposite side, and this I do not want.
OK, I edit code like this:
Player *player = objmgr.GetPlayer(to.c_str()); uint32 tSecurity = GetSecurity(); uint32 pSecurity = player ? player->GetSession()->GetSecurity() : SEC_PLAYER; if (!player || (tSecurity <= SEC_MODERATOR && pSecurity > SEC_PLAYER && !player->isAcceptWhispers())) { WorldPacket data(SMSG_CHAT_PLAYER_NOT_FOUND, (to.size()+1)); data<<to; SendPacket(&data); return; } if (!sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHAT) && tSecurity <= SEC_MODERATOR && pSecurity == SEC_PLAYER ) { uint32 sidea = GetPlayer()->GetTeam(); uint32 sideb = player->GetTeam();
Its true?
-
Hello, I need clarify different between psecurity & tsecurity:
Player *player = objmgr.GetPlayer(to.c_str()); uint32 tSecurity = GetSecurity(); uint32 pSecurity = player ? player->GetSession()->GetSecurity() : SEC_PLAYER; if (!player || (tSecurity == SEC_PLAYER && pSecurity > SEC_PLAYER && !player->isAcceptWhispers())) { WorldPacket data(SMSG_CHAT_PLAYER_NOT_FOUND, (to.size()+1)); data<<to; SendPacket(&data); return; } if (!sWorld.getConfig(CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHAT) && tSecurity == SEC_PLAYER && pSecurity == SEC_PLAYER ) { uint32 sidea = GetPlayer()->GetTeam(); uint32 sideb = player->GetTeam(); if( sidea != sideb ) { WorldPacket data(SMSG_CHAT_PLAYER_NOT_FOUND, (to.size()+1)); data<<to; SendPacket(&data); return; } }
Becouse I create these account types:
0-sec_player
1-sec_donator
2-sec_moderator
...
->I must replace tSecurity == SEC_PLAYER for tSecurity <= SEC_MODERATOR its true?
Thanks a lot ;-)
-
Thanks a lot I will try it ;-)
-
Yes its work on newest mangos revisions ;-).
I compiled it on rev 8664 successfully :cool:
-
I use visibility 66, and latency will be reduce about 70% . I will try set it to 90.
CPU usage is about 30% with 65 players. (reduce about 5%)
-
Whats settings in config I need use for minimum lags, visibility about 66?
World of Warcraft Armory
in Old3rd party projects
Posted
xD5: I have this problem too, problem is in FULL SQL packages, it isnt correct ( I dont know if all, but most of them :-( ), but I found correct package: wowarmory_rc1_r214.7z, unpack it, apply it, and after you must apply next updates from updates folder, so:
armory_r215_armory_achievement_criteria.sql, armory_r221_armory_instance_template.sql, etc...Its working for me now ;-) I hope it will help you ;-)
For All: Tooltips and talents page works, but not on Google Chrome :-/.
EDIT:
Shadez, there is patch for fix table prefix (tested, OK):