Raised This Month: $ Target: $400
 0% 

Give Awesome Weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Dominator
Senior Member
Join Date: Mar 2008
Old 05-10-2008 , 13:13   Re: Give Awesome Weapons
Reply With Quote #21

Dah sorry about the stupidity, that was my fault for not reading.

Was just offering a server for you to test it on, still am when you plan on testing it.

But also I did have it running on the pre goldrush update because I wait awhile on the updates and it did the same thing.

Keep up the good work though and don't let the stupid people like me get to ya. Can't wait for it to be fixed
Dominator is offline
Upholder of the [BFG]
Junior Member
Join Date: Jan 2008
Old 05-10-2008 , 15:01   Re: Give Awesome Weapons
Reply With Quote #22

Thanks,
I appreciate the offer, but I'm good -- I got my server back up a couple days ago. Thanks again.
Upholder of the [BFG] is offline
Dominator
Senior Member
Join Date: Mar 2008
Old 05-11-2008 , 14:06   Re: Give Awesome Weapons
Reply With Quote #23

kk no prob, let us know the status of the plugin, can't wait for it honestly.
Dominator is offline
thacursedpie
Member
Join Date: May 2008
Old 05-11-2008 , 15:33   Re: Give Awesome Weapons
Reply With Quote #24

Ok I tried your plugin on a pre-goldrush listenserver.

The only thing I changed were the weapons:

Code:
#include <sourcemod>
#include <tf2_stocks>
#include <tf2>
public Plugin:myinfo = 
{
 name = "AwesomeWeps",
 author = "Upholder of the [BFG]",
 description = "Gives you awesome weapons.",
 version = SOURCEMOD_VERSION,
 url = "http://www.sourcemod.net/"
};
 
public OnPluginStart()
{
 RegAdminCmd("sm_awesomeweps", Command_Awesomeweps, ADMFLAG_CHEATS);
}
public Action:Command_Awesomeweps(client, args)
{
 if (args < 1)
 {
  ReplyToCommand(client, "[SM] Usage: sm_awesomeweps <#userid|name>");
  return Plugin_Handled;
 }
 decl String:Arguments[256];
 GetCmdArgString(Arguments, sizeof(Arguments));
 decl String:arg[65];
 new len = BreakString(Arguments, arg, sizeof(arg));
 
 if (len == -1)
 {
  /* Safely null terminate */
  len = 0;
  Arguments[0] = '\0';
 }
 decl String:target_name[MAX_TARGET_LENGTH];
 decl target_list[MAXPLAYERS], target_count, bool:tn_is_ml;
 
 if ((target_count = ProcessTargetString(
   arg,
   client, 
   target_list, 
   MAXPLAYERS, 
   COMMAND_FILTER_CONNECTED,
   target_name,
   sizeof(target_name),
   tn_is_ml)) > 0)
 {  
  for (new i = 0; i < target_count; i++)
  {
   GiveWeps(client, target_list[i]);
  }
 }
 else
 {
  ReplyToTargetError(client, target_count);
 }
 
 return Plugin_Handled;
}
GiveWeps(client, target)
{
 TF2_RemoveAllWeapons(target);
 
 TF2_GivePlayerWeapon(target, "tf_weapon_knife");
 TF2_GivePlayerWeapon(target, "tf_weapon_flamethrower");
 TF2_GivePlayerWeapon(target, "tf_weapon_minigun");
 TF2_GivePlayerWeapon(target, "tf_weapon_sniperrifle");
 TF2_GivePlayerWeapon(target, "tf_weapon_pipebomblauncher");
 
 ReplyToCommand(client, "You have given awesome weapons."); 
}
Now I ran TF2, and used the command on myself, instantly TF2 crashes with the following error:
"Bad entity in IndexOfEdict() index -14106619 pEdict 00000073 sv.edicts 10D10010"

EDIT:
Ok, sourcemodversion = 2137

Last edited by thacursedpie; 05-11-2008 at 15:40. Reason: SM version found
thacursedpie is offline
Dominator
Senior Member
Join Date: Mar 2008
Old 05-29-2008 , 19:09   Re: Give Awesome Weapons
Reply With Quote #25

any word about this plugin being release?
Dominator is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 05-30-2008 , 08:32   Re: Give Awesome Weapons
Reply With Quote #26

Valve broke the ability for one class to have another classes weapons in the Goldrush update.
CrimsonGT is offline
dotISO
Member
Join Date: May 2008
Old 06-01-2008 , 15:50   Re: Give Awesome Weapons
Reply With Quote #27

Quote:
Originally Posted by CrimsonGT View Post
Valve broke the ability for one class to have another classes weapons in the Goldrush update.
Yea you're right. That's sad. Only if the exploit where players can pick up other class'es weapon wasn't discovered...
dotISO 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 15:57.


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