ToEE World Builder v1.7.5

Discussion in 'General Modification' started by Agetian, Jul 6, 2005.

Remove all ads!
  1. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    Re: ToEE World Builder Public Beta 1

    Yup thats what I am doing.

    Thanks for the door script, just tested it, works perfectly (though I will have to tweak those coordinates, the door appears in the road outside. My bad ;))

    Edit: Hey we were spontaneously posting, haha! Well I am off to church for a few hours then I got the whole evening ahead to test so by all means put it up when u r ready.
     
  2. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    Ah - one of my friends helped me create a sector file that could fix your issue. So far I tried the following: moving from area to area, going out of the sector and back in, teleporting from another map to the door coordinates, teleporting from the same map to the door coordinates, then somewhere else, then back to the door. Seems to work OK (even though no guarantee again).

    Please try this SEC file. If it works for you, I'll post a fix for ToEEWB to make use of it. Once again it's for Hommlet (620,303)

    - Agetian
     

    Attached Files:

  3. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    Re: ToEE World Builder Public Beta 1

    Ok Agetian, testing now. Back in a few.

    Edit: Sorry, I just tested, same problems here: horrible lag in that sector, particles going berserk, eventual CTD.

    And no door :(

    Maybe if someone else could try it? Download, stick it in
    Program Files\Atari\Temple of Elemental Evil\modules\ToEE\maps\Map-2-Hommlet-Exterior
    (if you have Liv's mod that folder will be there) and then head over behind the brewery to the west and see what happens. If u see a door outside a house in the road, its worked. If it doesn't, u will know.

    O and don't forget to clear the map cache.

    Thanks for all the help Agetian, sorry its not working... on that note I am outta here. Back in a few hours.
     
    Last edited: Jul 10, 2005
  4. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    Hmm... I keep testing it atm and it seems to work fine for me... strange. Are you sure you copied the original sector files back to hommlet before proceeding? Maybe one of your original SEC files (perhaps the one you embedded your door to before I fixed the bug with coordinates) is making troubles as well?...
    Anyway, I'll test some more on my PC and my friend's PC, too.

    - Agetian
     
    Last edited: Jul 10, 2005
  5. darmagon

    darmagon stumbler in the dark

    Joined:
    Mar 22, 2005
    Messages:
    295
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    Did as Shiningted suggested and I feel as though I am lucky to get out of there alive.
    I used the world map to go from south hommlet to north hommlet. Once I was there everything slowed down. Left clicking never actually moved me anywhere beyond my first move south from St. cuthberts. Right click took almost 10 seconds to bring up the radial menu for the party leader , the same with esc to quit. I will not go back there, it is a scary place.... I did clear the map cache and, no worries, did make a backup so I should be okay.

    Darmagon
     
    Last edited: Jul 10, 2005
  6. darmagon

    darmagon stumbler in the dark

    Joined:
    Mar 22, 2005
    Messages:
    295
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    Replaced the file in question with my backup and tried again, just to make sure. No problems. The game responded as usual with no delays.

    Darmagon
     
  7. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    I tried it again and it caused trouble for me too, but it only happened when I tried it for the fourth time. It causes trouble on my friend's PC every time though... Crap! I can't trace this problem!

    OK, will keep trying...

    [EDIT]: Though NO - I retried it again, turns out I still had the old SEC file sticked in my ToEE folder that caused trouble. Tried it with the new one, both on my and my friend's PC - no problems whatsoever. Please, could someone else try it again?
    I'd advise to remove all custom files you might have made and copy the SEC file attached here (unzip first) to the folder "modules/ToEE/maps/Map-2-Hommlet-Exterior" (a subfolder in your ToEE installation folder). Then, clean the game cache, start the game from scratch (DON'T load any saved games), and go to Hommlet to the location (620, 303). Try moving around, going inside a building (somewhere) and back to Hommlet to (620, 303). If you experience game crashes or any massive slowdowns after you do it please tell me. If you don't experience game problems at this point, please tell me as well. Also, tell me whether you see a door at (620, 303) or not... I do see it, and it works (can post a screenshot if someone is interested).

    I *really* want someone else to try it since the problem doesn't happen for me and a friend of mine anymore (it used to happen with all older SEC files btw).

    [EDIT]: Corrected the coordinate - it's (620,303). By the way, I kept testing even more, and more, and more... Doesn't happen. No glitches, no slowdowns, no crashes, no weird special FX flying around... Please, someone, confirm that it's not happening to you as well...
    P.S. I'd really like to hear from someone with a 100% clean install of ToEE patched to version 2.0.... I really want to avoid any third party interference from custom files here...

    - Agetian
     

    Attached Files:

    Last edited: Jul 10, 2005
  8. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    Just released a new version (R1.3) that saves the sector files with a new method, using a safer memory allocation GUID tag. It may potentially fix the bug described above. Even if it doesn't, it's still more *proper* in the terms of game engine.
    *I still want someone to try the SEC file above (please read my post above this)*

    Beta R1.3 - Jul 10 2005
    -----------------------

    - modified the sector saving routine to attempt the prevention of a memory leak bug with sectors. Technically ToEEWB now uses a 'safer' 0x00 type GUID for sector memory allocation instead of the previously used 0x02 type GUID which seems to work well only for mobile (mob) objects.

    Enjoy!
    - Agetian
     
    Last edited: Jul 10, 2005
  9. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    Re: ToEE World Builder Public Beta 1

    Not really an option to reinstall the game when I have modded half the files in the game, but then thats why I wanted a second opinion as well.

    Anyway I will start a new party from scratch and see what happens :)

    Edit: meant to add the inevitable 'gimme half an hour'.
     
    Last edited: Jul 10, 2005
  10. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    @Shiningted: Hey, there's no necessity to *reinstall* the whole thing. I guess you could have just moved your custom files from the "modules/ToEE" folder somewhere (for a minute or two), test it, say yes/no (whether the thing works or not), and then move the files back in....

    P.S. I keep testing the thing myself. No glitches so far (18th attempt at doing all things possible to crash the game)

    - Agetian
     
  11. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    Re: ToEE World Builder Public Beta 1

    Back (and btw thanks Darmagon for testing it, nice to know I am not going insane).

    Agetian, no u aren't either. I tried a new game (thought I had done that before but i think it was with your scripting solution) and this time it worked perfectly!

    Tried from a save, also worked perfectly.

    Tried from a few other saves, and it screwed up. :yawn:

    Indeed tried from several others and they tended to screw up more often than not. But i can't see any connection. Many of the ones that failed were brand new ones that I just spawned to try my new voices (surely THEY are not causing these issues??) and have not done anything with. On the other hand, one that works has a bunch of my new quests inside it.

    Does Liv's spawner on the map create anything in that sector, barrels or anything? Thats one possibility. I tried new games with and without that .mob in (and the .py it triggers, 801 for memory) but again didn't see a pattern.

    Saves that always screwed up included 2 next to that sector (by the church), one in the moathouse where I brought the party back to various different points, and one inside the weavers house (when I went out obviously).

    Saves that always worked included the same party as the previous one, only saved across the road in the tailor's house, and a save down near the Renton's house. And new games.

    As I said, I can't see any pattern. Do'h!
     
  12. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    @ Shiningted: No, you shouldn't look for mistakes in your own custom files... The thing I'm afraid of is that you might have screwed some of the files (possibly one of the original sector files) back in that time when you used the first beta of ToEEWB to embed a door into a sector. So, some other SEC file might have gone bad and could cause troubles for you now (the number is unknown - whatever it was detected to). That's exactly why I wanted you to try starting a new game with that sector file being the only custom sector file for that map.

    On the other hand, the thing that it started to crash a lot less (but still crashes sometimes) *is* strange. I would expect it either to stop crashing at all (at least when starting a new game or using saved games that were saved AFTER importing the latest version of the .sec file) or go on crashing all the time.

    The funny thing is - it doesn't crash for me anymore, whatever I do (at least till now, I tried well over 20 times), and it doesn't crash for my friend who has tried at least 5 or 6 times as well (with the latest SEC). This is the biggest mystery I have ever met in ToEE modding, and this thing *is* weird.

    Of course, whenever I plug the old SEC file back (with an error) the game starts crashing - if not from the first time, then at least from 2nd-3rd... But the latest file never crashed so far.

    I'll give it a try again (to the count of 50 :))) and then I'll tell you how I did.
    Thanks again for testing!

    - Agetian
     
    Last edited: Jul 10, 2005
  13. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    Re: ToEE World Builder Public Beta 1

    Well thanks for going to all this effort! But I gotta say, the files it crashes with (for me), some of them are saves I did NOT use with the first bunch (I only tried a few, found none were working and got back to you) so they have had no exposure to the previous .sec file. There seems no reason they should fail.

    Anyways I will leave it in your capable hands :)
     
  14. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,740
    Likes Received:
    374
    Re: ToEE World Builder Public Beta 1

    Hey Agetian, sorry if u have answered this but what's an .svb file?
     
  15. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    Re: ToEE World Builder Public Beta 1

    @Shiningted: 1) About saves crashing: even if your previous saves did not have any direct exposure to the sector files, the game may save some of the sector stuff in there (after you added the new sec file) if you saved anywhere in the game (after the sec was copied).

    2) I reached the count of 50. No crashes. My friend didn't try it anymore so I can't really speak for him. No one else tried it, so... (I'll leave it at that for everyone's consideration :) ) Personally I tried all things possible, even playing the game for some time (visiting Hommlet with the doomed coordinates quite often) and then teleporting back to Hommlet, then somewhere else, then Hommlet again, walking all around Hommlet and going back to the coords again... I don't experience the problem, period.

    3) SVB stands for "Sector Visibility Blocking". Basically it defines which tiles should semi-block ("gray out") character models because of walls. They are similar to clipping, but they are different too: clipping files clip the models completely (so they are not seen behind solid objects) while svb files just gray the models out (so they become semi-transparent). SVB files work together with SECs. In fact, there got to be a certain mark (for each tile that needs SVBing) in the sector file for the svb to work correctly.

    Hope this helped.
    - Agetian
     
    Last edited: Jul 10, 2005
Our Host!