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 3 users and 131 guests online.

Online users

  • Shrike
  • ForesterSOF
  • p3 d

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_Set_AI_Storage_Long Problems

Submitted by unnamed on Sun, 2008-01-06 23:08. SE:V MODs

Hey Everyone,

Wrote some code for my AI trying to save treaty status for use in future turns.

Used Sys_Set_AI_Storage_Long to save the value and Sys_Get_AI_Storage_Long to retrieve the value. Its not working properly and I'm wondering if there are any known problems with these functions.

I've looked at the debug logs and it clearly shows saving the data one turn, but the next turn it pulls a value of zero.

-Unnamed

‹ Dark Nova 5 Progress Component tech requirement normal increase other than 1 ›
» 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.
Captain Kwok's picture
Mod Designer

Re: Sys_Set_AI_Storage_Long Problems

Submitted by Captain Kwok on Mon, 2008-01-07 10:43.

Are you certain you're returning the same memory element as you saved to?

Saving a value has 4 parameters:
Player ID - Element Index - List Index - Value to store at that list index

Calling a value has 3 parameters:
Player ID - Element Index - List Index

You might be recalling the wrong list index?


Space Empires Depot | SE:V Balance Mod

» 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:

  • Balance Mod v0.95 Available...
  • Galactic History: Tau Empire
  • Space Empires V Deutsch
  • Starbase Shipyard question
  • DOH!!!!
(c) Strategy First, Inc. All rights reserved.