Raised This Month: $51 Target: $400
 12% 

Hero compile error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
p4haze
Member
Join Date: Aug 2004
Location: San diego, CA
Old 08-27-2004 , 21:20   Hero compile error
Reply With Quote #1

1st error: Small compiler 2.1.0 Copyright (c) 1997-2002, ITB CompuPhase

sh_MiRAGE.sma(59 -- 60) : error 001: expected token: ",", but found "-identifier
-"
sh_MiRAGE.sma(59 -- 64) : warning 202: number of arguments does not match defini
tion
sh_MiRAGE.sma(59 -- 64) : error 001: expected token: ",", but found "-identifier
-"
sh_MiRAGE.sma(59 -- 69) : warning 202: number of arguments does not match defini
tion
sh_MiRAGE.sma(59 -- 69) : error 001: expected token: ",", but found "public"
sh_MiRAGE.sma(59 -- 71) : error 029: invalid expression, assumed zero
Press any key to continue . . .


any ideas on what to edit
__________________
p4haze is offline
Send a message via ICQ to p4haze Send a message via AIM to p4haze Send a message via MSN to p4haze
p4haze
Member
Join Date: Aug 2004
Location: San diego, CA
Old 08-28-2004 , 04:02  
Reply With Quote #2

2nd error:
Small compiler 2.1.0 Copyright (c) 1997-2002, ITB CompuPhase

sh_Deathscythe.sma(30 -- 31) : error 001: expected token: ",", but found "-ident
ifier-"
sh_Deathscythe.sma(30 -- 35) : error 035: argument type mismatch (argument 4)
sh_Deathscythe.sma(30 -- 41) : error 035: argument type mismatch (argument 4)
sh_Deathscythe.sma(30 -- 42) : error 035: argument type mismatch (argument 4)
sh_Deathscythe.sma(30 -- 43) : error 035: argument type mismatch (argument 4)
sh_Deathscythe.sma(30 -- 46) : error 035: argument type mismatch (argument 4)
sh_Deathscythe.sma(30 -- 49) : error 035: argument type mismatch (argument 4)
sh_Deathscythe.sma(30 -- 51) : error 029: invalid expression, assumed zero
Press any key to continue . . .


what the
__________________
p4haze is offline
Send a message via ICQ to p4haze Send a message via AIM to p4haze Send a message via MSN to p4haze
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-28-2004 , 08:25  
Reply With Quote #3

look at the line numbers in the error.... then goto that line and fix it
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
p4haze
Member
Join Date: Aug 2004
Location: San diego, CA
Old 08-28-2004 , 09:20  
Reply With Quote #4

For example:

1#include <amxmod.inc> <-----This is error 001 line?
2#include <xtrafun>
3#include <superheromod.inc>
4
5// Deathscythe
6
7// CVARS

or

1#include <amxmod.inc>
2#include <xtrafun>
3#include <superheromod.inc>

4// Deathscythe

5// CVARS

1st or 2nd ? is that how you find a line error?
__________________
p4haze is offline
Send a message via ICQ to p4haze Send a message via AIM to p4haze Send a message via MSN to p4haze
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 08-28-2004 , 10:02  
Reply With Quote #5

use a real text editor that shows you line numbers
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 08-28-2004 , 14:18  
Reply With Quote #6

I can't find these heros and jtp is real busy with sh mod itself, post them and i'll see if I can clean up the compile errors out of them. All I need is their sma's.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
p4haze
Member
Join Date: Aug 2004
Location: San diego, CA
Old 08-28-2004 , 16:36  
Reply With Quote #7

Sure...thanks for taking the time in looking into this problem
__________________
p4haze is offline
Send a message via ICQ to p4haze Send a message via AIM to p4haze Send a message via MSN to p4haze
p4haze
Member
Join Date: Aug 2004
Location: San diego, CA
Old 09-06-2004 , 04:36  
Reply With Quote #8

Yet the last problem for my hero


sh_MiRAGE1.sma(4) : fatal error 100: cannot read from file: "superheromod.inc"

Compilation aborted.
1 Error.

what the
__________________
p4haze is offline
Send a message via ICQ to p4haze Send a message via AIM to p4haze Send a message via MSN to p4haze
Prowler
Senior Member
Join Date: Nov 2004
Old 09-06-2004 , 05:58  
Reply With Quote #9

you need an include folder, inside it needs to have all the includes (*.inc) from superheros and amx, also VexdUM
Prowler is offline
p4haze
Member
Join Date: Aug 2004
Location: San diego, CA
Old 09-06-2004 , 13:53  
Reply With Quote #10

the superhero.inc i had that in there, but yet it still gave me tha same error

sh_MiRAGE1.sma(4) : fatal error 100: cannot read from file: "superheromod.inc"

Compilation aborted.
1 Error.

Code:
#include <amxmod.inc> 
#include <xtrafun>
#include <Vexd_Utilities>
#include <superheromod.inc> 


// MiRAGE - You Will See Nothing

// CVARS
__________________
p4haze is offline
Send a message via ICQ to p4haze Send a message via AIM to p4haze Send a message via MSN to p4haze
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 00:36.


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