[Plugin] YSF - kurta999's version

Who want to help me with 0.3.7 R2 update, please load YSF at linux and send me logprintf = 0xXXXXXXXX from serverlog.

Thanks.
Reply

Quote:
Originally Posted by kurta999
Посмотреть сообщение
Who want to help me with 0.3.7 R2 update, please load YSF at linux and send me logprintf = 0xXXXXXXXX from serverlog.

Thanks.
When a new version is release?
Reply

Код:
[19:44:15]  Loading plugin: YSF.so
[19:44:15] logprintf = 0x080A91D0
Reply

Quote:
Originally Posted by kurta999
Посмотреть сообщение
Who want to help me with 0.3.7 R2 update, please load YSF at linux and send me logprintf = 0xXXXXXXXX from serverlog.

Thanks.
Need a VPS again? Can help you with that.
Reply

No, thanks.

Now I got it, Dampyr sent it to me.
BTW, now I have Ubuntu 14.04 LTS installed on my another HDD, no need to get VPS with older version anymore :P
Reply

Quote:
Originally Posted by Dampyr
Посмотреть сообщение
Код:
[19:44:15]  Loading plugin: YSF.so
[19:44:15] logprintf = 0x080A91D0
Thanks

R14-2
- Added support for 0.3.7 R2
- Now plugin shouldn't crash if loaded with invalid server version, just memory hacking functions won't work

https://github.com/kurta999/YSF/releases/tag/R14-2
Reply

I have a question: could you change the name of function GetActiveTimers() ?

I'm using TimerFix (https://sampforum.blast.hk/showthread.php?tid=435525) and there is function that has the same name.

Thanks in advance
Reply

Quote:
Originally Posted by Michalec
Посмотреть сообщение
I have a question: could you change the name of function GetActiveTimers() ?

I'm using TimerFix (https://sampforum.blast.hk/showthread.php?tid=435525) and there is function that has the same name.

Thanks in advance
If you need something as small as renaming a function you should just edit the source yourself. This would be as easy as 'search and replace in all files of a project'.
Reply

Bug:

The players skin resets when HidePlayerForPlayer & ShowPlayerForPlayer is used.
Reply

Quote:
Originally Posted by Crayder
Посмотреть сообщение
If you need something as small as renaming a function you should just edit the source yourself. This would be as easy as 'search and replace in all files of a project'.
I've edited it by myself, but I have to do this on every YSF update, so it will be better, when Kurta would change name of this function - maybe other people are using both TimerFix and YSF?
Reply

Or how about you change it in TimerFix?
Reply

Quote:
Originally Posted by Michalec
Посмотреть сообщение
I have a question: could you change the name of function GetActiveTimers() ?

I'm using TimerFix (https://sampforum.blast.hk/showthread.php?tid=435525) and there is function that has the same name.

Thanks in advance
AFAIK, that function was with this name my idea in timerfix. I will change it to GetRunningTimers or something else. Until no new release, just remove that function from ysf.inc.
Reply

Quote:
Originally Posted by Abagail
Посмотреть сообщение
Or how about you change it in TimerFix?
This is actually what I meant, I wasn't talking about changing it in every YSF version. That would be non sense.
Reply

R14-3
- Renamed GetActiveTimers to GetRunningTimers (old version is still aviable)
- PlayerTextDrawGetAlignment, PlayerTextDrawGetPreviewRot & PlayerTextDrawGetPreviewVehCol didn't worked correctly

https://github.com/kurta999/YSF/releases/tag/R14-3
Reply

I think that You have forgotten to change the name of the function in include
Reply

E: Fixed, just redownload.
Reply

Please fix the GetVehicleColor for CreateVehicle and AddStaticVehicle. Please
Reply

The normal formatting of strings or SendClientMessagef and the other functions?
Please note me the difference.

Edit: And which you prefer using, thanks!
Reply

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
The normal formatting of strings or SendClientMessagef and the other functions?
Please note me the difference.

Edit: And which you prefer using, thanks!
Spoke about this one with kurta not so long ago. Use plugin function instead. Just check the source code of the function, it's way better than formatting it manually. Even tho, I had all my messages array values counted with my Character Counter application, I've decided to swap to this function.
Reply

Quote:
Originally Posted by xhunterx
Посмотреть сообщение
Please fix the GetVehicleColor for CreateVehicle and AddStaticVehicle. Please
That's not a bug. You shouldn't never add vehicles with -1, because then client will set car color for every player, with vehicle defined colors from calcols.dat.

You need to define your random colors serverside to fix this or just use random(255) as color serverside.
See here for example: https://sampforum.blast.hk/showthread.php?tid=235398

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
The normal formatting of strings or SendClientMessagef and the other functions?
Please note me the difference.

Edit: And which you prefer using, thanks!
YSF one is better than all existing. Use YSF one for stable server version, and y_va for RC-s.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)