Raised This Month: $32 Target: $400
 8% 

[CS:GO/ANY] Player Souls


Post New Thread Reply   
 
Thread Tools Display Modes
FrAgOrDiE
AlliedModders Donor
Join Date: May 2018
Location: Italy
Old 05-27-2020 , 03:34   Re: [CS:GO/ANY] Player Souls
Reply With Quote #31

Quote:
Originally Posted by Eviona View Post
Thank you so much it works now. You were so helpful all the time, really thank you so much mean it means a lot to me...
<3
__________________
Add me on discord: FrAgOrDiE#5182
Add me on steam: https://steamcommunity.com/id/fragordie002/
Join my discord server: http://discord.gg/JpAUXMn
FrAgOrDiE is offline
XHUNTERX
Senior Member
Join Date: Aug 2019
Location: World
Old 05-27-2020 , 13:45   Re: [CS:GO/ANY] Player Souls
Reply With Quote #32

thanks good work
but i have a request

1 - it would be good to set a time limit for a person to respawn (cooldown)

2 - dead player pays the loan from his account (player who resurrects the dead player wins credit)

3 - I want to be respawn (on / off menu)

bad english sorry

Last edited by XHUNTERX; 05-27-2020 at 14:19.
XHUNTERX is offline
FrAgOrDiE
AlliedModders Donor
Join Date: May 2018
Location: Italy
Old 05-27-2020 , 14:30   Re: [CS:GO/ANY] Player Souls
Reply With Quote #33

Quote:
Originally Posted by XHUNTERX View Post
thanks good work
but i have a request

1 - it would be good to set a time limit for a person to respawn (cooldown)

2 - dead player pays the loan from his account (player who resurrects the dead player wins credit)

3 - I want to be respawn (on / off menu)

