Jump to content

Voldemmort

Members
  • Posts

    157
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Voldemmort

  1. Hi.

    I'm currently trying to set more accounts on my core and I'm having some problems configuring them.

    Here is an example of what I have.

    enum AccountTypes
    {
       SEC_PLAYER         = 0,                                 // Jugador Normal
       SEC_VIP            = 1,                                 // VIP
       SEC_TRIALGM        = 2,                                 // Trial
       SEC_MODERATOR      = 3,                                 // GM's
       SEC_GAMEMASTER     = 4,                                 // GM's Especiales
       SEC_LEADGM         = 5,                                 // Lider de GM's
       SEC_ADMINISTRATOR  = 6,                                 // Admin
       SEC_CONSOLE        = 7                                  // must be always last in list, accounts must have less security level always also
    };
    

    And example of commands.

    insert into `command` (`name`, `security`, `help`) values
    ('dismount','0','Sintaxis: .dismount\\r\\n\\r\\nTe desmonta, si te encuentras montado.'),
    ('save','0','Syntax: .save\\r\\n\\r\\nSaves your character.'),
    ('server motd','0','Syntax: .server motd\\r\\n\\r\\nShow server Message of the day.'),
    ('goname','1','Sintaxis: .goname [$nombrespersonaje]\\r\\n\\r\\nTe teletransporta al personaje nombrado. Puedes especificar el nombre del personaje o hacer click en el retrato del personaje, Ej. Cuando estás en un grupo. El personaje puede estar desconectado.'),
    ('revive','1','Syntax: .revive\\r\\n\\r\\nRevive the selected player. If no player is selected, it will revive you.'),
    ('start','1','Syntax: .start\\r\\n\\r\\nTeleport you to the starting area of your character.'),
    ('namego','1','Syntax: .namego [$charactername]\\r\\n\\r\\nTeleport the given character to you. Character can be offline.'),
    ('gm ingame','2','Sintaxis: .gm ingame\\r\\n\\r\\nMuestra una lista de los maestros de juegos disponibles dentro del juego.'),
    ('gm','2','Sintaxis: .gm [on/off]\\r\\n\\r\\nHabilita o deshabilita dentro del juego el MODO MJ o muestra el estado actual si la variable on/off no es proveída.'),
    ('gm visible','2','Sintaxis: .gm visible on/off\\r\\n\\r\\nMuestra el estado actual de visibilidad o hace un MJ visible (on) en invisible (off) para los otros jugadores.'),
    ('whispers','2','Syntax: .whispers on|off\\r\\nEnable/disable accepting whispers by GM from players. By default use mangosd.conf setting.'),
    ('gm chat','2','Sintaxis: .gm chat [on/off]\\r\\n\\r\\nHabilita o deshabilita el chat MODO MJ (Muestra la banda de mj en los mensajes) o muestra el estado actual si la variable on/off no es proveída.');
    

    The problem reside in that when I try to make a lvl 2 acc to wrote in chat, it doesnt matter if he has "gm on", "gm chat on", the Blizz Logo isnt appearing at all.

    Someone know why is this and why can a lvl 2 use the Logo??

    Thanks in advance.

  2. The Min players for a BG (For example WSG) is 5 players.

    I you have less than 5 players, it is showing that the BG is gonna close in XX days.

    Here is an example, as you can see there say that BG is going to close in 1 day and 5 hours.

    bgsbug.png

  3. I mean, he told me that the problem was that I was using a x64 compilation (x64 = amd) and the processor was an intel one, so I compiled for win32 and the crasshes started to appear, then I recompiled for x64, the crashes problems stopped but i got huge lag, I already report the lag to Insider (I'm using his repo) as it is a console spam problem related to latest instance bind changes.

    Thanks for the help :)

  4. Rev: 10114

    SD2: 1736 + ICC Scripts by RSA

    I'm getting this crash, I compiled in Release Win32 as a recomendation from RSA cause he told me the reason of other crashes I had was because I compiled in x64, and I was using an Intel i7 Processor.

    Revision: * * 10114 17e85e6f741bc7375e5345c71ff0dcd67f8f9919
    Date 28:6:2010. Time 15:6 
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
    Number Of Processors: 8
    Physical Memory: 4194303 KB (Available: 4194303 KB)
    Commit Charge Limit: 4194303 KB
    
    *** Operation System ***
    Windows Vista or Windows Server 2008 Server 4.0 Service Pack 2 (Version 6.0, Build 6002)
    
    //=====================================================
    Exception code: E06D7363 
    Fault address:  7680E124 01:0000E124 C:\\Windows\\syswow64\\kernel32.dll
    
    Registers:
    EAX:0C646CB4
    EBX:DE9A0DD8
    ECX:00000003
    EDX:00000000
    ESI:00000000
    EDI:0093C010
    CS:EIP:0023:7680E124
    SS:ESP:002B:0C646CB4  EBP:0C646D04
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00000216
    
    
    CRITICAL ERROR.
    
    Couldn't initialize the symbol handler for process.
    
    Error [(null)].
    
    
    
    Call stack:
    Address   Frame     Function      SourceFile
    7680E124  00000000  0001:0000E124 C:\\Windows\\syswow64\\kernel32.dll
    73AFDBF9  00000000  0001:0005CBF9 C:\\Windows\\WinSxS\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\\MSVCR90.dll
    004584D0  00000000  0001:000574D0 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    007E43FE  00000000  0001:003E33FE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    007E3B16  00000000  0001:003E2B16 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    007E4B3F  00000000  0001:003E3B3F C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    007E49F0  00000000  0001:003E39F0 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    007E48E3  00000000  0001:003E38E3 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    007E4820  00000000  0001:003E3820 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    007E3CAC  00000000  0001:003E2CAC C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    007E3DF3  00000000  0001:003E2DF3 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    004DFEEE  00000000  0001:000DEEEE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    0045F61B  00000000  0001:0005E61B C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    0045F051  00000000  0001:0005E051 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    0045EB75  00000000  0001:0005DB75 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    0045C2EE  00000000  0001:0005B2EE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    00402387  00000000  0001:00001387 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    004E1A64  00000000  0001:000E0A64 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    0052B996  00000000  0001:0012A996 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    0089F265  00000000  0001:0049E265 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    0063C6A4  00000000  0001:0023B6A4 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    006392BA  00000000  0001:002382BA C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    00649FE3  00000000  0001:00248FE3 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    006485AE  00000000  0001:002475AE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    004582DE  00000000  0001:000572DE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    0093C029  00000000  0001:0053B029 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    739E1864  00000000  0001:00050864 C:\\wow\\MaNGOS 3.3.3a\\ACE.dll
    73AC3433  00000000  0001:00022433 C:\\Windows\\WinSxS\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\\MSVCR90.dll
    73AC34C7  00000000  0001:000224C7 C:\\Windows\\WinSxS\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\\MSVCR90.dll
    7687ECCB  00000000  0001:0007ECCB C:\\Windows\\syswow64\\kernel32.dll
    7747D24D  00000000  0001:0006D24D C:\\Windows\\SysWOW64\\ntdll.dll
    7747D45F  00000000  0001:0006D45F C:\\Windows\\SysWOW64\\ntdll.dll
    ========================
    Local Variables And Parameters
    
    Call stack:
    Address   Frame     Function      SourceFile
    7680E124  00000000  0001:0000E124 C:\\Windows\\syswow64\\kernel32.dll
    
    73AFDBF9  00000000  0001:0005CBF9 C:\\Windows\\WinSxS\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\\MSVCR90.dll
    
    004584D0  00000000  0001:000574D0 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    007E43FE  00000000  0001:003E33FE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    007E3B16  00000000  0001:003E2B16 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    007E4B3F  00000000  0001:003E3B3F C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    007E49F0  00000000  0001:003E39F0 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    007E48E3  00000000  0001:003E38E3 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    007E4820  00000000  0001:003E3820 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    007E3CAC  00000000  0001:003E2CAC C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    007E3DF3  00000000  0001:003E2DF3 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    004DFEEE  00000000  0001:000DEEEE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    0045F61B  00000000  0001:0005E61B C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    0045F051  00000000  0001:0005E051 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    0045EB75  00000000  0001:0005DB75 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    0045C2EE  00000000  0001:0005B2EE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    00402387  00000000  0001:00001387 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    004E1A64  00000000  0001:000E0A64 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    0052B996  00000000  0001:0012A996 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    0089F265  00000000  0001:0049E265 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    0063C6A4  00000000  0001:0023B6A4 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    006392BA  00000000  0001:002382BA C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    00649FE3  00000000  0001:00248FE3 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    006485AE  00000000  0001:002475AE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    004582DE  00000000  0001:000572DE C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    0093C029  00000000  0001:0053B029 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    739E1864  00000000  0001:00050864 C:\\wow\\MaNGOS 3.3.3a\\ACE.dll
    
    73AC3433  00000000  0001:00022433 C:\\Windows\\WinSxS\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\\MSVCR90.dll
    
    73AC34C7  00000000  0001:000224C7 C:\\Windows\\WinSxS\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\\MSVCR90.dll
    
    7687ECCB  00000000  0001:0007ECCB C:\\Windows\\syswow64\\kernel32.dll
    
    7747D24D  00000000  0001:0006D24D C:\\Windows\\SysWOW64\\ntdll.dll
    
    7747D45F  00000000  0001:0006D45F C:\\Windows\\SysWOW64\\ntdll.dll
    
    ========================
    Global Variables
    
    
    

  5. Hey, I manage to get some screens while the server was lagging.

    Here are them.

    http://img97.imageshack.us/img97/2338/crash1.png

    http://img31.imageshack.us/img31/1471/crash2h.png

    http://img682.imageshack.us/img682/2835/crash3.png

    http://img692.imageshack.us/img692/6012/crash4.png

    http://img36.imageshack.us/img36/7797/crash5.png

    http://img693.imageshack.us/img693/6717/crash6.png

    All images as a nice album xD.

    http://img97.imageshack.us/g/crash1.png/

    Thanks for any help someone could provide me, I have run the following SQL's in the chars DB to see if it helps to solve the lag.

    TRUNCATE `character_instance`;
    TRUNCATE `groups`;
    TRUNCATE `group_instance`;
    TRUNCATE `group_member`;
    TRUNCATE `instance`;
    TRUNCATE `instance_reset`; 

  6. The config "AlwaysMaxSkillForLevel" isnt working when you log off, and log back in.

    For example, if you set a char with lvl 79 and all skills in lvl 1, log out, log in, the skills are still at 1/375, but if you level your char to 80, the skills sets to 400/400 automatically, then you go to learn new weapon skill for example, and it is 1/400 and if you log off and log back in, it is still 1/400 and it should be 400/400 because of the config.

    Thanks in advance.

  7. Ok I think I have found the problem.

    The problem is with the Instance Reset Time, when the core is resseting the instances of all players.

    I have enable today ".server log filter all on" and when the core freezes there was running some querys for the instance reset, like set instance reset time = XXXXXXXX

    Do you know any solution for this problem?

  8. Yeah I know xD. thats why i didnt put any log in the first post, but ilija ask for them, O provide him of them.

    Anyway, do u have any idea of what is causing this?

    Is there anyway to set log level to max when the server is running without having to restart it? Like a command or something like that? So i could get a full Server Log before it crash to see what is causing that.

  9. I erase that events and still having that issue.

    The gameserver freeze at 12:58 and start eating my ram, until it got almost all of my ram and the anti freeze close it, and restart very laggy, after the antifreeze close it, I'm able to get into the machine again with Remote Desktop, then I have to manually restart the machine and then it will work fine again until the next day.

    These are some examples of the Crash Logs I'm getting.

    http://pastebin.com/jhCYKrUH

    http://pastebin.com/jH6twGcA

    http://pastebin.com/bCA4cneX

  10. Rev: 10051 Insider

    DB: YTDB 551

    SD2: 1708 + RSA ICC

    OS: Windows Server 2008 x64

    Hi.

    i'm getting this crasshes on my server, I ask to RSA for them (thought it was ICC fault) and he told me it could be some Winsock problems.

    http://pastebin.com/TVGCK796

    http://pastebin.com/NxsDsTJm

    http://pastebin.com/6yqiNzcq

    http://pastebin.com/bm0d3EB6

    http://pastebin.com/8YPZ2wVr

    This two crashes not in my code and related to Windows socket problems connecting to database (Winsock overload may be).

    Does anyone know how I could fix this?

    Thanks in advance.

  11. It's really hard to know without specific details on what is running on the computer and what resources they are using.

    I have the dedicated server just for the server, it has running MySQL, mangosd, realmd, and apache running, no more, it is a windows server 2008 x64 with 12 Gb of ram and an i7 core running.

  12. See the event start time in event table. You maybe have autobackup on your char db or something , it cause heavy lag

    Hi, this is a dump of my game_event table, and I dont have any autobackup of any of my DB's, the lag or freeze is everyday around 12:58 to 13:02 when it hangs cause of the anti freeze (set to 180 minutes)

    ('1','2009-06-20 19:59:36','2020-12-30 22:59:36','525600','20158','341','Festival de Fuego del Solsticio de Verano');
    ('2','2009-12-15 11:00:00','2020-12-30 22:59:36','525600','25920','141','¡Festival de Invierno!');
    ('3','2010-01-31 00:01:00','2020-12-31 03:00:00','131040','10078','376','Feria de la Luna Negra (Bosque de Terokkar)');
    ('4','2010-02-28 00:01:00','2020-12-31 03:00:00','131040','10078','374','Feria de la Luna Negra (Bosque de Elwynn)');
    ('5','2010-01-03 00:01:00','2020-12-31 03:00:00','131040','10078','375','Feria de la Luna Negra (Mulgore)');
    ('6','2009-12-31 21:59:36','2020-12-30 22:59:36','525600','120','0','Año Nuevo');
    ('7','2010-02-14 11:00:00','2020-12-30 22:59:36','525600','30240','327','Festival Lunar');
    ('8','2010-02-07 05:01:00','2020-12-21 04:00:00','525600','18778','335','Amor en el Aire');
    ('9','2010-04-04 04:01:00','2020-12-30 22:59:36','525600','10078','181','Pascua');
    ('10','2010-05-02 04:01:00','2020-12-30 22:59:36','525600','10078','201','Semana de los Niños');
    ('11','2009-09-27 04:01:00','2020-12-30 22:59:36','525600','10078','321','Festival de La Cosecha');
    ('12','2009-10-18 05:00:00','2020-12-30 22:59:36','525600','20099','324','Halloween');
    ('22','0000-00-00 00:00:00','0000-00-00 00:00:00','482400','43200','0','Refuerzos para Anh Qiraj');
    ('17','0000-00-00 00:00:00','0000-00-00 00:00:00','525600','28800','0','Invasión de la Plaga');
    ('13','0000-00-00 00:00:00','0000-00-00 00:00:00','525600','28800','0','Invasión de Elementales');
    ('14','2009-11-08 18:50:00','2020-12-31 03:00:00','10080','120','0','Va a Comenzar el Gran Espectáculo de Pesca en Tuercespia');
    ('16','2007-08-05 03:00:00','2020-12-31 03:00:00','180','120','0','Captura el Botín de Gurubashi Arena');
    ('15','2009-11-08 19:00:00','2020-12-31 03:00:00','10080','120','301','Gran Espectáculo de Pesca en Tuercespia');
    ('18','2009-11-20 05:01:00','2020-12-30 22:59:36','60480','5758','283','Llamamiento a las Armas: ¡Valle de Alterac!');
    ('19','2009-11-27 05:01:00','2020-12-30 22:59:36','60480','5758','284','Llamamiento a las Armas: ¡Garganta Grito de Guerra!');
    ('20','2009-11-06 05:01:00','2020-12-30 22:59:36','60480','5758','285','Llamamiento a las Armas: ¡Cuenca de Arathi!');
    ('21','2009-11-13 05:01:00','2020-12-30 22:59:36','60480','5758','353','Llamamiento a las Armas: ¡Ojo de la Tormenta!');
    ('24','2009-03-06 09:05:00','2009-12-31 19:59:36','7200','60','0','¡Los Lobos Atacan Orgrimmar (Grupo Dos)!');
    ('23','2009-03-06 03:59:36','2020-12-30 22:59:36','1440','60','0','¡Los Lobos Atacan Orgrimmar (Grupo Uno)!');
    ('26','2009-09-20 04:01:00','2020-12-31 03:00:00','525600','20158','372','¡Festival de la Cerveza!');
    ('28','2007-08-12 16:59:36','2009-12-31 19:59:36','7200','60','0','¡La Legión Ardiente ataca Ventormenta!');
    ('31','2009-12-06 02:01:00','2020-12-30 22:59:36','131040','4320','0','Construcción de la Feria de la Luna Negra (Bosque de Elwynn)');
    ('27','2009-03-06 09:00:00','2020-12-30 22:59:36','7200','60','0','¡Ventormenta se Defiende de la Legión Ardiente!');
    ('25','2007-08-12 10:59:44','2009-12-31 19:59:36','7200','60','0','¡Orgrimmar se defiende de los Lobos!');
    ('34','2008-05-15 11:59:37','2020-01-01 00:59:36','10080','5','0','Concierto de los L70ETC en Bosque Terokkar');
    ('35','2008-03-23 21:59:37','2020-12-30 22:59:36','86400','21600','0','Locura de Espadas, Gri\\'lek');
    ('36','2008-04-06 20:59:37','2020-12-30 22:59:36','86400','21600','0','Locura de Espadas, Hazza\\'rah');
    ('37','2008-04-20 20:59:37','2020-12-30 22:59:36','86400','21600','0','Locura de Espadas, Renataki');
    ('38','2008-05-04 20:59:37','2020-12-30 22:59:36','86400','21600','0','Locura de Espadas, Wushoolay');
    ('29','2010-05-01 21:00:00','2020-12-30 22:59:36','1440','720','0','Anochece, ¡Vienen los Hombres Lobo a Piroleña!');
    ('32','2009-09-19 04:01:00','2020-08-24 04:59:36','525600','1439','0','Día de los Piratas');
    ('40','2009-11-01 06:00:00','2020-12-30 22:59:36','525600','1379','409','Día de los Muertos');
    ('41','2009-11-08 06:00:00','2020-12-30 22:59:36','545760','10019','404','Generosidad del Peregrino');
    ('42','2010-01-22 00:01:00','2020-12-31 01:00:00','60480','5758','420','Call to Arms: Isle of Conquest!');
    ('43','2009-12-06 15:15:00','2020-12-31 06:00:00','60','5','0','Hammerfall Under Attack');
    ('44','2009-12-06 15:15:00','2020-12-31 06:00:00','5','5','0','Thrallmar Demon Attack');
    ('45','2010-01-02 19:00:00','2020-12-26 20:00:00','10080','60','424','Kalu\\'ak Fishing Derby');
    ('30','2010-01-15 00:01:00','2020-12-30 23:00:00','60480','5758','400','Call to Arms: Strand of the Ancients!');
    

  13. maybe some event start in world, or at this tiem set soem cleanup in config like daily quest resets...

    Thanks for your answer Vladimir.

    This is my config.

    Instance.ResetTimeHour = 4

    Quests.Daily.ResetHour = 6

    Quests.Weekly.ResetHour = 6

    It is set all to the morning, not at 13 hours so no idea what could be happening.

    How can i check it is caused by an event?

  14. Rev: Insider 10041

    DB: YTDB 550

    SD2 Rev: 1708 + Insider ToC Scripts

    I have been having a extrange problem lately, every day at aprox 1 PM (GMT -3) my dedicated server is being to lag a lot.

    Then I try to get into it using Remote Desktop and I have to wait like 5 or 10 minutes to get into it, the mangosd.exe have already restarted itself (Freeze Detector) and it is starting up very laggy.

    I have to restart the whole machine to make it work like it should.

    Any one could know what is happening? It is a mem leak or something like that or what could be happening?

    Thanks in advance for any help provided.

  15. probably because

               pCaster->ProcDamageAndSpell(m_target, procAttacker, procVictim, PROC_EX_NORMAL_HIT, pdamage, BASE_ATTACK, GetSpellProto());
    
               pCaster->DealDamage(m_target, pdamage, &cleanDamage, DOT, GetSpellSchoolMask(GetSpellProto()), GetSpellProto(), true);
    
               // Drain Soul (chance soul shard)
               if (pCaster->GetTypeId() == TYPEID_PLAYER && m_spellProto->SpellFamilyName == SPELLFAMILY_WARLOCK && m_spellProto->SpellFamilyFlags & UI64LIT(0x0000000000004000))
               {
                   // Only from non-grey units
                   if (roll_chance_i(10) &&                    // 1-2 from drain with final and without glyph, 0-1 from damage
                       ((Player*)pCaster)->isHonorOrXPTarget(m_target) &&
                       (m_target->GetTypeId() != TYPEID_UNIT || ((Player*)pCaster)->isAllowedToLoot((Creature*)m_target)))
                   {
                       pCaster->CastSpell(pCaster, 43836, true, NULL, this);
                   }
    

    if unfortunatelly you kill your victim using drain soul at unit death core attempts to destroy aura which is under processing - bacause of soulshard part (at least i think it could be cause) try

    http://github.com/Wowka321/altermang/commit/3cca8aa53c8ccb22704fc35dd963ae393cec7ada

    didn't tested yet

    Thanks for your help, I update my core every sunday, after the last update today, I use the patch and I was waiting for any crash, already got two crashes, they are the same and the log is the following:

    Revision: * * 10041 021c1f46f8ddd7d59078e83df1415047fb09d648
    Date 6:6:2010. Time 22:47 
    //=====================================================
    *** Hardware ***
    Processor: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
    Number Of Processors: 8
    Physical Memory: 12572884 KB (Available: 4807808 KB)
    Commit Charge Limit: 25069024 KB
    
    *** Operation System ***
    Windows Vista or Windows Server 2008 Server 4.0 Service Pack 2 (Version 6.0, Build 6002)
    
    //=====================================================
    Exception code: C0000005 ACCESS_VIOLATION
    Fault address:  000000014002AAE7 01:0000000000029AE7 C:\\wow\\MaNGOS 3.3.3a\\mangosd.exe
    
    Registers:
    RAX:0000000000000000
    RBX:000007FFFAEB36A8
    RCX:000007FEC43C4298
    RDX:000000000C356650
    RSI:000007FFDA49F420
    RDI:0000000140332D10
    R8: 0000000000000000
    R9: 0000000040800000
    R10:00000000000008A4
    R11:0000000000000000
    R12:0000000000000000
    R13:0000000000000000
    R14:0000000000000000
    R15:000000000C356060
    CS:RIP:0033:000000014002AAE7
    SS:RSP:002B:000000000C356600  RBP:00000000
    DS:002B  ES:002B  FS:0053  GS:002B
    Flags:00010206
    
    Call stack:
    Address   Frame     Function      SourceFile
    000000014002AAE7  000000000C356620  std::_Tree<std::_Tmap_traits<std::Pair<unsigned int,enum SpellEffectIndex>,Aura * __ptr64,std::less<std::Pair<unsigned int,enum SpellEffectIndex> >,std::allocator<std::Pair<std::Pair<unsigned int,enum SpellEffectIndex> const ,Aura * __ptr64> >,1> >::_Lbound+17  c:\\program files (x86)\\microsoft visual studio 9.0\\vc\\include\\xtree line 1264
    00000001400B9DA9  000000000C3566F0  Unit::RemoveAura+49  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\unit.cpp line 4285
    00000001400BB053  000000000C356740  Unit::RemoveAurasDueToSpell+53  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\unit.cpp line 4519
    000000000B9BBE03  000000000C356770  ?GetRaidDifficulty@Group@@QEBA?AW4Difficulty@@XZ+4A93
    00000001400A6C78  000000000C356800  Unit::DealDamageMods+288  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\unit.cpp line 525
    000000014045CB94  000000000C358AD0  Spell::DoAllEffectOnTarget+7B4  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\spell.cpp line 1031
    000000014046693C  000000000C358B90  Spell::handle_immediate+19C  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\spell.cpp line 2981
    000000014046662A  000000000C35BD70  Spell::cast+E6A  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\spell.cpp line 2957
    00000001404652FB  000000000C35BE50  Spell::Prepare+56B  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\spell.cpp line 2663
    00000001400AA1CD  000000000C35D020  Unit::CastSpell+37D  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\unit.cpp line 1101
    000000014040A1EE  000000000C361490  Aura::TriggerSpell+19EE  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\spellauras.cpp line 2239
    0000000140422B84  000000000C375CD0  Aura::PeriodicTick+3464  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\spellauras.cpp line 7985
    0000000140404121  000000000C379E20  Aura::Update+571  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\spellauras.cpp line 668
    00000001400B5C74  000000000C379FA0  Unit::_UpdateSpells+204  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\unit.cpp line 3440
    00000001400A510A  000000000C3810E0  Unit::Update+5A  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\unit.cpp line 295
    00000001400FD26B  000000000C386340  Creature::Update+89B  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\creature.cpp line 462
    00000001404EBBAB  000000000C386380  Totem::Update+CB  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\totem.cpp line 52
    000000014014C6F5  000000000C386410  MaNGOS::ObjectUpdater::Visit+F5  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\gridnotifiersimpl.h line 46
    000000014014C5ED  000000000C386480  VisitorHelper<MaNGOS::ObjectUpdater,Creature>+1D  d:\\servidores\\wow\\trabajo actual\\insider\\src\\framework\\gamesystem\\typecontainervisitor.h line 51
    000000014014BA7D  000000000C3864B0  VisitorHelper<MaNGOS::ObjectUpdater,Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > >+1D  d:\\servidores\\wow\\trabajo actual\\insider\\src\\framework\\gamesystem\\typecontainervisitor.h line 58
    000000014014B420  000000000C3864E0  VisitorHelper<MaNGOS::ObjectUpdater,GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > >+30  d:\\servidores\\wow\\trabajo actual\\insider\\src\\framework\\gamesystem\\typecontainervisitor.h line 59
    000000014014AB6D  000000000C386510  VisitorHelper<MaNGOS::ObjectUpdater,TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > >+1D  d:\\servidores\\wow\\trabajo actual\\insider\\src\\framework\\gamesystem\\typecontainervisitor.h line 66
    0000000140146143  000000000C38A5C0  Map::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+113  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\map.h line 454
    000000014013ED15  000000000C38B680  Cell::Visit<MaNGOS::ObjectUpdater,TypeMapContainer<TypeList<GameObject,TypeList<Creature,TypeList<DynamicObject,TypeList<Corpse,TypeNull> > > > > >+95  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\cellimpl.h line 47
    0000000140120E3B  000000000C38FA90  Map::Update+59B  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\map.cpp line 565
    00000001401295AD  000000000C38FAC0  InstanceMap::Update+1D  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\map.cpp line 1881
    000000014063820D  000000000C38FB40  MapInstanced::Update+16D  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\mapinstanced.cpp line 64
    00000001403D6E02  000000000C38FC30  MapManager::Update+192  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\mapmanager.cpp line 249
    00000001402FC1B5  000000000C38FE00  World::Update+755  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\world.cpp line 1468
    000000014006FAB5  000000000C38FE40  WorldRunnable::run+A5  d:\\servidores\\wow\\trabajo actual\\insider\\src\\mangosd\\worldrunnable.cpp line 61
    0000000140332D33  000000000C38FEB0  ACE_Based::Thread::ThreadTask+23  d:\\servidores\\wow\\trabajo actual\\insider\\src\\shared\\threading.cpp line 190
    000007FEF628170B  000000000C38FEF0  ?invoke@ACE_OS_Thread_Adapter@@UEAAKXZ+5B
    0000000074522FDF  000000000C38FF20  _endthreadex+47
    0000000074523080  000000000C38FF50  _endthreadex+E8
    0000000076F6BE3D  000000000C38FF80  BaseThreadInitThunk+D
    00000000770A6A51  000000000C38FFD0  RtlUserThreadStart+21
    
    Call stack:
    Address   Frame     Function      SourceFile
    00000000770C6D5A  000000000042F930  NtWaitForSingleObject+A
    0000000076F7C0B0  000000000042F9F0  WaitForSingleObjectEx+A0
    000007FEF622B64A  000000000042FA20  ?__ace_assert@@YAXPEBDH0@Z+38A
    000007FEF62AE8E3  000000000042FAA0  ?wait_task@ACE_Thread_Manager@@QEAAHPEAVACE_Task_Base@@@Z+243
    0000000140334943  000000000042FAE0  WorldSocketMgr::Wait+63  d:\\servidores\\wow\\trabajo actual\\insider\\src\\game\\worldsocketmgr.cpp line 316
    000000014003F4A8  000000000042FEB0  Master::Run+9C8  d:\\servidores\\wow\\trabajo actual\\insider\\src\\mangosd\\master.cpp line 330
    000000014003DC64  000000000042FF20  main+574  d:\\servidores\\wow\\trabajo actual\\insider\\src\\mangosd\\main.cpp line 184
    000000014007058E  000000000042FF50  __tmainCRTStartup+11A  f:\\dd\\vctools\\crt_bld\\self_64_amd64\\crt\\src\\crtexe.c line 582
    0000000076F6BE3D  000000000042FF80  BaseThreadInitThunk+D
    00000000770A6A51  000000000042FFD0  RtlUserThreadStart+21
    
    Call stack:
    Address   Frame     Function      SourceFile
    00000000770C705A  0000000003DBFC80  ZwDelayExecution+A
    0000000076F7C1B8  0000000003DBFD00  SleepEx+88
    0000000140332F99  0000000003DBFD50  ACE_Based::Thread::Sleep+39  d:\\servidores\\wow\\trabajo actual\\insider\\src\\shared\\threading.cpp line 238
    00000001405F008F  0000000003DBFE40  SqlDelayThread::run+6F  d:\\servidores\\wow\\trabajo actual\\insider\\src\\shared\\database\\sqldelaythread.cpp line 45
    0000000140332D33  0000000003DBFEB0  ACE_Based::Thread::ThreadTask+23  d:\\servidores\\wow\\trabajo actual\\insider\\src\\shared\\threading.cpp line 190
    000007FEF628170B  0000000003DBFEF0  ?invoke@ACE_OS_Thread_Adapter@@UEAAKXZ+5B
    0000000074522FDF  0000000003DBFF20  _endthreadex+47
    0000000074523080  0000000003DBFF50  _endthreadex+E8
    0000000076F6BE3D  0000000003DBFF80  BaseThreadInitThunk+D
    00000000770A6A51  0000000003DBFFD0  RtlUserThreadStart+21
    

    Any other idea???

×
×
  • 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