Author Topic: Argument type mismatch  (Read 2335 times)

0 Members and 1 Guest are viewing this topic.

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Argument type mismatch
Quote
Error: Argument type mismatch.

In sexpression: ( and
   ( is-destroyed-delay 21 "Aquarius 3" )
   ( is-destroyed-delay
      ( rand 5 21 )
      "Scorpio"
   )
)
(Error appears to be: rand)
File:D:\FSO\fs2_open\code\Mission\MissionParse.cpp
Line: 4168

Call stack:
------------------------------------------------------------------
    parse_mission()    parse_main()    mission_load()    game_start_mission()    game_enter_state()    gameseq_set_state()    game_process_event()    gameseq_process_events()    WinMainSub()    WinMain()    WinMainCRTStartup()    kernel32.dll 77e814c7()
------------------------------------------------------------------


I updated my CVS and got this when playing the last mission, has somone done something to the rand fuction or something as anything with rand in the last mission, I have herd of similar errors from other people, as far as I know this wasn't there before I updated
actualy I just checked the copy I made just prior to updateing and it doesn't come up, so this is defenantly a recent (as in the last 8 days) thing
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
That's my fault - sort of.  It comes from trying to incorporate signed numbers into what was previously a 100% unsigned sexp model.

I'll see what I can do.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Fixed, but I can't CVS it until warpcore comes back online.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
i committed something two hours ago or so
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Odd... my CVS won't connect.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
neither will mine, though it did earlier
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
cvs is working for the moment...
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together