The Dink Network

Someone's Profile

2012-02-15 07:50:00
Peasant Male Australia
re Shevek: Unfortunately that still breaks if the user saves in a way the DMOD author didn't intend (Paul's 3rd point).

re Paul: if main.c is being killed, it sounds like main.c is run before the load game proper occurs, then is killed alongside all other scripts when the load game proper occurs. That's what I thought happens, but I misinterpreted what you said about main.c "keeps running" to mean you found main.c survived the load game. If main.c is run before the load game proper and doesn't survive it, then it seems more than just a complication to me?

Aside from using arm/disarm (which I still think is possible), I've come up with an even more devilishly convoluted solution! It involves randomly generating a number in main.c when a load occurred, saving a game with that number, then trying to recover the last random number generated (assuming Dink's random number generator is predictable) and checking if a save with that number exists. That would allow information to pass from before the load game to after. Probably wouldn't work though

I'm interested to see what you decide is the best solution in the end. Running scripts after a load seems a potential common problem to many DMODs with complex/innovative scripting.

Someone has released 11 files

Red ShieldD-Mod, UnfinishedGood 8.0December 4th, 2007
MouseDink Dev's DemonstrationD-Mod, DevelopmentGood 8.4December 4th, 2007
FIFO & Variables in DinkCDevelopment, TutorialExceptional 9.0December 4th, 2007
CustomFEMiscellaneous, FrontendExceptional 9.6December 4th, 2007
Fairy Goodness OnlineD-Mod, MiscellaneousGood 7.8March 22nd, 2002
CustomFE 1 SkinpackMiscellaneous, FrontendGood 8.4November 12th, 2000
DImageDevelopment, UtilityFair 6.9October 22nd, 2000
CEditDevelopment, UtilityExceptional 9.2October 14th, 2000
DMOD ManagerDevelopment, UtilityGood 8.4September 28th, 2000
Run.exeDevelopment, UtilityFair 6.6September 16th, 2000
DinkC TutorialDevelopment, TutorialFair 6.2April 16th, 2000

Someone has written 2 reviews

Nice use of Dinkc Platform DinkFeaturedGood 7.7January 23rd, 2010
An original DMOD I, Kara GuFeaturedExceptional 9.7December 10th, 2007