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

[ANY] Ion Cannon Weapon (Version 1.2.1 Updated 03.05.2011)


Post New Thread Reply   
 
Thread Tools Display Modes
Elektramode
Senior Member
Join Date: Mar 2010
Old 02-28-2011 , 12:34   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #21

If you set it up correctly, then all you gotta do is !giveion and use the deset riffle to shoot a beam. However I get an error



L 02/28/2011 - 171:54: [SM] Native "SetEntProp" reported: Property "m_iProgressBarDuration" not found (entity 1/player)
L 02/28/2011 - 171:54: [SM] Displaying call stack trace for plugin "ioncannon.smx":
L 02/28/2011 - 171:54: [SM] [0] Line 268, ioncannon.sp::OnPlayerRunCmd()
Elektramode is offline
LunarFrost
Junior Member
Join Date: Jan 2010
Old 02-28-2011 , 13:53   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #22

Well it only fires normal bullets when I do that,so what is the problem?
LunarFrost is offline
ryankk94
New Member
Join Date: Feb 2011
Old 02-28-2011 , 18:32   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #23

Could you add support for Team Fortress 2 and make the weapon to activate the ion cannon the spies knife? I would really appreciate it!!! I have no clue how to code the weapons or how to compile anything.
ryankk94 is offline
Elektramode
Senior Member
Join Date: Mar 2010
Old 03-01-2011 , 13:19   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #24

Quote:
Originally Posted by ryankk94 View Post
Could you add support for Team Fortress 2 and make the weapon to activate the ion cannon the spies knife? I would really appreciate it!!! I have no clue how to code the weapons or how to compile anything.
Mmm, I am not much smarter than you it seems in sourcemod. However I posted a help message on how to compile it on allied modders general forum and some people helped me out, with the help of those people and the lines of coding which Peacemaker said to change for this plugin. I was able to compile it. Unluckily I still cannot get it working because of a problem which I posted (hopefully it will be fixed)

If you want to read my threat just go onto the general section and search for the title "Can Someone Help a newbie"
Elektramode is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 03-14-2011 , 09:17   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #25

This plugin crashes everyone's clients right after the beams close together and people get killed.

It's on a CSS server, never had any crashes before the plugin. I've commented out lines 249 through 252 ("You have to be outside to deploy an ion cannon"), rest is stock.

Server details:
Dedicated server, windows 2k3
metamod_version "1.8.5V"
sourcemod_version "1.3.6"

[SM] Listing 30 plugins:
01 "Admin File Reader" (1.3.6) by AlliedModders LLC
02 "Admin Help" (1.3.6) by AlliedModders LLC
03 "Admin Menu" (1.3.6) by AlliedModders LLC
04 "Anti-Flood" (1.3.6) by AlliedModders LLC
05 "Basic Chat" (1.3.6) by AlliedModders LLC
06 "Basic Comm Control" (1.3.6) by AlliedModders LLC
07 "Basic Commands" (1.3.6) by AlliedModders LLC
08 "Basic Info Triggers" (1.3.6) by AlliedModders LLC
09 "Basic Votes" (1.3.6) by AlliedModders LLC
10 "Client Preferences" (1.3.6) by AlliedModders LLC
11 "Fun Commands" (1.3.6) by AlliedModders LLC
12 "Fun Votes" (1.3.6) by AlliedModders LLC
13 "Ion Cannon" (1.1) by Jannik 'Peace-Maker' Hartung, AMXX version: A.F.
14 "Nextmap" (1.3.6) by AlliedModders LLC
15 "Player Commands" (1.3.6) by AlliedModders LLC
16 "Reserved Slots" (1.3.6) by AlliedModders LLC
17 "Double Jump" (1.0.1) by Paegus
18 "DeathMatch:SM" (1.6.1) by Otstrel.ru Team, TigerOx, TechKnow
19 "DeathMatch:SM Elimination" (1.6.1) by Otstrel.ru Team, TigerOx, TechKnow
20 "DeathMatch:SM Ragdoll Remover" (1.6.1) by Otstrel.ru Team, TigerOx, TechKnow
21 "DeathMatch:SM Spawn Protection" (1.6.1) by Otstrel.ru Team, TigerOx, TechKnow
22 "DeathMatch:SM Preset Spawns" (1.6.1) by Otstrel.ru Team, TigerOx, TechKnow
23 "DeathMatch:SM Weapons Remover" (1.6.1) by Otstrel.ru Team, TigerOx, TechKnow
24 "Kill Message Overlays Framework" (1.2) by Siang Chun & Black Haze
25 "Kill Message Overlays Basic Triggers" (1.2) by Siang Chun & Black Haze
26 "SM Parachute" (2.0) by SWAT_88
27 "Sound Commands" (1.3.6) by AlliedModders LLC
28 "SourceAdmin" (1.2.4) by AlliedModders LLC
29 "SourceBans" (1.4.5) by InterWave Studios Development Team
30 "Stop HintText Sound" (1.0.0) by Tauphi, exvel

