Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
1 Active | 46 Guests
Online:

LATEST FORUM THREADS

»
re: enabling cheats on Eli...
Star Trek Voyager: Elite F...
Using Teamspeak
Teamspeak Servers
eXtreme+ v2.9
CoDBO Map + Mod Releases

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: AWE 3.4.2 Server side files
Leal
General Member
Since: Feb 5, 2010
Posts: 196
Last: Aug 17, 2013
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 10:48 am
Hi all,

I'm getting a problem with the server side files of AWE 3.4.2. At default when you download this version of AWE you have the serverside file "z_awe_svr_3.4.2.iwd" and the client part "a0.iwd". But I want to have the server side part out of the "z_awe_svr_3.4.2.iwd", in separated folders, so I take them out from the .iwd.

Before with the .iwd as server side part, the server started without problems, but now when the server side part is in folders, I get many "script compile error"s, if I comment the script parts of the error out I get a new error, and this seems to never end.

Here the first error:

Quote:
******* script compile error *******
unknown function: (file 'awe/_weapons.gsc', line 1383)
if ((level.awe_gametype == "vip") && (self maps\mp\gametypes\vip::IsVIP ()) && level.vippistol)
*
************************************


And when I comment the "if" out I get this new error:

Quote:
******* script compile error *******
unknown function: (file 'awe/_clan.gsc', line 25)
if ((level.awe_gametype == "vip") && (self maps\mp\gametypes\vip::IsVIP ()))
*
************************************


Again the same and:

Quote:
******* script compile error *******
unknown function: (file 'awe/_parachute.gsc', line 75)
spawnpointname = maps\mp\gametypes\esd::getSpawnpointname (self.pers["team"]);
*
************************************


I dont know what is happening, I only took the folders out of the server side file ".iwd", for making it easier to edit the scripts, but I then im getting this errors here :S.

Hope someone could help me =)

Greetings,
Leal

edited on Aug. 31, 2010 01:49 pm by Leal

edited on Aug. 31, 2010 01:50 pm by Leal
Share |
Leal
General Member
Since: Feb 5, 2010
Posts: 196
Last: Aug 17, 2013
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 11:10 am
If i run the server in "vip" gametype, I get this error, maybe it says you something:

Quote:
********************
ERROR: Could not find label 'main' in script 'maps/mp/gametypes/vip'
********************
Share |
cresuso
General Member
Since: Aug 29, 2009
Posts: 51
Last: Apr 14, 2011
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 02:15 pm
What you might do is this :

Let an iwd with maps\mp\gametypes\vip.gsc file and edit that file to be :


main()
{
thread maps\mp\gametypes\_vip::main();
}

of course rename maps\mp\gametypes\vip.gsc to maps\mp\gametypes\_vip.gsc on server side.
Share |
Leal
General Member
Since: Feb 5, 2010
Posts: 196
Last: Aug 17, 2013
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 02:23 pm
When I do it it jumps to this error:

Quote:
******* script compile error *******
unknown function: (file 'awe/_parachute.gsc', line 75)
spawnpointname = maps\mp\gametypes\esd::getSpawnpointname (self.pers["team"]);
*
************************************


Anyway, if i do the same with "esd" gametype, this is error is given.

Although AWE already have a file of this type in the client side, but if you open it there is no text.

edited on Aug. 31, 2010 05:23 pm by Leal
Share |
cresuso
General Member
Since: Aug 29, 2009
Posts: 51
Last: Apr 14, 2011
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 02:25 pm
You mean that esd file is empty ?

If so, then thats the problem...Some functions can't be found when they are called in _parachute.gsc.

Try to find that esd gsc or comment that line.
Share |
Leal
General Member
Since: Feb 5, 2010
Posts: 196
Last: Aug 17, 2013
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 02:41 pm
But when I make this

Quote:
main()
{
thread maps\mp\gametypes\_vip::main();
}


with the "esd" gametype, the error appears also (changing vip to esd).

edited on Aug. 31, 2010 05:41 pm by Leal
Share |
cresuso
General Member
Since: Aug 29, 2009
Posts: 51
Last: Apr 14, 2011
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 02:42 pm
cresuso writes...
Quote:
Try to find that esd gsc or comment that line.
Share |
Leal
General Member
Since: Feb 5, 2010
Posts: 196
Last: Aug 17, 2013
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Tuesday, Aug. 31, 2010 02:54 pm
This is not the solution, the problem is something other, because:

1º: Running the server in vip gametype, having comment out the line which contains the error, and making the process of "main(){thread maps\mp\gametypes\_vip::main();}", i get this error:

Quote:
******* script compile error *******
unknown function: (file 'awe/_svr_utils.gsc', line 298)
level maps\mp\gametypes\esd::updateTeamStatus();
*
************************************


2º. Running the server in tdm, with the changes i did on 1º, i get again this error like at the begining:

Quote:
******* script compile error *******
unknown function: (file 'awe/_weapons.gsc', line 1383)
if ((level.awe_gametype == "vip") && (self maps\mp\gametypes\vip::IsVIP ()) && level.vippistol)
*
************************************


So i dont know what is happening, and i repeat, at the begining i didnt change any file, i only took the folders out of the server side .iwd, and deletet the .iwd, and runing the server with an .iwd as server part the server dont get any error...

edited on Sep. 1, 2010 01:30 am by Leal
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»