[Plugin] YSF - kurta999's version

Bad coding makesure what y did in the ysi file that make it crashes
Reply

Update to 0.3.7 please
Reply

Quote:
Originally Posted by DayvisonJJB
Посмотреть сообщение
Update to 0.3.7 please
THIS IS NOT GOING TO HAPPEN UNTIL IT IS OFFICIALLY RELEASED. WHY DO SO MANY PEOPLE SAY PLUGINS NEED UPDATED?
Reply

Kurta, if you need this:

[13:26:15] logprintf = 0x080A9000

(0.3.7 linux)
Reply

Waiting for sunday/monday kurta
Dont forget to remove GetObjectModel and GetPlayerObjectModel, since 0.3.7 has them.
Reply

Just put comment on native GetModelObject and GetPlayerModelObject in include YSF and it's good.
Reply

Wait few days please, I'm already started updating YSF.
Reply

Is it possible to make DisablRemoteVehicleCollisions work for vehicles without a driver?
Reply

Just rename the object functions to something else, no need to completely remove them. But they HAVE to be changed / removed from the plugin side or else it'll fuck shit up.
Reply

Everything will be OK don't worry. Now it's already updated, but still have problems with vehicles, I will fix them tomorrow and I will release R13.
Reply

Please fix for samp 0.3.7...
Reply

Quote:
Originally Posted by Loleco
Посмотреть сообщение
Please fix for samp 0.3.7...
Read man
Quote:
Originally Posted by kurta999
Посмотреть сообщение
Everything will be OK don't worry. Now it's already updated, but still have problems with vehicles, I will fix them tomorrow and I will release R13.
Reply

Hi, looking forward for you release of r13 , i have been using YSF on my server for a long time and at the moment my update to 0.3.7 is pending until you release you new version of the plugins, as many have mention the plugin at least on windows it crashes the server , on linux I'm actually not sure, however my public server runs on linux , so before any update to 0.3.7 i have to wait for your release, btw thanks for the hard work until the present i love the functions of your plugin , and i hope you continue qith your work !

Best regards and thanks,
Sanchez.
Reply

I'm not going to release R13 as officialy because there still some problems with vehicles*, but I'll post here a build for linux & windows. Check back after 2 hours, I will edit my post.

*Get/Set vehicle respawn tick doesn't work, but everything are OK now. That's just a minor bug, but that's bug too.
Reply

Quote:
Originally Posted by kurta999
Посмотреть сообщение
I'm not going to release R13 as officialy because there still some problems with vehicles*, but I'll post here a build for linux & windows. Check back after 2 hours, I will edit my post.

*Get/Set vehicle respawn tick doesn't work, but everything are OK now. That's just a minor bug, but that's bug too.
Amazing, well for me will not be an issue the vehicle functions, as the main usage that i have for the plugin is the other functions apart from the vehicles , so I'm more than happy for that !

Once again thanks !
Reply

@Kurta: Is there a way to set a player on fire? If so, it would make a nice addition to YSF.
Reply

https://github.com/kurta999/YSF/releases/tag/R13

Windows version works, except low level vehicle tick functions & SetModeRestartTime. I'll remove them and create new higher level functions. Linux version didn't tested, but should work.

Quote:
Originally Posted by Crayder
Посмотреть сообщение
@Kurta: Is there a way to set a player on fire? If so, it would make a nice addition to YSF.
No.
Reply

There are some wierd warnings in console in linux version (debian 6 32bit)

Quote:

[sampgdk:warning] Index mismatch for OnServerMessage (-10071 != -10046)
[sampgdk:warning] Index mismatch for OnPlayerLeaveGangZone (-10095 != -10031)
[sampgdk:warning] Index mismatch for OnDialogPerformed (-10056 != -10002)

Only stuff i use from YSF is PlayerTextDrawGet/SetPos, IsVehicleOccupied and GetPlayerSurfingPlayerObjectID if thats any important.
Reply

Happens to me as well:



And I had this strange crash when using strcpy in OnServerMessage:

Код:
[04.05.2015 14:15:05] [debug] Server crashed while executing imperial.amx
[04.05.2015 14:15:05] [debug] AMX backtrace:
[04.05.2015 14:15:05] [debug] #0 native strcat () from samp-server.exe
[04.05.2015 14:15:05] [debug] #1 001bd980 in public OnServerMessage () from imperial.amx
[04.05.2015 14:15:05] [debug] #2 0003d6c0 in public zcmd_OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] #3 native CallLocalFunction () from samp-server.exe
[04.05.2015 14:15:05] [debug] #4 001befd0 in public SSCANF_OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] #5 00035c34 in public ppb_OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] #6 00034ccc in public OPVD_OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] #7 native CallLocalFunction () from samp-server.exe
[04.05.2015 14:15:05] [debug] #8 0002ee60 in public Fade_OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] #9 native CallLocalFunction () from samp-server.exe
[04.05.2015 14:15:05] [debug] #10 000230dc in public Audio_OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] #11 native CallLocalFunction () from samp-server.exe
[04.05.2015 14:15:05] [debug] #12 001c1ad8 in public Iter_OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] #13 native CallLocalFunction () from samp-server.exe
[04.05.2015 14:15:05] [debug] #14 001c22d0 in public ScriptInit_OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] #15 0000082c in public OnGameModeInit () from imperial.amx
[04.05.2015 14:15:05] [debug] Native backtrace:
[04.05.2015 14:15:05] [debug] #0 004063ee in ?? () from samp-server.exe
[04.05.2015 14:15:05] [debug] #1 62f962ca in ?? () from plugins\crashdetect.DLL
[04.05.2015 14:15:05] [debug] #2 62f98b28 in ?? () from plugins\crashdetect.DLL
[04.05.2015 14:15:05] [debug] #3 62f909c7 in ?? () from plugins\crashdetect.DLL
[04.05.2015 14:15:05] [debug] #4 62f9631a in ?? () from plugins\crashdetect.DLL
[04.05.2015 14:15:05] [debug] #5 634351a7 in ?? () from plugins\streamer.DLL
[04.05.2015 14:15:05] [debug] #6 026b27f0 in ?? () from plugins\YSF.DLL
[04.05.2015 14:15:05] [debug] #7 026b6b81 in ?? () from plugins\YSF.DLL
[04.05.2015 14:15:05] [debug] #8 026bbf7e in ?? () from plugins\YSF.DLL
[04.05.2015 14:15:05] [debug] #9 62b417bc in ?? () from plugins\audio.DLL
My code:

pawn Код:
#define strcpy(%0,%1) strcat((%0[0] = EOS, %0), %1)

public OnServerMessage(const msg[])
{
    new string[128];
    //format(string, sizeof(string), "%s", msg);
    strcpy(string, msg);
    if (!strcmp(string, "BAD RCON ATTEMPT BY: ", false, 21))
    {
        strdel(string, 0, 21);
        RconFail(string);
    }
    return 1;
}
Reply

There is a probleme with textdraw, TextDrawIsVisible not work on R13 version.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)