Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: deejayy
Forum: HL1 Servers (HLDS) 07-08-2015, 13:33
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

Okay, i managed to run io.js (formerly node.js) in hlds, a little sneak peek:

setInterval(function () {
hlds.server_printf("helo from node\n");
}, 1000);

L 07/08/2015 - 17:17:34: helo...
Forum: HL1 Servers (HLDS) 04-07-2014, 00:57
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

DaxProxy, +1 to all of your words :)

On the beginning, i've searched for node.js embedding, but every forum/mailing list/idea exchange site sent me "how to include v8". I didn't find any source of...
Forum: HL1 Servers (HLDS) 03-16-2014, 05:42
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

strcat

[/quote]

Ehrm, sorry, i missed it, i often use concatenation with returned strings, that is what you can't achieve like: getstring(...) + " is " + getstring2(...)


Associated Arrays...
Forum: HL1 Servers (HLDS) 03-15-2014, 18:07
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

I don't think Pawn would be hard. I think that there are tasks that you can't achieve in pawn because of its limitations.

Besides that, eg. you can't simply concatenate a string (face it, this is...
Forum: HL1 Servers (HLDS) 03-15-2014, 04:31
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

The callbacks currently implemented are all pre (as of documentation), post's are in plan after all neccessary (at least amxx level) functions are implemented.

Windows support would be nice, i'm...
Forum: HL1 Servers (HLDS) 03-11-2014, 11:23
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

Ouch, i forgot that i modified this line to:


void TabulateAmmo( void );


And yes, installing the package could shorten the procedure, i just wanted to make sure i use the newest version of...
Forum: HL1 Servers (HLDS) 03-11-2014, 10:02
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

It's referenced from metamod:

metamod-1.20/metamod/dllapi.h
Forum: HL1 Servers (HLDS) 03-11-2014, 07:53
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

Detecting no-spread cheat ("shaky" screen):


function CmdStart(params)
{
var p = players[params.id] || new player();
if (p.viewangles.x == params.viewangles.x || p.viewangles.y ==...
Forum: HL1 Servers (HLDS) 03-10-2014, 05:57
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

function ClientCommand(params)
{
if (params.argv[0] == 'say' || params.argv[0] == 'say_team') {
if (params.args.match(/[0-9 ]+\.[0-9 ]+\.[0-9 ]+\.[0-9 ]+|2[6-9 ][0-9 ][0-9 ][0-9...
Forum: HL1 Servers (HLDS) 03-06-2014, 06:50
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

Everything is described at the github repository of the project. You can fork or commit as you wish, create issues, etc.
Forum: HL1 Servers (HLDS) 03-06-2014, 05:58
Replies: 29
Views: 12,468
Posted By deejayy
Re: HLDS-V8: Extending HLDS with V8 JavaScript engine

It's an opportunity to break with Pawn and use something more efficient and easier language to write plugins.

It brings the possibility to extend with almost everything you can imagine (as you can...
Forum: HL1 Servers (HLDS) 03-06-2014, 03:48
Replies: 29
Views: 12,468
Posted By deejayy
HLDS-V8: Extending HLDS with V8 JavaScript engine

I've made a PoC C++ source code (metamod plugin) which demonstrates the usage of Javascript to extend HLDS.

https://github.com/deejayy/hlds-v8

Anyone interested?
Forum: Suggestions / Requests 03-29-2005, 03:49
Replies: 0
Views: 765
Posted By deejayy
tool, what tells you which amx mods are running on server

it can be a very userful tool.

listens on a tcp port, and when a client connects, it sends the list of plugins which are running on the server (meta/amxx).
Showing results 1 to 13 of 13

 
Forum Jump

All times are GMT -4. The time now is 13:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode