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

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 2 utilisateurs et 120 invités en ligne.

Utilisateurs en ligne

  • Ender
  • Firzen_Zero

Languages

  • English English
  • French French

Parcourir les archives

« August 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
Accueil » news » forums » Support & Feedback » Scenarios & Mods » SE:V MODs

Sys_Get_Construction_Queue_Item_Upgrade_ID error...

Soumis par Gideon le Mar, 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 ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.
Mod Designer

Re: Sys_Get_Construction_Queue_Item_Upgrade_ID error...

Soumis par unnamed le Jeu, 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

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Sys_Get_Construction_Queue_Item_Upgrade_ID error...

Soumis par Gideon le Ven, 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

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

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

Contenu populaire

Aujourd'hui :

  • Babylon 5 Wars SEV Mod Update
  • Proposed massive AI mod
  • Combat Morale Trait
  • Gritty Galaxy Fleet Clash
  • Wouldnt it be cool to have a Halo Shipset?

Depuis toujours :

  • 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

Dernier accès :

  • Strange feeling about the game
  • Happiness System Overhaul - suggestions?
  • Enemy population on my planets
  • The Ancient Race trait horribly unbalanced
  • Did someone delete the memory sight thread?
(c) Strategy First, Inc. All rights reserved.