2.7.0b Bugs

Report bugs, errors and balance issues you may encounter ingame here.

Moderator: Developers

Locked
Poop Loops
Tranch (Novice)
Tranch (Novice)
Posts: 116
Joined: Sat Apr 18, 2009 9:08 pm
Location: Washington State

2.7.0b Bugs

Post by Poop Loops »

I haven't seen a thread on this yet, so I'll start one. Yeah yeah, I'm a n00b, but I've been playing this game for a while and I LOVE it! :D

I am using Ubuntu Linux version 8.04. I installed it by taking file-common.c and file-linux.c from the 2.6.8 source code (called common-file.c and linux-file.c there). The bugs I get make the game unplayable, which is kind of sad, but I still have 2.6.8, so it's not that bad. Anyway:

-Inventory items freak out when going from module to module (even back to the same one). For example, a stack of spears will turn into this giant blue thing that when I swing it, a coin appears on the tip. So much as touching someone (but myself) with this thing hurts them, even if it's on the ground. Other items just become useless and don't do anything at all.

-After beating the Water Palace, no new modules show up. This is true for the Adventurer and Soldier. Haven't tried the rest, but I doubt it would be different.

That's it, really. :)
User avatar
penguinflyer2222
Queen Penguin (Senior Member)
Queen Penguin (Senior Member)
Posts: 6614
Joined: Wed Jul 23, 2008 1:51 am

Post by penguinflyer2222 »

Your first problem is probably an exporting bug. Go to your egoboo folder, go to "players", then your player's folder (name.obj) and see if there is an object (*.obj) in the player's folder missing some data compared to the others. (probably script.txt, tris.md2, and tris0.bmp will be some of the missing things.)

Second, probably a bug with the quest system. Look in quest.txt, also in your character's folder, and post the contents here.

That's all for me, too. Well, actually...

Welcome and have a lightbulb! :idea:
......
Poop Loops
Tranch (Novice)
Tranch (Novice)
Posts: 116
Joined: Sat Apr 18, 2009 9:08 pm
Location: Washington State

Post by Poop Loops »

EDIT: Nevermind, I understand what you are saying now. Yeah, I have 3 .obj files, and 2.obj doesn't have the things you said, while the others do. Copypasta?

Thanks! :D I wouldn't know what would be missing from my player folder. I just did a re-install and completely wiped any trace of Egoboo from my system, because I thought maybe remnants of 2.6.8 were messing with the new files.

Here is what is in my player's folder:

Code: Select all

1.obj        icon0.bmp    part0.txt   sound10.wav  sound5.wav  tris1.bmp
2.obj        icon1.bmp    part1.txt   sound11.wav  sound6.wav  tris2.bmp
3.obj        icon2.bmp    quest.txt   sound1.wav   sound7.wav  tris3.bmp
copy.txt     icon3.bmp    script.txt  sound2.wav   sound8.wav  tris.md2
data.txt     message.txt  skin.txt    sound3.wav   sound9.wav
enchant.txt  naming.txt   sound0.wav  sound4.wav   tris0.bmp



As for quest.txt, that's easy.

Code: Select all

:[MAIN] 0 


Yeah, doesn't look right. script.txt looks okay as far as I can tell. It's just his level/skill setup, right? I haven't had any problem with that so far, although I've only gotten to level 4 (Hey, almost no weapons or amulets I can use!). And it looks complete to me, as in, it doesn't look like anything is missing. I am not sure if it's written correctly, though.

Here it is if you want to look, anyway:

[spoiler]

Code: Select all

//ADVENTURER

//-------------------------------------------

//Level       Abillity

//1         Weapon Profiency, Arcane Magic

//2         n/a

//3         n/a

//4         Alchemy

//5         n/a         

//6         n/a

//7         Speed

//8         n/a

//9         n/a

//10       Stealth

//11       n/a

//12       n/a

//13       Listen

//14       n/a

//15       n/a

//16       Class Mastery

//-----------------------------------------------------------------------------

//Reset

IfSpawned

  tmpargument = 0

  SetState

  SetContent

 

//-----------------------------------------------------------------------------

// Alchemy skill

tmpx = selflevel

tmpy = 2

IfXIsMoreThanY          //Need level 4

  SetTargetToTargetLeftHand   //Check left hand first

    tmpargument = [POTI]

    IfTargetHasID

      IdentifyTarget      //Identify potions

      SetTargetToSelf

    tmpargument = [FLAS]

    IfTargetHasID

      IdentifyTarget      //And flasks

  SetTargetToTargetRightHand   //Repeat with other hand

    tmpargument = [POTI]

    IfTargetHasID

      IdentifyTarget      //Identify potions

    tmpargument = [FLAS]

    IfTargetHasID

      IdentifyTarget      //And flasks



//-----------------------------------------------------------------------------

//Go stealth mode when standing still

//State 0 = Ready

//State 1 = Cooldown

//State 2 = Going stealth stealth

//State 3 = In stealth mode



tmpx = selflevel

tmpy = 6           //Need to be level 8 at least

IfXIsMoreThanY

  //If tmpdistance > 0 then reset cloak timer

  tmpdistance = 0

 

  //Stuff that makes us visible

  SetTargetToSelf

  IfBumped

    tmpdistance = 300     //6 seconds

  IfAttacked

    tmpdistance = 300     //6 seconds

  IfTargetIsAttacking

    tmpdistance = 150     //3 seconds

  IfTargetIsDefending

    tmpdistance = 100     //2 seconds

   

  //Is the player standing still?

  SetTargetToSelf

  tmpx = targetspeedx + targetspeedy + targetspeedz

  tmpy = 0

  IfXIsEqualToY

    SetTargetToNearbyEnemy  //Can't hide in plain sight

      tmpx = selflevel*50 + targetdistance        //Level increases

    Else

      tmpx = 551

    tmpy = 550

    IfXIsMoreThanY

      IfInvisible

        DoNothing           //No need to hide if already invisisble

      Else

        IfStateIs0

          tmpargument = 2

          SetState

          tmpargument = 50

          SetTime

  Else                    //Character is moving, reset timer

    tmpdistance = 75     //1,5 seconds

   

  //Handle and reset cooldown counter for stealth

  IfTimeOut

    IfStateIs1

      tmpargument = 0

      SetState

    IfStateIs2

      tmpargument = 0

      SetAlpha

      tmpargument = 10

      PlaySound

      tmpargument = 3

      SetState

     

    //Check sneak abillity to see if we are detected

    IfStateIs3

      tmpargument = 75            //Check every 1,5 seconds

      SetTime

      SetTargetToNearestEnemy

        tmpturn = selflevel*50

        tmpx = targetdistance

        tmpy = 1000 - tmpturn

        IfXIsLessThanY

          tmpturn = targetdistance > 7          //Distance increases chance

          tmpx = targetwis > 8

          tmpx = tmpx - tmpturn

          tmpx = rand % 40 + tmpx

          tmpy = selfdex > 8

          tmpy = rand % 40 + tmpy

          IfXIsMoreThanY                        //We were detected!

            tmpdistance = 300               //6 seconds

         

  //Disable stealth and reset timer if tmpdistance is bigger than 0

  tmpturn = 0

  IfDistanceIsMoreThanTurn

    tmpargument = tmpdistance

    SetTime

    IfStateIs3

      tmpargument = 255

      SetAlpha

      tmpargument = 11

      PlaySound

    tmpargument = 1

    SetState   



//-----------------------------------------------------------------------------

//Listen skill

tmpx = selflevel

tmpy = 11            //At least level 13

IfXIsMoreThanY

  EnableListenSkill

 

//-----------------------------------------------------------------------------

//Speed abillity

tmpx = selflevel

tmpy = 5            //Need Level 7

IfXIsMoreThanY

  Run

  tmpargument = 1+selflevel*2+100       //2 percent per level

  SetSpeedPercent



//------------------------------------------------------------------------------

//Invoke Class Mastery if enough xp gained

tmpargument = 0

IfContentIs

  SetTargetToSelf

  tmpx = selflevel

  tmpy = 14              //Need level 16

  IfXIsMoreThanY

    SetOwnerToTarget

    EnchantTarget    //Give the special bonus

    tmpargument = 1

    SetContent      //Dont repeat

     

//-----------------------------------------------------------------------------

// ZZ> Gong sound

IfCleanedUp

  tmpargument = 6

  PlayFullSound





IfTooMuchBaggage

  tmpargument = 8

  PlaySound

  tmpargument = 6

  SendMessageNear



//Scream and shout

IfUsed

  tmpargument = 7

  PlaySound



IfKilled            // This reduces the height of the char

  tmpargument = 2           // Death sound

  PlaySound              //

 

  //Message

  tmpargument = 3

  IfArmorIs

    tmpargument = MESSAGECOSTUME

  Else

    tmpargument = MESSAGEDEATH        // Last words...

  IfTargetIsOnSameTeam           // Fragged!

    tmpargument = MESSAGEFRAG          //

    IfTargetIsSelf             // No, just a damage tile

      tmpargument = MESSAGEACCIDENT           //

  SendMessage              //

 

  //Drop goods

  tmpargument = 1+selflevel*selflevel*100      //The money loss formula

  DropMoney              //

  DropKeys

 

  //Body

  tmpargument = 45           //

  SetBumpHeight              //



  //Redo the Class Mastery skill when respawned

  UndoEnchant

  tmpargument = 0

  SetContent



