Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 207
Search took 0.01 seconds.
Search: Posts Made By: grs4
Forum: Module Coding 08-24-2022, 11:00
Replies: 23
Views: 12,084
Posted By grs4
Re: Module: Custom Entity Data

I don't have acces to bash to do upgrade manually so I downloaded that libstdc++.so.6.0.25 version from network (it was hard to find working .dll) and replaced `libstdc++.so.6` on server with my new...
Forum: Module Coding 08-24-2022, 09:46
Replies: 23
Views: 12,084
Posted By grs4
Re: Module: Custom Entity Data

Thanks!
It crashes on every map change so I need to use fixed version.

Now no virus is detected by Windows Defender.
There's also another issue and it's not possible i'm doing something wrong.
...
Forum: Module Coding 08-23-2022, 18:31
Replies: 23
Views: 12,084
Posted By grs4
Re: Module: Custom Entity Data

@+ARUKARI-

1. .dll for windows is win32/wactac.H!ml.

https://storage.googleapis.com/openscreenshot/H%2FN%2Fu/YUW-nGuNH.png

https://ctrl.vi/i/YUW-nGuNH

I hope this is false positive....
Forum: Scripting Help 03-10-2017, 12:09
Replies: 32
Views: 4,775
Posted By grs4
Re: [HELP] Force grenade throw?

when you are sure that user have greande


public userHasGrenade(id)
{
client_cmd(id, "weapon_hegrenade"); //change to nade which u want
set_task(1.0, "throwGrenade", id); // 1.0 is a...
Forum: Scripting Help 03-10-2017, 10:15
Replies: 1
Views: 756
Posted By grs4
Re: Run time error 4: index out of bounds

change in bcmprint

if ( !i ) return;
to

if ( !(1 <= i <= 32) ) return;


how often errors are thrown?
Forum: HL1 Servers (HLDS) 03-05-2017, 06:01
Replies: 35
Views: 5,902
Posted By grs4
Re: Server is downloading creppy files

This second is not working for me. Im using this one, and this responds your topic.
This is infinite round.

[ 1] RoundEndBlock RUN - roundendblock.so v1.2 ini Start Never
Forum: HL1 Servers (HLDS) 03-04-2017, 10:38
Replies: 35
Views: 5,902
Posted By grs4
Re: Server is downloading creppy files

new error after typing "developer 3" in console when this error occured.
https://ctrlv.cz/shots/2017/03/04/OdHm.png


and when my brother wants to join with "developer turned on"


Tomek
...
Forum: HL1 Servers (HLDS) 03-03-2017, 17:38
Replies: 3
Views: 1,431
Posted By grs4
Re: need guide to add ports to iptables

type ip source as your vps ip
destiination port as port u wish
for flags i dont know which.

Retry this for TCP & UDP
Forum: Scripting Help 03-03-2017, 16:52
Replies: 9
Views: 1,614
Posted By grs4
Re: how to create isStringFloat?

I dont test it, because i'm not on pc with amxx


Btw ik i+1 is equal to 5 but the contain native will ignore the previous '.' and start searching for a new one starting from that position which ...
Forum: Scripting Help 03-03-2017, 15:26
Replies: 9
Views: 1,614
Posted By grs4
Re: how to create isStringFloat?

on my eye

For your example
a5.5awill return true

and also


.5
will throw an error. Index out of bounds.
Forum: HL1 Servers (HLDS) 03-03-2017, 08:56
Replies: 3
Views: 1,431
Posted By grs4
Re: need guide to add ports to iptables

cs16 client

UDP 27000 - 27015
TCP 27020 - 27039
TCP 27040 - 27041
TCP & UDP 27056
cs16 server

UDP 27015 - 27020 (HLDS, HLTV i SRCDS)
TCP 27015 (SRCDS Rcon Port)
Forum: Scripting Help 03-03-2017, 06:19
Replies: 6
Views: 1,193
Posted By grs4
Re: DataPacks(?) and Dynamic Arrays how to store some data

read I read.
Apperantly I did not undestood. Thanks a lot for help
Forum: Scripting Help 03-03-2017, 03:48
Replies: 6
Views: 1,193
Posted By grs4
Re: DataPacks(?) and Dynamic Arrays how to store some data

With datapacks are more troubles than i knew it can be.

All datapacks which i'm creating has always 5 values
when i want to read a value from postion no. 1

log


L 03/03/2017 - 09:41:16:...
Forum: Scripting Help 03-03-2017, 03:22
Replies: 1
Views: 828
Posted By grs4
Warning: Expression with tag override must appear between parentheses

Hi, i have this code:


return _:info < 4 ? ReadPackCell(DataPack:pack) : ReadPackFloat(DataPack:pack); //line 141


And error


Warning: Expression with tag override must appear between...
Forum: Scripting Help 03-02-2017, 12:03
Replies: 6
Views: 1,193
Posted By grs4
Re: DataPacks(?) and Dynamic Arrays how to store some data

So.. if someone will have common problem, here is a solution.




new Array:g_Array;

public plugin_init()
{
g_Array = ArrayCreate(1, 50); 50 is max data
Forum: General 03-02-2017, 10:45
Replies: 15
Views: 3,255
Posted By grs4
Re: Snapshots

I always got for example: cstrike.inc from build X.

and got cstrike.inc from build + 1 (i mean old build to new build).

Pasted it here: https://www.diffchecker.com/
Forum: HL1 Servers (HLDS) 03-02-2017, 10:03
Replies: 35
Views: 5,902
Posted By grs4
Re: Server is downloading creppy files

I dont think i'm misusing API. If you want, I can show your my code, but only on PM, then you can check if i'm doing something wrong.
Forum: Scripting Help 03-02-2017, 10:00
Replies: 6
Views: 1,193
Posted By grs4
DataPacks(?) and Dynamic Arrays how to store some data

From file i want to extract some data which are saved in scheme as below:


1
{
1, 2, 3, 4, 1.5
3, 5, 1, 7, 1.5
1, 1, 5, 3, 5.0
}
2
Forum: Scripting Help 03-02-2017, 09:25
Replies: 9
Views: 1,614
Posted By grs4
Re: how to create isStringFloat?

stock bool:is_str_float(const string[])
{
new c, i, p;
while(is_char(c = string[i++]))
{
if(!isdigit(c))
{
if(c != '.' || p)
{
...
Forum: Scripting Help 03-02-2017, 09:23
Replies: 9
Views: 1,614
Posted By grs4
Re: how to create isStringFloat?

or floatstr, yeah, i know, but i remember when i did like this, if i set a string with 'a' a float would be returned as '4124142.42312' or something like that. not '0'
Forum: Scripting Help 03-02-2017, 09:17
Replies: 9
Views: 1,614
Posted By grs4
how to create isStringFloat?

how to create a function that checks if string is exactly a float?


stock bool:isStringFloat(szText[], len)
{
trim(szText), num, line;

if(containi(szText, ".") == -1)
return...
Forum: HL1 Servers (HLDS) 03-02-2017, 09:14
Replies: 35
Views: 5,902
Posted By grs4
Re: Server is downloading creppy files

As someone told before, he had same problem, and he think think that reading/saving from ini is causing my problem.

So I hoped that this solves the problem but it doesnt.
Forum: HL1 Servers (HLDS) 03-01-2017, 02:39
Replies: 35
Views: 5,902
Posted By grs4
Re: Server is downloading creppy files

Hmm,
- I changed all .ini files to .cfg
- I added checking file is exist before preache it
example:

if(file_exists("...")
precache_model("...");
else if(DEBUG)
log_to_file(LOG_FILE,...
Forum: HL1 Servers (HLDS) 02-27-2017, 16:52
Replies: 35
Views: 5,902
Posted By grs4
Re: Server is downloading creppy files

Only on listen server, i did not experience there any crash. I bought server(linux) 15 days ago, before i always tested at windows and there were no crashes.

At this time, still no crashes, so...
Forum: HL1 Servers (HLDS) 02-27-2017, 04:24
Replies: 35
Views: 5,902
Posted By grs4
Re: Server is downloading creppy files

I changed to size 1 and no crash at this time.

Server is linux, plugins are compiled on windows.
Showing results 1 to 25 of 207

 
Forum Jump

All times are GMT -4. The time now is 18:09.


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