SnowMV - Simple Gathering

● ARCHIVED · READ-ONLY
Started by Sn0wCrack 161 posts Page 2 of 9 View original ↗
  1. Hmm I wonder if I will end up having some issues using Hudell time. Someone came out with a full day/night weather system. It even has snow etc. Not sure if Hudell planning to make one himself or not but not sure what be like using 2 the plugins. 

    http://forums.rpgmakerweb.com/index.php?/topic/47250-daynightweather-event/

    Would be cool when night falls that boom the ores regen or something hehe
  2. Kane Hart said:
    Hmm I wonder if I will end up having some issues using Hudell time. Someone came out with a full day/night weather system. It even has snow etc. Not sure if Hudell planning to make one himself or not but not sure what be like using 2 the plugins. 

    http://forums.rpgmakerweb.com/index.php?/topic/47250-daynightweather-event/

    Would be cool when night falls that boom the ores regen or something hehe
    I'll be adding addons for day/night and weather too, I'll need it for my game, after all :)
  3. Hudell said:
    I'll be adding addons for day/night and weather too, I'll need it for my game, after all :)
    Sounds good I think I rather then just wait since I like modular setups anyways and your doing a good job :)
  4. I hate being the bad guy. I think I found another bug if I disable Snow it works fine. I also tried deleting and adding plugin again just in case.

    iuurZMS.png

    It seems like all events require something in the note slot if not it's causes a error. I randomly added x for fun and it instead stalls the entire client with maxed out cpu. 

    I even deleted the ore events and just had a simple spawned chest from the right click menu it also causes this. 
  5. Kane Hart said:
    I hate being the bad guy. I think I found another bug if I disable Snow it works fine. I also tried deleting and adding plugin again just in case.

    iuurZMS.png

    It seems like all events require something in the note slot if not it's causes a error. I randomly added x for fun and it instead stalls the entire client with maxed out cpu. 

    I even deleted the ore events and just had a simple spawned chest from the right click menu it also causes this. 
    This shouldn't be the case, as in my testing I had two events, one with and without a note. And I event have a check in place to make sure the note property exists on events.

    I've also just looked again on a map with no notes on any events (~15 events on the map) and it seems to have a fine time, is this just triggering at launch? Can I have a few more details thanks?

    EDIT: Okay this is now happening to me as well, it only appears to happen after it finds a single event on the map with Notetag data, so if event 2 has one, it stalls after that. I have no clue why this is happen, but I'll look into it further.

    ■ ᴆᴀřᴋ ᴆᴈᴋᴉᴦᴀ ■ said:
    MVC has a notetag reading function.. a single function that can be called with absolute ease!

    Edit:

    MVC.getTag(text, tag /*, defaults */)
    I did notice that, only put MVCommons in recently so I'm still in the process of changing things over, was more worried actually getting the core functionally down.
  6. Sounds like you have things under control snow I will check back soon :)
  7. I do believe I've fixed the issue, however now the <Respawn Time: x> tag is case sensitive to how you see it now (capitals at both Respawn and Time).

    As it turns out I completely forgot about how RPG Maker MV actually puts note tag data like this into the event object already, I knew about it, but completely spaced on the fact and kept building the same thing as the item processing part.

    Don't copy paste code kids.

    Anyways, tested it, seems fine from here.
  8. Sn0wCrack said:
    I do believe I've fixed the issue, however now the <Respawn Time: x> tag is case sensitive to how you see it now (capitals at both Respawn and Time).

    As it turns out I completely forgot about how RPG Maker MV actually puts note tag data like this into the event object already, I knew about it, but completely space on the fact and kept building the same thing as the item processing part.

    Anyways, tested it, seems fine from here.
    It's working now thanks.

    Time to add the respawn timer thing into it now :)
  9. Would you happen to have an example of a conditional branch via script. I was going to make one but then I realized crap... How do I even check if the ore was denied or not. So right now it just always goes to switch a lol.

    I feel little pathetic asking but I never really done anything with scripts much before.

    p5q5TKN.png
  10. Kane Hart said:
    Would you happen to have an example of a conditional branch via script. I was going to make one but then I realized crap... How do I even check if the ore was denied or not. So right now it just always goes to switch a lol.

    I feel little pathetic asking but I never really done anything with scripts much before.

    p5q5TKN.png
    I can spot a few things wrong here first off, you don't need to activate the "A" self switch (however I was planning to make this an option, enabled at the users discretion).

    The Respawn Time needs to be in <> for it to work (I'm assuming, not sure how the metadata parsing really works), and you didn't include the Event ID in the SnowGather command

    I can implement a way to check what happened with your previous gathering attempt, I could store it into a variable of the users choice, so Variable 1 would hold 0 if it was a success, 1 if failure and 2 if you didn't have the right tools, it would be stored after every usage, again enabled at the users choice.
  11. Sn0wCrack said:
    I can spot a few things wrong here first off, you don't need to activate the "A" self switch (however I was planning to make this an option, enabled at the users discretion).

    The Respawn Time needs to be in <> for it to work (I'm assuming, not sure how the metadata parsing really works), and you didn't include the Event ID in the SnowGather command

    I can implement a way to check what happened with your previous gathering attempt, I could store it into a variable of the users choice, so Variable 1 would hold 0 if it was a success, 1 if failure and 2 if you didn't have the right tools, it would be stored after every usage, again enabled at the users choice.
    Derp I like the idea it does self switch on its own. And derped up on the timer. I really should start sleeping more so I can pay attention. I been doing so much that I been slightly overwhelmed.

    I will make these changes and see how it goes thanks. 

    Edit: so from the looks of it right now anyways I would not be able to set off the mining sounds from my common event because there is no way to know if it went off?
  12. Kane Hart said:
    Derp I like the idea it does self switch on its own. And derped up on the timer. I really should start sleeping more so I can pay attention. I been doing so much that I been slightly overwhelmed.

    I will make these changes and see how it goes thanks. 
    With the self switches it would activate right after the plugin is finished running, so I feel some people may wish to do things afterwards, such as in your screenshot, you're running a common event afterwards.

    I've also updated the script with everything I mentioned in the last post. So open the plugin's parameters again if you've already install it to refresh the values.

    EDIT: In response to your edit, there now is a way, keep your event the same (that is activating the self switch) and change the parameter "Manual Self Switches" to true
  13. Sn0wCrack said:
    With the self switches it would activate right after the plugin is finished running, so I feel some people may wish to do things afterwards, such as in your screenshot, you're running a common event afterwards.

    I've also updated the script with everything I mentioned in the last post. So open the plugin's parameters again if you've already install it to refresh the values.

    EDIT: In response to your edit, there now is a way, keep your event the same (that is activating the self switch) and change the parameter "Manual Self Switches" to true
    Yup it worked perfectly this what I did:

    PDiVHKe.png

    Though before this besides the common event issue I could not actually have it flip the switch to A I tried changing event id 1 then 2 then 3 I really have no clue what is what so many things I'm still learning.

    I know there is common event is that shared with the time event? Then there is the switch that I don't think were using right now and then the variable where I set the constant to 0 then it would go and switch the to A to trigger it being mined. 

    Maybe the entire <Respawn Time: 1> should been like that not just the 1?

    Trying figure out that odd pesky issue though why originally the switch never kicked in I will not bother using that feature but for others if it was a bug or my derping,. 

    Thanks :)
  14. Kane Hart said:
    Yup it worked perfectly this what I did:

    PDiVHKe.png

    Though before this besides the common event issue I could not actually have it flip the switch to A I tried changing event id 1 then 2 then 3 I really have no clue what is what so many things I'm still learning.

    I know there is common event is that shared with the time event? Then there is the switch that I don't think were using right now and then the variable where I set the constant to 0 then it would go and switch the to A to trigger it being mined. 

    Maybe the entire <Respawn Time: 1> should been like that not just the 1?

    Trying figure out that odd pesky issue though why originally the switch never kicked in I will not bother using that feature but for others if it was a bug or my derping,. 

    Thanks :)
    You're correct about the entire respawn time needing to be in the <> tags.

    And as a note as to what you have right now, if the player filed to mine that ore, they would be able to mind it again, for what you have I'd change the conditional branch to check if the variable is not set to 2.

    Also to help you out a bit more, please post your plugin list, parameters page of SnowGather as well as the second page of this event.

    EDIT: You can also find your event's ID at the corner of that very window, just drop the 0s proceeding it.
  15. Sn0wCrack said:
    You're correct about the entire respawn time needing to be in the <> tags.

    And as a note as to what you have right now, if the player filed to mine that ore, they would be able to mind it again, for what you have I'd change the conditional branch to check if the variable is not set to 2.

    Also to help you out a bit more, please post the parameters page of the plugin as well as the second page of this event.

    EDIT: You can also find your event's ID at the corner of that very window, just drop the 0s proceeding it.
    I found a small typo haha:

    <Repsawn Time: x> in the instructions should be  <Respawn Time: x>

    The code I think was fine from what I can tell though.

    I was a newbie and copied / paste it so I had many issues haha. 

    So I know I'm doing something wrong because I think respawn time was based on 1 hour? so default settings would make it 36 Seconds RL time as long the game speed is going correctly?

    1qtpOjM.png

    krilzoE.png

    XZCVis3.png

    After 5 minutes or so in game:

    07xHf7d.png

    To answer your question I'm not sure if I want to use a fail system to be honest. I know a big part of this plugin is fail but I actually not a big fan on fail chance since there is break chance of the picks etc. Of course maybe other futures we talked about down the road. So if I even added failure it be more like you wasted your time while this was running:

    jAbrEFW.png
  16. I just learned about the F8 Key. Noticed an error saying I need oranges event manager. Derp I should read his time mod better. 

    EDIT:

    So it still does not after 1 hour passes in game switch the ore back:

    the console:

    1 Hour Passess... line 151 I guess it was. 

    So yeah it seems the script knows better just does not actually flip back the ore but I'm sure I derped up there. 
  17. Kane Hart said:
    I just learned about the F8 Key. Noticed an error saying I need oranges event manager. Derp I should read his time mod better. 
    Hope everything works for you now then, thanks for pointing out that misspelling as well.

    And as a heads up make sure you put the scripts in the correct order, that is MVCommons -> Event System -> Time System -> SnowGather

    You're still using the wrong event ID, your event ID is 2, from the title of the window "ID:002"
  18. Sn0wCrack said:
    Hope everything works for you now then, thanks for pointing out that misspelling as well.

    And as a heads up make sure you put the scripts in the correct order, that is MVCommons -> Event System -> Time System -> SnowGather
    Always wondered about load ordering but it's exactly ordered in that way. Just can't get my ore to respawn hehe. 
  19. Kane Hart said:
    Always wondered about load ordering but it's exactly ordered in that way. Just can't get my ore to respawn hehe. 
    Read the post above, you're passing in the wrong event id
  20. Sn0wCrack said:
    Read the post above, you're passing in the wrong event id
    Derp I did not see the edit thanks. 

    Is there anyway to maybe globally set the resets with events with the command? The only reason I say that is because placing 100's of copper ore and having to edit each plugin call to the new event id would take quite a while. I was actually if this is scary try to put most of this into a common events so I can do global changes to say copper ore or iron ore etc.

    I would more then likely have the timer set to something like 1-3 rl hours so having some mine say 100 ore would have quite a few timers running.

    Thanks.