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

I Spy (by JGHG) is not compiling


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Martel
Member
Join Date: Mar 2004
Old 03-19-2004 , 05:19   I Spy (by JGHG) is not compiling
#1

Well, I have a problem compiling I Spy by JGHG. But first things first - by reading the documentation I have found out that AMXX has vexd and xtrafun merged into it's engine and fun module. But there is no single mention of the jghg module. Is it included or not?

And now for the real problem. When I leave the headers of vexd, xtrafun and jghg in the source of I Spy i get:

Code:
martel@afs:~/hl2/cstrike/addons/amxx/scripting$ ./sc i_spy.sma
Small compiler 2.1.0            Copyright (c) 1997-2002, ITB CompuPhase

/home/martel/hl2/cstrike/addons/amxx/scripting/./include/xtrafun.inc(99) : error 017: undefined symbol "find_entity_by_target"
/home/martel/hl2/cstrike/addons/amxx/scripting/./include/xtrafun.inc(102) : error 035: argument type mismatch (argument 2)
/home/martel/hl2/cstrike/addons/amxx/scripting/./include/jghg.inc(24) : error 021: symbol already defined: "find_ent_by_owner"
i_spy.sma(289) : error 017: undefined symbol "CS_SetModel"
i_spy.sma(291) : error 017: undefined symbol "CS_SetModel"
i_spy.sma(478) : error 017: undefined symbol "CS_ClearModel"
i_spy.sma(576) : error 017: undefined symbol "CS_ClearModel"

7 Errors.
Seems like xtrafun is missing some of it's functions and what's moreover it seems like jghg is also not fully implemented (find_ent_by_owner is already defined but CS_SetModel set is not). What should I do to make it work?

Thanks in advance
Martel is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-19-2004 , 05:33  
#2

100% of jghg module is not in AMXX (engine), only some of it.
Also jghg2 module changed interface to plugins so I Spy needs to be rewritten...
Johnny got his gun is offline
Fant
Junior Member
Join Date: Mar 2004
Location: Russia, Novosibirsk
Old 03-19-2004 , 05:43  
#3

That about other plugins?
Fant is offline
Send a message via ICQ to Fant
Martel
Member
Join Date: Mar 2004
Old 03-19-2004 , 06:54  
#4

Thanks for the reply, Johhny.

But let me repeat the question. Is there any possibility I could make it work on my own? For example by modifying includes and function declarations or function executions in I spy? Or is it too complicated as some functions changed entirely? Form what you told me I assume that AMXX plus jghg2 shoud give me enough functions to do the job.

If it is in fact very complicated task could you please state if you are going to do it? And how much time it will possibly take?
Martel is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-19-2004 , 10:12  
#5

Released in plugins.
Johnny got his gun is offline
Martel
Member
Join Date: Mar 2004
Old 03-21-2004 , 04:05  
#6

Well, thanks Johnny, but it's still not working for me. Maybe I'm doing something wrong. It's my first try with AMXX (but again it doesn't look very different than AMX).

Code:
martel@afs:~/hl2/cstrike/addons/amxx/scripting$ ./sc ispy.sma
Small compiler 2.1.0            Copyright (c) 1997-2002, ITB CompuPhase

/home/martel/hl2/cstrike/addons/amxx/scripting/./include/xtrafun.inc(99) : error 017: undefined symbol "find_entity_by_target"
/home/martel/hl2/cstrike/addons/amxx/scripting/./include/xtrafun.inc(102) : error 035: argument type mismatch (argument 2)
ispy.sma(278) : warning 213: tag mismatch
ispy.sma(278) : warning 213: tag mismatch
ispy.sma(278) : warning 202: number of arguments does not match definition
ispy.sma(278) : warning 202: number of arguments does not match definition
ispy.sma(278) : warning 202: number of arguments does not match definition
ispy.sma(301) : error 017: undefined symbol "CS_SetModel"
ispy.sma(303) : error 017: undefined symbol "CS_SetModel"
ispy.sma(489) : error 017: undefined symbol "CS_ClearModel"
ispy.sma(587) : error 017: undefined symbol "CS_ClearModel"
Is it possible that I have some old xtrafun includes? I think I didn't overwrite them with amxes but I'll double check that. Nope, I didn't.

Does it compile ok for you, Johnny?
Martel is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-21-2004 , 04:20  
#7

Martel

http://forums.alliedmods.net/showthread.php?t=

that is the posted plugin by JGHG

Maybe try that, who knows, I cant really tell you where your going wrong but I suggest trying that.
__________________

BigBaller is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-21-2004 , 06:26  
#8

You need to update the include file, particularily the xtrafun.inc since 0.15 from the repository. http://www.tcwonline.org/cgi-bin/vie...clude/#dirlist
Johnny got his gun is offline
Martel
Member
Join Date: Mar 2004
Old 03-22-2004 , 03:16  
#9

I have updated all of the includes by now (to the CVS versions, of course). The problem with xtrafun vanished but unfortunately the one with CS_SetModel prevailed. Take a look:

Code:
martel@afs:~/hl2/cstrike/addons/amxx/scripting$ ./sc ispy.sma
Small compiler 2.1.0            Copyright (c) 1997-2002, ITB CompuPhase

ispy.sma(278) : warning 213: tag mismatch
ispy.sma(278) : warning 213: tag mismatch
ispy.sma(278) : warning 202: number of arguments does not match definition
ispy.sma(278) : warning 202: number of arguments does not match definition
ispy.sma(278) : warning 202: number of arguments does not match definition
ispy.sma(301) : error 017: undefined symbol "CS_SetModel"
ispy.sma(303) : error 017: undefined symbol "CS_SetModel"
ispy.sma(489) : error 017: undefined symbol "CS_ClearModel"
ispy.sma(587) : error 017: undefined symbol "CS_ClearModel"
What does the mismatched tag mean? The line 278 is as follows:

Code:
playersInVicinity = find_ent_sphere(0, spawnOrigin, vicinity, "player", entList, 0)
Maybe I have an old version of jghg2? Is there a most recent version anywhere in the CVS?

PS. BigBaller, I know, I'm already using the updated plugin.
Martel is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-22-2004 , 03:33  
#10

Maybe - you should get latest version from Modules forum. It also looks like you have an old version of I Spy.
Johnny got his gun is offline
Closed Thread



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 19:16.


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