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

Showing results 1 to 25 of 417
Search took 0.01 seconds.
Search: Posts Made By: Sammy-ROCK!
Forum: Scripting 05-08-2011, 23:04
Replies: 16
Views: 6,638
Posted By Sammy-ROCK!
Re: Memoty leak detected in plugin

Use "sm_dump_handles handlesdump.txt" on the server after some time with your plugin running. You'll be able to see how many handles are open in that file and probably a bunch from that plugin, then...
Forum: Scripting 04-03-2011, 02:36
Replies: 11
Views: 2,525
Posted By Sammy-ROCK!
Re: How can i Fix this warning

Indentation warning occurs when your code is not organized.
Like:
This code wouldn't generate indentations warnings
stock Random()
{
for(new client=MaxClients; client>0; client--)
...
Forum: Scripting 04-03-2011, 02:24
Replies: 7
Views: 1,944
Posted By Sammy-ROCK!
Re: Delay between team switch

Take a look on SDKHooks' source code.
Forum: Scripting 03-30-2011, 18:56
Replies: 19
Views: 10,233
Posted By Sammy-ROCK!
Re: Noblock

That noblock method changes your collisiongroup. So for the engine you don't collide with other players and vice-versa. If you want to be able to not collide with other players but still making them...
Forum: Plugin/Gameplay Ideas and Requests 11-16-2010, 15:09
Replies: 7
Views: 2,373
Posted By Sammy-ROCK!
Re: [L4D2] Hunter Pounce auto-kill prevention

To find where the bullet hit it's though TraceAttack...
// TraceAttack
Action:public(victim, &attacker, &inflictor, &Float:damage, &damagetype, &ammotype, hitbox, hitgroup),
Forum: Scripting 11-02-2010, 21:09
Replies: 5
Views: 1,666
Posted By Sammy-ROCK!
Re: What's the best way to store this kind of data in the sql...

Why not bit flags?

#define Unlock1 (1<<0) //1
#define Unlock2 (1<<1) //2
#define Unlock3 (1<<2) //4

new flags = 0;

flags |= Unlock1; //Adds Unlock1 flag
flags &= ~Unlock1; //Removes...
Forum: Snippets and Tutorials 11-02-2010, 20:58
Replies: 15
Views: 6,382
Posted By Sammy-ROCK!
Re: Player between a Rectangle

Why not make it Vector instead of client?
Forum: Scripting 10-27-2010, 21:11
Replies: 29
Views: 8,507
Posted By Sammy-ROCK!
Re: TF2: Change maxium range of a sentry gun

That function is not a Virtual Function so it's not listed in CTFPlayer functions. It also has no strings in the function so it's harder to track. Your best shot is finding a function linked to that...
Forum: Scripting 10-26-2010, 21:10
Replies: 18
Views: 7,676
Posted By Sammy-ROCK!
Re: Is userid a players entity id?

Just check sourcemod's source code and see yourself 0.o'
Forum: Plugins 10-25-2010, 13:08
Replies: 7
Views: 13,543
Posted By Sammy-ROCK!
Re: [TF2] Limit class by skill

So defending cp/intel while the other team is not attacking may block your class?
Forum: Extensions 10-19-2010, 21:00
Replies: 29
Views: 22,561
Posted By Sammy-ROCK!
Re: [EXTENSION] [CSS] CSS Speed Mod

Now if the prediction actually changes the moving speed or it simply shows a random value at cl_showpos is harder to say 0.o'
Forum: Extensions 10-19-2010, 20:09
Replies: 29
Views: 22,561
Posted By Sammy-ROCK!
Re: [EXTENSION] [CSS] CSS Speed Mod

Done. Thanks for the warning I didn't knew 7z had issues 0.o'

I don't think. I'm detouring a virtual function and returning a different value. So the server actually thinks that this new value is...
Forum: Scripting 10-19-2010, 15:54
Replies: 20
Views: 3,446
Posted By Sammy-ROCK!
Re: Team/player speed

http://forums.alliedmods.net/showthread.php?t=141109

Try it out and lemme know if it works :-)
Forum: Extensions 10-19-2010, 15:53
Replies: 29
Views: 22,561
Posted By Sammy-ROCK!
[EXTENSION] [CSS] CSS Speed Mod

This extension allows scripters to edit player's max speed in CSS smoothly. It uses a detour on the function CCSPlayer::GetPlayerMaxSpeed.

Sample that sets maxspeed to 600:
#include <cssspeedmod>...
Forum: Scripting 10-19-2010, 14:12
Replies: 20
Views: 3,446
Posted By Sammy-ROCK!
Re: Team/player speed

Good news: Found a new virtual void at CCSPlayer
426 CCSPlayer::GetPlayerMaxSpeed(void)

It's code: (a1 = the CCSPlayer entity)
long double __cdecl CCSPlayer__GetPlayerMaxSpeed(int a1)
{
...
Forum: Scripting 10-18-2010, 23:29
Replies: 29
Views: 8,507
Posted By Sammy-ROCK!
Re: TF2: Change maxium range of a sentry gun

Look for hex editors. Also you gotta find the address in the dll to edit it :-) The addresses I posted are on server.so (linux).
Forum: Scripting 10-18-2010, 15:35
Replies: 29
Views: 8,507
Posted By Sammy-ROCK!
Re: TF2: Change maxium range of a sentry gun

The range is plugin based for repair node. For sentrys it's a hardcoded value of 1100.0 in server.dll/.so. Look at CObjectSentrygun::Range and you'll see it. At windows you can look for "dd 1100.0"...
Forum: Scripting 10-17-2010, 22:51
Replies: 20
Views: 3,446
Posted By Sammy-ROCK!
Forum: Unapproved Plugins 10-17-2010, 22:00
Replies: 18
Views: 9,233
Posted By Sammy-ROCK!
Re: [TF2] Another Engie Exploit Fix Plugin

FoxMulder:
Would you mind not sharing such thing?
Forum: Scripting 10-17-2010, 21:42
Replies: 20
Views: 3,446
Posted By Sammy-ROCK!
Re: Team/player speed

Sec I'll call my debugger he's a superhero!
Forum: Scripting 10-17-2010, 20:36
Replies: 20
Views: 3,446
Posted By Sammy-ROCK!
Re: Team/player speed

m_flLaggedMovementValue doesn't increase the speed. It simulates lag and the server teleports the player to fix. It won't show any speed changes but the player actually goes faster (In a buggy way,...
Forum: Trash 10-14-2010, 11:38
Replies: 17
Views: 7,272
Posted By Sammy-ROCK!
Re: [TF2] REQ bot ping

What's the point of this except cheat your own players?
Forum: Extensions 10-08-2010, 21:36
Replies: 2,726
Views: 2,766,670
Posted By Sammy-ROCK!
Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)

There are still convars limiting player's speed. That's probably why the walking speed increased but not running's.
Forum: Scripting 10-07-2010, 23:13
Replies: 3
Views: 1,359
Posted By Sammy-ROCK!
Re: Code to toggle plugin on and off

ServerCommand("sm plugins unload myplugin");
ServerCommand("sm plugins load myplugin");
Forum: Scripting 10-07-2010, 13:55
Replies: 4
Views: 4,483
Posted By Sammy-ROCK!
Re: TF2 Offsets

251 CBasePlayer::Weapon_Equip (Linux)
Showing results 1 to 25 of 417

 
Forum Jump

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


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