Raised This Month: $51 Target: $400
 12% 

Solved Reset Score


Post New Thread Reply   
 
Thread Tools Display Modes
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 05-07-2017 , 10:13   Re: Reset Score
Reply With Quote #11

Use Ham_AddPoints instead of
Code:
            cs_set_user_deaths(0, 0)             set_user_frags(0, 0)             cs_set_user_deaths(0, 0)             set_user_frags(0, 0)

Try looking for debug errors in your log files.
__________________
edon1337 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-07-2017 , 10:32   Re: Reset Score
Reply With Quote #12

Quote:
Originally Posted by Str4x3D1x View Post
Excuse me ?
As i said already, i compiled it with both Amx Mod X studio, and online compiler.
What's the big deal ?
The deal is none of them count as compiling them locally with your server's compiler. "bad load" usually means trying to run a plugin that's compiled with a newer AMXX version than the one your server has.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Str4x3D1x
Member
Join Date: Feb 2014
Old 05-07-2017 , 10:42   Re: Reset Score
Reply With Quote #13

I am NOT having a fun time with this. Can you give me example how it works ?
Also

Code:
            cs_set_user_deaths(0, 0)
            set_user_frags(0, 0)
            cs_set_user_deaths(0, 0)
            set_user_frags(0, 0)
Is for all the players, that is admin function. You wanna tell me cs_set_user_deaths and set_user_frags are not working :s ?
__________________
First you learn to read. Then you read to learn.

Last edited by Str4x3D1x; 05-07-2017 at 11:01.
Str4x3D1x is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-07-2017 , 11:57   Re: Reset Score
Reply With Quote #14

Check the plugins.ini and make sure you typed the plugin name correctly.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Str4x3D1x
Member
Join Date: Feb 2014
Old 05-07-2017 , 12:22   Re: Reset Score
Reply With Quote #15

Quote:
Originally Posted by wickedd View Post
Check the plugins.ini and make sure you typed the plugin name correctly.
Name is good, checked twice.
Other ideas ?
__________________
First you learn to read. Then you read to learn.
Str4x3D1x is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-07-2017 , 12:44   Re: Reset Score
Reply With Quote #16

Are you testing this on a local server? Because the only time I get the error "bad load" ( with your plugin ) is when
I misspell the plugin name on a local server. If I misspell it on a dedicated server I get "Plugin file open error".
So I suggest you check the name again and make sure you have the extension .amxx

Edit: I compiled it with 1.8.2 and 1.8.3 and it loaded for me
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 05-07-2017 at 12:55.
wickedd is offline
Str4x3D1x
Member
Join Date: Feb 2014
Old 05-07-2017 , 13:04   Re: Reset Score
Reply With Quote #17

Quote:
Originally Posted by wickedd View Post
Are you testing this on a local server? Because the only time I get the error "bad load" ( with your plugin ) is when
I misspell the plugin name on a local server. If I misspell it on a dedicated server I get "Plugin file open error".
So I suggest you check the name again and make sure you have the extension .amxx

Edit: I compiled it with 1.8.2 and 1.8.3 and it loaded for me
Testing it on dedicated server. Is that a problem :s ?
__________________
First you learn to read. Then you read to learn.
Str4x3D1x is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-07-2017 , 13:10   Re: Reset Score
Reply With Quote #18

No it's not a problem, I was just asking because I didn't get the error bad load on a dedicated server.

All I can say is your plugin loaded for me. So you must be doing something wrong.

Edit:
version
meta list
amxx version

Type them in the console and post the output here.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 05-07-2017 at 13:14.
wickedd is offline
Str4x3D1x
Member
Join Date: Feb 2014
Old 05-07-2017 , 13:14   Re: Reset Score
Reply With Quote #19

Quote:
Originally Posted by wickedd View Post
No it's not a problem, I was just asking because I didn't get the error bad load on a dedicated server.

All I can say is your plugin loaded for me. So you must be doing something wrong.
Wait, you wanna say my plug-in is working for you ?
What an actual.....

EDIT:

Code:
version:


Protocol version 48
Exe version 1.1.2.5/2.0.0.0 (cstrike)
Exe build: 16:05:41 Jun 15 2009 (455

meta list:

] meta list
Currently running plugins:
 [  1] AMX Mod X, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org
 [  2] Fun, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org
2 plugins
Unknown command: meta

amxx version:

AMX Mod X 1.8.2
Authors: 
         David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Felix "SniperBeamer" Geyer
         Jonny "Got His Gun" Bergstrom, Lukasz "SidLuke" Wlasinski
         Christian "Basic-Master" Hammacher, Borja "faluco" Ferrer
         Scott "Damaged Soul" Ehlert
Compiled: Feb 14 2013, 00:56:31
URL:http://www.amxmodx.org/
Core mode: JIT
Those are in my console (in-game) (above)

Now in dedicated server

Code:
version:

Protocol version 48
Exe version 1.1.2.5 (cstrike)
Exe build: 15:34:33 Jun 15 2009 (4554)

meta list:


Currently loaded plugins:
      description      stat pend  file              vers      src  load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.2    ini  Start ANY  
 [ 2] Fun              RUN   -    fun_amxx.dll      v1.8.2    pl1  ANY   ANY  
2 plugins, 2 running

amxx version:


AMX Mod X 1.8.2 (http://www.amxmodx.org)
Authors:
	David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
	Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
	Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
	Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Feb 14 2013, 00:56:37
Build ID: 1.8.2 61:2ae84f7c0a97
Core mode: JIT+ASM32
__________________
First you learn to read. Then you read to learn.

Last edited by Str4x3D1x; 05-07-2017 at 13:24.
Str4x3D1x is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-07-2017 , 13:29   Re: Reset Score
Reply With Quote #20

Quote:
Originally Posted by Str4x3D1x View Post
Wait, you wanna say my plug-in is working for you ?
What an actual.....
Yes. I typed /rs and the menu opened.

Quote:
Originally Posted by Str4x3D1x View Post
EDIT:


Now in dedicated server

version:

Protocol version 48
Exe version 1.1.2.5 (cstrike)
Exe build: 1543 Jun 15 2009 (4554)
Update your server
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 05-07-2017 at 13:29.
wickedd is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode