We NEED more developers!

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Alien » Wed Dec 24, 2008 8:49 am

Darkplaces (almost total rewrite of GPL'ed quake engine) is written in c. It has virtual machine builtin to emulate quakec. Quakec is basically a scripting language which was created for quake, but is generally suitable for any first person shooter. Quakec programs are compiled by quakec compiler into the intermediate format (similarly to java class). Nexuiz uses fteqcc compiler. There are three dat files produced (progs.dat - server logic, gameplay, physics; cprogs.dat - client rendering; menu.dat - self-explanatory).

Actually quakec used in Nexuiz (framework structure) lacks documentation, but all engine builtins which can be used from quakec are documented. Quakec documentation links div0 has already provided.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby theusurper » Wed Dec 24, 2008 11:30 am

ty.. for the info.. as i suspected quakec is similar to a scripting language.. :D
theusurper
Member
 
Posts: 20
Joined: Tue Dec 23, 2008 6:17 pm
Location: Bangalore, India

Postby theusurper » Thu Dec 25, 2008 9:28 am

unable to connect to irc.anynet.org .. unknown server ??
theusurper
Member
 
Posts: 20
Joined: Tue Dec 23, 2008 6:17 pm
Location: Bangalore, India

Postby ai » Thu Dec 25, 2008 11:36 am

theusurper wrote:unable to connect to irc.anynet.org .. unknown server ??

Try: irc.bluecherry.net
It's the same network (Anynet) just another adress.
ai
Forum addon
 
Posts: 2131
Joined: Sun Mar 05, 2006 3:54 pm
Location: Behind you

Postby theusurper » Thu Dec 25, 2008 5:49 pm

hey y do i get the followin error when i run fteqcc?

Code: Select all
Source file: progs.src
outputfile: ../../progs.dat
compiling ../common/util-pre.qh
compiling sys.qh
compiling builtins.qh
compiling extensions.qh
compiling constants.qh
compiling ../common/constants.qh
compiling ../common/util.qh
compiling ../common/items.qh
compiling defs.qh
compiling tturrets/include/turrets_early.qh
#message:  "with tZork turrets rc2"
compiling campaign.qh
compiling ../common/campaign_common.qh
compiling ../common/mapinfo.qh
compiling ../common/util.qc
compiling portals.qh
compiling g_hook.qh
compiling scores.qh
compiling ipban.qh
compiling race.qh
compiling keyhunt.qh
compiling antilag.qh
compiling vote.qh
compiling scores_rules.qc
compiling miscfunctions.qc
in function readplayerstartcvars (line 739),
miscfunctions.qc:914: warning: Expected punctuation
miscfunctions.qc:914: warning: Expected punctuation
miscfunctions.qc:914: error: type mismatch for & (float and __integer)
in function readlevelcvars (line 942),
miscfunctions.qc:943: error: Unknown value "g_bugrigs".
miscfunctions.qc:943: error: type mismatch for = (__variant and float)
in function precache (line 1149),
miscfunctions.qc:1247: error: Unknown value "precache_sound".
in function InitializeEntity (line 1464),
miscfunctions.qc:1472: warning: Return value conflict - output is likly to be invalid

************ ERROR ************
Errors have occured

Error in miscfunctions.qc on line 1751



it terminates all the time.. got fteqcc from nezuizninjaz site..
theusurper
Member
 
Posts: 20
Joined: Tue Dec 23, 2008 6:17 pm
Location: Bangalore, India

Postby theusurper » Thu Dec 25, 2008 5:50 pm

what i find reeally funny is tht there are only 1749 lines in miscfunctions.qc!!!!
theusurper
Member
 
Posts: 20
Joined: Tue Dec 23, 2008 6:17 pm
Location: Bangalore, India

Postby divVerent » Thu Dec 25, 2008 6:31 pm

You need to get a current build of fteqcc.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby theusurper » Fri Dec 26, 2008 7:31 am

frm the svn or the one from the sf site is fine?
theusurper
Member
 
Posts: 20
Joined: Tue Dec 23, 2008 6:17 pm
Location: Bangalore, India

Postby theusurper » Fri Dec 26, 2008 7:37 am

tried with the newest version i cld find same problem... wait where shld i copy the engine files to?
theusurper
Member
 
Posts: 20
Joined: Tue Dec 23, 2008 6:17 pm
Location: Bangalore, India

Postby [-z-] » Fri Dec 26, 2008 3:23 pm

theusurper wrote:frm the svn or the one from the sf site is fine?


SVN: https://fteqw.svn.sourceforge.net/svnro ... ine/qclib/

or builds here: http://users.tpg.com.au/users/moodles/
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron