You are not logged in.

Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

1

Monday, January 21st 2013, 6:43pm

Store Plugin Problem!

Hallo SoS,
Ich hab ein Problem mit meinem Store Plugin.
Und zwar geht alles außer das wenn ein Spieler ein Trail/Model oder irgendwas auswählt.
Verschwindet es nach einem Rejoin!

PHP Source code

1
public SQLCallback_Items(Handle:ownerHandle:hndl, const String:error[], any:userid){    if (hndl == INVALID_HANDLE)    {        SetFailState("Error. %s"error);    } else {        new client GetClientOfUserId(userid);        if(client == 0)            return;        if(g_hItems[client] != INVALID_HANDLE)            CloseHandle(g_hItems[client]);        g_hItems[client] = CreateArray(32SQL_GetRowCount(hndl));    if(SQL_GetRowCount(hndl)>=1)        {            new 0;            new aItem[Item];            while(SQL_FetchRow(hndl))            {                aItem[ItemId] = SQL_FetchInt(hndl0);                SQL_FetchString(hndl2aItem[Category], sizeof(aItem[Category]));                SQL_FetchString(hndl3aItem[Data], sizeof(aItem[Data]));                SetArrayArray(g_hItems[client], iaItem[0]);                ++i;            }        }                ValidatePlayerItems(client);    }}



Das hab ich drin stehen.

Jackmaster

Super Moderator

Posts: 660

wcf.user.option.userOption53: Ja

  • Send private message

2

Monday, January 21st 2013, 7:36pm

Wenn man feinen Code auch erkennen könnte, ohne ewig zu scrollen wäre es schon zum Vorteil.
Ist auch etas im Errorlog?

Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

3

Monday, January 21st 2013, 7:37pm

Jack ich schreib dir mal den Code in Steam weil irgendwie geht das mit dem php Quelltext nicht..
Und irgendwie erstellt sich keine Error Log oder wo ist sie den?

EDIT:
Besser so :)

PHP Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
public SQLCallback_Items(Handle:ownerHandle:hndl, const String:error[], any:userid)
{
    if (hndl == INVALID_HANDLE)
    {
        SetFailState("Error. %s"error);
    } else {
        new client GetClientOfUserId(userid);
        if(client == 0)
            return;
        if(g_hItems[client] != INVALID_HANDLE)
            CloseHandle(g_hItems[client]);
        g_hItems[client] = CreateArray(32SQL_GetRowCount(hndl));
    if(SQL_GetRowCount(hndl)>=1)
        {
            new 0;
            new aItem[Item];
            while(SQL_FetchRow(hndl))
            {
                aItem[ItemId] = SQL_FetchInt(hndl0);
                SQL_FetchString(hndl2aItem[Category], sizeof(aItem[Category]));
                SQL_FetchString(hndl3aItem[Data], sizeof(aItem[Data]));
                SetArrayArray(g_hItems[client], iaItem[0]);
                ++i;
            }
        }
        
        ValidatePlayerItems(client);

This post has been edited 1 times, last edit by "fluxX" (Jan 21st 2013, 8:13pm)


Lacrimosa99

Intermediate

Posts: 275

Location: Leipzig

Occupation: IT-Systemintegrator

wcf.user.option.userOption53: Ja

  • Send private message

4

Tuesday, January 22nd 2013, 1:26am

Achtung.. Toxix3 rippt und zieht Leute ab!!

Sollte sich jemand bereit erklären... dann macht auch gleich das gesammte System down...

So ein A**e sollte für immer aus dem Internet geschmissen werden...

Das schönste kommt noch... sei schonmall drauf gefasst Toxix3!

Also HF & GL!




Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

5

Tuesday, January 22nd 2013, 1:31pm

Kennen wir uns überhaupt?

General_V

Super Moderator

Posts: 1,043

Location: Mönchengladbach

Occupation: Brückenkranführer / Staplerfahrer

wcf.user.option.userOption53: Nein

  • Send private message

6

Tuesday, January 22nd 2013, 1:31pm

Bleibt bitte beim Thema, wenn ihr Privat Stress habe klärt es außerhalb, Danke

Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

7

Tuesday, January 22nd 2013, 1:33pm

Machen wir :)

Lacrimosa99

Intermediate

Posts: 275

Location: Leipzig

Occupation: IT-Systemintegrator

wcf.user.option.userOption53: Ja

  • Send private message

8

Tuesday, January 22nd 2013, 1:38pm

Kennen wir uns überhaupt?


Komm mir ja net so... sonnst sehen wir uns mal pers.!

@ General_V

sorry... bin extrem angefressen wegen solch Kiddy´s... aber nun lass ichs gut sein.. wird schon merken was er davon hatt...




Toxix3

Intermediate

  • "Toxix3" started this thread

Posts: 158

wcf.user.option.userOption53: Ja

  • Send private message

9

Tuesday, January 22nd 2013, 1:46pm

Schließt ma den Theard und Lacrimosa99.
Ich kenn dich nicht. Kannst vorbei kommen ;)

Similar threads