1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XmlSpawner new commits

Discussion in 'Discussion' started by fwiffo, Apr 17, 2014.

  1. fwiffo
    Offline

    Platinum Donator

    Joined:
    Feb 28, 2014
    Messages:
    53
    Likes Received:
    6
    https://code.google.com/p/xmlspawner/

    I've updated a couple of things out, this can be a replacement to the actually shipped xmlspawner version with servuo - Remember to compile the scripts with the preprocessor directive ServUO or it won't compile correctly.

    What was done in recent commits:

    - fix in custom area reload error, if the area is a square, during load it's size would be halved and so on in each reload, to prevent this we check actual central point and we also check if the area is square or of irregular size.
    - by using the flag "ServUO" at compile time, (as defined in the original project found on servuo) you instruct to use the things found in there, so you don't have to edit almost anything inside...(Thanks to tindo on runuo for the additions and fix for ServUO)
    - using "dupe" on a spawner now replicates the area (only if non custom)
    Added a couple of things that I found on servuo xmlspawner repository and also fixed some compile errors for ServUO (remember to add the directive)
     
    • Like Like x 1
    • Winner Winner x 1
  2. HellRazor
    Offline

    HellRazor Member

    Joined:
    Dec 24, 2013
    Messages:
    36
    Likes Received:
    1
    Anyone know how to do this in a batch file (such as ServUO's Compile.Win.bat)? Or is this something that needs to be changed in the XMLSpawner files?
     
  3. Ravenwolfe
    Offline

    Moderator ServUO Developer

    Joined:
    Sep 7, 2013
    Messages:
    1,163
    Likes Received:
    130
    Hehe, tindo is me!

    Thanks for updating the code fwiffo! Glad to see you around!
     
    • Winner Winner x 1
  4. fwiffo
    Offline

    Platinum Donator

    Joined:
    Feb 28, 2014
    Messages:
    53
    Likes Received:
    6
    Revision 19 is up, it was tested with anything, for servuo you have to decomment two defines, there is a txt files that addresses you to the correct paths.

    Also I wonder why ServUO added the define in the SERVER CORE, but they forgot to add this define in the scriptcompiler, the github runuo allowed me to add the correct checks in no time.
     
  5. fwiffo
    Offline

    Platinum Donator

    Joined:
    Feb 28, 2014
    Messages:
    53
    Likes Received:
    6
    Revision 21 is up, nothing really new, just added the tickreset to spawner save and moved some files to the correct directory.
     
Similar Threads: XmlSpawner commits
Forum Title Date
Script Support Convert default spawner to XMLSpawner Jun 15, 2018
Script Support Xmlspawner checking account tag ? May 3, 2018
RunUO Releases XmlSpawner Apr 4, 2018
3rd Party Support XMLSpawner Save & Load to access xml files Mar 9, 2018
Archived Bug Reports Covetous Revamped NPC xmlspawners duplicate Feb 10, 2018
ServUO Discussion z axis and xmlspawner Feb 3, 2018
Script Support Send Gump via Xmlspawner Jan 28, 2018