Re: SA-MP 0.3d RC9-2 client/server -
Slice - 23.11.2011
Quote:
Originally Posted by [HLF]Southclaw
Good point! the Tab thing annoys me! it replaces Tabs with four spaces sometimes so I have to go through selecting and replacing!
I know someone who actually has OCD and it's just insane! paper aligned to the table edge, same routine every day if it's different they get in a bad mood! Sometimes it's funny 
|
Words can't express how much fun it is to move those things around, making them unaligned!
Re: SA-MP 0.3d RC9-2 client/server -
HP - 23.11.2011
Quote:
Originally Posted by Slice
Kalcor, could you change this in a_samp:
pawn Код:
native format(output[], len, const format[], {Float,_}:...);
to:
pawn Код:
native format(output[], len = sizeof output, const format[], {Float,_}:...);
This would allow you do do this:
pawn Код:
format(buf, _, "hello %s", "world");
instead of this:
pawn Код:
format(buf, sizeof(buf), "hello %s", "world");
|
Wouldn't this simply help you?
pawn Код:
#define formatEx(%0,%1,%2) format(%0,sizeof(%0),%1,%2)
Re: SA-MP 0.3d RC9-2 client/server -
Slice - 23.11.2011
Quote:
Originally Posted by HP
Wouldn't this simply help you?
pawn Код:
#define formatEx(%0,%1,%2) format(%0,sizeof(%0),%1,%2)
|
First off using a macro for that is just bad (as it's already a language feature). Not to mention, it won't work with newlines in-between arguments (macros are single-line only), and every piece of code I'd release would require that macro!
Also, you don't always want the second argument to be sizeof the first one, which would lead to inconsistency and ugly code.
In addition to all that, "formatEx" (which is quite poorly named, btw) isn't highlighted as it's not a native function.
Re: SA-MP 0.3d RC9-2 client/server -
HP - 23.11.2011
Quote:
Originally Posted by Slice
First off using a macro for that is just bad (as it's already a language feature). Not to mention, it won't work with newlines in-between arguments (macros are single-line only), and every piece of code I'd release would require that macro!
Also, you don't always want the second argument to be sizeof the first one, which would lead to inconsistency and ugly code.
In addition to all that, "formatEx" (which is quite poorly named, btw) isn't highlighted as it's not a native function.
|
Talking of OCD...

Anyway, it was just a quick thought and that name was just an example. I didn't bother to think of any better name for it, so it could be named whatever - if there would be any use of this to anyone.
Also, English is not my native language, so it's a little hard for me to understand, but what do you mean, that macros are single-line only?
Re: SA-MP 0.3d RC9-2 client/server -
Slice - 23.11.2011
Quote:
Originally Posted by HP
Talking of OCD...  Anyway, it was just a quick thought and that name was just an example. I didn't bother to think of any better name for it, so it could be named whatever - if there would be any use of this to anyone.
Also, English is not my native language, so it's a little hard for me to understand, but what do you mean, that macros are single-line only?
|
I wouldn't call that OCD, I was just giving you a bunch of reasons why it's bad. What I meant with macros are single-line only is this:
pawn Код:
#define ABC(%1,%2) printf("%d, %d", %1, %2)
ABC(1,2); // Works
// Doesn't work
ABC(
1,
2
);
Re: SA-MP 0.3d RC9-2 client/server -
HP - 23.11.2011
Well, thanks for explaining, but still I don't think that they're going to change the format native and you should find a work-around, if you find it so important to be changed.
Re: SA-MP 0.3d RC9-2 client/server -
leong124 - 23.11.2011
Actually modify a_samp.inc will work, but I think Slice wants it to be done by default.
Re: SA-MP 0.3d RC9-2 client/server -
Slice - 23.11.2011
Quote:
Originally Posted by HP
Well, thanks for explaining, but still I don't think that they're going to change the format native and you should find a work-around, if you find it so important to be changed.
|
It takes 3 seconds to fix, and it's not anything I NEED it's just a tiny suggestion that would make scripting just a little bit neater.
Re: SA-MP 0.3d RC9-2 client/server -
Admigo - 23.11.2011
One week with no updates...
Re: SA-MP 0.3d RC9-2 client/server -
AndreT - 23.11.2011
Quote:
Originally Posted by Slice
It takes 3 seconds to fix, and it's not anything I NEED it's just a tiny suggestion that would make scripting just a little bit neater.
|
I'll join in on this.
Quote:
Originally Posted by admigo
One week with no updates...
|
So?
AW: Re: SA-MP 0.3d RC9-2 client/server -
usekevin1988 - 23.11.2011
Quote:
Originally Posted by admigo
One week with no updates...
|
Next Update is 0.3d without RC
Re: AW: Re: SA-MP 0.3d RC9-2 client/server -
sabretur - 23.11.2011
Quote:
Originally Posted by usekevin1988
Next Update is 0.3d without RC 
|
How do you know?
Re: SA-MP 0.3d RC9-2 client/server -
Sean. - 23.11.2011
Will Lag shooting be fixed? probably the worst thing about samp is lag shooting.
Re: SA-MP 0.3d RC9-2 client/server -
Slice - 23.11.2011
Quote:
Originally Posted by Sean.
Will Lag shooting be fixed? probably the worst thing about samp is lag shooting.
|
Personally, "Lag shooting" is the main reason I play SA-MP DM. Secondly, thinks about these points:
- If you do damage by simply shooting a player, you'd have to re-balance all weapons (otherwise it would take 2 seconds for a good player to kill someone with a deagle).
- There would have to be an anti-cheat, as aim-bots and sending fake information that you hit someone would become a big issue.
- All currently skilled SA-MP players would have to unlearn lead-aiming, NEVER!
Re: SA-MP 0.3d RC9-2 client/server -
Mozz - 23.11.2011
Quote:
Originally Posted by Slice
Personally, "Lag shooting" is the main reason I play SA-MP DM. Secondly, thinks about these points:
- If you do damage by simply shooting a player, you'd have to re-balance all weapons (otherwise it would take 2 seconds for a good player to kill someone with a deagle).
- There would have to be an anti-cheat, as aim-bots and sending fake information that you hit someone would become a big issue.
- All currently skilled SA-MP players would have to unlearn lead-aiming, NEVER!
|
exactly, if people do not want to "lag shoot" as you call it then go play MTA or something.
Re: SA-MP 0.3d RC9-2 client/server -
leong124 - 23.11.2011
Quote:
Originally Posted by admigo
One week with no updates...
|
See my signature.
Quote:
Originally Posted by Slice
Personally, "Lag shooting" is the main reason I play SA-MP DM. Secondly, thinks about these points:
- If you do damage by simply shooting a player, you'd have to re-balance all weapons (otherwise it would take 2 seconds for a good player to kill someone with a deagle).
- There would have to be an anti-cheat, as aim-bots and sending fake information that you hit someone would become a big issue.
- All currently skilled SA-MP players would have to unlearn lead-aiming, NEVER!
|
Furthermore, joystick users can perform OSOK, as they have auto-aim.
AW: Re: AW: Re: SA-MP 0.3d RC9-2 client/server -
usekevin1988 - 23.11.2011
Quote:
Originally Posted by sabretur
How do you know?
|
I Think . i know nothing
Re: SA-MP 0.3d RC9-2 client/server -
LeNy - 23.11.2011
I wonder why such a long time coincides with the release of the next RC. Maybe it will be a lot of changes?
Re: SA-MP 0.3d RC9-2 client/server -
Scottas - 23.11.2011
no Xd
Re: SA-MP 0.3d RC9-2 client/server -
Babul - 23.11.2011
some1 lost the key to the basement where kalcor got locked in maybe