Raised This Month: $ Target: $400
 0% 

Save Scores (1.3.4)


Post New Thread Reply   
 
Thread Tools Display Modes
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 08-16-2009 , 12:36   Re: Save Scores (1.3.2)
Reply With Quote #141

Quote:
Originally Posted by MuXeu View Post
exvel: I already finded that files, thanks
I change nothing/ maybe this bug I use SM 1.2.1?
I've just tested it in SM 1.2.1. All works fine. This is quite strange.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 08-16-2009 , 12:52   Re: Save Scores (1.3.2)
Reply With Quote #142

MuXeu, it looks like you've updated the translation but not an entire plugin.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
MuXeu
Member
Join Date: Mar 2004
Location: Kharkov UA
Old 08-16-2009 , 12:56   Re: Save Scores (1.3.2)
Reply With Quote #143

exvel: u'r right I fogot update compling plugin. Thanks for reply
__________________
MuXeu is offline
Send a message via ICQ to MuXeu
zeroibis
Veteran Member
Join Date: Jun 2007
Old 08-23-2009 , 14:45   Re: Save Scores (1.3.2)
Reply With Quote #144

Change in money is not applied.

Change line 655 to SetPlayerCash(client, cash);

I can not compile to test this as it will not let me include:
#include <colors>

#include "savescores/globals.sp"
#include "savescores/cstrike.sp"
#include "savescores/tf.sp"
#include "savescores/hl2mp.sp"

I do not understand why...

The edited sp file is attached, hopefully someone can compile it before my head explodes. It refuses to let me compile without all the includes
Attached Files
File Type: sp Get Plugin or Get Source (savescores.sp - 86 views - 17.9 KB)
__________________

Last edited by zeroibis; 08-23-2009 at 15:04.
zeroibis is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 08-23-2009 , 23:55   Re: Save Scores (1.3.2)
Reply With Quote #145

Quote:
Originally Posted by zeroibis View Post
Change in money is not applied.
0_o What do you mean?
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
zeroibis
Veteran Member
Join Date: Jun 2007
Old 08-24-2009 , 19:57   Re: Save Scores (1.3.2)
Reply With Quote #146

Lets say I am playing wcs mod and I die with 10,000 and then buy something from shop menu for 1,000 I now have 9,000. I then go into spec and rejoin the same team. The save score mod says reset player cash to 9,000 however I have 10,000. Therefore the mod knows how much money to give me and when to give it to me but does not give it to me.

I looked though the code for the part where it tells me the cash I am supposed to get and found that line 665 is supposed to be setting my cash and then line 666 tells me the amount that my cash was set to. However, line 665 clearly does not actually change my cash value. I concluded that it could be a problem with the command used and wanted to change the value to SetPlayerCash(client, cash);as a test. However becuase I do not have all the files or something source pawn will not let me compile my changes.

If someone could tell me how to get it to compile I can test a work around on my own and post the results. Alternatively I request that you please test this bug and see if you get the same results and if so make this or another needed change to correct it.

Thanks for your work so far on this great mod
__________________
zeroibis is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 08-25-2009 , 08:24   Re: Save Scores (1.3.2)
Reply With Quote #147

zeroibis, well now I see. I really don't know why it could happen. This function which sets client's cash was written a year ago and I've never had problems with it. Also no one reported about problems with it. I'll test it more.
I think it can be something in WCS mod that changes cash or maybe another plugin.
Anyway you can find info about compilation here.
__________________
For admins: My plugins

For developers: Colors library

Last edited by exvel; 08-25-2009 at 08:27.
exvel is offline
Send a message via ICQ to exvel
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 08-26-2009 , 07:46   Re: Save Scores (1.3.2)
Reply With Quote #148

How did I never notice this before? Looks pretty useful
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
DaNi0
Junior Member
Join Date: Jul 2005
Old 08-26-2009 , 16:50   Re: Save Scores (1.3.2)
Reply With Quote #149

savescores.phrases.txt with Dutch translation:

Code:
"Phrases"
{
	"Score restored"
	{
		"en"			"Saved score reloaded"
		"ru"			"Сохраненные очки и позиция восстановлены"
		"pl"			"Załadowano zapisane wyniki"
		"de"			"Gespeicherte Statistiken wiederhergestellt"
		"nl"			"Opgeslagen score hersteld"
	}

	"Cash restored"
	{
		"#format"		"{1:d}"
		"en"			"Cash restored to {lightgreen}${1}{green}"
		"ru"			"Денежные средства в размере {lightgreen}${1}{green} возвращены"
		"pl"			"Przywrócono stan pieniędzy do {lightgreen}${1}{green}"
		"de"			"Barvermögen wieder hergestetllt auf {lightgreen}${1}{green}"
		"nl"			"Geld hersteld voor {lightgreen}${1}{green}"
	}

	"You have just reset your score"
	{
		"en"			"You have just reset your score"
		"ru"			"Вы обнулили свой счет"
		"pl"			"Właśnie zresetowałeś swoje wyniki"
		"de"			"Du hast gerade deine Statistik zurückgesetzt"
		"nl"			"Je hebt zonet je score gereset"
	}

	"Reset Score"
	{
		"en"			"Reset Score"
		"ru"			"Обнулить счет"
		"pl"			"Zresetuj wyniki"
		"nl"			"Reset Score"
	}
}
DaNi0 is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 08-26-2009 , 23:52   Re: Save Scores (1.3.2)
Reply With Quote #150

DaNi0, thank you.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
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 10:35.


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