It's a server set up to test mods n plugins before they hit the normal servers, so I can test for you whatever you need tested.

It looks bloody awesome btw ;)
Black Haze is offline
scopesp
Senior Member
Join Date: Jan 2009
Location: Munich
Old 03-16-2011 , 13:46   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #26

any news about a version for tf2 ?
scopesp is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 03-16-2011 , 19:14   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #27

Quote:
Originally Posted by scopesp View Post
any news about a version for tf2 ?
My guess is that if you change line 45 saying:
PHP Code:
#define ION_WEAPON "weapon_knife" 
and replace weapon_knife with a TF2 weapon name you've got yourself a TF2 version.
Black Haze is offline
Black Haze
BANNED
Join Date: Sep 2008
Location: Hamsterdam
Old 03-16-2011 , 19:15   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #28

And apparently these are the weapon names:
Quote:
tf_weapon_bat
tf_weapon_bonesaw
tf_weapon_bottle
tf_weapon_builder
tf_weapon_club
tf_weapon_fireaxe
tf_weapon_fists
tf_weapon_flamethrower
tf_weapon_grenadelauncher
tf_weapon_invis
tf_weapon_knife
tf_weapon_medigun
tf_weapon_minigun
tf_weapon_objectselection
tf_weapon_pda_engineer_build
tf_weapon_pda_engineer_destroy
tf_weapon_pda_spy
tf_weapon_pipebomblauncher
tf_weapon_pistol
tf_weapon_pistol_scout
tf_weapon_revolver
tf_weapon_rocketlauncher
tf_weapon_scattergun
tf_weapon_shotgun_hwg
tf_weapon_shotgun_primary
tf_weapon_shotgun_pyro
tf_weapon_shotgun_soldier
tf_weapon_shovel
tf_weapon_smg
tf_weapon_sniperrifle
tf_weapon_syringegun_medic
tf_weapon_wrench
Black Haze is offline
scopesp
Senior Member
Join Date: Jan 2009
Location: Munich
Old 03-17-2011 , 04:58   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #29

i will try thx
scopesp is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 03-17-2011 , 06:39   Re: [ANY] Ion Cannon Weapon (Version 1.1 Updated 26.02.2011)
Reply With Quote #30

Quote:
Originally Posted by SpaceBass View Post
In a hurry, but checked the logs and this is all I have continuously. I believe I get this from a rag doll dissolve plug-in as well, idk in a hurry:
Quote:
Originally Posted by LunarFrost View Post
Well it only fires normal bullets when I do that,so what is the problem?
Quote:
Originally Posted by Elektramode View Post
If you set it up correctly, then all you gotta do is !giveion and use the deset riffle to shoot a beam. However I get an error

L 02/28/2011 - 171:54: [SM] Native "SetEntProp" reported: Property "m_iProgressBarDuration" not found (entity 1/player)
L 02/28/2011 - 171:54: [SM] Displaying call stack trace for plugin "ioncannon.smx":
L 02/28/2011 - 171:54: [SM] [0] Line 268, ioncannon.sp::OnPlayerRunCmd()
That's all the same one. L4D doesn't support the "bomb defuse progressbar". Will add a check for CS:S and a countdown?

Quote:
Originally Posted by Black Haze View Post
This plugin crashes everyone's clients right after the beams close together and people get killed.

It's on a CSS server, never had any crashes before the plugin. I've commented out lines 249 through 252 ("You have to be outside to deploy an ion cannon"), rest is stock.
Hm, in TF2? Maybe 600 glowing sprite bubbles are too much for TF2? Will make the number variable;)

I just noticed i messed up the fire with the update..
I'll test it this evening.
__________________
Peace-Maker 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 08:20.


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