Re: YSF – IS4's version -
IllidanS4 - 10.07.2016
Quote:
Originally Posted by shiftlol
in plugin possible to add SetPlayerCommandClient(playerid, cmd[]); ?
add customer orders samp
|
I have absolutely no idea what you mean.
Quote:
Originally Posted by DRIFT_HUNTER
There is SetPlayerMarkerForPlayer function in samp, but there is not reset/clear function, so here is a suggestion, add ResetPlayersMarkersForPlayer(playerid) and maybe GetPlayerMarkerForPlayer(playerid) - if Set function is not used, return global player marker color.
Oh and add tar.gz release for linux users.
|
Sounds useful. What should
ResetPlayersMarkersForPlayer do? If you mean just set it to the seen player's own color, you can already do that with
SetPlayerMarkerForPlayer and
SetPlayerColor.
And each release already has both .zip and .tar.gz downloads.
Re: YSF – IS4's version -
shiftlol - 10.07.2016
[QUOTE=sprtik;3731689]I have absolutely no idea what you mean.
set player client command exemple:
SetPlayerCommandClient(playerid, "/fpslimit 90");
link to command Client SA:MP
https://sampwiki.blast.hk/wiki/Client_Commands
sorry, i bad speake english!
Re: YSF – IS4's version -
Spmn - 10.07.2016
Quote:
Originally Posted by shiftlol
|
Impossible.
Re: YSF – IS4's version -
ZiGGi - 10.07.2016
@shiftlol, I can suggest to create the per player actor functions. I know what it is possible, but it's huge work.
PHP код:
CreateActorForPlayer(playerid, modelid, Float:X, Float:Y, Float:Z, Float:Rotation)
Re: YSF – IS4's version -
shiftlol - 10.07.2016
Quote:
Originally Posted by ZiGGi
@shiftlol, I can suggest to create the per player actor functions. I know what it is possible, but it's huge work.
PHP код:
CreateActorForPlayer(playerid, modelid, Float:X, Float:Y, Float:Z, Float:Rotation)
|
you have skype? give me ...
Re: YSF – IS4's version -
DRIFT_HUNTER - 10.07.2016
Quote:
Originally Posted by sprtik
I have absolutely no idea what you mean.
Sounds useful. What should ResetPlayersMarkersForPlayer do? If you mean just set it to the seen player's own color, you can already do that with SetPlayerMarkerForPlayer and SetPlayerColor.
And each release already has both .zip and .tar.gz downloads.
|
ResetPlayersMarkersForPlayer should return everyone's color to global colors (SetPlayerColor) for given player.
I cant really describe it much more than the function name does...
Lets say 3 players are online. 0,1,2. 0-White, 1-Blue, 2-Green. Now we use SetPlayerMarkerForPlayer, and set that 0 see 1 and 2 as RED. And if we want to return to Blue and Green for id 0, we would use ResetPlayersMarkersForPlayer since Blue and Green are global colors for 1 and 2.
Re: YSF – IS4's version -
GuyYahood1 - 10.07.2016
Many bugs on linux In your last updates.
Now Im using In R17.
Re: YSF – IS4's version -
ZiGGi - 10.07.2016
Quote:
Originally Posted by DRIFT_HUNTER
Lets say 3 players are online. 0,1,2. 0-White, 1-Blue, 2-Green. Now we use SetPlayerMarkerForPlayer, and set that 0 see 1 and 2 as RED. And if we want to return to Blue and Green for id 0, we would use ResetPlayersMarkersForPlayer since Blue and Green are global colors for 1 and 2.
|
I think that ResetPlayerMarkerForPlayer(playerid, resetplayerid) are more useful than ResetPlayersMarkersForPlayer(playerid).
I implemented this feature in the pull request:
https://github.com/IllidanS4/YSF/pull/1
Respuesta: YSF – IS4's version -
Adoniiz - 11.07.2016
Server crash
pawn Код:
[01:37:23] [debug] AMX backtrace:
[01:37:23] [debug] Run time error 7: "Stack underflow"
[01:37:23] [debug] Stack pointer (STK) is 0x1679354, stack top (STP) is 0x1679350
i use latest version
Respuesta: YSF – IS4's version -
Unrea1 - 11.07.2016
Quote:
Originally Posted by Adoniiz
Server crash
pawn Код:
[01:37:23] [debug] AMX backtrace: [01:37:23] [debug] Run time error 7: "Stack underflow" [01:37:23] [debug] Stack pointer (STK) is 0x1679354, stack top (STP) is 0x1679350
i use latest version
|
I have the same problem, my pops me when I turn on the server and update the server in SA: MP, if you let start the server without updating in SA: MP the crash does not appear, rare but happens to me as well.
Respuesta: YSF – IS4's version -
Adoniiz - 11.07.2016
Quote:
Originally Posted by LatinZ
I have the same problem, my pops me when I turn on the server and update the server in SA: MP, if you let start the server without updating in SA: MP the crash does not appear, rare but happens to me as well.
|
What version do you use that be stable? i went back to version R16
Re: YSF – IS4's version -
DRIFT_HUNTER - 11.07.2016
Quote:
Originally Posted by ZiGGi
I think that ResetPlayerMarkerForPlayer(playerid, resetplayerid) are more useful than ResetPlayersMarkersForPlayer(playerid).
I implemented this feature in the pull request: https://github.com/IllidanS4/YSF/pull/1
|
Indeed it is since we can loop in pawn
Just a question, did you have to find RPC by yourself?
Re: YSF – IS4's version -
ZiGGi - 11.07.2016
Quote:
Originally Posted by DRIFT_HUNTER
Just a question, did you have to find RPC by yourself?
|
Yep, it's pretty simple.
Re: YSF – IS4's version -
jlalt - 12.07.2016
I am always getting this errors when compling the source file with visual studio 2015 I tried Enterprise and it gave me another erros and tried professional version it gave me these errors :'c
Код:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol _GetModuleInformation@16 referenced in function "unsigned long __cdecl FindPattern(char *,char *)" (?FindPattern@@YAKPAD0@Z) YSF E:\YSF\YSF-R17\Utils.obj 1
Severity Code Description Project File Line Suppression State
Error LNK1120 1 unresolved externals YSF E:\YSF\YSF-R17\bin\win32\Debug\YSF.dll 1
do you have an idea why they showing for me :'c?
Note: I am noob on c++ and those stuff :3
Re: YSF – IS4's version -
Spmn - 12.07.2016
Add psapi.lib to your linker:
Код:
#pragma comment(lib, "psapi.lib") // in main.cpp
Respuesta: YSF – IS4's version -
Whyd - 13.07.2016
Issue: When I click very fast on the server list, the server shuts down for no reason. (Crash)
S.O: Windows
YSF 2.1.1
Quote:
[02:08:34] [debug] Server crashed due to an unknown error
[02:08:35] [debug] Native backtrace:
[02:08:35] [debug] #0 02836b33 in ?? () from plugins\YSF.dll
[02:08:35] [debug] #1 0283c72d in ?? () from plugins\YSF.dll
[02:08:35] [debug] #2 777a43e5 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[02:08:35] [debug] #3 777a4460 in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[02:08:35] [debug] #4 0378f490 in ?? ()
[02:08:35] [debug] #5 01000002 in ?? ()
[02:08:35] [debug] #6 11449d42 in ?? () from samp-server.exe
[02:08:35] [debug] #7 03780000 in ?? ()
|
Any solution?
Re: Respuesta: YSF – IS4's version -
IllidanS4 - 13.07.2016
Quote:
Originally Posted by hydewhyd
Issue: When I click very fast on the server list, the server shuts down for no reason. (Crash)
S.O: Windows
YSF 2.1.1
Any solution?
|
It's caused by a memory leak in calling OnServerQueryInfo. Please don't use that callback until the next release.
Re: YSF – IS4's version -
jlalt - 13.07.2016
Quote:
Originally Posted by Spmn
Add psapi.lib to your linker:
Код:
#pragma comment(lib, "psapi.lib") // in main.cpp
|
Thank you so much ._., mate you're the best O.O
Respuesta: Re: Respuesta: YSF – IS4's version -
Whyd - 13.07.2016
Quote:
Originally Posted by sprtik
It's caused by a memory leak in calling OnServerQueryInfo. Please don't use that callback until the next release.
|
Ok, thanks for the info, hopefully in the next version can be solved.
Re: Respuesta: Re: Respuesta: YSF – IS4's version -
IllidanS4 - 13.07.2016
Quote:
Originally Posted by hydewhyd
Ok, thanks for the info, hopefully in the next version can be solved.
|
New release, please try if it works.