Raised This Month: $23 Target: $400
 5% 

Showing results 1 to 25 of 125
Search took 0.02 seconds.
Search: Posts Made By: Blowst
Forum: Scripting 06-26-2017, 00:21
Replies: 10
Views: 3,125
Posted By Blowst
Re: Communicating with socket.io using sourcemod and socket

Accually, I'm making a web panel with node.js as a hobby.

the panel will run as admin panel, remote chat server, store panel, etc...

I just wanted websocket communication with the room system...
Forum: Scripting 06-25-2017, 02:13
Replies: 10
Views: 3,125
Posted By Blowst
Re: Communicating with socket.io using sourcemod and socket

I got this. setting sid parameter in handshake request was the problem


GET /socket.io/?EIO=3&transport=websocket&sid=q6GVx_8byvJDsuGUAAAA HTTP/1.1
Host: 127.0.0.1:8000
Connection: Upgrade...
Forum: Scripting 06-24-2017, 15:25
Replies: 10
Views: 3,125
Posted By Blowst
Re: Communicating with socket.io using sourcemod and socket

Now, Server closes the connection after sending any data even after the handshake.
I just want to keep these connected.

OK, first(after socket connection) I send a request for getting session id:...
Forum: Scripting 06-24-2017, 01:47
Replies: 10
Views: 3,125
Posted By Blowst
Re: Communicating with socket.io using sourcemod and socket

Yes, I actually checked it out many times. and tried to understand the protocol.

but it implementing only server-side websockets.

It looks more complicated communicating with socket.io server...
Forum: Scripting 06-22-2017, 13:40
Replies: 10
Views: 3,125
Posted By Blowst
Communicating with socket.io using sourcemod and socket

Hello, I'm trying to connect to my socket.io server with a plugin using socket(3.0.1)

It works nice when I connected to it with web browser(socket.io client)

But it just close the connection...
Forum: Plugins 06-14-2017, 07:13
Replies: 279
Views: 46,122
Posted By Blowst
Re: WebLync 0.0.3 - A new working WebShortcuts

Sorry, but I couldn't get the Key of these works, so i got a question

Work around for broken web shortcut. so nice, but people should register his server and links...

Was it nessesary? or Just...
Forum: Scripting 01-15-2017, 02:50
Replies: 8
Views: 1,239
Posted By Blowst
Re: How should I visualize TraceHull?

https://forums.alliedmods.net/attachment.php?attachmentid=160127&stc=1&d=1484466647
Forum: Scripting 06-05-2016, 02:51
Replies: 3
Views: 584
Posted By Blowst
Re: [CSGO] Getting info from advanced votes

item_info array is sorted in descending order(number of votes)

So, item_info[0] is the winner item.
then item_info[1] is the 2nd voted item.

next, item_info[0][VOTEINFO_ITEM_INDEX] means...
Forum: Scripting 06-05-2016, 00:54
Replies: 3
Views: 584
Posted By Blowst
Re: [CSGO] Getting info from advanced votes

get info from client_info array.

