Page 1 of 1

Error when i compile it

Posted: Sat Apr 28, 2007 2:23 pm
by DynamiteN
Hi ..
when i compile the .sma file i downloaded from this forum
i get this message:

Error: Array must be indexed (variable "bDwarfAmmo") on line 6379

Could sombody plzz tell me whats wrong.. ????

Posted: Sun Apr 29, 2007 6:04 am
by priedzza
I almost have the same error when i try to compile, take a look

error 033: array must be indexed (variable "bDwarAmmo")

so any ideas ?

Posted: Sun Apr 29, 2007 6:50 am
by DynamiteN
Yeah i founded this ..
viewtopic.php?t=1245
but it didnt work for me either
BUT...

when you change that line to

Code: Select all

if(is_user_connected(id) && is_valid_ent(iParm[2]))[Code]

Then i change where it says [color=red]"(id)"[/color] To [color=red](1)[/color]

and that just seemed to work alright .. 
if it workas 100% i dont know bt it to works a little 
i would say it works at least 70% :)

Because i dont know how that race ingame should be ..  ....

but it do works anyway 
It has to do whit the "dwarf" race 
its when you reload thats what that is about  :wink: 

Hope sombody made any sense of my words ...  :wink:

Posted: Sun Apr 29, 2007 7:24 am
by ferret
Use the latest SMA from the CVS.

viewtopic.php?t=24

This fix and a few others are included. You must recompile the plugin then copy it from scripts/compiled to plugins/ beforee it'll work.

Posted: Sun Apr 29, 2007 7:25 am
by DynamiteN
ferret wrote:Use the latest SMA from the CVS.

viewtopic.php?t=24

This fix and a few others are included. You must recompile the plugin then copy it from scripts/compiled to plugins/ beforee it'll work.
yeah .. well ..

that link dosent work for me ... :(

Posted: Sun Apr 29, 2007 7:40 am
by priedzza
Yeah, doesnt work for me either shows cvs not found!
The wrong path for this repository was configured, or the server on which the CVS tree lives may be down. Please try again in a few minutes.Python Traceback

Traceback (most recent call last):
File "/usr/appdb/viewvc-1.0.3/lib/viewvc.py", line 3629, in main
request.run_viewvc()
File "/usr/appdb/viewvc-1.0.3/lib/viewvc.py", line 234, in run_viewvc
raise debug.ViewVCException(
ViewVCException: ViewVC Unrecoverable Error: cvs not found!
The wrong path for this repository was configured, or the server on which the CVS tree lives may be down. Please try again in a few minutes.





the cvs web isnt working

Posted: Mon Apr 30, 2007 10:16 am
by YamiKaitou

Posted: Mon Apr 30, 2007 11:22 am
by DynamiteN
..yeah.. right ..
could u plzz tell me what i am suppose to look for there .. ?? :)

Posted: Mon Apr 30, 2007 11:27 am
by YamiKaitou
download the tarball in the scripting folder, then extract the tarball to the place where you compile your plugins, then compile it and place the compiled file in the plugins folder on your server

Posted: Mon Apr 30, 2007 1:14 pm
by priedzza

Posted: Mon Apr 30, 2007 2:12 pm
by DynamiteN
YamiKaitou wrote:download the tarball in the scripting folder, then extract the tarball to the place where you compile your plugins, then compile it and place the compiled file in the plugins folder on your server
okeyy..
but what exactly os it for ...
i mean what does it do .. ???? :oops:

Posted: Mon Apr 30, 2007 2:57 pm
by YamiKaitou
Haven't a clue. I suggest rereading this topic. All I did was just post the correct CVS link

Posted: Tue May 01, 2007 7:52 am
by priedzza
Eh, compiling now is ok i donwloaded the newest .sma from those cvs but im getting just 4 original races, i want expended.. so i gotta change a line in that .sma or look for a expanded .sma?

Posted: Tue May 01, 2007 9:51 am
by ferret
Do you have a warcraft3.cfg? Change the values there. You shouldn't need to edit the sma, all the options are in the seperate file, it gets included.

Posted: Tue May 01, 2007 11:15 am
by DynamiteN
well its worked ok for me now so..
thanks all for the help :)