Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2016, 03:04 PM
Mortykins's Avatar
Mortykins
Hill Giant
 
Join Date: Apr 2014
Posts: 156
Default Major Crashes - Please help

Hi Folks,

Well so I believe it was about the same time I inputted the data in for the expeditions into global_player.pl that people are now crashing when zoning, and it actually crashes the whole zone but leaves no log files indicating what the crash is about. I've never been real super good as far as PERL goes so when I was going over the directions for the expedition system I may have misunderstood how and where to enter in the PERL parts for that to work..

On a side note the expeditions are working perfectly and would like to keep them but the zone crashes makes it rough.


Morty
Reply With Quote
  #2  
Old 06-20-2016, 03:34 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

The expedition code you are using is really old, but if you're getting crashes you should be producing a log of some sort.
Reply With Quote
  #3  
Old 06-20-2016, 04:12 PM
Mortykins's Avatar
Mortykins
Hill Giant
 
Join Date: Apr 2014
Posts: 156
Default

Where do I get the newest version of that ? I would love to be using what is current maybe that will solve everything. There was some crash reports but I thought maybe they were related to something else.. If you have time to look at the crashes I put them up on my site in a zip file from today's reboot : www.raidaddicts.org/6-20-16.zip

Morty
Reply With Quote
  #4  
Old 06-20-2016, 04:15 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

I don't have the latest one publicly available because I have massively overhauled it for EZ.

You don't have any crashes related to expedition related stuff, it all looks combat/Bot/AI related.

on eqemu_update.pl, update it with option 20, then download the crash report script with option 15 and you can paste your crash summary so that it can be troubleshot.

You should also make sure that you are on the latest source before you get people troubleshooting your crashes for you.
Reply With Quote
  #5  
Old 06-20-2016, 04:21 PM
Mortykins's Avatar
Mortykins
Hill Giant
 
Join Date: Apr 2014
Posts: 156
Default

Roger that I will work on updating and getting those reports , thanks for the assistance.

Morty
Reply With Quote
  #6  
Old 06-20-2016, 07:22 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

My question is, how did you get out-of-date Expeditions code? Was it legacy stuff already in your server from a couple of months, maybe years ago?
Reply With Quote
  #7  
Old 06-21-2016, 09:36 PM
Mortykins's Avatar
Mortykins
Hill Giant
 
Join Date: Apr 2014
Posts: 156
Default

Ok now that I have the new binaries, here is some crash reports

Kingly - Was on the EOC , some guide about expeditions


Code:
Ok now that I have the new binaries, here is some crash reports :)

Kingly - Was on the EOC , some guide about expeditions 


Quote:
Crash Occurrence 1 Time(s) Length (481) c:\server\source\server\zone\bot.cpp (8162): Bot::GetNeedsCured c:\server\source\server\zone\bot.cpp (7788): EntityList::Bot_AICheckCloseBeneficialSpells c:\server\source\server\zone\botspellsai.cpp (1032): Bot::AI_IdleCastCheck c:\server\source\server\zone\bot.cpp (2578): Bot::AI_Process c:\server\source\server\zone\bot.cpp (1860): Bot::Process c:\server\source\server\zone\entity.cpp (487): EntityList::MobProcess c:\server\source\server\zone\net.cpp (497): main ========================================= Crash Occurrence 1 Time(s) Length (847) c:\server\source\server\zone\mob.cpp (4556): Mob::TrySpellOnKill c:\server\source\server\zone\attack.cpp (2092): NPC::Death c:\server\source\server\zone\attack.cpp (3149): Mob::CommonDamage c:\server\source\server\zone\attack.cpp (1835): NPC::Damage c:\server\source\server\zone\attack.cpp (2490): Mob::DamageShield c:\server\source\server\zone\attack.cpp (3048): Mob::CommonDamage c:\server\source\server\zone\attack.cpp (1265): Client::Damage c:\server\source\server\zone\attack.cpp (1767): NPC::Attack c:\server\source\server\zone\attack.cpp (4698): Mob::DoMainHandAttackRounds c:\server\source\server\zone\mob_ai.cpp (1109): Mob::AI_Process c:\server\source\server\zone\npc.cpp (741): NPC::Process c:\server\source\server\zone\entity.cpp (487): EntityList::MobProcess c:\server\source\server\zone\net.cpp (497): main =========================================
Reply With Quote
  #8  
Old 06-21-2016, 09:55 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Second: https://github.com/EQEmu/Server/blob.../mob.cpp#L4556

If 'spellbonuses.SpellOnKill[i]' is greater than the max spell id, the dereference of spells[spellbonuses.SpellOnKill[i]] following it will cause an
"Exception Access Violation" error and crash the server.


First: Same with https://github.com/EQEmu/Server/blob.../bot.cpp#L8162

I think this has come up before..invalid deref on 'tar->GetBuffs()'
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #9  
Old 06-22-2016, 12:17 AM
Mortykins's Avatar
Mortykins
Hill Giant
 
