Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Miu
Forum: Scripting 12-26-2017, 13:32
Replies: 1
Views: 383
Posted By Miu
Re: [IDA] Confused over vtables

Sounds like it's not virtual, and so you would indeed need to use a signature to locate it instead
Forum: Scripting 11-07-2017, 14:54
Replies: 9
Views: 673
Posted By Miu
Re: Can't check if an argument is a specific string, "argument type mismatch"?

You're missing parentheses around the if conditions
Forum: Scripting 10-31-2017, 07:58
Replies: 9
Views: 1,054
Posted By Miu
Re: Multi-query SQL?

You can't execute multiple statements in a single query. Transactions are explicitly the solution to this. You should either create your stored procedures by a different process or use transactions....
Forum: Scripting 07-07-2017, 12:33
Replies: 2
Views: 467
Posted By Miu
Re: error 100: function prototypes do not match

native functions (https://sm.alliedmods.net/new-api/functions/NativeCall) need to return int, not bool
Forum: Scripting 07-04-2017, 11:14
Replies: 7
Views: 644
Posted By Miu
Re: Help with reading cyrillic/chineese/etc characters from console

If you mean you want to read it from the actual terminal window, you'll have to fiddle with the terminal settings for that. If you just want to read it *at all*, the easiest way is probably just to...
Forum: Scripting 07-04-2017, 11:10
Replies: 2
Views: 472
Posted By Miu
Re: bhop prestrafe 289.0 hack blocker

`IN_JUMP` and `FL_ONGROUND` are just flag constants, so `!IN_JUMP` will always be false and `FL_ONGROUND` will always be true. Instead, you need to check if the right flags variable has them set, so...
Forum: Scripting 06-21-2017, 23:33
Replies: 6
Views: 805
Posted By Miu
Re: Allow certain commands target admins?

yes, use the raw processtargetstring instead of findtarget, since the point of findtarget in the first place is exactly to provide processtargetstring + error messages
Forum: Scripting 06-19-2017, 22:28
Replies: 6
Views: 772
Posted By Miu
Re: How to [action here] to every player?

oh yeahhh i was thinking there was something wrong with that as i was writing it but couldn't remember what. good catch!
Forum: Scripting 06-19-2017, 09:57
Replies: 6
Views: 772
Posted By Miu
Re: How to [action here] to every player?

"sm_play @all" should do that.

otherwise you'd want to loop over all the client indices, like

for (int i = 1; i <= MaxClients; ++i)
{
if (!IsClientInGame(i))
continue;
...
Forum: Scripting 06-18-2017, 13:51
Replies: 3
Views: 443
Posted By Miu
Re: Can Someone Reproduce this SQL issue??

cba to start a server and try running that, but I compiled it with spcomp 1.8.0.5967 and then fed that to Lysis, and it gives me back https://pastebin.com/raw/Ti5CwMq0, which is pretty funny. not...
Forum: General 06-15-2017, 10:31
Replies: 7
Views: 1,808
Posted By Miu
Re: Convert .sql to .sq3

Just change the extension to .sq3
Forum: Scripting 06-14-2017, 14:49
Replies: 9
Views: 696
Posted By Miu
Forum: Scripting 06-13-2017, 19:32
Replies: 24
Views: 2,483
Posted By Miu
Re: Do you use SPACES or TAB ?

I don't think that's "in between," that's just the sane way to do spaces.
Forum: General 06-10-2017, 16:23
Replies: 2
Views: 510
Posted By Miu
Re: Is it legal to order plugins for real money?

ya, go here: https://forums.alliedmods.net/forumdisplay.php?f=60
Forum: Scripting 06-09-2017, 12:28
Replies: 10
Views: 1,097
Posted By Miu
Re: Field of View Cone

Remove lines `anglevector[0] = anglevector[2] = 0.0;` and `clientpos[2] = targetpos[2] = 0.0;`

The actual field of view isn't conic, but pyramidal, though. (Since the screen is a rectangle, not a...
Forum: Scripting 05-24-2017, 19:28
Replies: 39
Views: 3,033
Posted By Miu
Re: Using CreateDataTimer

errors when you RUN IT on the SERVER not when u compile it
Forum: Scripting 05-22-2017, 16:56
Replies: 4
Views: 446
Posted By Miu
Re: Warning Messages

Remove the if statement then o_________o
Forum: Scripting 05-14-2017, 19:58
Replies: 3
Views: 560
Posted By Miu
Re: [CS:GO] Two small questions about bots

1) Last time I tried this in Source IIRC, the fake client would move, but wouldn't turn when you set its angles, so they're not interchangeable as replay actors. Might be different in CS:GO though.
...
Forum: Scripting 05-11-2017, 18:19
Replies: 5
Views: 1,121
Posted By Miu
Re: CSGO Linux raw signatures

> Any tips?

Find some kind of landmark in the old binary that you can reliably find again in the new one, like a string reference.
Forum: Scripting 05-11-2017, 15:01
Replies: 5
Views: 1,121
Posted By Miu
Re: CSGO Linux raw signatures

Your instructions start to be completely different from Peace-Maker's after the fourth. Are you sure you're looking at the same function?

For example, the first 7 are:

| Your sig | Your...
Forum: Scripting 02-11-2017, 18:43
Replies: 8
Views: 1,160
Posted By Miu
Re: Memory leaks

looks like you're calling SQL_Connect (or similar) a lot and never closing the handles, you should close them O-O
Forum: Scripting 02-11-2017, 18:37
Replies: 1
Views: 349
Posted By Miu
Re: Convert string to char (color)

"\x07FFFFFF" is a 64 bit large string, you're not going to be able to put that into a 8 bit large char

you can do something like this:

stock String:GetColorChar(const String:sColor[])
{
...
Forum: Scripting 02-11-2017, 18:15
Replies: 10
Views: 1,629
Posted By Miu
Re: Questions on methodmaps

methodmaps are just alternative syntax for functions calls where the "object," a 32-bit cell, is passed to the method/property accessor as an implicit `this` argument. whatever `this` actually...
Forum: Scripting 02-11-2017, 08:15
Replies: 10
Views: 990
Posted By Miu
Re: broken floats?

stop ignoring tag mismatch warnings
Forum: Scripting 01-21-2017, 18:00
Replies: 9
Views: 814
Posted By Miu
Re: Any way of formatting this better?

what the fuck dude just write a regex or something
Showing results 1 to 25 of 500

 
Forum Jump

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


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