Author Topic: I'm really starting... What's Script Core? (and other things...)  (Read 1263 times)

0 Members and 1 Guest are viewing this topic.

Offline As de Espada

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1493
  • Mapper
    • My maps
OK... I saw the basics, and I know how to program in Pascal...
but I didn't saw anything about what's the minimum to run the server with a script. I'm just assuming that you have to make a dedicated server...

what's the minimum of a script would help too...
on another code I saw "procedure ActivateServer();" that's the minimum?

Is scripting only for ctf? (reaaaaaly nb)

edit: is it normal that I can't compile my .pas?
because the procedures of Script Core are missing...
« Last Edit: July 03, 2008, 02:17:52 pm by As de Espada »
All my maps | my latest map: SoldatX Racing Mappack
me making a map on youtube: ctf_FastMade

Offline Neosano

  • Camper
  • ***
  • Posts: 253
  • IIAWAK!
Re: I'm really starting... What's Script Core? (and other things...)
« Reply #1 on: July 02, 2008, 06:57:14 pm »
What minimum? Whaaat? Are you psycho?
KAWAAAAAAAIIIIIIIIII

Offline As de Espada

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1493
  • Mapper
    • My maps
Re: I'm really starting... What's Script Core? (and other things...)
« Reply #2 on: July 02, 2008, 07:04:35 pm »
... that really helped
can I make an empty script, and it would work?
I know that wouldn't make any difference between playing with script or without it. But if I have to do anything to run a server with scripts I need to know. The only thing that I saw was that I have to
To install older scripts with the latest version of the dedicated server, all you need to do is create a subdirectory of the scripts folder, and move all the PAS files and the includes.txt from the script you want to install into that directory.
(...)
that script folder is all I have to do?
All my maps | my latest map: SoldatX Racing Mappack
me making a map on youtube: ctf_FastMade

Offline spkka

  • Camper
  • ***
  • Posts: 469
Re: I'm really starting... What's Script Core? (and other things...)
« Reply #3 on: July 02, 2008, 07:07:14 pm »
yes, just get these files and put them in your script dir... might combine these 3 files into 1 if you like that more..

Offline As de Espada

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1493
  • Mapper
    • My maps
Re: I'm really starting... What's Script Core? (and other things...)
« Reply #4 on: July 03, 2008, 02:17:28 pm »
thanks, It's working now

Date Posted: July 02, 2008, 11:09:00 pm
is it normal that I can't compile my .pas?
because the procedures of Script Core are missing...
All my maps | my latest map: SoldatX Racing Mappack
me making a map on youtube: ctf_FastMade


Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: I'm really starting... What's Script Core? (and other things...)
« Reply #6 on: July 03, 2008, 08:13:03 pm »
You should have a look at other scripts that have been mad, and I am pretty sure that there is no minimum amount of procedures, just try an empty .PAS file and see if it works.
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: I'm really starting... What's Script Core? (and other things...)
« Reply #7 on: July 04, 2008, 07:32:37 am »
try running it from a batch file like this:
Code: [Select]
:JFK
soldatserver
goto JFK
it won't close if you have an error in the script, and you can restart it by just pressing "N" (after you fix the script)

Offline JFK

  • Camper
  • ***
  • Posts: 255
    • My TraxInSpace Account
Re: I'm really starting... What's Script Core? (and other things...)
« Reply #8 on: July 04, 2008, 10:28:09 am »
try running it from a batch file like this:
Code: [Select]
:JFK
soldatserver
goto JFK
it won't close if you have an error in the script, and you can restart it by just pressing "N" (after you fix the script)

And thanks for the credits :D
Come join: EliteCTF
Listen to: My Music

Offline As de Espada

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1493
  • Mapper
    • My maps
Re: I'm really starting... What's Script Core? (and other things...)
« Reply #9 on: July 05, 2008, 09:28:54 am »
OK, I'm using /cmd in a dos window to run the server, then it won't close when an error ocurs. The scripting is doing fine.
Thanks
All my maps | my latest map: SoldatX Racing Mappack
me making a map on youtube: ctf_FastMade