Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Source Code Project > Design: New SLIC functions
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread   
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 16-01-2005 02:56 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
Browse Apolyton AD-FREE

D'oh got add slave working only problem is that it gives you one slave and also a pop.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 16-01-2005 03:04 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by The Big Mc
D'oh got add slave working only problem is that it gives you one slave and also a pop.


And what's the code?

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 16-01-2005 03:27 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Full PM-box? Change here!

there’s a problem after 7 to 9 turns the game spontaneously crashes. However I don't know if this is because of my add slave function or something that gets don’t by something I meddled with within my code.. the wired thing is it those not mater if I add 1 slave or 5 it always crashes around there.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 16-01-2005 03:41 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by The Big Mc
there�s a problem after 7 to 9 turns the game spontaneously crashes. However I don't know if this is because of my add slave function or something that gets don�t by something I meddled with within my code.. the wired thing is it those not mater if I add 1 slave or 5 it always crashes around there.


Anyway I would still like to see the code. And of course the part of the log preceeding the crash.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 16-01-2005 03:48 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Increase the size of your Attachments

for slicfunc.cpp

code:
SFN_ERROR Slic_Addslaves::Call(SlicArgList *args) { if(args->m_numArgs != 2) return SFN_ERROR_NUM_ARGS; Unit city; BOOL res; res = args->GetCity(0, city); if(!res) { return SFN_ERROR_TYPE_ARGS; } sint32 count; if(!args->GetInt(1, count)) return SFN_ERROR_TYPE_ARGS; city = g_slicEngine->GetContext()->GetCity(0); if(!g_theUnitPool->IsValid(city)) { return SFN_ERROR_OK; } MapPoint pos; city.GetPos(pos); sint32 i; if(count > 0) { for (i=0; iChangePopulation(1); int owner = city.CD()->GetOwner(); city.CD()->AddSlaveBit(owner); city.CD()->ChangeSpecialists(POP_SLAVE, 1); } } else { for(i = count; i < 0; i++) { } } sint32 delta_martial_law; CityData *cd = city.GetData()->GetCityData(); cd->GetHappy()->CalcHappiness(*cd, FALSE, delta_martial_law, TRUE); return SFN_ERROR_OK; }

and slcifunc.h
code:
SLICFUNC(SFR_INT, Addslaves);

there it is. i compiled it to test it on the actoscrap original.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 16-01-2005 04:08 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#36 Report this post to a moderator
Support Apolyton

Well one thing I wonder is why it returns SFN_ERROR_OK if the city is invalid. The other thing is why do you add always a pop when you just want to add a slave and what should the empty for loop if the given count is negative, I think there are times when you want to remove one but not all slaves. And actual what do you want with the for loops at all, the ChangeSpecialists function also accepts other values then 1 even negative values. And another thing is, that the slic function should also have a third parameter that gives the POP_TYPE. POP_TYPE is an enum and here it is:

code:
enum POP_TYPE { POP_WORKER, POP_SCIENTIST, POP_ENTERTAINER, POP_FARMER, POP_LABORER, POP_MERCHANT, POP_SLAVE, POP_MAX };


Each element it is numbered the first is 0 and the following is one bigger so your slave has the number 6. Of course you should check whether your third parameter is out of range. Well of course in this case it would be a ChangeSpecialist function.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 16-01-2005 20:26 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#37 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

I re looked at my code and cut out a lot of the rubbish.


code:
SFN_ERROR Slic_Addslaves::Call(SlicArgList *args) { if(args->m_numArgs != 2) return SFN_ERROR_NUM_ARGS; Unit city; BOOL res; res = args->GetCity(0, city); if(!res) { return SFN_ERROR_TYPE_ARGS; } sint32 count; if(!args->GetInt(1, count)) return SFN_ERROR_TYPE_ARGS; city = g_slicEngine->GetContext()->GetCity(0); if(count > 0) { city.CD()->ChangePopulation(count); city.CD()->ChangeSpecialists(POP_SLAVE, count); } return SFN_ERROR_OK; }



However it still causes a crash.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 16-01-2005 21:40 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#38 Report this post to a moderator
Support Apolyton

quote:
Originally posted by The Big Mc
However it still causes a crash.


And it is still not as universal as I suggested. You still add a pop at the same time, you have a slic function that does this. And I still cannot decide which kind of pop I like to change.

Well and now come to your problem, why do you assign a city again, even if you already got that city from the parameters, espeacilly, if you give that city a zero argument.

And another thing for namings of functions. It is easer to see what the function is called if you use: Slic_AddSlaves instead of Slic_Addslaves or should I pick a meaning: Slic_AddsLaves?

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 16-01-2005 21:50 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#39 Report this post to a moderator
Got spare money?

I do not do camel case

as for adding a pop before making it into a slave you have to or you get an error massage.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 16-01-2005 22:44 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#40 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by The Big Mc
I do not do camel case


First question is why, espeacilly all the others are like that?
Second question is then why using capitals at all?
Third questions why no underscores then?

quote:
Originally posted by The Big Mc
as for adding a pop before making it into a slave you have to or you get an error massage.


So what is the error message your adds laves function produces then? I mean there must be a reason for it.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 17-01-2005 00:24 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#41 Report this post to a moderator
Support Apolyton buy from Amazon

The error massage.
debug assertion failed!

Expression: workercount() >= delta

it goes on to point out this section of code





code:
void CityData::ChangeSpecialists(POP_TYPE type, sint32 delta) { Assert(type != POP_WORKER); if(type == POP_WORKER) return; if(delta > 0) { Assert(WorkerCount() >= delta); if(WorkerCount() < delta) return; } else if(delta < 0) { Assert(SpecialistCount(type) + delta >= 0); if(SpecialistCount(type) + delta < 0) return; } m_numSpecialists[POP_WORKER] -= (sint16)delta; m_numSpecialists[type] += (sint16)delta; if(type == POP_SLAVE) { if(m_numSpecialists[POP_SLAVE] <= 0) m_slaveBits = 0; } AdjustSizeIndices(); if(g_network.IsHost()) { g_network.Block(m_owner); g_network.Enqueue(this); g_network.Unblock(m_owner); } else if(g_network.IsClient()) { if(this == m_home_city.CD()) { g_network.SendAction(new NetAction(NET_ACTION_SET_SPECIALISTS, m_home_city.m_id, type, m_numSpecialists[type])); } } }

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 17-01-2005 00:33 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#42 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
Originally posted by The Big Mc
The error massage.
debug assertion failed!

Expression: workercount() >= delta

it goes on to point out this section of code


Well that looks like you have to do first a range check, whether there are enough workers to turn into specialists. That's of course done in the slic function once you have retrieved the count value. And I thing you should give them an out of range error if there are not enough workers.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 17-01-2005 00:42 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#43 Report this post to a moderator
Lose 30 kilos (of popups)

but martin as you point out a always add a worker before converting them into a slave.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 17-01-2005 17:23 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#44 Report this post to a moderator
Get a bigger avatar today!

quote:
Originally posted by The Big Mc
but martin as you point out a always add a worker before converting them into a slave.


Of course it should work afterwards you changed it according to my advice in the post after the code of the last version. But I don't think this function is very useful.

1st: It is limited to slaves.
2nd: It also adds a pop point, even if I don't want to add an pop point at the same time.
3rd: I cannot remove with it a slave.

With my suggestions you don't have these limitations. But of course if you don't add at the same time a pop you have to check whether there are enough workers for slave convertion first. And if you want to remove some specialist you have to be sure that there are not less specialists you want to remove. The way to check this is given in the ChangeSpecialists function.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 17-01-2005 23:55 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#45 Report this post to a moderator
Support Apolyton buy from Amazon

Martin I understand you point but slaves are used in a different way to specialist.

A newbie on the slic front will look for an addslave function to add or remove a slave.

However the next function I will do is a change specialist which I will be able to do very fast ones I nailed the problem in the add slave function or I made modify this one. But you can’t expect me to learn the ways of the source with a foot long section of code as easy as a 5 liner.

As for my problem it starts when the city adds a pop by growing (but not it seams when the cheat mode ads one).

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 18-01-2005 17:12 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#46 Report this post to a moderator
Support Apolyton, buy Call to Power 2

quote:
Originally posted by The Big Mc
Martin I understand you point but slaves are used in a different way to specialist.

A newbie on the slic front will look for an addslave function to add or remove a slave.


Maybe from the player's point of view, but from the game mechanics point of view I don't see a difference. And your function can't remove any slave. By the way you also need a function that tells you how many specialists a city has engaged.

quote:
Originally posted by The Big Mc
However the next function I will do is a change specialist which I will be able to do very fast ones I nailed the problem in the add slave function or I made modify this one. But you can’t expect me to learn the ways of the source with a foot long section of code as easy as a 5 liner.

As for my problem it starts when the city adds a pop by growing (but not it seams when the cheat mode ads one).


Does the problem occur when you use your function or does it occur when the city grows? However your function still contains a problem you have to remove.

I don't quote the line you have to find it on your own. But with the following description it shouldn't be a problem. Once you have retrieved the city and the count variables from the slic function argument list, you try again retrieve the city, but this time from the slic context. A very bad idea as you overwrite the city given from the parameter list, and espeacilly if your slic context does not contain any city. In this case the game crashes when you try to access the city's data.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 19-01-2005 19:18 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#47 Report this post to a moderator
Avatar Enlargement: We've got the solution

code:
SFN_ERROR Slic_Addslaves::Call(SlicArgList *args) { if(args->m_numArgs != 2) return SFN_ERROR_NUM_ARGS; Unit city; BOOL res; res = args->GetCity(0, city); if(!res) { return SFN_ERROR_TYPE_ARGS; } sint32 count; if(!args->GetInt(1, count)) return SFN_ERROR_TYPE_ARGS; city.CD()->ChangePopulation(count); city.CD()->ChangeSpecialists(POP_SLAVE,count); return SFN_ERROR_OK; }


The cod works as I said martin the second a city grows by way of food growth ctp pulls a wobblier and crashes.


If you will could you try this code in you version of the code and compile it yours may be more unto date then mine.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 19-01-2005 19:53 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#48 Report this post to a moderator
Remove this text

quote:
Originally posted by the The Big Mc
If you will could you try this code in you version of the code and compile it yours may be more unto date then mine.


Well not today. At the week end would be better.

Well actual the function looks good now, but I guess you have for the slaves to set the slave bit. Well and in this case I would model the function like the adds pop function. Actual the only change between an AddSlaves and an AddPops function is that it gets an additional player argument that is passed to the MakePop event call. You can find an instance of it with an slave added in the EnslaveSettlerEvent. Interestingly the slave's original nationality is stored, well actual it is only that the city has a slave from that nation. And I think we should leave the empty for loop in, as there should actual the kill pop event into it.

And by the way if you need some information about what kind of s!*+ happened use the logs that are generated in the ..\ctp2_code\ctp\logs\ directory. The log files may catch the last Assert that is not catched by the windows popup window, nut that is the one you are looking for.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 20-01-2005 02:11 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#49 Report this post to a moderator
Increase Your PM Length

add and remove slaves (got to rename the function now.)

code:
SFN_ERROR Slic_Addslaves::Call(SlicArgList *args) { if(args->m_numArgs != 2) return SFN_ERROR_NUM_ARGS; Unit city; BOOL res; res = args->GetCity(0, city); if(!res) { return SFN_ERROR_TYPE_ARGS; } sint32 count; if(!args->GetInt(1, count)) return SFN_ERROR_TYPE_ARGS; if(count < 0 ){ if(-city.CD()->SlaveCount() >= count){ count = 0-city.CD()->SlaveCount(); } city.CD()->ChangeSpecialists(POP_SLAVE,count); city.CD()->ChangePopulation(count); }else if(count>0){ city.CD()->ChangePopulation(count); city.CD()->ChangeSpecialists(POP_SLAVE,count); } return SFN_ERROR_OK; }

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 20-01-2005 03:48 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#50 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
Originally posted by The Big Mc
add and remove slaves (got to rename the function now.)


Actual my intention was to lead you to a more generic ChangeSpecialists slic function, but as I now think that there are also some differences between slaves and the other specialists. The best is to keep that you have in your post before your last post as a base for such a function and start on the base of the AddPops slic function.

Actual there should only two modification:

1st: An additional input argument - the slave's original nationality
2nd: An additional argument to the MakePop event that is the slave's orginal nationality. An instance as I have told you in my last post can be found in the EnslaveSettlerEvent. Search for that in the entire source code! And then you shouldn't experiment any crashes anymore.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 20-01-2005 05:22 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#51 Report this post to a moderator
Support Apolyton buy from Amazon

I am going to add the addslavebit which requires the previous slave owner. As for this function if I can stop it crashing then to me it’s finished it adds and removes slaves which is what I set out to do. After this I will create a change specialist function.

In the mean time I am still trying to find out how the enslavement order works.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 21-01-2005 23:53 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#52 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:
Originally posted by The Big Mc
I am going to add the addslavebit which requires the previous slave owner. As for this function if I can stop it crashing then to me it�s finished it adds and removes slaves which is what I set out to do.


Actual this is very simple we know that the AddPops function works, and we know that the MakePop event works without crash, whether it adds a simple pop or a slave. So the idea is that you take the AddPops function modify it so that it takes a third argument - a player, and pass this argument to the MakePop event. To figure out how to make the MakePop event add a slave you figuere out how they used it in the EnslaveSettlerEvent. All you have to do is to find it in the source code. I gave you the string to look for and you have the text in file search function of your OS.

-Martin

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:16
  Old Post 22-01-2005 05:55 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#53 Report this post to a moderator
Support Apolyton

Martin I did examine the part of the code and the only difference is that mine at this point toes not modify the slave bit but even with the function the game still crashes.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 22-01-2005 20:17 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#54 Report this post to a moderator
Inflate your Upload Space

