Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 10
1
2
3
>
Last
»
Showing results 1 to 25 of 246
Search took
0.01
seconds.
Search:
Posts Made By:
Rohanlogs
Forum:
Scripting Help
04-24-2024, 18:55
Replies:
4
Retrieve data from sql
Views:
237
Posted By
Rohanlogs
Re: Retrieve data from sql
Its fine, try this. Do you know how to re-compile .sma file?
You need to edit this part of the code:
#define TABLE "zm_top"
Replace "zm_top" with your actual table name. You should have a...
Forum:
Scripting Help
04-24-2024, 13:14
Replies:
4
Retrieve data from sql
Views:
237
Posted By
Rohanlogs
Re: Retrieve data from sql
Hi. Do you have the code for "CREATE TABLE ..." query? Can you post it?
Forum:
Scripting Help
03-02-2024, 09:37
Replies:
2
Database load stats error
Views:
357
Posted By
Rohanlogs
Re: Database load stats error
You have from 45 to 100 columns in your table structure?
That sounds kinda terrible for just saving your stats, but hey as long as it works right?
What do you mean by "all the values in the...
Forum:
Scripting
10-05-2023, 18:25
Replies:
8
How to get the angle direction between two entities
Views:
1,568
Posted By
Rohanlogs
Re: How to get the angle direction between two entities
Hey. Its a nice drawing, but what's the actual problem?
You say "I can't exactly adjust an entity angle direction to my position", also the title of this post suggests there's a problem with...
Forum:
Scripting Help
10-02-2023, 17:54
Replies:
3
Hash Password verify in php
Views:
636
Posted By
Rohanlogs
Re: Hash Password verify in php
This is indeed a bit off-topic for AMXX, however you almost got it, you just need to salt out the password with your salt string. The PHP equivalent would be:
<?php
define('SALT',...
Forum:
Suggestions / Requests
04-02-2023, 09:54
Replies:
13
[REQUEST] Lower time flashed CS 1.6
Views:
5,843
Posted By
Rohanlogs
Re: [REQUEST] Lower time flashed CS 1.6
I realise this was written half a year ago but since people keep coming back to this, here's the combined version.
// Flash mode
// - 0: Plugin OFF
// - 1: Specified colour
// - 2: Random...
Forum:
Suggestions / Requests
02-19-2023, 08:14
Replies:
4
server performance on mysql connection accross other plugins
Views:
968
Posted By
Rohanlogs
Re: server performance on mysql connection accross other plugins
Yes, I think it would be smarter to have 1 plugin handle the queries.
However it could be a rather tiresome coding task if you have many plugins with a lot of functions and variables, to have them...
Forum:
Scripting
05-14-2022, 17:17
Replies:
9
MYSQL - My first plugin
Views:
1,407
Posted By
Rohanlogs
Re: MYSQL - My first plugin
I dunno what you mean, MySQL works just fine with sourcemod even with some complex queries.
Its far more superior in data storing than anything else in my opinion when you're dealing with a lot of...
Forum:
Scripting Help
05-13-2022, 03:18
Replies:
3
Cross site scripting help
Views:
567
Posted By
Rohanlogs
Re: Cross site scripting help
No not even close I've already reported it as off topic
Forum:
Scripting Help
05-11-2022, 05:13
Replies:
3
Cross site scripting help
Views:
567
Posted By
Rohanlogs
Re: Cross site scripting help
Wait, do you have a PHP file running locally under WAMP & Apache where you're attempting to recieve a Socket connection?
I don't think wamp can handle any WebSocket connections without doing some...
Forum:
Suggestions / Requests
11-02-2021, 10:53
Replies:
1
flash time
Views:
440
Posted By
Rohanlogs
Re: flash time
https://forums.alliedmods.net/showthread.php?t=302343
Forum:
Suggestions / Requests
10-18-2021, 14:54
Replies:
13
[REQUEST] Lower time flashed CS 1.6
Views:
5,843
Posted By
Rohanlogs
Re: [REQUEST] Lower time flashed CS 1.6
Yes, this happens when you divide by 0 (your cvar is set to 0), which I forgot to check.
You can simply fix this by setting the cvar greater than 0. I added a fixed version as well.
Forum:
Plugin/Gameplay Ideas and Requests
09-19-2021, 10:45
Replies:
3
[CS:GO] Remove healthshot at round end
Views:
996
Posted By
Rohanlogs
Re: [CS:GO] Remove healthshot at round end
A wise man once said
So, try this.
#include <sourcemod>
#include <sdkhooks>
#include <sdktools>
Forum:
Plugin/Gameplay Ideas and Requests
08-01-2021, 06:16
Replies:
1
Help !! CSGO Surf problem
Views:
1,180
Posted By
Rohanlogs
Re: Help !! CSGO Surf problem
Hey, this is very little information to go with. I don't know if you've hosted any servers before so I'll just list some obvious things.
It might be just because your server is running 64 tickrate...
Forum:
Scripting
05-21-2021, 18:55
Replies:
4
[ANY] variable scopes, namespaces, etc
Views:
1,592
Posted By
Rohanlogs
Re: [ANY] variable scopes, namespaces, etc
Ah I guess I misunderstood your original question.
You don't have to use prefixes on your global variables, you can just store all your global variables in 1 file and add a bunch of comments of...
Forum:
Scripting
05-21-2021, 14:43
Replies:
4
[ANY] variable scopes, namespaces, etc
Views:
1,592
Posted By
Rohanlogs
Re: [ANY] variable scopes, namespaces, etc
Hey. You sort of answered your own question already. You definitely can do #include "PlayerManager.sp".
If you have a lot of global variables, tons of functions etc. you can just sort them in...
Forum:
Scripting Help
05-21-2021, 14:00
Replies:
6
Solved
[SQLx]Thread worked was unable to start
Views:
1,121
Posted By
Rohanlogs
Re: [SQLx]Thread worked was unable to start
You're asking how to get rid of an error in code, without showing the code.
Eh..? If you don't want to, you don't have to post the whole script, however we need to see the line where the error...
Forum:
General
05-17-2021, 19:26
Replies:
3
Solved
[CS:GO] SQL_TQuery, script execution timed out
Views:
1,235
Posted By
Rohanlogs
Re: [CS:GO] SQL_TQuery, script execution timed out
Also adding to this, you have several ALTER TABLE table1 CONVERT TO CHARACTER SET executions on the connect callback too.
Using any ALTER commands on your connect callback is a very bad idea....
Forum:
General
05-17-2021, 16:42
Replies:
3
Solved
[CS:GO] SQL_TQuery, script execution timed out
Views:
1,235
Posted By
Rohanlogs
Re: [CS:GO] SQL_TQuery, script execution timed out
Hello there!
I checked the code, and you are running ALTER TABLE everytime you're connecting to SQL.
This becomes a problem because you're now attempting to create a new primary key everytime...
Forum:
Scripting Help
09-20-2020, 06:57
Replies:
1
Check if user is in CAMERA_3RDPERSON mode
Views:
538
Posted By
Rohanlogs
Re: Check if user is in CAMERA_3RDPERSON mode
I don't know if such a function exists but if you got the source code of the plugin that sets 3rd person mode you can just create a client boolean to check which camera they're using.
Like here...
Forum:
Suggestions / Requests
09-10-2020, 15:48
Replies:
8
Solved
Anti fast run
Views:
1,457
Posted By
Rohanlogs
Re: Anti fast run
Hey. I'm not sure if this is exactly what you want but you can give this a shot.
It will slightly slow the player down during fastrun.
Here are some cvars:
amx_fastrun_slow_amount "3" //Amount...
Forum:
Suggestions / Requests
09-09-2020, 13:14
Replies:
2
Small modification on AFK plugin (forums.alliedmods.net/showthread.php?t=256449)
Views:
855
Posted By
Rohanlogs
Re: Small modification on AFK plugin (forums.alliedmods.net/showthread.php?t=256449)
Try replacing line #318 to ' case CS_TEAM_CT: ' and recompile.
Forum:
Suggestions / Requests
09-08-2020, 02:33
Replies:
25
small edit please.
Views:
2,388
Posted By
Rohanlogs
Re: small edit please.
It does slay on the 4th warning in a row with a 5 second delay as requested. This is to confirm that the player is using high FPS and to avoid false positives. I've removed the warning message.
If...
Forum:
Suggestions / Requests
09-07-2020, 13:10
Replies:
25
small edit please.
Views:
2,388
Posted By
Rohanlogs
Re: small edit please.
Eh, it looks a bit messy..
Lag spikes can cause players to get slayed for no reason since you don't even have warning count, and also because of this fps limit should be somewhere in 110.
I never...
Forum:
General
07-21-2020, 02:50
Replies:
4
Solved
No Access PREFIX
Views:
986
Posted By
Rohanlogs
Re: No Access PREFIX
Hello friend.
I shamelessly ripped some code from here: https://forums.alliedmods.net/showthread.php?p=1729023
Is this for csgo? Try this:
#include <sourcemod>
#pragma semicolon 1
#pragma...
Showing results 1 to 25 of 246
Page 1 of 10
1
2
3
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
02:29
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode