Welcome, Guest. Please login or register.

What openbor you prefer: Double dragon,battletoads or final fight !? by lirexpatrio
[December 07, 2012, 07:15:27 pm]


what are your favorite games OpenBOR?! by lirexpatrio
[December 07, 2012, 07:09:46 pm]


Post Some Awesome Videos by maxman
[December 07, 2012, 05:51:39 pm]


Can @cmd playmusic "aaaa" 1 also increse music sound ? by BeasTie
[December 07, 2012, 05:24:38 pm]


Streets of Rage: Silent Storm by mtrain
[December 07, 2012, 03:45:05 pm]


Site will be down for maintenance on 12/8/2012 thru 12/10/2012 by Damon Caskey
[December 07, 2012, 07:42:42 am]


Cancelled SOR 3d Remake by riccochet
[December 07, 2012, 03:58:33 am]


Dungeon Fighter: B.O.R. by msmalik681
[December 07, 2012, 03:24:27 am]


[TUTORIAL] How to create 4 Games of OpenBOR in 1 CD (650 MB) by magggas
[December 06, 2012, 09:46:25 pm]


custknife by Bloodbane
[December 06, 2012, 09:34:09 pm]


blockfx help by B.Kardi
[December 06, 2012, 04:09:14 pm]


street of age 4 hd by corradlo
[December 06, 2012, 01:41:36 pm]


ClaFan - Classic Fantasy ver 1.17 by soniczxblade
[December 06, 2012, 05:01:20 am]


Bug Archive by Bloodbane
[December 06, 2012, 02:00:44 am]


"Bio-Doom" and "Gears of Doom" by BulletBob
[December 05, 2012, 10:07:21 pm]


Contra Locked 'N' Loaded v2 by Bloodbane
[December 05, 2012, 09:39:43 pm]


Downloadable OpenBoR Manual by BeasTie
[December 05, 2012, 08:31:24 pm]


Having trouble testing changes by B.Kardi
[December 05, 2012, 03:05:53 pm]


DragonBall Absalon by msmalik681
[December 05, 2012, 02:52:13 pm]


[Hi-Res] Swamp by Vibrant
[December 05, 2012, 10:47:14 am]


  • Dot Guests: 159
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.



Author Topic: error loading saved game  (Read 740 times)

0 Members and 1 Guest are viewing this topic.

Offline cuchara

  • Jr. Member
  • **
  • Posts: 95
error loading saved game
« on: July 04, 2012, 04:17:08 pm »
when I want to load a saved game on OpenBOR v3.0 Build 3710 and OpenBOR v3.0 Build 3711

openbon suddenly close up, in log text says this:

********** An Error Occurred **********
*            Shutting Down            *

Fatal: unable to spawn player from '˜¹^'Total Ram: 2147483647 Bytes
 Free Ram: 1363197952 Bytes
 Used Ram: 36605952 Bytes

Offline utunnels

  • Developer
  • Hero Member
  • *****
  • Posts: 2713
Re: error loading saved game
« Reply #1 on: July 05, 2012, 02:32:29 am »
1. The save is from an older version.
2. The file is currupted.
3. It is from a different platform

Offline cuchara

  • Jr. Member
  • **
  • Posts: 95
Re: error loading saved game
« Reply #2 on: July 09, 2012, 02:35:49 pm »
the error is still there, I have erased all saves archives and generate new ones, but nothing

********** An Error Occurred **********
*            Shutting Down            *

Fatal: unable to spawn player from '˜¹^'Total Ram: 2147483647 Bytes
 Free Ram: 955396096 Bytes
 Used Ram: 39350272 Bytes

Offline utunnels

  • Developer
  • Hero Member
  • *****
  • Posts: 2713
Re: error loading saved game
« Reply #3 on: July 09, 2012, 09:24:18 pm »
Have you tried another game?

Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: error loading saved game
« Reply #4 on: October 24, 2012, 12:12:10 am »
 utunnels, have you solved this 'unable to spawn player' bug?
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

Offline utunnels

  • Developer
  • Hero Member
  • *****
  • Posts: 2713
Re: error loading saved game
« Reply #5 on: October 24, 2012, 12:49:25 am »
Nah, I never have this problem myself.

Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: error loading saved game
« Reply #6 on: October 25, 2012, 12:06:40 am »
 Maybe you can try playing GIJoe mod with latest build. I think this bug is related to level set/game mode with many entries.
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

Offline utunnels

  • Developer
  • Hero Member
  • *****
  • Posts: 2713
Re: error loading saved game
« Reply #7 on: October 25, 2012, 03:23:03 am »
Well I can't even get the first level started.
It seems GI JOE forces both p1 and p2 to have max lives using an entity called PLives.

But this will obviously cause problem because the engine will try spawning a player if its lives is geater than zero.

Not sure why it worked before, maybe the engine neglected that before.

Code: [Select]
name PLives
health 1
mp 1
type item
subject_to_gravity 0


anim idle
@script
    void self = getlocalvar("self");
    int Life = getentityproperty(self,"health");
    int MP = getentityproperty(self,"mp");

    if(frame==1){
      changeplayerproperty(0, "lives", Life);
      changeplayerproperty(0, "credits", MP);
      changeplayerproperty(1, "lives", Life);
      changeplayerproperty(1, "credits", MP);

      killentity(self); //Suicide!
    }
@end_script
loop 1
delay 5
offset 1 1
frame data/chars/misc/empty.gif
frame data/chars/misc/empty.gif

Easy to fix this though:

Code: [Select]
@script
    void self = getlocalvar("self");
    int Life = getentityproperty(self,"health");
    int MP = getentityproperty(self,"mp");
    int i;

    if(frame==1){
      for(i=0; i<2; i++)
      {
          if(getplayerproperty(i, "name")!="")
          {
              changeplayerproperty(i, "lives", Life);
              changeplayerproperty(i, "credits", MP);
          }
      }
      killentity(self); //Suicide!
    }
@end_script


Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: error loading saved game
« Reply #8 on: October 26, 2012, 11:12:02 pm »
 Ah, so it was my script which caused it  :-[.
 Thanks for the fix! I think I know why I have similar bug in Contra mod.
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

Offline utunnels

  • Developer
  • Hero Member
  • *****
  • Posts: 2713
Re: error loading saved game
« Reply #9 on: October 27, 2012, 03:04:04 am »
Never mind.
I fixed the debug message though, it shouldn't be something like '˜¹^', it should be ''.


 



 0%




mighty
SimplePortal 2.3.3 © 2008-2010, SimplePortal