The Dink Network

Reply to Re: Beta Application: dPlay Map Changer

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 11th 2002, 02:29 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
: Looks good so far. But you're going to have to tell us how to control it so we can do some more involved tests!

Ok I didn't want to get into too many details, in fear someone would use it in its current form. Future versions will have version checks and the like.

First, its run using the playavi command... so like: playavi("command parameter1 parameter2"); and so on.

There are two commands: "check" and "map".

Check: Requires 2 parameters. The 1st parameter is the save game number, and the 2nd is the name of the variable it is going to look up. The variable should be global. What this does is looks for the save game that you specify, extracts the value of the variable you specified, and then creates playavi.c, setting the variable to the value. Look in Start.c to see how this can be used to verify dPlay has been installed.

Map: This has one parameter, which is the location of the map.dat you want to use, which will overwrite the current one. Pretty simple, actually.

Examples:

playavi("check 11 dinklogo");

playavi("map map.s");

There will be a full debug mode of sorts eventually, where it outputs a text file describing what problems it had. This was originally planned, but it seemed to be causing some problems.

Oh, and running playavi seems to kill the current script, or stop it.