bad english sorry
Oh don`t worry about your english.
Anyways:

1. Do you mean something like "after 30 seconds the souls will disappear so respawns would not be available anymore"?

2. I actually don`t like this idea, I won`t grant you this, but I can grant you something for the third point:

3. This was already planned to be done. My community thought about something like !des or !destroy that would make your soul auto-destroy. What do you think? Would this be a solution for you?
__________________
Add me on discord: FrAgOrDiE#5182
Add me on steam: https://steamcommunity.com/id/fragordie002/
Join my discord server: http://discord.gg/JpAUXMn
FrAgOrDiE is offline
XHUNTERX
Senior Member
Join Date: Aug 2019
Location: World
Old 05-27-2020 , 14:47   Re: [CS:GO/ANY] Player Souls
Reply With Quote #34

2. request is very important to me
can't be an option?
XHUNTERX is offline
FrAgOrDiE
AlliedModders Donor
Join Date: May 2018
Location: Italy
Old 05-28-2020 , 01:13   Re: [CS:GO/ANY] Player Souls
Reply With Quote #35

Quote:
Originally Posted by XHUNTERX View Post
2. request is very important to me
can't be an option?
It could be, but for now:
NEW UPDATE

-Added automatic download and precache for sound files.
-Added commands !des, !destroy: they make you destroy your soul.
-Added 3 new phrases in the translations file.
__________________
Add me on discord: FrAgOrDiE#5182
Add me on steam: https://steamcommunity.com/id/fragordie002/
Join my discord server: http://discord.gg/JpAUXMn
FrAgOrDiE is offline
OXYD
AlliedModders Donor
Join Date: Aug 2019
Location: pluto
Old 05-28-2020 , 07:25   Re: [CS:GO/ANY] Player Souls
Reply With Quote #36



Any fix?
__________________
ADD ME ON STEAM - https://steamcommunity.com/id/kenoxyd
89.40.104.210:27015 // COMPETITIVE SERVER
DISCORD: KENOXYD#9098
OXYD is offline
FrAgOrDiE
AlliedModders Donor
Join Date: May 2018
Location: Italy
Old 05-28-2020 , 07:44   Re: [CS:GO/ANY] Player Souls
Reply With Quote #37

Quote:
Originally Posted by OXYD View Post


Any fix?
You need to update your sourcemod, otherwise you could just replace "GlobalForward" with "Handle".
__________________
Add me on discord: FrAgOrDiE#5182
Add me on steam: https://steamcommunity.com/id/fragordie002/
Join my discord server: http://discord.gg/JpAUXMn
FrAgOrDiE is offline
OXYD
AlliedModders Donor
Join Date: Aug 2019
Location: pluto
Old 05-28-2020 , 08:34   Re: [CS:GO/ANY] Player Souls
Reply With Quote #38

Can you help me fix this error too?

ERROR:
HTML Code:
// F:\carantina\Souls\galaxy-souls.sp(460) : error 092: number of arguments does not match definition
CODE:
HTML Code:
public Action Timer_Respawn(Handle timer, DataPack pack)
{
	pack.Reset();
	int client = GetClientOfUserId(pack.ReadCell());
	int target = GetClientOfUserId(pack.ReadCell());
	int team = pack.ReadCell();
	bTimerActive[client] = false;
	bFoundTarget[client] = false;
	float fPos[3];
	GetClientAbsOrigin(client, fPos);
	fPos[2] += 30;
	EmitAmbientSound("galaxy/orb/end.wav", fPos, client);
	char sClient[6];
	IntToString(client, sClient, sizeof(sClient));
	targets.SetValue(sClient, 0);
	if (IsValidClient(target) && !IsPlayerAlive(target))
	{
		if (team == GetClientTeam(target))
		{
			CS_RespawnPlayer(target);
			TeleportEntity(target, fClientPos[target]);
			if (GetPlayerWeaponSlot(target, CS_SLOT_KNIFE) == -1)
				GivePlayerItem(target, "weapon_knife");
			int r = GetRandomInt(0, 1);
			EmitAmbientSound(r ? "galaxy/orb/CT_revive/revive_1.wav" : "galaxy/orb/CT_revive/revive_2.wav", fPos, client);
		}
		else if (team != GetClientTeam(target))
		{
			bSoul[target] = false;
			int r = GetRandomInt(1, 3);
			char sSound[PLATFORM_MAX_PATH];
			Format(sSound, sizeof(sSound), "galaxy/orb/T_steal/steal_%i.wav", r);
			EmitAmbientSound(sSound, fPos, client);
		}
	}
	pack.Close();
}
The error says that here is the problem: TeleportEntity(target, fClientPos[target]);
I don't know what is causing this error because i checked over a hundred times, and from my perspective everything is ok
__________________
ADD ME ON STEAM - https://steamcommunity.com/id/kenoxyd
89.40.104.210:27015 // COMPETITIVE SERVER
DISCORD: KENOXYD#9098

Last edited by OXYD; 05-28-2020 at 08:38.
OXYD is offline
FrAgOrDiE
AlliedModders Donor
Join Date: May 2018
Location: Italy
Old 05-28-2020 , 08:41   Re: [CS:GO/ANY] Player Souls
Reply With Quote #39

Quote:
Originally Posted by OXYD View Post
Can you help me fix this error too?

ERROR:
HTML Code:
// F:\carantina\Souls\galaxy-souls.sp(460) : error 092: number of arguments does not match definition
CODE:
HTML Code:
public Action Timer_Respawn(Handle timer, DataPack pack)
{
	pack.Reset();
	int client = GetClientOfUserId(pack.ReadCell());
	int target = GetClientOfUserId(pack.ReadCell());
	int team = pack.ReadCell();
	bTimerActive[client] = false;
	bFoundTarget[client] = false;
	float fPos[3];
	GetClientAbsOrigin(client, fPos);
	fPos[2] += 30;
	EmitAmbientSound("galaxy/orb/end.wav", fPos, client);
	char sClient[6];
	IntToString(client, sClient, sizeof(sClient));
	targets.SetValue(sClient, 0);
	if (IsValidClient(target) && !IsPlayerAlive(target))
	{
		if (team == GetClientTeam(target))
		{
			CS_RespawnPlayer(target);
			TeleportEntity(target, fClientPos[target]);
			if (GetPlayerWeaponSlot(target, CS_SLOT_KNIFE) == -1)
				GivePlayerItem(target, "weapon_knife");
			int r = GetRandomInt(0, 1);
			EmitAmbientSound(r ? "galaxy/orb/CT_revive/revive_1.wav" : "galaxy/orb/CT_revive/revive_2.wav", fPos, client);
		}
		else if (team != GetClientTeam(target))
		{
			bSoul[target] = false;
			int r = GetRandomInt(1, 3);
			char sSound[PLATFORM_MAX_PATH];
			Format(sSound, sizeof(sSound), "galaxy/orb/T_steal/steal_%i.wav", r);
			EmitAmbientSound(sSound, fPos, client);
		}
	}
	pack.Close();
}
The error says that here is the problem: TeleportEntity(target, fClientPos[target]);
I don't know what is causing this error because i checked over a hundred times, and from my perspective everything is ok
https://forums.alliedmods.net/showpo...8&postcount=29
or UPDATE your surcemod.
__________________
Add me on discord: FrAgOrDiE#5182
Add me on steam: https://steamcommunity.com/id/fragordie002/
Join my discord server: http://discord.gg/JpAUXMn
FrAgOrDiE is offline
OXYD
AlliedModders Donor
Join Date: Aug 2019
Location: pluto
Old 05-28-2020 , 08:43   Re: [CS:GO/ANY] Player Souls
Reply With Quote #40

I already tryed (With that include file too).
SM 6488 - Sourcemod version

EDIT: Fixed, it was a problem with the compiler
__________________
ADD ME ON STEAM - https://steamcommunity.com/id/kenoxyd
89.40.104.210:27015 // COMPETITIVE SERVER
DISCORD: KENOXYD#9098

Last edited by OXYD; 05-28-2020 at 08:51.
OXYD is offline
Reply


Thread Tools
Display Modes

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 07:46.


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