FAQ Search Memberlist Usergroups
Jolt Country Forum Index
Register Profile Log in to check your private messages Log in
Log in Log in

Bug Reporting Thread 2

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Adventure Creation Kit
View previous topic :: View next topic  
Author Message
Admiral Ackguh



Joined: 03 Nov 2012
Posts: 131
Location: Canada

PostPosted: Tue Jul 28, 2015 8:10 pm    Post subject: Bug Reporting Thread 2 Reply with quote

I tried to add to the original Bug Reporting Thread, but the web site crashed when I pressed Reply. The admins can move any messages here to the original thread once they fix the problem.
_________________
- A:A:
Back to top
View user's profile Send private message Visit poster's website
Admiral Ackguh



Joined: 03 Nov 2012
Posts: 131
Location: Canada

PostPosted: Tue Jul 28, 2015 8:22 pm    Post subject: [BUG] SUCCESS variable checking Reply with quote

One of the uses of the SUCCESS variable is to block the player from traversing a portal, by using the portal's passing action macro to set SUCCESS to 0.

If the player is unburdened, everything works as expected.

If the player is burdened: The game engine runs the step macro one or more times after the portal macro, and sets SUCCESS to 1 before each step macro call, and checks SUCCESS after each call.

That means that a burdened player can use portals that should be blocked.

Solution: Obviously, the step macros must change SUCCESS in the same way as the portal macros. The developer could duplicate portal macro code, or set aside a variable for "global success". If so, Portal macros would need to set this variable the same way as SUCCESS, and step macros would set SUCCESS to this variable.
_________________
- A:A:
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Adventure Creation Kit All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001 phpBB Group

Theme by Kage Musha - RPG Garden

Copyrights and trademarks are all of the belonging company. No copyright Infringement intended