Legacy Development Community Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Legacy Development Community Forum

World of Warcraft Development Forums
 
HomeHome  PortalPortal  GalleryGallery  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  

 

 Holy Sheild causes crash

Go down 
4 posters
AuthorMessage
Devincean

Devincean


Number of posts : 39
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 5:55 am

Hay been testing the LDT3.3 server with the latest Svn build notice one big thing if palladins duel with both paladins using holy sheild it instantly crashes the server. So have been trying to disable it on my server I know its spell numbers are

holy sheild rank 1= 20925
holy shield rank 2 = 20927
holy shiled rank 3 = 20928

and was trying to disable the spell line in the python scipts using the "disable.py" in my script/spell folder

Any Idea's since none of the scripts I have tried to use such as

Code:
from Ludmilla import *

import const_spells
co = const_spells
reload (co)

#------------------------------------------------------------------------------

class Spell_disabled:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#------------------------------------------------------------------------------

class Spell_Holy_Sheild_Rank_1:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#------------------------------------------------------------------------------

class Spell_Holy_Sheild_Rank_2:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#------------------------------------------------------------------------------

class Spell_Holy_Sheild_Rank_3:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#--- END ---

also tried it with

Code:
class Spell_Holy_Sheild:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

and

Code:
class Spell_Holy_Sheild_1:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

class Spell_Holy_Sheild_2:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

class Spell_Holy_Sheild_3:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET
None seem to disable the spell line
Back to top Go down
Iceman
Developer
Iceman


Number of posts : 462
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 6:17 am

Code:

class Spell_HOLY_SHIELD:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#------------------------------------------------------------------------------

class Spell_HOLY_SHIELD_RANK_1:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#------------------------------------------------------------------------------

class Spell_HOLY_SHIELD_RANK_2:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#------------------------------------------------------------------------------

class Spell_HOLY_SHIELD_RANK_3:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#------------------------------------------------------------------------------

class Spell_HOLY_SHIELD_RANK_1_1:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#------------------------------------------------------------------------------

class Spell_HOLY_SHIELD_RANK_2_1:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET

#-----------------------------------------------------------------------------

class Spell_HOLY_SHIELD_RANK_3_1:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET



in disabled py


and then startup spells py
Code:

RegisterSpellClass (9800, DisabledSpell.Spell_HOLY_SHIELD())
RegisterSpellClass (20925, DisabledSpell.Spell_HOLY_SHIELD_RANK_1())
RegisterSpellClass (20927, DisabledSpell.Spell_HOLY_SHIELD_RANK_2())
RegisterSpellClass (20928, DisabledSpell.Spell_HOLY_SHIELD_RANK_3())
RegisterSpellClass (20955, DisabledSpell.Spell_HOLY_SHIELD_RANK_1_1())
RegisterSpellClass (20956, DisabledSpell.Spell_HOLY_SHIELD_RANK_2_1())
RegisterSpellClass (20957, DisabledSpell.Spell_HOLY_SHIELD_RANK_3_1())


or even better way
in disabled py put only this
Code:

class Spell_disabled:
    def CanCast (self, caster, target_dummy):
        return co.CAST_FAIL_CANT_DO_THAT_YET
and in sartup spells py put this
Code:

import spells.Disabled
DisabledSpell = spells.Disabled
reload (DisabledSpell)
# RegisterSpellClass ( XXXXX , DisabledSpell.Spell_disabled())

RegisterSpellClass (9800, DisabledSpell.Spell_disabled())  #HOLY_SHIELD
RegisterSpellClass (20925, DisabledSpell.Spell_disabled()) #HOLY_SHIELD_RANK_1
RegisterSpellClass (20927, DisabledSpell.Spell_disabled()) #HOLY_SHIELD_RANK_2
RegisterSpellClass (20928, DisabledSpell.Spell_disabled()) #HOLY_SHIELD_RANK_3
RegisterSpellClass (20955, DisabledSpell.Spell_disabled()) #HOLY_SHIELD_RANK_1_1
RegisterSpellClass (20956, DisabledSpell.Spell_disabled()) #HOLY_SHIELD_RANK_2_1
RegisterSpellClass (20957, DisabledSpell.Spell_disabled()) #HOLY_SHIELD_RANK_3_1
i suggest this second way much cleaner and should be faster no double registered spells
Back to top Go down
Devincean

