The Dink Network

dang, got sucked into it again.

April 13th 2005, 03:42 PM
pig.gif
Nice to see you again Spacehoggy...now that its off your shoulders admit you'll never leave though you want to.

goddang vault dweller u were right!

anyway, i started programming again tonight, natrualy im realy rusty, but tros (the rudiments of scripting) has kept me right so far. anyway, heres the problem i need a grey knight to face direction 2 and swing his axe. i think its seq 722, but whats the exact format of the comand i should use.
thx, good to see u all again, +a load of new guys.
April 13th 2005, 07:37 PM
wizardg.gif
Chaotic
Peasant He/Him
 
'.c'.
April 14th 2005, 06:09 AM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
In this knights script, stick these commands...

sp_dir(&current_sprite, 2);
sp_seq(&current_sprite, 722);
sp_frame(&current_sprite, 1);
sp_kill_wait(1);
sp_nocontrol(&current_sprite, 1);


I think that should do it. Plaudits to Chaotic for his fantastically well thought out reply.

I hope mine is a little more informative (and that I haven't just made up a load of commands in my head, as I'm so prone to doing).
April 14th 2005, 04:09 PM
wizardg.gif
Chaotic
Peasant He/Him
 
but whats the exact format of the comand i should use.

The format? Its a C file!
April 15th 2005, 05:44 AM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
Maybe so, but you know that's not what he meant. You unhelpful, pedantic tw*t.
April 15th 2005, 02:08 PM
spike.gif
VaultDweller
Peasant He/Him United States
Wanderer of the Wasteland 
(heinously loud and abrupt laughter emanates from his deep throat),
The Vault Dweller
April 15th 2005, 03:17 PM
wizardg.gif
Chaotic
Peasant He/Him
 
Well, if spacehoggy can't speak english, I don't know what he's asking.
April 15th 2005, 11:53 PM
knightgl.gif
ha
April 16th 2005, 04:20 AM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
It doesn't matter if he can speak the language. He can obviously type it - I understood what he wanted.

Maybe it's you, who is struggling with reading English?
April 16th 2005, 01:41 PM
wizardg.gif
Chaotic
Peasant He/Him
 
No, I'm having trouble reading what he REALLY meant.
April 16th 2005, 01:44 PM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
Maybe you should try opening your eyes when reading then? You know, looking at the his words might help.
April 16th 2005, 01:47 PM
wizardg.gif
Chaotic
Peasant He/Him
 
This is exactly what I saw:

but whats the exact format of the comand i should use.

Now unless I'm on crack or something, that is exactly what he said.
April 16th 2005, 03:07 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
He obviously asked for the format of the command, not for the format of the file.

You're not gonna tell me you didn't understand because he wrote 'command' with a single 'm' and you thought he actually meant 'file'?
April 16th 2005, 03:14 PM
pig.gif
right, whats going on? saber was right btw, thanks. what i said didnt seem to trivial, but if you realy dont understand, this is what i should have said;

what is the exact command i should use to make a knight hit in direction 2... wait a miniute, i did.
April 16th 2005, 06:39 PM
wizardg.gif
Chaotic
Peasant He/Him
 
Commands don't have formats, but the scripts written WITH those commands do, so the closest thing to the format of the command is the format of the file.
April 17th 2005, 05:51 AM
custom_fish.png
SabreTrout
Noble He/Him United Kingdom
Tigertigertiger. 
As I said, you are a pedantic tw*t. It was freakin' obvious what spacehoggy wanted.

I hope your d-mod is going well, oh Hog of the Stars.
April 17th 2005, 05:52 AM
pig.gif
yes, but in English, what does format mean?

A plan for the organization and arrangement of a specified production.

The organisation of the command.
April 17th 2005, 06:13 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Isn't the format ASCII?
April 17th 2005, 07:03 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
Commands do have formats. The format would describe the command with the type of parameters it requires, like:

int do_this_command(int value, int value, double value);
int do_other_command(char string[100]);
int say( char string[100], int sprite );

Every parametere would also have its own range of values that can be entered. For example, in DinkC the move_stop command, the second parameter is limited to the values of the numpad minus 5 and generally also 1,3,7 and 9 - you can't enter 50 there because the command can't function if the parameter has that value.

void move_stop( int sprite, int direction, int destination, bool nohard );
April 17th 2005, 03:30 PM
wizardg.gif
Chaotic
Peasant He/Him
 
Oh, sorry, didn't know that X_x

I apologise to spacehoggy for replying without knowing what he meant.

*Turns around and starts tearing hair out*