Raised This Month: $ Target: $400
 0% 

Paid request


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WolfGang
BANNED
Join Date: Oct 2010
Old 03-12-2013 , 23:16   Paid request
Reply With Quote #1

l'm looking for an coder who, I'm willing to pay anyone who is interest in making changes to an existing plugin for me. If you're interested in doing this please private email me. I need a coder ASAP!
WolfGang is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 03-12-2013 , 23:35   Re: Paid request
Reply With Quote #2

how much are you paying; what are you asking for; if it's a public plugin, why not ask the author to add the feature?
Skyy is offline
WolfGang
BANNED
Join Date: Oct 2010
Old 03-12-2013 , 23:51   Re: Paid request
Reply With Quote #3

Left 4 Dead 2. The author may or may not be in active. I'm just looking for someone who is interested and isn't making things hard, and with working flawless code.
WolfGang is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 03-13-2013 , 15:18   Re: Paid request
Reply With Quote #4

Edit:
All players who deal damage to the infected player receive assist points no matter their contribution; This version doesn't weigh the assist points earned based on the contribution of the player. Instead, all players earn a flat amount. The player who earns the kill points also receives the assist points.

Attached Files
File Type: zip point-system.zip (64.6 KB, 79 views)

Last edited by Skyy; 03-20-2013 at 04:40.
Skyy is offline
WolfGang
BANNED
Join Date: Oct 2010
Old 03-14-2013 , 20:36   Re: Paid request
Reply With Quote #5

Just got done testing it, Single-player versus, no assist points showing up. You might want to substantiate again mate.

Last edited by WolfGang; 03-14-2013 at 20:53.
WolfGang is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 03-14-2013 , 20:50   Re: Paid request
Reply With Quote #6

download the new one.
Skyy is offline
WolfGang
BANNED
Join Date: Oct 2010
Old 03-14-2013 , 22:20   Re: Paid request
Reply With Quote #7

Quote:
Originally Posted by Skyy View Post
download the new one.
And one last thing, can you tell me how to change the points into a multiplyer points system. Which contains numbers like "3.29 Points Left", second thought I was wondering if it would be something like GetConVarFloat(Hurt)*(multiplier)); to multiply points?
WolfGang is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 03-14-2013 , 23:34   Re: Paid request
Reply With Quote #8

Since points[user] is defined as a integer, you'd need to redefine it as a double or float. then you'd just do points[user] += GetConVarFloat(Damage) * multiplier[user];

An example is

new Float:points[MAXPLAYERS + 1]; instead of its current definition.
Inside of the Event_Death ; assuming you're modifying mcflurry's, you'd plop that equation wherever.

However, you'd need to make further changes in the menus, translation files, and anywhere where it prints to players point values.

Last edited by Skyy; 03-14-2013 at 23:36.
Skyy is offline
WolfGang
BANNED
Join Date: Oct 2010
Old 03-15-2013 , 21:41   Re: Paid request
Reply With Quote #9

Quote:
Originally Posted by WolfGang View Post
Just got done testing it, Single-player versus, no assist points showing up. You might want to substantiate again mate.
new Float:points[MAXPLAYERS + 1];

new Float:g_SurvivorMultiplier[MAXPLAYERS + 1];

g_SurvivorMultiplier = CreateConVar("l4d2_points_survivor_multiplier ","0.08","Multiply points when points earned", FCVAR_PLUGIN);

points[attacker] += (GetConVarFloat(sipoints) * g_SurvivorMultiplier[attacker]);

Just tried, doesn't work. Complied with a errors.

Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// l4d2_points_system.sp
// E:\Left 4 Dead 2\left4dead2\left4dead2\addons\sourcemod\scripting\l4d2_points
_system.sp(215) : error 033: array must be indexed (variable "g_SurvivorMultipli
er")
//
// Compilation aborted.
// 1 Errors.
//
// Compilation Time: 0.66 sec
// ----------------------------------------

Last edited by WolfGang; 03-16-2013 at 00:55.
WolfGang is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-16-2013 , 01:08   Re: Paid request
Reply With Quote #10

remove the MAXPLAYERS+1 from that variable at the top..... and its not a flot its a handle...

PHP Code:
new Handle:g_SurvivorMultiplier INVALID_HANDLE;

points[attacker] += (GetConVarFloat(sipoints) * GetConVarFloat(g_SurvivorMultiplier)); 

Last edited by Doc-Holiday; 03-16-2013 at 01:09.
Doc-Holiday 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 22:28.


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