Actual my idea was that the MakePop event itsself is the problem if it is missing. It does all the necessary stuff that is needed to add a pop without any problems, like crashes. So why bothering with all the stuff. And the other advance is that it also can be dected by the slic engine so that it can be dected by code that should act whenever a slave is added.

-Martin

tombom is offline tombom
Chieftain
Pining for the fjords
Oct 2004
time: 05:16
  Old Post 23-01-2005 18:18
Edit/Delete Message Reply w/Quote
#55 Report this post to a moderator
Suffering from ads?

I know this is the wrong place to put this, and I know this wouldn't be useful, but would this add a "to the power of" operator?

In SlicFrame.cpp after SOP_MULT in DoInstruction:

code:
case SOP_EXP: sp = m_stack->Pop(type1, sval1); Assert(sp >= 0); sp = m_stack->Pop(type2, sval2); Assert(sp >= 0); sval3.m_int = Eval(type2, sval2) ^ Eval(type1, sval1); m_stack->Push(SS_TYPE_INT, sval3); break;


And in slic.y:
code:
expression: expression '+' expression { slicif_add_op(SOP_ADD); } | expression '-' expression { slicif_add_op(SOP_SUB); } | expression '*' expression { slicif_add_op(SOP_MULT); } | expression '^' expression { slicif_add_op(SOP_EXP); }


With the bolded bit showing my addition.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 23-01-2005 18:24 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#56 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by tombom
I know this is the wrong place to put this, and I know this wouldn't be useful, but would this add a "to the power of" operator?


Not quite - there are (at least) two problems with this.

Fisrtly, the '^' operator in C++ does bitwise XOR, not exponentation - you'll have to call some library function in SlicFrame.cpp to get exponentation.

Secondly, in slic.y you'll also need to specify the associativity and precedence of the new operator otherwise you'll get a slew of shift-reduce conflicts when yacc processes the parser. You might well have to change the lexer too. I don't have access to the source right now so I can't give any more details.

tombom is offline tombom
Chieftain
Pining for the fjords
Oct 2004
time: 05:16
  Old Post 23-01-2005 18:36
Edit/Delete Message Reply w/Quote
#57 Report this post to a moderator
Support Apolyton

Thanks for that. Do you think this will work?

For the first one:

code:
case SOP_EXP: sp = m_stack->Pop(type1, sval1); Assert(sp >= 0); sp = m_stack->Pop(type2, sval2); Assert(sp >= 0); sval3.m_int = pow(Eval(type2, sval2), Eval(type1, sval1)); m_stack->Push(SS_TYPE_INT, sval3); break;

With #include math.h at the top as well.

And then:
code:
%left '*' '/' '%' %left '**'

at the top of slic.y.

code:
expression: expression '+' expression { slicif_add_op(SOP_ADD); } | expression '-' expression { slicif_add_op(SOP_SUB); } | expression '*' expression { slicif_add_op(SOP_MULT); } | expression '**' expression { slicif_add_op(SOP_EXP); }

Where the second bit was.

I checked the lexer, as far as i can see you don't need anything.

Last edited by tombom on 23-01-2005 at 19:16

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 23-01-2005 21:00 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#58 Report this post to a moderator
Help yourself to an AD-FREE life

Well, I'm no expert on the libraries (and I still can't look right now), but I think that pow function might be for doubles, rather than ints. This isn't a huge probelm, but it would be better to use one for ints if possible.

You'll also need to add SOP_EXP to the enumeration of SLIC operators somewhere.

Otherwise, I see no obvious problems. I'm not sure if yacc can cope with multi-character tokens like '**', but it may well. Of course, you can keep the SLIC operator called '^' if you want - just because it means something else in C++ is no reason not to use it for exponentation in SLIC (I doubt we'll ever want bitwise XOR in SLIC, but then again, you never know...).

tombom is offline tombom
Chieftain
Pining for the fjords
Oct 2004
time: 05:16
  Old Post 23-01-2005 22:45
Edit/Delete Message Reply w/Quote
#59 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Thanks for your help.

One problem I'm running into now is that I have no idea how to set the ACTIVISION_ORIGINAL thing in the .y files. Martin's changes have this around them with no problems, but I can't get it to work.

Attached is the untested code without ACTIVISON_ORIGINAL. ^ is the operator.

Last edited by tombom on 23-01-2005 at 23:07

tombom is offline tombom
Chieftain
Pining for the fjords
Oct 2004
time: 05:16
  Old Post 23-01-2005 23:10
Edit/Delete Message Reply w/Quote
#60 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Here is the file since you can't attach something when editing. Sorry for this DP.

Attachment: slic.zip
This has been downloaded 1 time(s).

 
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0740 seconds (93.26% PHP - 6.74% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net