Page 2 of 3

Posted: Wed, 12. May 04, 05:57
by GoateeCat
Well, my proxy finally let it through. I'm only a few pages in and already, BRAVO!! The nuances of the engine itself and not the code always annoyed me, but you make it all crystal clear.

I imagine when I'm done reading the whole shebang I'll have only laziness to blame for not creating scripts.

...

Laziness it is then! :)

Posted: Wed, 12. May 04, 13:35
by marklaverty
I never meant to disrespect your guide. So, if it got perceived that way, that was not my intent. My intent was simply to provide feedback that was asked for, so I did. I noted two important things: (1) The format needed some work, and that was not your fault, but the maintainers of the site and (2) I expected a different guide. That was my expectation, and I never meant for it to reflect the quality of your guide. You meant to write a Scripting for Dummies guide, and so you achieved your objective - good show!
cool :D

no offence was intended or taken.
Well, my proxy finally let it through. I'm only a few pages in and already, BRAVO!! The nuances of the engine itself and not the code always annoyed me, but you make it all crystal clear.

I imagine when I'm done reading the whole shebang I'll have only laziness to blame for not creating scripts.

...

Laziness it is then!

ROLF :D

Impressive...

Posted: Fri, 17. Sep 04, 23:21
by [DLM]Jimbo
I actually managed to understand that. I'm looking forward to reading anything else you write as it's written in a really user friendly manner. I generally look at coding related stuff, see it in it's entirity and just get immensely confused. That managed to break it down into nice bitesized chunks and I actually feel like I could start playing with scripting a lil and see how it goes. Will play the game a lil more first to get an idea of what I really want from the game and then I'll try and script it :)

Posted: Mon, 7. Feb 05, 09:33
by R4v3n
the address has now changed, the scripting guide can be found here:

http://www.x2source.com/index.php?act=scriptguide

newb scripter looking to learn how to make a script

Posted: Sun, 19. Mar 06, 23:37
by terrifiedkiller
hi i am trying to make me a x3 script that will give me cash for every single kill i make and i'm trying to learn how to script using the guides here in the forums but i cant understand how anyone able to explain how?

Posted: Tue, 28. Mar 06, 14:04
by BarclayMan
POS

Posted: Wed, 24. May 06, 02:25
by Horsewhisperer
Hi Fellas,

I tried to donload this guide, but it appears that the X2Script.com site is down.

Is it just maintenance, or is it down permanently? If so, is there anywhere else I can get the guide from?


Horsey

Posted: Wed, 24. May 06, 03:07
by Cycrow
well, considering it was posted over a year ago, then theres a chance that its no longer supported or avaialble

Posted: Wed, 24. May 06, 06:05
by moggy2
I don't know what's up with x2source.com. It must have been there a few weeks ago. I downloaded the guide only recently.

I can't really host it without permission from the author, so I've emailed it to you. Hope that's the one you were looking for.

Posted: Wed, 7. Jun 06, 05:59
by Horsewhisperer
Thanks for that. :)

Posted: Sun, 3. Sep 06, 02:17
by MackTracker
This was a great walk through for anyone starting out. I know it sure helped me get started. Reading through this took me about 1 hour. Though I will say that I was already familiar with XML.

I am running X3 Reunion and I don't know if their are any differances but I would like to point out a few errors in this text if you don't mind. :D

FIRST:
I don't know if you are aware but I noticed that your final escourt routine causes the game to freeze should your target decide to land at a Station. (X3 Only, I don't know if it causes X2 to freeze)

I would surmize that this is caused by the fact that the ship's referance is nolonger availiable. This could be taken care of by a test to see wether the ship is about to dock or not.

SECOND:
With regaurd to the last program. If you follow your instructions cairfully and when you come to the part where you are initializing the $count variable, you will get the following wrather than what is printed in your guide:

"$count =<?> … " wrather than "$count <?> …"

From their if you continue you will get:

"$count = == 0 …"

Which of course creats a syntax error. It is common programming practice to use the "=" (Singal equal sign) to mean "Assign the value of x to the value of y" where y=x. Where as the "==" (Double equal sign) means to ask "Are these two values equal to eachother.

Hats off to you for all your effort in putting this walk through together for all of us. I apreciate this because I know it helped me lots. :) cheers :x3: (Again I have only tested this with X3.)

Posted: Sun, 3. Sep 06, 02:31
by Cycrow
MackTracker wrote:It is common programming practice to use the "=" (Singal equal sign) to mean "Assign the value of x to the value of y" where y=x. Where as the "==" (Double equal sign) means to ask "Are these two values equal to eachother.
actaully its not that common, most languages use the = for both.

the == was mainly only used by C/C++ and the languages that came from it, like java.

Posted: Sun, 3. Sep 06, 02:33
by MackTracker
True that, forgive me then. My native language is C/C++. :lol: cheers mate!

Oh and XML uses both "=" & "=="

Posted: Sun, 3. Sep 06, 02:52
by Cycrow
yeah mine is c++ as well. but i had to use other languages while i was at collage, unfortuatlly

Posted: Thu, 7. Sep 06, 17:44
by Gouranga Man
thank you very much for this I havent read it but i will, love the disclaimer by the way.

"but you just got to put something in like this these days to protect you from stupid stuff. E.g., my cat died cos I forgot to feed it as I spent 2 days learning to script, so I'm going to sue you…"

Posted: Thu, 10. Jan 08, 04:44
by BattleCommando
Small problem... link is broken now as x2source is hosed... :evil:

Posted: Sat, 26. Jan 08, 03:00
by Phrathum
Does anybody have a copy of this guide they'd be willing to e-mail to me?

Posted: Wed, 6. Feb 08, 19:22
by firefly28
Yeah the site is giving sql errors.

On a lighter note - nice inspirational thread LV :)

Posted: Thu, 3. Apr 08, 22:11
by Buck_Rogers
anyone have a copy of this?

Posted: Mon, 12. May 08, 13:37
by znix77
Hi, any possibility of getting a copy of the scripting guide? Am just starting out so would be great to start reading up :) Thanks!