Devincean


Number of posts : 39
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 8:14 am

thx ice would plan to kinda play around with it on my test server see what exactly causes two pally's from opposing sides to crash the server when fighting with this effect on just seems weird to say the leasts almost like the damage can't be calculated cus as far As the spell goes works exactly like its suppost to and causes no problems until you duel another pally using the same spell.

We tested with out the spell on and with it on and only crashed the server out when both paladins had the any of the holy sheild line spells on both of the characters. Its also very hard to spot in logs I would have never noticed this myself if it wasn't for the fact I was goofin on my draenie pally and a buddy came up on his blood elf pally took a accidental swing and me and bam server down.

btw here is what it looks like in logs just incase anyone is interested
Code:
04/04/2007 16:58:24 V unit: DamageShield activated: victim[Pallywantani]
04/04/2007 16:58:24 V affect: HandleAddAffect - add affect[20928]
04/04/2007 16:58:24 V Unit::_AddAura() - success
04/04/2007 16:58:26 E Unknown affect id 197 of spell 20303
04/04/2007 16:58:26 V unit: DamageShield activated: victim[Aldebrand]
04/04/2007 16:58:26 V unit: DamageShield activated: victim[Pallywantani]
04/04/2007 16:58:26 V affect: HandleAddAffect - add affect[20055]
04/04/2007 16:58:26 V Unit::_AddAura() - success
04/04/2007 16:58:26 V affect: HandleAddAffect - add affect[20178]
04/04/2007 16:58:26 V Unit::_AddAura() - success
04/04/2007 16:58:26 S Python: SCHOOL SPELL ID: 18818
04/04/2007 16:58:27 I Log: File Log Started
04/04/2007 16:58:27 I Log: Started
04/04/2007 16:58:27 I Hook: hooked execution break signals
Back to top Go down
Iceman
Developer
Iceman


Number of posts : 462
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 2:20 pm

hm i dont know if holy shield couses crashes i have them disabled long time ago couse it was suposed to do dmg only when pala do block with shield and instead it was doing it all the time (return dmg)
but i know what was one of crashes
if dueled part leave duel in mid of duel alt+f4 and dont come beck server will force him out and instant crash..
also mm stated that auras are also making problems and cousing crashes
Back to top Go down
aries
Senior Member
aries


Number of posts : 133
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 3:59 pm

is it disabled in the svn aswell ice?(hope so)
Back to top Go down
Devincean

Devincean


Number of posts : 39
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 6:35 pm

can't say I have seen any previous post of this so would say this is probably a new bug not positive its every server but both my servers for testing and live I see this issue appear every time I try it. So probably should be added if it appears on anyone else's server too.
Back to top Go down
lis8910




Number of posts : 89
Registration date : 2007-01-02

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 6:43 pm

I just tryed this but my server didn't crash...
Back to top Go down
Iceman
Developer
Iceman


Number of posts : 462
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 8:30 pm

oh yeah?try again
does this look familiar?
player logged out

CRASH
Smile
tested belive me maybe not every time but every second time
u enter /duel and u hit alt + f4 and dont log beck and bum crash instant when server force u to log out

and no its not in svn
Back to top Go down
lis8910




Number of posts : 89
Registration date : 2007-01-02

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 8:31 pm

i didn't try the alt+f4 thingy...i meant i tryed the holyshield thingy (from the start of the thread)
Back to top Go down
Iceman
Developer
Iceman


Number of posts : 462
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 8:36 pm

either way paladins are INDESTRUCTABLE KILLING MACHINE with holy shield doing over 300 dmg on every hit or GET hit
he will take u 3k hp in 3 seconds
just disable the holy shield
u will feal better
Back to top Go down
aries
Senior Member
aries


Number of posts : 133
Registration date : 2006-11-28

Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash EmptyThu Apr 05, 2007 11:18 pm

yeh
warlocks are the only overpowered class in wow xD
Back to top Go down
Sponsored content





Holy Sheild causes crash Empty
PostSubject: Re: Holy Sheild causes crash   Holy Sheild causes crash Empty

Back to top Go down
 
Holy Sheild causes crash
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Legacy Development Community Forum :: Kobold Legacy-
Jump to: