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

Showing results 1 to 25 of 78
Search took 0.01 seconds.
Search: Posts Made By: Infest
Forum: Scripting Help 11-13-2016, 06:25
Replies: 7
Views: 1,193
Posted By Infest
Re: [HELP] Admin Flags / Access

That is exactly what my code snippet does.



For reals? Read my comments in the code :oops:
Forum: Scripting Help 11-13-2016, 04:19
Replies: 8
Views: 1,393
Posted By Infest
Re: Setting a maximum speed for bots

Thanks, although my existing code has already registered bots from entities for dmg + spawn. In my original post, I can already set speed for bots (its not a problem with detecting them), my problem...
Forum: Scripting Help 11-13-2016, 02:23
Replies: 7
Views: 1,193
Posted By Infest
Re: [HELP] Admin Flags / Access

Good point, edited
Forum: Scripting Help 11-13-2016, 02:08
Replies: 7
Views: 1,193
Posted By Infest
Re: [HELP] Admin Flags / Access

#include <amxmodx>

public plugin_init()
{
register_plugin("Temp Remove Flags", "1.0", "meow")
}

// client_putinserver over client_connect because admin prefs are loaded after...
Forum: Scripting Help 11-12-2016, 23:15
Replies: 8
Views: 1,393
Posted By Infest
Re: Setting a maximum speed for bots

It uses its own bots in mp.dll, however this is a modified dll that one of the developers gave to a friend who then released it to the public - (Bots are not enabled in the original mp.dll).

I...
Forum: Scripting Help 11-12-2016, 17:45
Replies: 8
Views: 1,393
Posted By Infest
Re: Setting a maximum speed for bots

Thanks for the suggestion, I gave it a try but it did not work. Right after I call cs_set_player_maxspeed it crashes the server.



I'm guessing the offset is not compatible for games outside of...
Forum: Scripting Help 11-11-2016, 19:09
Replies: 8
Views: 1,393
Posted By Infest
Forum: Scripting Help 11-10-2016, 16:01
Replies: 13
Views: 3,770
Posted By Infest
Re: MD5 User login to mysql

That is true, it was marked as depreciated so I didn't mention it.

Also just chiming in here again, The OP asked how to create an md5 hash, he did not ask which encryption method is better. Since...
Forum: Scripting Help 11-10-2016, 09:00
Replies: 13
Views: 3,770
Posted By Infest
Re: MD5 User login to mysql

That hash feature is not available in 1.8.2, you will need to update to 1.8.3
Forum: Scripting Help 11-08-2016, 21:10
Replies: 13
Views: 3,770
Posted By Infest
Re: MD5 User login to mysql

Requires amxmisc.inc


public test(id)
{
static const szPwString[] = "myPass"
static szPwMd5[64]

hash_string(szPwString, Hash_Md5, szPwMd5, charsmax(szPwMd5))
...
Forum: Scripting Help 11-08-2016, 06:25
Replies: 3
Views: 585
Posted By Infest
Re: Efficient Scripting.Speed > Non-Efficient Scripting.Speed?

Give this a read: https://wiki.alliedmods.net/Optimizing_Plugins_(AMX_Mod_X_Scripting)
Forum: Scripting Help 11-08-2016, 04:07
Replies: 2
Views: 856
Posted By Infest
Re: Formatting Strings

I would recommend against that, and instead get those values on the fly.

E.g.


enum
{
REQUEST_STEAM,
REQUEST_CODE,
REQUEST_TICKET_WIN
Forum: Scripting Help 11-08-2016, 02:30
Replies: 8
Views: 1,393
Posted By Infest
Setting a maximum speed for bots

For this example, I have set sv_maxspeed to 1000. The code below works fine on human players (humans can zip around past the default speed of 320, bots cannot).

Note: These bots are running on The...
Forum: Scripting Help 11-04-2016, 17:08
Replies: 14
Views: 2,127
Posted By Infest
Re: Help needed with debugging access violation crashes

If you have read my messages, you would know I've tried installations on w7, w12, and ubuntu trying to debug this. These are clean installs. Regarding other plugins, the only other custom plugins...
Forum: Scripting Help 11-04-2016, 07:22
Replies: 3
Views: 858
Posted By Infest
Re: [help] report with sql.

Change this line:

format(query_create,1000,"CREATE TABLE IF NOT EXISTS `%s`(`id` int(11) NOT NULL auto_increment,`name` varchar(100) NOT NULL default '',`authid` varchar(100) NOT NULL default...
Forum: Scripting Help 11-04-2016, 05:48
Replies: 14
Views: 2,127
Posted By Infest
Re: Help needed with debugging access violation crashes

Final update; I have had another crash but from the module mp.dll

This leads me to believe that my code is not causing this, but rather an unfixed bug with how fake clients from mp.dll interact...
Forum: Scripting Help 11-02-2016, 19:17
Replies: 14
Views: 2,127
Posted By Infest
Re: Help needed with debugging access violation crashes

So bit of an update, I have found the faulty module by switching over to windows server 2012. When it crashed, I was given the module that crashed and the spot in memory where it crashed too:
...
Forum: Scripting Help 10-31-2016, 07:07
Replies: 14
Views: 2,127
Posted By Infest
Re: Help needed with debugging access violation crashes

From what I could find, they never did. Could be wrong though.



Thanks, I'll give that a try!
Forum: Scripting Help 10-31-2016, 06:02
Replies: 14
Views: 2,127
Posted By Infest
Re: Help needed with debugging access violation crashes

Thanks for the advice, I spent today porting my setup to linux, unfortunately I hit a roadblock.

Linux servers do not support the "addcustombot" command that was added into a modified mp.dll for...
Forum: Scripting Help 10-29-2016, 22:41
Replies: 14
Views: 2,127
Posted By Infest
Re: Help needed with debugging access violation crashes

No probs. I wasn't as clear in my original post, I'm trying to;
- find a way to run HLDS inside a debugger, if that is possible
- find additional methods/techniques that I can use to find the cause...
Forum: Scripting Help 10-29-2016, 04:43
Replies: 14
Views: 2,127
Posted By Infest
Re: Help needed with debugging access violation crashes

Bumpo, even small leads would be helpful!
Forum: Scripting Help 10-27-2016, 01:09
Replies: 14
Views: 2,127
Posted By Infest
Help needed with debugging access violation crashes

This seems to be random, but I get the occasional crash with hlds.exe:

Unhandled exception at 0x0018f880 in hlds.exe: 0xC0000005: Access violation writing location 0x00000137.


This happens...
Forum: Scripting Help 10-25-2016, 00:01
Replies: 3
Views: 741
Posted By Infest
get_players: index out of bounds

public handlePowerups()
{
if(!(g_bGameStarted))
{
return PLUGIN_HANDLED
}

new num, players[32], id
get_players(players, num, "d") // Bots only
Forum: Scripting Help 09-26-2016, 07:52
Replies: 2
Views: 845
Posted By Infest
Re: [TS] Measure amount of bullets fired by player

Solved! :) Thanks a lot, VEN's method works well.
Forum: Scripting Help 09-26-2016, 03:09
Replies: 2
Views: 845
Posted By Infest
[TS] Measure amount of bullets fired by player

The function get_user_ammo does not work in TS.

The problem with ts_getuserwpn(id, clip, mags, mode, extra):

Lets say I have an AK, 30 in the clip and 90 in mags (120 total ammo) Calling this...
Showing results 1 to 25 of 78

 
Forum Jump

All times are GMT -4. The time now is 06:42.


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