IfLeaderKilled            // Take control

  BecomeLeader              //

IfAttacked            // Yell at friends

  SetTargetToWhoeverAttacked        //

  IfTargetIsOnSameTeam           //

    tmpargument = MESSAGEOUCH          //

    SendMessageNear             //

    tmpargument = 5             // Stop That sound

    PlaySound                //

  Else                 //

    tmpargument = rand & 1 + 3          // Damage sounds

    PlaySound                //

End


[/spoiler]
User avatar
penguinflyer2222
Queen Penguin (Senior Member)
Queen Penguin (Senior Member)
Posts: 6614
Joined: Wed Jul 23, 2008 1:51 am

Post by penguinflyer2222 »

Okay, then I'm pretty sure now that you have an exporting bug and also a bug that is causing stuff not to be written to your quest.txt. I can't really help you any farther now, you'll have to wait for Zefz or birdsey to figure out the bugs. Until then, you can look around other parts of the forums, read the manual, or whatever you want to do with your time. :)
......
Poop Loops
Tranch (Novice)
Tranch (Novice)
Posts: 116
Joined: Sat Apr 18, 2009 9:08 pm
Location: Washington State

Post by Poop Loops »

Could it be a permissions thing? When I compiled stuff I believe I had some permissions error, so I just sudo'ed it to get it done. In hindsight that might have been a bad thing.

I just tried to reinstall, and this is what happens when I do it normally:

Code: Select all

install -m 755 egoboo /home/tomek/.local/libexec
install: cannot remove `/home/tomek/.local/libexec/egoboo': Permission denied


So it creates a directory and restricts itself from write access to that directory... I'll fiddle with it some more and try to see if I can't change that.

EDIT: Right, so when I checked out my files, some of them were listed as having Root as the group. I guess that's what happened when I installed Egoboo as Root instead of a normal user. So, I'll reinstall now and see what happens.
Last edited by Poop Loops on Sat Apr 18, 2009 11:42 pm, edited 1 time in total.
User avatar
penguinflyer2222
Queen Penguin (Senior Member)
Queen Penguin (Senior Member)
Posts: 6614
Joined: Wed Jul 23, 2008 1:51 am

Post by penguinflyer2222 »

Hmm, could be. I'll wait for more results and more experienced people to come online to help.
......
Poop Loops
Tranch (Novice)
Tranch (Novice)
Posts: 116
Joined: Sat Apr 18, 2009 9:08 pm
Location: Washington State

Post by Poop Loops »

Played around with permissions a bit and nothing's changed, unfortunately.
User avatar
Super Soldier
Chest Mimic (Community member)
Chest Mimic (Community member)
Posts: 253
Joined: Fri Mar 20, 2009 1:14 am
Location: The Dungeon

Post by Super Soldier »

Hmmm I have that same promblem.
Welcome Poop Loops Super soldier
always carries cookies, so have some...
:cookie: :cookie: :cookie: :cookie:
User avatar
Zefz
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
Posts: 3820
Joined: Wed Jul 23, 2008 1:27 am
Location: Norway
Contact:

Post by Zefz »

I need to compile the latest SVN code as soon as I get Visual Studio 2008 installed on my new pc. Then I'll know if it is a linux related bug.
User avatar
Ben Urban
Cobol (Esteemed member)
Cobol (Esteemed member)
Posts: 829
Joined: Sat Oct 04, 2008 10:49 pm
Location: Maryland, USA
Contact:

Post by Ben Urban »

Don't use sudo to install unless you're installing in some location that only root can write to. Egoboo currently needs to be able to write to some of the files in its installation directory, so you need to have appropriate permissions to do so. This means the files must be owned by your user (or you must play as root, but don't do that).

Ordinarily, I'd recommend you get the latest SVN and try to get that to work, but Birdsey has been changing a lot of things there (and adding some dependencies), so I'm not sure the build systems are up to date yet (I know the Mac one is not).

Also, welcome.
Thanks to penguinflyer2222 for the avatar, and to penguinflyer5234 for hosting it.
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Post by penguinflyer5234 »

The Linux one is mostly up to date, but I say it is broken right now...
(You also need SDL_console 2.1 or possibly 2.0)
...
Locked