Galv's Event Spawner

● ARCHIVED · READ-ONLY
Started by Galv 116 posts Page 2 of 6 View original ↗
  1. I'll PM it to you to try
  2. Code:
    Hi Galv, thank you for this truly useful plugin.
    However, I have a very strange error that appears to come from Terrax lighing system.
    At first I installed your plugin and everything worked.
    After 5-6 testing, errors have started then I had changed nothing in the code of events.
    then it became impossible to use your plug on this map but worked perfectly on others maps.
    Then it became impossible to script call spawner event without errors.
    I can not use any of your plug without disabling Terrax now.
    What I really do not understand is that at the beginning the 2 plugins were working correctly, 
    and yet I did not touch anything in the order of plug-ins or in the events of the code before the errors appear.
    
    Is there a way to bypass this error?
    [B][U](Cannot Read property "note" of null)[/U][/B]
    Terrax lighing disabling the plugin works again.
    
    I had never seen one plugin function normally at first, then do errors without changes.
    The plugin does it permanently registered notes in the Datamap ?
    
    It's really annoying both plugins are almost essential for me ... 
    It's a bit like choosing between cutting his right hand or his left hand.
    
    Edit: If I recreate a new map the plugin works again with terrax, but only on this new map. 
    and errors begin again after a while and it is again impossible to use the script on this map ... 
    It's really strange.
  3. Terrax needs to make an update to his plugin for these to be compatible. I cannot update his plugin for him.


    He appears to be MIA so I hope he comes back soon to make the changes.
  4. Hello! ^^
    I have a problem with the script to spawn event in a specific region: "r" parameter is taken as "x", so the event always spawns at x,0. Any tip about this?
    Thanks, have a great day! :)
  5. Make sure you start a new playtest game after adding the plugin.


    Double check the help file and look in the demo to make sure your script call is correct. Does the issue happen in the demo? If so, please tell me exact steps to replicate.
  6. I made a simple blank project, with only your plugin active. Screen Shot 2016-11-08 at 20.55.06.png


    Then i set a clickable object that can spawn an event every time is clicked.


    If i set the third parameter to "true" it work flawless, every time i click the event is spawned in the region at random tile.Screen Shot 2016-11-08 at 20.56.45.png


    If i set the third parameter to "false", for temporary events, the spawn position is always x,0, where x is the second parameter (the "r" in base code).Screen Shot 2016-11-08 at 20.54.28.png


    I hope it helps, thanks again for your support!
  7. Ahh, it seems I had incorrect info in the help file but the correct usage in the demo. I have updated to version 1.4 to correct the help text now.


    Instead of using false, leave out that argument completely.


    So instead of:


    Galv.SPAWN.event(1,1,false);


    use:

    Code:
    Galv.SPAWN.event(1,1);
  8. Thanks a lot, works perfectly now! :)


    Just a little question, about spawned event, is there some special name that will be used? I am using your plugin also for ABS and i would like to see it they can work together (for that i need the exact event name). Is the name converted to "SourceEventName_clone_number" or something like that?


    Cheers
  9. The spawned events have the name of the event... no change in event name.
  10. Galv said:
    The spawned events have the name of the event... no change in event name.



    Okey, thank you! So Alpha ABS doesn't work out of the box with spawned events... that is a pity. Thanks a lot Galv, your work on MV plugins is amazing! ^_^
  11. Galv said:
    I have tested tarrax lighting with this plugin now and they both work together. The lighting system doesn't detect the spawned events, though.


    I recommend asking Terrax to update his plugin to reference $gameMap events instead of $dataMap events. I did a test updating it all and spawned events work with lighting also.

    He says that he has no clue about how to access the data you're accessing:
  12. Is it possible to spawn events where the player is standing (for example leaving behind a tombstone or corpse like in diablo series)? I saw it is possible to spawn events at specific coordinates, but I have no idea how to input the player coordinates into script commands (if it's possible at all).
  13. For the x and y use $gamePlayer.x and $gamePlayer.y
  14. Galv!


    I need your help one more time  :(


    I'm trying to make the Pheonix KageDesu's Alpha ABS compatible with your spawner, but my javascript knowledge is still too low to fix these issues. I want to spawn enemies, but they don't behave correctly when spawned. Maybe the problem is if reading $gameMap.events() or $dataMap.events.





    Could you tell me how to fix this?
  15. Have you tried asking Pheonix?
  16. It seems that Pheonix is not visiting rpg maker forums since 25 Nov, and he doesn't answer to anyone : (


    I downloaded his plugin and started making some edits, since it crashes with many other plugins. I think it would be great if we all fix its lacks and upload the plugin fixed, so we can have at least one functional ABS for MV ;)  I only ask you how can I fix it, I'll do the work.
  17. @ABSTRVCT: You do know that if someone knew how to fix it, they would have done it already? There is a reason there are no fully functional ABS plug-ins yet for MV, and that is they are ridiculously complex to make, write, and edit. And even if they are finished, they are incompatible with most other plug-ins, as ABS plug-ins have to totally rewrite how MV works, due to MV not being designed for ABS in the first place.
  18. @bgillisp: Maybe there is no many people who want to fix the compatibility with the spawner.
  19. Perhaps. I'm just warning you that it could also be it is very complex and no one has figured it out yet. Just something to keep in mind, as ABS systems are *very* hard to make and work with.


    Now, if Galv can't do it (either due to difficulty or time) you can always request a fix under plug-in requests. But let's see what Galv says first, and if they say they can't do it, then post a request there.
  20. ABSTRVCT said:
    I only ask you how can I fix it, I'll do the work.



    Doesn't really work this way... to tell you how to fix it, I would have to fix it first in order to know how before I could tell you. I also do not believe in changing another plugin writer's work. If we can't contact them, we don't have permission to change it.


    Additionally I get way too many requests to do free work that I cannot possible do all of them and unfortunately I have to say sorry, I cannot do stuff. So due to not having much time as bgillisp said, I recommend asking in plugin requests.