Join Date: Apr 2014
Posts: 156
Default

Think this has been resolved , ty Natedog
Reply With Quote
  #10  
Old 06-22-2016, 01:58 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Certain AA spells were missing in his database... Killing Spree spell was missing and every time something was killed it try to cast the buff and crashed server it seemed.
Reply With Quote
  #11  
Old 06-22-2016, 02:18 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Out-of-scope:

That bot creation issue may be caused by enforced naming conventions..they're not exactly client-strict..but, a lot closer.

I'll look at that other issue..may just be missing a packet update - depending on where it is occurring.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #12  
Old 06-22-2016, 04:15 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

Well, his bots usually are just "playerName" + "sDPS" or something like that, so it could be the name being too long, being taken by someone who used that name before, or the code just acting weirdly. I've thought about writing a Perl plugin similar to the client Name Randomizer for use with bots.
Reply With Quote
  #13  
Old 06-22-2016, 05:02 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Here's the current way of checking: https://github.com/EQEmu/Server/blob.../bot.cpp#L1533


The old way had the 'check' coded..but, was using bad methodology...

https://github.com/EQEmu/Server/blob.../bot.cpp#L1522

In addition to basically allowing any characters in the name, it only failed if the last character was !isalpha() or '_'
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #14  
Old 06-22-2016, 11:55 PM
Mortykins's Avatar
Mortykins
Hill Giant
 
Join Date: Apr 2014
Posts: 156
Default

Some more crash's today

Code:
Crash Occurrence 1 Time(s) Length (481) 

 c:\server\source\server\zone\bot.cpp (8162): Bot::GetNeedsCured 
 c:\server\source\server\zone\bot.cpp (7788): EntityList::Bot_AICheckCloseBeneficialSpells 
 c:\server\source\server\zone\botspellsai.cpp (1032): Bot::AI_IdleCastCheck 
 c:\server\source\server\zone\bot.cpp (2578): Bot::AI_Process 
 c:\server\source\server\zone\bot.cpp (1860): Bot::Process 
 c:\server\source\server\zone\entity.cpp (487): EntityList::MobProcess 
 c:\server\source\server\zone\net.cpp (497): main 

=========================================
Crash Occurrence 1 Time(s) Length (1364) 

 c:\server\source\server\zone\perl_mob.cpp (3843): XS_Mob_Message 
 ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 2804A285) 
 2804A285 (perl512): (filename not available): Perl_find_runcv 
 ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 280724C0) 
 280724C0 (perl512): (filename not available): Perl_runops_standard 
 ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 2802A817) 
 2802A817 (perl512): (filename not available): Perl_call_pv 
 c:\server\source\server\zone\embparser.cpp (727): PerlembParser::SendCommands 
 c:\server\source\server\zone\embparser.cpp (215): PerlembParser::EventCommon 
 c:\server\source\server\zone\embparser.cpp (249): PerlembParser::EventGlobalPlayer 
 c:\server\source\server\zone\quest_parser_collection.cpp (349): QuestParserCollection::EventPlayerGlobal 
 c:\server\source\server\zone\quest_parser_collection.cpp (306): QuestParserCollection::EventPlayer 
 c:\server\source\server\zone\client.cpp (1042): Client::ChannelMessageReceived 
 c:\server\source\server\zone\client_packet.cpp (4139): Client::Handle_OP_ChannelMessage 
 c:\server\source\server\zone\client_packet.cpp (479): Client::HandlePacket 
 c:\server\source\server\zone\client_process.cpp (609): Client::Process 
 c:\server\source\server\zone\entity.cpp (487): EntityList::MobProcess 
 c:\server\source\server\zone\net.cpp (497): main 

=========================================
Crash Occurrence 1 Time(s) Length (847) 

 c:\server\source\server\zone\mob.cpp (4556): Mob::TrySpellOnKill 
 c:\server\source\server\zone\attack.cpp (2092): NPC::Death 
 c:\server\source\server\zone\attack.cpp (3149): Mob::CommonDamage 
 c:\server\source\server\zone\attack.cpp (1835): NPC::Damage 
 c:\server\source\server\zone\attack.cpp (2490): Mob::DamageShield 
 c:\server\source\server\zone\attack.cpp (3048): Mob::CommonDamage 
 c:\server\source\server\zone\attack.cpp (1265): Client::Damage 
 c:\server\source\server\zone\attack.cpp (1767): NPC::Attack 
 c:\server\source\server\zone\attack.cpp (4698): Mob::DoMainHandAttackRounds 
 c:\server\source\server\zone\mob_ai.cpp (1109): Mob::AI_Process 
 c:\server\source\server\zone\npc.cpp (741): NPC::Process 
 c:\server\source\server\zone\entity.cpp (487): EntityList::MobProcess 
 c:\server\source\server\zone\net.cpp (497): main 

=========================================
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:39 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3