Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 2 users and 159 guests online.

Online users

  • Gamcull
  • Drathmar

Languages

  • English English
  • French French

Browse archives

« May 2008  
Mo Tu We Th Fr Sa Su
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Home » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Sys_Get_Construction_Queue_Item_Upgrade_ID error...

Submitted by Gideon on Tue, 2007-12-04 01:24. SE:V MODs

From SE5_Script.pdf:

Sys_Get_Construction_Queue_Item_Upgrade_ID: long
queue_id: long
queue_item_id: long

This function returns the facility id of a construction queue item 
(if this construction queue item is a CONSTRUCTION_ITEM_TYPE_UPGRADE_FACILITY). 
The queue_id is the ID of the construction queue. The queue_item_id 
is the ID of the construction queue item.

When compiled as:

  queue_id:                  long
  queue_item_id:             long
  queue_item_specific_id:    long
...
  set queue_item_specific_id := Sys_Get_Construction_Queue_Item_Upgrade_ID(queue_id, queue_item_id)
...

Returns in the scriptparser:

====================================================
Errors
====================================================
Could not parse ... (line ####): Incorrect Parameter Type - string versus long.
Could not parse ... (line ####): 
Could not parse ... (line ####): Bad Set Declaration

Triple checked this, and it seems to want a string where one of the longs is supposed to be. My guess would be where queue_item_id is.

‹ GidMod, Status Update... User Input Commands ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Mod Designer

Re: Sys_Get_Construction_Queue_Item_Upgrade_ID error...

Submitted by unnamed on Thu, 2007-12-06 21:28.

Hey Gideon,

I had this type of error last week in my code. In 99% sure its not an error with the statement but a problems with extra if statements or extra endifs at some point prior to that section of code. I never rooted at the exact culprit. I had done extensive changes at work and brought the code home (dont have email, SE5, or log in ability for spaceempires5.com at work). So I had to take an old version and add in the changes piece meal. Only way I got around it. So I guess my suggestion is check for extra endif s or something.

-Unnamed

Unnamed Mod

» login or register to post comments
Mod Designer

Re: Sys_Get_Construction_Queue_Item_Upgrade_ID error...

Submitted by Gideon on Fri, 2007-12-07 11:40.

unnamed wrote:
Hey Gideon,

I had this type of error last week in my code. In 99% sure its not an error with the statement but a problems with extra if statements or extra endifs at some point prior to that section of code. I never rooted at the exact culprit. I had done extensive changes at work and brought the code home (dont have email, SE5, or log in ability for spaceempires5.com at work). So I had to take an old version and add in the changes piece meal. Only way I got around it. So I guess my suggestion is check for extra endif s or something.

-Unnamed

Nope. I really did triple check this. No extra endifs. No extra anythings. It just returns this error.

"Only by being constantly at war with evil in all things, including yourself, can you truely know peace."
Download my mod here: GidMod

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • Defence vs. Attack and other Combat related questions...
  • Sphärenwelt
  • Why Retrofit is limited to +50% per order?
  • Babylon 5 Wars SEV Mod Update
  • Balance Mod Neutral Races

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • Dynamic Crew Requirements question
  • version upgrade 1.71
  • Balance Mod Neutral Races
  • AI Concern
  • Evilhamburger's EvilMod
(c) Strategy First, Inc. All rights reserved.