UO Gamers:  Demise


 
 
Thread Tools Display Modes
  (#1) Old
osd_daedalus Offline
Forum Expert
 
Posts: 4,660
Join Date: Aug 2008
Location: Italia, near Britannia
Default [SVN507] Missing sanitycheck in Spellhelper.cs - 02-10-2010

OSI: not validable

Demise/RunUO: check this one: http://www.runuo.com/forums/showthre...776#post827776

Do you believe it's a valid report and a valid fix?

note: I believe it can't be tested unless Demise/DemiseTC uses XMLAttachments.


--

Last edited by osd_daedalus; 02-10-2010 at 08:22 AM.
   
  (#2) Old
Kamron Offline
Account Terminated
 
Posts: 208
Join Date: Jun 2006
Default Re: Missing sanitycheck in Spellhelper.cs - 02-14-2010

The fact that the damage function uses null as a valid parameter means that there needs to be checking. Relying on the fact that its not used, does not solve the potential problem.

This is valid.
   
  (#3) Old
osd_daedalus Offline
Forum Expert
 
Posts: 4,660
Join Date: Aug 2008
Location: Italia, near Britannia
Default Re: Missing sanitycheck in Spellhelper.cs - 02-14-2010

This is the patch HellRazor, in the RunUO thread, proposes.

Since we don't use XMLAttachments, maybe the only things you want to see are if you can still leech correctly, and if some creatures like succubi can leech (but come on, they are both BaseCreatures!)
Attached Files
File Type: diff sanitycheck.diff (949 Bytes, 8 views)


--
   
  (#4) Old
psz Offline
UO Gamers: Demise Administrator
 
Posts: 13,495
Join Date: Oct 2002
Location: Swamp
Default Re: Missing sanitycheck in Spellhelper.cs - 02-14-2010

Pretty sure both are (seperately) derived directly from BaseMobile.


psz
Creator of UOGamers: Demise(Retired)
The RunUO.com Forum Moderator Team
Quality Control Czar
   
  (#5) Old
osd_daedalus Offline
Forum Expert
 
Posts: 4,660
Join Date: Aug 2008
Location: Italia, near Britannia
Default Re: Missing sanitycheck in Spellhelper.cs - 02-22-2010

in theory, the patch above would have broken something.

This one just checks that mobile "From" is not null. Cleaner and less harmful.
Attached Files
File Type: diff sanitycheck.diff (1.0 KB, 11 views)


--
   
  (#6) Old
osd_daedalus Offline
Forum Expert
 
Posts: 4,660
Join Date: Aug 2008
Location: Italia, near Britannia
Default Re: Missing sanitycheck in Spellhelper.cs - 03-19-2010

can we move this in Testing please?


--
   
  (#7) Old
osd_daedalus Offline
Forum Expert
 
Posts: 4,660
Join Date: Aug 2008
Location: Italia, near Britannia
Default Re: [TESTING] Missing sanitycheck in Spellhelper.cs - 03-21-2010

mmm... you tested it Xavier/Athena/psz? Or is this in Ready for a mistake?


--
   
  (#8) Old
Xavier Offline
UO Gamers: Demise Admin
 
Posts: 868
Join Date: Dec 2008
Default Re: [READY] Missing sanitycheck in Spellhelper.cs - 03-21-2010

yeah. and consulted with asayre to get some of these tiny, neglected patches out of the way, since it doesn't exactly take a brain surgeon to see they will work.


Xavier
UO Gamers: Demise - Admin

Please do not pm me for support.
If you are having game issues please page for a staff member in game.

Thanks for your continued support of UO Gamers: Demise
   
  (#9) Old
osd_daedalus Offline
Forum Expert
 
Posts: 4,660
Join Date: Aug 2008
Location: Italia, near Britannia
Default Re: [READY] Missing sanitycheck in Spellhelper.cs - 03-22-2010

Quote:
Originally Posted by Seer Xavier View Post
yeah. and consulted with asayre to get some of these tiny, neglected patches out of the way, since it doesn't exactly take a brain surgeon to see they will work.
oh.. OK then


--
   
  (#10) Old
osd_daedalus Offline
Forum Expert
 
Posts: 4,660
Join Date: Aug 2008
Location: Italia, near Britannia
Default Re: [READY] Missing sanitycheck in Spellhelper.cs - 04-02-2010

These are just sitting here, so...

Implemented in SVN 507.


--
   
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com