Raised This Month: $ Target: $400
 0% 

Hero: SH_Hacker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xtreme-Coder
Member
Join Date: Oct 2006
Location: Scripting Amxx
Old 11-14-2006 , 12:09   Hero: SH_Hacker
Reply With Quote #1

THE HACKER
Quote:
// Description
*This Hero is for superhero mod.
* When the hero is chossen it gives the player knife speed and ramp speed up to "250" times faster
* When you hit an opponet with a knife it spins the opponet for "10" sseconds.
* The Gravity for this hero is set to "250"

// Cvars
thehacker_level 10
thehacker_spin 10
thehacker_maxdamage 150
thehacker_obeygravity 0
thehacker_knifespeed 250
thehacker_speed 100
// Release Notes.
Nov 14 2006 = Initial Release Bugs = Unknown
Please Let me know what i can do to make this better and /or if there are any known bugs that i didnt find

// Creditz
Xtreme-Coder // Code..
AssKicker // For The (init) code thx man!! Mine was soo buggy..
Hassassin // For such great support and testing of this hero!

// Notes
If this does not compile for you please let me know it works fine for me

Last edited by vittu; 11-18-2006 at 00:32.
Xtreme-Coder is offline
imported_Hawk
Senior Member
Join Date: Oct 2004
Location: Texas
Old 11-14-2006 , 13:33   Re: Hero: SH_Hacker
Reply With Quote #2

ok well there are several errors with your hero here are a few the first time i copiled it

Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// SH_Hacker.sma
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(65) : error 017: undefined symbol "gHasTheHackerPowers"
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(65) : warning 215: expression has no effect
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(65) : error 001: expected token: ";", but found "]"
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(65) : error 029: invalid expression, assumed zero
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(65) : fatal error 107: too many error messages on one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file C:\Valve\Steam\steamapps\hawktem\dedicated serve
r\cstrike\addons\amxmodx\scripting\compiled\SH_Hacker.amx (compile failed).
//
// Compilation Time: 0.42 sec
// ----------------------------------------

Press enter to exit ...
so i fixed that for you by taking out the The and got serveral errors
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// SH_Hacker.sma
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(74) : error 021: symbol already defined: "speed"
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(76) : error 010: invalid function or declaration
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(77) : error 010: invalid function or declaration
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(80) : error 021: symbol already defined: "read_argv"
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(82) : error 010: invalid function or declaration
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(84) : error 010: invalid function or declaration
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(87) : error 010: invalid function or declaration
// C:\Valve\Steam\steamapps\hawktem\dedicated server\cstrike\addons\amxmodx\scri
pting\SH_Hacker.sma(137) : error 002: only a single statement (or expression) ca
n follow each "case"
//
// 8 Errors.
// Could not locate output file C:\Valve\Steam\steamapps\hawktem\dedicated serve
r\cstrike\addons\amxmodx\scripting\compiled\SH_Hacker.amx (compile failed).
//
// Compilation Time: 0.12 sec
// ----------------------------------------

Press enter to exit ...
i then looked at it and saw thatu had bazooka instead of thehacker for your init

and still got alot of errors so ill look over your code when i have more time and try to fix it up for you, oh btw is this fo amxx or amx since you said u compiled it and it worked im comipling with a amxx compiler and getting these errors, when i get home ill look over it agian tho and fix the rest of the things you got going on with it i see several other things wrong with it but like said dont have the time righ tnow
imported_Hawk is offline
Send a message via AIM to imported_Hawk
imported_Hawk
Senior Member
Join Date: Oct 2004
Location: Texas
Old 11-14-2006 , 15:15   Re: Hero: SH_Hacker
Reply With Quote #3

alright well um i looked through this agian, i think u need to restart if your wanting this to b a hero you have it made as though it is a plugin not a hero.

did you compile it as a hero or did u compile it as a plugin, i actually dont see how you even got the hero to work sry to say it, but its true

Last edited by imported_Hawk; 11-14-2006 at 15:23.
imported_Hawk is offline
Send a message via AIM to imported_Hawk
Xtreme-Coder
Member
Join Date: Oct 2006
Location: Scripting Amxx
Old 11-14-2006 , 18:43   Re: Hero: SH_Hacker
Reply With Quote #4

I compiled it as a hero
Xtreme-Coder is offline
imported_Hawk
Senior Member
Join Date: Oct 2004
Location: Texas
Old 11-14-2006 , 18:46   Re: Hero: SH_Hacker
Reply With Quote #5

then how am i getting all these errors when u go back and look at the code you will see several typo errors and its designed more as a plugin which isnt a problem just you included things that wernt needed
imported_Hawk is offline
Send a message via AIM to imported_Hawk
Xtreme-Coder
Member
Join Date: Oct 2006
Location: Scripting Amxx
Old 11-14-2006 , 19:14   Re: Hero: SH_Hacker
Reply With Quote #6

O i see thx man ill try fixing this up and retrying with this a little later thx
for your help
Xtreme-Coder is offline
imported_Hawk
Senior Member
Join Date: Oct 2004
Location: Texas
Old 11-14-2006 , 19:25   Re: Hero: SH_Hacker
Reply With Quote #7

hey np id try to do it for you, but i looked in there and got lost trying to fix it lol but oh well glad i could help you out a bit oh ya you dont need the misc up at the top since its a hero not a plugin
imported_Hawk is offline
Send a message via AIM to imported_Hawk
Xtreme-Coder
Member
Join Date: Oct 2006
Location: Scripting Amxx
Old 11-15-2006 , 10:27   Re: Hero: SH_Hacker
Reply With Quote #8

Ok i will just restart on it ill just include the files <amxmodx> and <superhero>
Xtreme-Coder is offline
blade12
BANNED
Join Date: Oct 2006
Old 11-17-2006 , 16:15   Re: Hero: SH_Hacker
Reply With Quote #9

very nice
Code:
        // "Used Ass|(ickers" (init) mine was buggy :(
    // INIT
    register_srvcmd("bazooka_init", "bazooka_init")
    shRegHeroInit(gHeroName, "thehacker_init")
blade12 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 05:37.


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