Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds

Notices

Reply
 
Thread Tools Display Modes
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,885

Old July 7th, 2015, 12:14 PM
That is ... odd. What is an example? I know UIDs and Tags are all Case Sensetive, although I guess some things like if statements can be If of if (I've seen both used in code).
AndrewD2 is offline   #21 Reply With Quote
Endtransmission
Member
 
Join Date: May 2012
Location: Reading, UK
Posts: 79

Old July 7th, 2015, 12:44 PM
The most recent example was

Code:
<before name="calc trtFinal"/>
vs
Code:
<before name="Calc trtFinal"/>
Calc should be upper case to work on a Mac, but seems to work with either in windows

Working on: Official Achtung! Cthulhu datafiles
Endtransmission is offline   #22 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,885

Old July 7th, 2015, 12:52 PM
that is weird ... it's a string and shouldn't matter either way. If it's causing errors on a mac you should report a bug.
AndrewD2 is offline   #23 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 675

Old July 7th, 2015, 05:54 PM
Quote:
Originally Posted by Endtransmission View Post
It should be, yes, but I've encountered this problem a few times when developing or testing something on my windows machine works and testing on the mac where it doesn't. In every case it has been case sensitivity.
Yeah. In specific, your problem with my file wasn't causing a problem when I loaded it myself, so I didn't even realize the case was wrong.
Paragon is offline   #24 Reply With Quote
SeeleyOne
Senior Member
 
Join Date: Nov 2009
Posts: 885

Old May 11th, 2016, 08:51 PM
I have been fixing up a modded version of the Hellfrost data. It looks like that I got the Disciple of Tiw working, where it allows for the character to treat Combat edges as one rank lower. I figure that there are uses for this in other settings/edges.

The timing is so that it will work for an Edge (as that is what the Disciple of Tiw is).

Initialization/2101
Code:
var rank as number
var target as number
rank = herofield[acRank].value
target = 0

if (rank <= 3) then
   rank += 1
   foreach thing in Edge where "EdgeType.Combat"
      target = eachthing.tagvalue[MinRank.?]
      if (rank = target) then
         var ignoretag as string
         ignoretag = "IgnoreRank." & eachthing.idstring
         perform hero.assignstr[ignoretag]
      endif
   nexteach
endif
Validation/100
Code:
var rank as number
var target as number
rank = herofield[acRank].value
target = 0

if (rank <= 3) then
   rank += 1
   foreach thing in Edge where "EdgeType.Combat"
      target = eachthing.tagvalue[MinRank.?]
      if (rank = target) then
         perform assign[Helper.IgnoreRank]
      endif
   nexteach
endif

Evil wins because good rolls poorly .... or the players are not paying enough attention to the game.
SeeleyOne is online now   #25 Reply With Quote
Reply

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


All times are GMT -8. The time now is 01:38 PM.


Powered by vBulletin® - Copyright ©2000 - 2017, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.