PDA

View Full Version : Source SDK Released!


BAILOPAN
12-01-2004, 11:29
It has happened! The Half-Life 2: Source Software Development Kit has been released by Valve.

Although we won't have anything for you instantly, we will keep the community apprised with little things along the way, such as demos, sample plugins, and header code so people can start seeing how to mod for SourceMod.

The recent Scripting Language poll was a huge hit, and it was interesting to see what everyone thought of different languages. First, the news that will please everyone:

SourceMod will be a highly dynamic mod. So far, you can make C, AMX, or JavaScript plugins all at once simply by adding the appropriate DLLs. In the future, a Python addon may come too.

However, the "official" language will be JavaScript. Small/AMX has far too many limitations, and the code base is not only messy but decently buggy. AMX Mod X spent a great deal of time improving it with a 64-bit port and a debugger, but it's time to let Small die in the gaming world. Nonetheless, you will still be able to write Small plugins.

The prospect of being able to do things like:

var name = player.name()


Instead of:

new name[24]
get_user_name(id, name, 23)


Should be appealing to people. Again, more information will be available as we get things done.

kingpin
12-01-2004, 13:55
finally!!, hope to see the good work continue guys :)

PM
12-01-2004, 14:30
Yeah :P

PM
12-01-2004, 15:30
Everyone had been waiting for this new mod to come out and control thier server. Will it be setup like amx x mod? with meta..?
Thank you

PM
12-01-2004, 15:51
So, :) lets work on it..... ;-)

imported_JaK Sh!T
12-01-2004, 15:53
Wo0t atlast SDK is out........Muahahahaha soon I can use slap. Good luck you guys keep up the good work

twistedeuphoria
12-01-2004, 16:25
Will Small plugins be approved on the same ground as JavaScript ones or will JS plugins get more attention?

BAILOPAN
12-01-2004, 16:33
IMO, they should not be approved at all. Usage of Small should be considered deprecated.

ThantiK
12-01-2004, 16:36
w00t, I needed to learn some Java...;)

Nice...will we be getting some demos soon? -- a simple slap or bury would work nicely...

Anyhow, this is what I am waiting for to even start a CS:Source server...will get rid of llamas quickly.

Geesu
12-01-2004, 16:53
BAIL does java have 3D arrays? And are there compiled files like small's .amx file?

ann0yanc3
12-01-2004, 17:35
OOP for CS:S, mmmmmmmmmmm....

BAILOPAN
12-01-2004, 17:54
For god's sake, it's not Java ;] It's JavaScript.

Yes, it has any dimension of arrays. And arrays are technically hash arrays, so for example array["1"] is equal to array[1].

imported_malex
12-01-2004, 20:02
Yeah, but can you do:

var c = new MyClass;
var a = new Array;
a[c] = "loaded";

like you can in perl?

\malex\

usbongteam
12-01-2004, 20:24
hip hip HORRAY

no more "status"

*copy*

type: "rcon kick " *paste*

enter

:)

Freecode
12-01-2004, 20:41
Thats great :)

LoWe
12-01-2004, 20:48
It's Great! :gyar:

Downtown1
12-01-2004, 21:07
w00t, I needed to learn some Java...;)

Nice...will we be getting some demos soon? -- a simple slap or bury would work nicely...

Anyhow, this is what I am waiting for to even start a CS:Source server...will get rid of llamas quickly.

Java != JavaScript

JavaScript isn't even a real language, geez!!

and now it's even EASIER to make runtime errors! woohoo

BAILOPAN
12-01-2004, 21:13
Apparently some people like making comments about things they don't really know about at all.

JavaScript is a real language. It is object oriented and weakly typed. The SpiderMonkey implementation contains a compiler, interpreter, and debugger. It is garbage collected and has the ability for dynamic allocation.

DOM has nothing to do with the JS language specification (also known as EMCA-262).

imported_Mole
12-01-2004, 21:30
Someone just got schooled in programming languages

Spinner
12-01-2004, 21:52
I noticed alot of diff cvars but this one I liked.


plugin_load : cmd : : plugin_load <filename> : loads a plugin
plugin_pause : cmd : : plugin_pause <index> : pauses a loaded plugin
plugin_pause_all : cmd : : pauses all loaded plugins
plugin_print : cmd : : Prints details about loaded plugins
plugin_unload : cmd : : plugin_unload <index> : unloads a plugin
plugin_unpause : cmd : : plugin_unpause <index> : unpauses a disabled plugin
plugin_unpause_all

BigBaller
12-02-2004, 01:17
Good luck with that bailopan.

I wont have source or a source server for a while.

I am interested in maybe even making a HL2 DM server :)

BigBaller
12-02-2004, 01:19
ugg dammit, Bailopan please allow users to edit thier own posts on these forums?

Sorry for the double post, but I am wondering did Vavle basically create their own metamod and its part of the STEAM engine now ?

nbigdog2000
12-02-2004, 01:24
this mod is goin to RULE !!! THE WORLD OF MODS IS CHANGING AS WE NO IT!!!! HECK YES>>.........Hopefully goin 2 be out in a couple of months o

PM
12-02-2004, 01:30
Not that small didn't have is benifits.. but it'll be so darn nice to to have to bend and workaround to it's crazy ways and limitations.

KnightHawkTFC
12-02-2004, 01:34
Alfred seems to have provided a basic meta modish framework within source, long over due. (having said that I've spent all of 10 minutes looking at the sdk docs)

PM
12-02-2004, 13:44
ugg dammit, Bailopan please allow users to edit thier own posts on these forums?

Sorry for the double post, but I am wondering did Vavle basically create their own metamod and its part of the STEAM engine now ?

Yes they did:

http://www.valve-erc.com/srcsdk/Code/ServerPlugins.html

Kamikaze
12-02-2004, 13:45
That was me.

You need to disable guests being able to post 8)

PM
12-03-2004, 18:17
This is excellent news. Can't wait to try out the first release 8)

FiRem00
12-04-2004, 17:00
My first and only post:

"However, the "official" language will be JavaScript" - LOLOLOLOLOLOLOLOLOLOLOLOLOLOLOL I didn't read the previous posts before I excreted my own worthless opinion. I like having no credibility!

translated by Greentryst

Shadowslayer
12-08-2004, 14:49
Java > JavaScript but oh well, I'm still excited for its potential release