You are not logged in.

Random778

Trainee

  • "Random778" started this thread

Posts: 127

Occupation: Schüler

wcf.user.option.userOption53: Nein

  • Send private message

1

Monday, September 9th 2013, 1:44am

cookie_ambient?

Hallo Leute,
Ich bin ein neuer Sourcemod Skripter und habe ein kleines Problem.
In meinem Skript steht folgendes drin: "cookie_ambient = RegClientCookie("clantag", "", CookieAccess:2);".
Fehlermeldung Zeile: 25 error 017: undefined symbol "cookie_ambient".
Was muss ich includen dafür?


gruß

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

2

Monday, September 9th 2013, 2:20am

Source code

1
new Handle:cookie_ambient = INVALID_HANDLE;


Greetz

Random778

Trainee

  • "Random778" started this thread

Posts: 127

Occupation: Schüler

wcf.user.option.userOption53: Nein

  • Send private message

3

Monday, September 9th 2013, 10:15pm

Erstmal vielen dank, hat funktioniert dennoch habe ich noch ein kleines Problem.(Bild)

Spoiler Spoiler


public OnClientSettingsChanged(client)
{
if (CheckCommandAccess(client, "sm_svip", 32768, false))
{
vipchat[client] = GetCookieAmbient(client);
}
return 0;
}

Edit: Komisch das rückt immer komisch auf keine Ahnung wieso, hoffentlich kann man das verstehen.
Random778 has attached the following image:
  • Unbenannt.PNG

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

4

Monday, September 9th 2013, 10:16pm

Sieht mir hier eher nach einem Plugin aus, das decompiliert wurde.. daher helfe ich dir auch damit nicht mehr weiter.

Greetz

This post has been edited 1 times, last edit by "fluxX" (Sep 9th 2013, 10:22pm)


Random778

Trainee

  • "Random778" started this thread

Posts: 127

Occupation: Schüler

wcf.user.option.userOption53: Nein

  • Send private message

5

Monday, September 9th 2013, 10:18pm

Ja, das Plugin habe ich damals mit einen Kumpel geschrieben, hab mein Windows neu gesetzt nun habe ich die SP nicht mehr nur noch die SMX.
Deshalb habe ich es versucht irgendwie wieder zu decompilieren.
Trotzdem danke für deine Hilfe, mit 'new Handle:cookie_ambient = INVALID_HANDLE;'