OnPlayerConnect doesn't call
#1

Fixed!

Stupid progress bar :S Can't use it now D:
Reply
#2

Can you at least post that callback here? Try "debugging" that callback. Is any function "Hanging" the rest of the callback? I would either try the Performance profiler or the Crash Detect plugins to check what's going on under that callback.
Reply
#3

I assume you tested it by adding a print line at the top of onplayerconnect so all the code in that callback is fine.

It could be the code in some include you are using if any of them have onplayerconnect in.
Reply
#4

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
Can you at least post that callback here? Try "debugging" that callback. Is any function "Hanging" the rest of the callback? I would either try the Performance profiler or the Crash Detect plugins to check what's going on under that callback.
Well, I've loaded crashdetect and I don't see any debug file anywhere. Do have to start it in my gamemodes init?
It neither hasn't printed in my server.log so :O It's not working, damn I wish there was a how to setup tutorial for that plugin :S

Код:
[09:08:10] Server Plugins
[09:08:10] --------------
[09:08:10]  Loading plugin: crashdetect.so
[09:08:10]   Failed (plugins/crashdetect.so: undefined symbol: _ZGVZN9SingletonI13AmxNameFinderE11GetInstanceEvE8instance)
[09:08:10]  Loading plugin: sscanf.so
[09:08:10]
Very strange shit here :S


@Lightning[SV]

Well I highly doubt that:

pawn Код:
#include                            <foreach>
#include                            <sscanf2>
#include                            <irc>
#include                            <mapandreas>
#include                            <streamer>
#include                            <OPSP>
#include                            <zcmd>
#include                            <a_mysql>
#include                            <YSI/y_va>
#include                            <progress>
Reply
#5

Try check in the Includes if there Exists any OnPlayerConnect.
Reply
#6

Quote:
Originally Posted by Jason_Thunde
Посмотреть сообщение
Try check in the Includes if there Exists any OnPlayerConnect.
OnPlayerShootPlayer only contains something... However, like said before. It shouldn't be the problem.

Version: 5.0, I'll check for any updates now.

pawn Код:
// OnPlayerConnect
public OnPlayerConnect(playerid)
{
    RL_Shooting[playerid]=false;
    RL_Released[playerid]=0;
    return (RL_OPC)?CallLocalFunction("RL_OnPlayerConnect","i",playerid):1;
}

#if defined _ALS_OnPlayerConnect
    #undef OnPlayerConnect
#else
    #define _ALS_OnPlayerConnect
#endif
#define OnPlayerConnect RL_OnPlayerConnect

forward RL_OnPlayerConnect(playerid);
EDIT:

Код:
gamemodes\CoD2.amx: During execution of RL_OnPlayerConnect:
gamemodes\CoD2.amx: Run time error 5: "Invalid memory access".
Could this be OnPlayerShootPlayer?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)