public void H_VoteForceRTVCallback(Menu menu, int num_votes, int num_clients, const int[][] client_info, int num_items, const int[][] item_info)
{
for (int i...
Forum: Scripting 06-03-2016, 21:51
Replies: 2
Views: 750
Posted By Blowst
Re: Looking for Stock that convert hex code to rgb.

the thing gonna like this.

char chHexString[] = "007FFF";
int iHex, iRGBA[4];
StringToIntEx(chHexString, iHex, 16);
hexToRGB(iHex, RGBA);
PrintToServer("%i, %i, %i", RGBA[0], RGBA[1], RGBA[2])...
Forum: Snippets and Tutorials 04-24-2016, 00:50
Replies: 25
Views: 10,319
Posted By Blowst
Re: [Tutorial] How to use Google™ to find what you're looking for in 5 simple steps!

:bacon!::bacon!:The best tutorial ever been posted here.:bacon!::bacon!:
Forum: Scripting 03-20-2016, 05:22
Replies: 3
Views: 1,242
Posted By Blowst
Re: [CSGO] Need some help with SoccerMod-plugin remake

God, u right, edited. thx :crab::crab:
Forum: Scripting 03-11-2016, 23:26
Replies: 3
Views: 1,242
Posted By Blowst
Re: [CSGO] Need some help with SoccerMod-plugin remake

if(LastAttackerUser != -1) means "if there's LastAttackerUser" take look the code one more time and think about it.

u'll get it easyly.

new String:LastAttacker[512];
new LastAttackerUser;
...
Forum: Scripting 03-05-2016, 22:25
Replies: 5
Views: 949
Posted By Blowst
Re: [CS:GO] Properly attach models

'weapon_hand_L' for left hand,
'weapon_hand_R' for right hand.
Forum: Scripting 03-04-2016, 20:05
Replies: 5
Views: 949
Posted By Blowst
Re: [CS:GO] Properly attach models

we lost 'forward' attachment, but we still have 'facemask' (Im talkin about default models' template)
Forum: Scripting 02-29-2016, 20:41
Replies: 5
Views: 1,954
Posted By Blowst
Re: [CS:GO] Set model animations (sequence)

try this:
SetVariantString("spin");
AcceptEntityInput(ent, "SetAnimation", -1, -1, 0);
Forum: Scripting 11-19-2015, 22:44
Replies: 4
Views: 280
Posted By Blowst
Re: [TF2]What is KoreanA???

he's right.

the very early version of Steam has Korean translation for Korean teens.

those who play with this translation option can't see red blood or some gore effects.

"korean" perhaps...
Forum: Scripting 11-19-2015, 11:11
Replies: 5
Views: 1,012
Posted By Blowst
Re: Model and camera rotate

it sounds you want like this (https://forums.alliedmods.net/showthread.php?t=265077)...
Forum: Scripting 11-19-2015, 01:18
Replies: 17
Views: 2,005
Posted By Blowst
Re: Set Model Pose(aim_yaw | aim_pitch)

I tried it. and it works at first, but only once per an entity.

tried after the first set(flPoseParameter), and it didnt work.

i'm now trying to get signature of it.
but it seems kinda hard...
Forum: Scripting 11-18-2015, 21:10
Replies: 17
Views: 2,005
Posted By Blowst
Re: Set Model Pose(aim_yaw | aim_pitch)

ok, i'll try it later.

btw, y model from Portal 1? not Portal 2.

for compatibility or something?
Forum: Plugins 11-18-2015, 21:01
Replies: 102
Views: 58,801
Posted By Blowst
Re: Custom Player Skins (Core)

'cuz the models those players actually see are just dresses.

dress will be gone on player_death, then player's ACTUAL body appear.

it might be fixed by changing player's ragdoll model. (or...
Forum: Scripting 11-18-2015, 20:34
Replies: 17
Views: 2,005
Posted By Blowst
Re: Set Model Pose(aim_yaw | aim_pitch)

can i get the model files?
Forum: Scripting 11-18-2015, 20:31
Replies: 5
Views: 1,012
Posted By Blowst
Re: Model and camera rotate

player model and camera..

So u wanted to mean client's actual angle?

or something else for third-person view?
Forum: Scripting 11-18-2015, 09:30
Replies: 4
Views: 1,195
Posted By Blowst
Re: How to allow to use the command !afk only to terrorists.

//////////////////////////////////////////////////////////////////
// Action: Move client
//////////////////////////////////////////////////////////////////

public Action:Move(target, args){ ...
Forum: Scripting 11-17-2015, 19:55
Replies: 11
Views: 692
Posted By Blowst
Re: Strange issue with timer

Handle g_hSpawnTimer[MAXPLAYERS+1];

public Event_OnPlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
{

new client = GetClientOfUserId(GetEventInt(event, "userid"));
...
Showing results 1 to 25 of 125

 
Forum Jump

All times are GMT -4. The time now is 19:35.


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