User Tag List

Results 1 to 9 of 9

Thread: Is there a limit on actions ?

  1. #1
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is there a limit on actions ?

    take a look on the screenshot, I cannot add anymore actions? .. well I can but only short in lenght up to a certain value where nothing happens anymore...

    Is there a limit ?


  2. #2
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a limit on actions ?

    O__O That is aaaa..lllo..oott of Action...s..

  3. #3
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a limit on actions ?

    127?

    I hit the limit with 53 actions... looks more like a 4096 chars limit over all actions ...

    now I got 4 conditions each at the limit and I have about 80% done of my actions *lol*

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a limit on actions ?

    Jeez man, I cant even imagine anything that requires that many actions on a single event.

  5. #5
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a limit on actions ?

    Take 4 characters, each with 27 equipment slots and each character with 20 stats, each of those itemslots can hold up to 6 different stats(inclduing 3 base stats), Every time you change anything, including lifting the item from the slot (to drop it in the inventory or to give it to another player) results in a recalculation of the data including saving and updating those slots with proper data from the database and the correct picture.

    E voilà .. you end up with tons of actions

  6. #6
    No Products Registered

    Join Date
    Jan 2007
    Location
    NC - USA
    Posts
    261
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a limit on actions ?

    Wow, is there any possible way you could shorten it by having a fastloop run through the data for the 27 characters for you?

  7. #7
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a limit on actions ?

    It's already executed in a single fastloop. The problem is that all those items have many different values I cannot simply run a fastloop and write the data.It works perfectly right now but one condition would be nice

    Anyway, a Error Message would be nice though so you know what was going on, first I thought that I ran out of memory and did a reboot just to see no effect.

  8. #8
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a limit on actions ?

    There definitely has to be a way around that monstrosity of actions. You said there were 4 characters with 27 slots each and 20 stats and 6 stats in that and in that 3 base stats, or something along those lines. Maybe you could use a compound loop, where you start a loop four times for the characters and on that loop start another loop 27 times for each one and on that loop start another loop 20 times. That way you are running over 2,000 loops and you can compare loop indexes for each section of the loop. It may not apply to your project, but hopefully it can help chop down that ridiculous list. And if you can't, then simply duplicate the event and add the rest of the actions in a line below it. That is a no fail method.

  9. #9
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a limit on actions ?

    ok so here is what I do ( it's just a PART of the code, but it uses the most actions)

    Write to INI

    GRP: "Player"+Str$(value( "cCurrentPlayer" ))
    ITEM: StrAtXY( "Array", 13, ItemID( "aItem_HEAD" ))
    VALUE: GroupItemValue( "INI_Profile", "Player"+Str$(value( "cCurrentPlayer" )), StrAtXY( "Array", 13, ItemID( "aItem_HEAD" )))+Val(StrAtXY( "Array", 14, ItemID( "aItem_HEAD" )))

    like:

    GRP: like "Player0" or "Player2"
    ITEM: Read from my ItemArray the Item STAT NAME (like DAMAGE, STRENGHT etc.) for that specific Item
    VALUE: From the Ini it selects the correct STAT, e.g. DAMAGE and updates the value. However the Value as well as the Name are totally different each time.

    How can I fastloop something like this?

    Also the array collumns are 13-24 for STAT1,STAT1NAME,STAT2,STAT2NAME etc ...

    I guess this will be a top priority when I start optimizing the code for speed at the end

Similar Threads

  1. More than 127 actions?
    By Alpha in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 9th October 2009, 09:40 PM
  2. UNC file actions
    By DJFuego in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 17th July 2007, 01:02 PM
  3. Every ... actions
    By Brandon in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th April 2007, 08:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •