You are not logged in.

Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Neoxx

Professional

  • "Neoxx" started this thread

Posts: 496

Location: Schleswig-Holstein

wcf.user.option.userOption53: Ja

  • Send private message

1

Sunday, February 19th 2017, 12:14pm

HLstatsX:CE - Reset Rank

Guten Tag,

Ein paar Spieler bei mir möchten ihren rank selbst zurück setzten. Wird von HLX:CE selbst nicht unterstützt.

Ich habe etwas gesucht und diesen Code gefunden der aber nicht ganz funktioniert...

Fehler Meldung:

Spoiler Spoiler

[SM] Exception reported: Current result set has no fetched rows
[SM] Blaming: reset_rank.smx
[SM] Call stack trace:
[SM] [0] SQL_FetchString
[SM] [1] Line 57, C:\Users\neoxx\Documents\Sourcepawn\scripting\reset_rank.sp::ServerInfoCallback
[reset_rank.smx] Error reseting player rank: (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deaths,suicides,skil VALUES ('0','0','0','1000') JOIN hlstats_PlayerUniqueIds ON' at line 1)

Kann mir eventuell jemand dabei helfen? ?(

Gruß Neoxx
Neoxx has attached the following file:
  • reset_rank.sp (3.05 kB - 160 times downloaded - latest: Apr 22nd 2024, 11:08am)

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

2

Sunday, February 19th 2017, 2:59pm

Hallo,

probiers mal damit.

Greetz
fluxX has attached the following file:
  • reset_rank.sp (3.05 kB - 159 times downloaded - latest: Apr 22nd 2024, 11:08am)

Neoxx

Professional

  • "Neoxx" started this thread

Posts: 496

Location: Schleswig-Holstein

wcf.user.option.userOption53: Ja

  • Send private message

3

Sunday, February 19th 2017, 5:44pm

Bei skill fehlte ein l.

Und dieser Fehler bleibt

Spoiler Spoiler

[SM] Exception reported: Current result set has no fetched rows
[SM] Blaming: reset_rank.smx
[SM] Call stack trace:
[SM] [0] SQL_FetchString
[SM] [1] Line 57, C:\Users\neoxx\Documents\Sourcepawn\scripting\reset_rank.sp::ServerInfoCallback

Gruß Neoxx

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

4

Monday, February 20th 2017, 10:50pm

Hier, nicht getestet.

Greetz
fluxX has attached the following file:
  • reset_rank.sp (2.99 kB - 165 times downloaded - latest: Apr 22nd 2024, 11:08am)

Neoxx

Professional

  • "Neoxx" started this thread

Posts: 496

Location: Schleswig-Holstein

wcf.user.option.userOption53: Ja

  • Send private message

5

Tuesday, February 21st 2017, 9:39am

Hallo,

Danke fluxX für die Hilfe :P
Der Fehler kommt nun nicht mehr aber der rang wird auch nicht zurück gesetzt big-lol
Gruß Neoxx

fluxX

Super Moderator

Posts: 1,056

Location: Österreich

Occupation: IT Systemadministrator

wcf.user.option.userOption53: Ja

  • Send private message

6

Tuesday, February 21st 2017, 5:17pm

Hallo,

haha :D
Bleiben die Kills, Tode, Skill und Selbstkill noch gleich wenn man den Befehl ausführt oder werden diese zurückgesetzt?

Greetz

Neoxx

Professional

  • "Neoxx" started this thread

Posts: 496

Location: Schleswig-Holstein

wcf.user.option.userOption53: Ja

  • Send private message

7

Tuesday, February 21st 2017, 8:51pm

Hab erst !resetrank gemacht und danach mein rang angeschaut 8)

Nichts wurde zurückgesetzt.

Gruß Neoxx
Neoxx has attached the following image:
  • Unbenannt-1.jpg

This post has been edited 2 times, last edit by "Neoxx" (Mar 11th 2017, 1:48pm)


Similar threads